1 ##############################################################################
2 # Instructions to Make, for compilation of ZOT UIP/utility processes
5 # @(#)$Id: zotnetM,v 2.7 1992/10/29 16:25:20 jromine Exp $
6 ##############################################################################
8 # The following entries were inserted during MH configuration
13 CFLAGS = $(OPTIONS) -I.
16 CFLAGS = $(OPTIONS) -I.
18 LFLAGS = -bhu $(OPTIONS) -I.
23 OFILES = mts/mts.o mts/lock.o mts/client.o mf/mf.o \
28 tws/dtime.o tws/dtimep.o tws/lexstring.o
30 MAKE = make DESTDIR=$(DESTDIR) $(MFLAGS)
33 DIRS = mts bboards tws mf
37 ##############################################################################
39 ##############################################################################
41 .c.o:; $(CC) $(CFLAGS) -c $*.c
55 ##############################################################################
56 # Generate ZOTnet subroutine library
57 ##############################################################################
64 ar r $@ $(OFILES); ranlib $@
67 ar r $@ `lorder $(OFILES) | tsort`
70 -@echo "ZOTnet library built normally"
72 allaux:; for d in $(DIRS); do (cd $$d; $(MAKE) all); done
74 depend:; for d in $(DIRS); do (cd $$d; $(MAKE) depend); done
76 lint:; for d in $(DIRS); do (cd $$d; $(MAKE) lint); done
79 ##############################################################################
81 ##############################################################################
83 install: inst-all clean
85 inst-all:; for d in $(DIRS); do (cd $$d; $(MAKE) inst-all); done
87 tar:; @for d in $(DIRS); \
88 do (cd $$d; $(MAKE) TFLAGS="$(TFLAGS)" tar); done
90 uninstall:; for d in $(DIRS); do (cd $$d; $(MAKE) uninstall); done
93 ##############################################################################
95 ##############################################################################
97 unconfig:; -rm -f $(LIB) z$(LIB) _* :* *.o core
98 for d in $(DIRS); do (cd $$d; $(MAKE) unconfig); done
101 distribution:; -rm -f $(LIB) z$(LIB) _* :*
102 for d in $(DIRS); do (cd $$d; $(MAKE) distribution); done
104 clean:; -rm -f $(LIB) z$(LIB) _* :* *.o core
105 for d in $(DIRS); do (cd $$d; $(MAKE) clean); done
107 unclean:; -rm -f z$(LIB) _* :* core
108 for d in $(DIRS); do (cd $$d; $(MAKE) unclean); done