8 date 92.10.29.16.25.20; author jromine; state Exp;
13 date 92.10.20.23.00.26; author jromine; state Exp;
18 date 90.04.05.15.18.23; author sources; state Exp;
23 date 90.03.12.11.29.12; author sources; state Exp;
28 date 90.02.21.16.59.48; author sources; state Exp;
33 date 90.02.06.12.52.45; author sources; state Exp;
38 date 90.01.25.16.24.06; author sources; state Exp;
43 date 89.11.17.15.56.49; author sources; state Exp;
48 date 89.11.17.15.44.21; author sources; state Exp;
59 @fixup make distribution & tws.h
62 @##############################################################################
63 # Instructions to Make, for compilation of ZOT UIP/utility processes
66 # @@(#)$Id: zotnetM,v 2.6 1992/10/20 23:00:26 jromine Exp jromine $
67 ##############################################################################
69 # The following entries were inserted during MH configuration
70 OPTIONS = @@(MHOPTIONS)
74 CFLAGS = $(OPTIONS) -I.
77 CFLAGS = $(OPTIONS) -I.
79 LFLAGS = -bhu $(OPTIONS) -I.
84 OFILES = mts/mts.o mts/lock.o mts/client.o mf/mf.o \
89 tws/dtime.o tws/dtimep.o tws/lexstring.o
91 MAKE = make DESTDIR=$(DESTDIR) $(MFLAGS)
94 DIRS = mts bboards tws mf
98 ##############################################################################
100 ##############################################################################
102 .c.o:; $(CC) $(CFLAGS) -c $*.c
116 ##############################################################################
117 # Generate ZOTnet subroutine library
118 ##############################################################################
125 ar r $@@ $(OFILES); ranlib $@@
128 ar r $@@ `lorder $(OFILES) | tsort`
131 -@@echo "ZOTnet library built normally"
133 allaux:; for d in $(DIRS); do (cd $$d; $(MAKE) all); done
135 depend:; for d in $(DIRS); do (cd $$d; $(MAKE) depend); done
137 lint:; for d in $(DIRS); do (cd $$d; $(MAKE) lint); done
140 ##############################################################################
142 ##############################################################################
144 install: inst-all clean
146 inst-all:; for d in $(DIRS); do (cd $$d; $(MAKE) inst-all); done
148 tar:; @@for d in $(DIRS); \
149 do (cd $$d; $(MAKE) TFLAGS="$(TFLAGS)" tar); done
151 uninstall:; for d in $(DIRS); do (cd $$d; $(MAKE) uninstall); done
154 ##############################################################################
155 # Miscellaneous tasks
156 ##############################################################################
158 unconfig:; -rm -f $(LIB) z$(LIB) _* :* *.o core
159 for d in $(DIRS); do (cd $$d; $(MAKE) unconfig); done
162 distribution:; -rm -f $(LIB) z$(LIB) _* :*
163 for d in $(DIRS); do (cd $$d; $(MAKE) distribution); done
165 clean:; -rm -f $(LIB) z$(LIB) _* :* *.o core
166 for d in $(DIRS); do (cd $$d; $(MAKE) clean); done
168 unclean:; -rm -f z$(LIB) _* :* core
169 for d in $(DIRS); do (cd $$d; $(MAKE) unclean); done
175 @move "rm -f tws/tws.h" from sbr to zotnet Makefile (error)
180 # @@(#)$Id: zotnetM,v 2.5 1990/04/05 15:18:23 sources Exp jromine $
201 @remove -O (put in mhconfig)
210 @make unconfig changes
215 CFLAGS = -O $(OPTIONS) -I.
226 unconfig distribution:; -rm -f $(LIB) z$(LIB) _* :*
243 @changes for SUN40 shared libraries and NNTP under bbc
257 distribution:; -rm -f $(LIB) z$(LIB) _* :*
260 clean:; -rm -f $(LIB) z$(LIB) _* :* core