##############################################################################
# Instructions to Make, for compilation of ZOT UIP/utility processes
# @(#)$Id: zotnetM,v 2.7 1992/10/29 16:25:20 jromine Exp $
##############################################################################
# The following entries were inserted during MH configuration
LFLAGS = -bhu $(OPTIONS) -I.
OFILES = mts/mts.o mts/lock.o mts/client.o mf/mf.o \
tws/dtime.o tws/dtimep.o tws/lexstring.o
MAKE = make DESTDIR=$(DESTDIR) $(MFLAGS)
DIRS = mts bboards tws mf
##############################################################################
##############################################################################
.c.o:; $(CC) $(CFLAGS) -c $*.c
##############################################################################
# Generate ZOTnet subroutine library
##############################################################################
ar r $@ $(OFILES); ranlib $@
ar r $@ `lorder $(OFILES) | tsort`
-@echo "ZOTnet library built normally"
allaux:; for d in $(DIRS); do (cd $$d; $(MAKE) all); done
depend:; for d in $(DIRS); do (cd $$d; $(MAKE) depend); done
lint:; for d in $(DIRS); do (cd $$d; $(MAKE) lint); done
##############################################################################
##############################################################################
inst-all:; for d in $(DIRS); do (cd $$d; $(MAKE) inst-all); done
tar:; @for d in $(DIRS); \
do (cd $$d; $(MAKE) TFLAGS="$(TFLAGS)" tar); done
uninstall:; for d in $(DIRS); do (cd $$d; $(MAKE) uninstall); done
##############################################################################
##############################################################################
unconfig:; -rm -f $(LIB) z$(LIB) _* :* *.o core
for d in $(DIRS); do (cd $$d; $(MAKE) unconfig); done
distribution:; -rm -f $(LIB) z$(LIB) _* :*
for d in $(DIRS); do (cd $$d; $(MAKE) distribution); done
clean:; -rm -f $(LIB) z$(LIB) _* :* *.o core
for d in $(DIRS); do (cd $$d; $(MAKE) clean); done
unclean:; -rm -f z$(LIB) _* :* core
for d in $(DIRS); do (cd $$d; $(MAKE) unclean); done