File:  [CSRG BSD Unix] / 43BSDReno / contrib / mh / zotnet / Makefile
Revision 1.1: download - view: text, annotated - select for diffs
Tue Apr 24 16:12:56 2018 UTC (8 years, 1 month ago) by root
CVS tags: MAIN, HEAD
Initial revision

##############################################################################
#    Instructions to Make, for compilation of ZOT UIP/utility processes
#
#	This file is automatically generated.  Do not edit!
##############################################################################

# The following entries were inserted during MH configuration
OPTIONS	=	-DBSD42 -DBSD43 -DBSD44 -DBERK -DTTYD -DDUMB -DMHE -DNETWORK -DBIND -DRPATHS -DATZ -DSBACKUP='".\043"' -DDBM -DSENDMTS -DSMTP

CC	=	/usr/bin/cc
CCOPT	=	-O
CFLAGS	=	$(CCOPT) $(OPTIONS) -I.
LFLAGS	=	-bhu $(OPTIONS) -I.

LIB	=	libzot.a
LLIB	=	llib-lzotnet

OFILES	=	mts/mts.o mts/lock.o mts/client.o mf/mf.o \
		bboards/getbbent.o \
		tws/dtime.o tws/dtimep.o ${LEXSTRING}

SHELL	=	/bin/sh

DIRS	=	mts bboards tws mf


##############################################################################
#	Generation Rules
##############################################################################

.c.o:
		$(CC) $(CFLAGS) -c $*.c


##############################################################################
#	Generate ZOTnet subroutine library
##############################################################################

all:		$(LIB)

$(LIB):		allaux
		ar r $@ $(OFILES); ranlib $@
		-@ls -l $@
		-@echo "ZOTnet library built normally"

allaux:;	for d in $(DIRS); do (cd $$d; ${MAKE} ${MFLAGS} all); done

depend:;	for d in $(DIRS); do (cd $$d; ${MAKE} ${MFLAGS} depend); done

lint:;		for d in $(DIRS); do (cd $$d; ${MAKE} ${MFLAGS} lint); done


##############################################################################
#	Installation
##############################################################################

install:	inst-all clean

inst-all:;	for d in $(DIRS); do (cd $$d; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} inst-all); done

tar:;		@for d in $(DIRS); \
		    do (cd $$d; ${MAKE} ${MFLAGS} TFLAGS="$(TFLAGS)" tar); done

uninstall:;	for d in $(DIRS); do (cd $$d; ${MAKE} ${MFLAGS} uninstall); done


##############################################################################
#	Miscellaneous tasks
##############################################################################

distribution:;	-rm -f $(LIB) z$(LIB) _* :*
		for d in $(DIRS); do (cd $$d; ${MAKE} ${MFLAGS} distribution); done

clean:;		-rm -f $(LIB) z$(LIB) _* :* core
		for d in $(DIRS); do (cd $$d; ${MAKE} ${MFLAGS} clean); done

unclean:;	-rm -f z$(LIB) _* :* core
		for d in $(DIRS); do (cd $$d; ${MAKE} ${MFLAGS} unclean); done

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.