From: CSRG Date: Mon, 11 May 1987 00:29:13 +0000 (-0800) Subject: BSD 4_3_Tahoe development X-Git-Tag: BSD-4_3_Net_1^2~424 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/44cf58d156fa6101b53bcd4cada06986e91188c0 BSD 4_3_Tahoe development Work on file usr/src/new/xns/Makefile Synthesized-from: CSRG/cd2/4.3tahoe --- diff --git a/usr/src/new/xns/Makefile b/usr/src/new/xns/Makefile new file mode 100644 index 0000000000..e5c7b7bd9c --- /dev/null +++ b/usr/src/new/xns/Makefile @@ -0,0 +1,77 @@ + +# +# Make Unix XNS/Courier package +# $Header: Makefile,v 1.5 87/05/11 10:28:34 ed Exp $ +# +# You might want to change the following defines: +# CHDEFAULT default domain and organization for local system +# DESTDIR highest level intended directory (default /) +# DESTBIN where the executables go +# DESTINCLUDE where the ".h" files go +# DESTLIB where the libraries go +# DESTMAN where the manual pages go +# DESTCOURIER where the Courier services go +# DESTETC where the "/etc" related files go + +CHDEFAULT = :Computer Science:Cornell-Univ +DESTDIR = +DESTBIN = ${DESTDIR}/usr/new +DESTINCLUDE = ${DESTDIR}/usr/include/xnscourier +DESTLIB = ${DESTDIR}/usr/local/lib +DESTMAN = ${DESTDIR}/usr/man/mann +DESTCOURIER = ${DESTDIR}/usr/new/lib/xnscourier +DESTETC = ${DESTDIR/etc + +# +# END of user tunable parameters +#-------------------------------------------------------------- + +# targets: +# all - recompile and link everything +# install - copy necessary things to correct destination +# clean - undo "make all" to free disk space +# + +# set up for recursive makes +MFLAGS = DESTDIR=${DESTDIR} DESTBIN=${DESTBIN} DESTINCLUDE=${DESTINCLUDE} \ + DESTLIB=${DESTLIB} DESTMAN=${DESTMAN} DESTCOURIER=${DESTCOURIER} \ + DESTETC=${DESTETC} CHDEFAULT="${CHDEFAULT}" + +# Programs that live in subdirectories and have their own makefiles +# +# MAKE the following in the order specified +SUBDIRS = xnslib compiler courierlib morexnslib daemon examples +INSTALLDIRS = include bin lib xnscourier man +ALLDIRS = ${SUBDIRS} ${INSTALLDIRS} doc + +RCSNAME = current + +# remake everything (many things assume previous subdirectories in the +# list have had a "make" done). +all: + for Dir in ${SUBDIRS}; do \ + (cd $$Dir; make ${MFLAGS} install); done + +# install assumes that a previous "make all" has been done + +install: + for i in ${INSTALLDIRS}; do \ + (cd $$i; make ${MFLAGS} install); done + +# clean frees disk space + +clean: + -rm *.BAK *.CKP + for Dir in ${ALLDIRS}; do (cd $$Dir; make ${MFLAGS} clean); done + +rcs: + for Dir in ${ALLDIRS}; do \ + (cd $$Dir; make RCSNAME="${RCSNAME}" RCSREV="${RCSREV}" \ + ${MFLAGS} rcs); done + +# you should probably do a "make clean" and "make rcs" before this. +# also, edit rcsdescription +courier.tar: rcsdescription + -chmod -r */RCS morexnslib/*/RCS examples/*/RCS + tar cvf courier.tar Makefile README ${ALLDIRS} + -chmod +r */RCS morexnslib/*/RCS examples/*/RCS