1 ##############################################################################
2 # Instructions to Make, for compilation of MMDF-MTS library
5 # @(#)$Id: mmdf,v 1.11 1993/12/06 18:11:49 jromine Exp $
6 ##############################################################################
8 # The following entries were inserted during MH configuration
9 OPTIONS = @(MHOPTIONS) -I..
19 LFLAGS = -bhu $(OPTIONS)
31 ##############################################################################
33 ##############################################################################
35 .c.o:; $(CC) $(CFLAGS) -c $*.c
46 ##############################################################################
48 ##############################################################################
55 $(LIB): $(OFILES) mmdf_lib.a util_lib.a
59 ln hosts.o mmdf_lib.a util_lib.a tmp
60 cd mmdf; ar x ../mmdf_lib.a; ln *.o ../tmp
61 cd util; ar x ../util_lib.a; ln *.o ../tmp
62 -@rm -f tmp/signal.o #dont want 4.1 signal package
64 cd tmp; ar r ../$@ *.o; ranlib $@
67 cd tmp; ar r ../$@ `lorder *.o | tsort`
71 -cd ..; $(LN) mmdf/$@ libmts.a
73 -cd .. ; $(LN) mmdf/llib-lmmdf llib-lmts
75 -@echo "MMDFI-MTS library built normally"
79 $(LIB): $(OFILES) libmmdf.a
83 ar r $@ hosts.o; ranlib $@
87 cd tmp; ar x ../libmmdf.a
89 cd tmp; ar r ../$@ `lorder *.o | tsort`
93 -cd ..; $(LN) mmdf/$@ libmts.a
95 -cd ..; $(LN) mmdf/llib-lmmdf llib-lmts
97 -@echo "MMDFII-MTS library built normally"
100 l-mmdf:; $(LINT) $(LFLAGS) $(CFILES) $(LLIBS)
105 ##############################################################################
106 # Miscellaneous tasks
107 ##############################################################################
109 unconfig: distribution
115 -rm -f *.o $(LIB) z$(LIB)
117 unclean:; -rm -f _* :* core