9 date 93.12.06.18.11.49; author jromine; state Exp;
14 date 92.11.20.17.14.07; author jromine; state Exp;
19 date 92.11.18.16.51.59; author jromine; state Exp;
24 date 92.11.05.19.13.39; author jromine; state Exp;
29 date 92.02.04.17.42.12; author jromine; state Exp;
34 date 90.04.05.15.16.01; author sources; state Exp;
39 date 90.03.12.11.26.36; author sources; state Exp;
44 date 90.03.12.10.27.22; author sources; state Exp;
49 date 90.02.21.16.54.14; author sources; state Exp;
54 date 90.02.06.12.53.44; author sources; state Exp;
59 date 90.02.06.12.53.07; author sources; state Exp;
73 @##############################################################################
74 # Instructions to Make, for compilation of MMDF-MTS library
77 # @@(#)$Id: mmdf,v 1.10 1992/11/20 17:14:07 jromine Exp jromine $
78 ##############################################################################
80 # The following entries were inserted during MH configuration
81 OPTIONS = @@(MHOPTIONS) -I..
91 LFLAGS = -bhu $(OPTIONS)
103 ##############################################################################
105 ##############################################################################
107 .c.o:; $(CC) $(CFLAGS) -c $*.c
118 ##############################################################################
120 ##############################################################################
127 $(LIB): $(OFILES) mmdf_lib.a util_lib.a
131 ln hosts.o mmdf_lib.a util_lib.a tmp
132 cd mmdf; ar x ../mmdf_lib.a; ln *.o ../tmp
133 cd util; ar x ../util_lib.a; ln *.o ../tmp
134 -@@rm -f tmp/signal.o #dont want 4.1 signal package
136 cd tmp; ar r ../$@@ *.o; ranlib $@@
139 cd tmp; ar r ../$@@ `lorder *.o | tsort`
143 -cd ..; $(LN) mmdf/$@@ libmts.a
145 -cd .. ; $(LN) mmdf/llib-lmmdf llib-lmts
147 -@@echo "MMDFI-MTS library built normally"
151 $(LIB): $(OFILES) libmmdf.a
155 ar r $@@ hosts.o; ranlib $@@
159 cd tmp; ar x ../libmmdf.a
161 cd tmp; ar r ../$@@ `lorder *.o | tsort`
165 -cd ..; $(LN) mmdf/$@@ libmts.a
167 -cd ..; $(LN) mmdf/llib-lmmdf llib-lmts
169 -@@echo "MMDFII-MTS library built normally"
172 l-mmdf:; $(LINT) $(LFLAGS) $(CFILES) $(LLIBS)
177 ##############################################################################
178 # Miscellaneous tasks
179 ##############################################################################
181 unconfig: distribution
187 -rm -f *.o $(LIB) z$(LIB)
189 unclean:; -rm -f _* :* core
195 @try to use LN instead of hard link
200 # @@(#)$Id: mmdf,v 1.9 1992/11/18 16:51:59 jromine Exp jromine $
209 @fixup the way @@(LN) works
214 # @@(#)$Id: mmdf,v 1.8 1992/11/05 19:13:39 jromine Exp jromine $
223 -$(LN) llib-lmmdf ../llib-lmts
229 @use LN for llib files
234 # @@(#)$Id: mmdf,v 1.7 1992/02/04 17:42:12 jromine Exp jromine $
237 -$(LN) llib-lmmdf ../llib-lmts
243 @use CP instead of ld for llib in case of cross-device link
244 Stephen Gildea <gildea@@expo.lcs.mit.EDU>
249 # @@(#)$Id: mmdf,v 1.6 1990/04/05 15:16:01 sources Exp jromine $
253 -$(CP) llib-lmmdf ../llib-lmts
256 -$(CP) llib-lmmdf ../llib-lmts
271 -ln llib-lmmdf ../llib-lmts
274 -ln llib-lmmdf ../llib-lmts
280 @remove -O (put in mhconfig)
289 @llib ln command failure shouldn't abort make
295 CFLAGS = -O $(OPTIONS)
301 @make unconfig changes
306 ln llib-lmmdf ../llib-lmts
309 ln llib-lmmdf ../llib-lmts