|
|
1.1 ! root 1: ! 2: # ! 3: # Make Unix XNS/Courier package ! 4: # $Header: Makefile,v 1.5 87/05/11 10:28:34 ed Exp $ ! 5: # ! 6: # You might want to change the following defines: ! 7: # CHDEFAULT default domain and organization for local system ! 8: # DESTDIR highest level intended directory (default /) ! 9: # DESTBIN where the executables go ! 10: # DESTINCLUDE where the ".h" files go ! 11: # DESTLIB where the libraries go ! 12: # DESTMAN where the manual pages go ! 13: # DESTCOURIER where the Courier services go ! 14: # DESTETC where the "/etc" related files go ! 15: ! 16: CHDEFAULT = :Evans:Berkeley.EECS ! 17: DESTDIR = ! 18: DESTBIN = ${DESTDIR}/usr/new ! 19: DESTINCLUDE = ${DESTDIR}/usr/include/xnscourier ! 20: DESTLIB = ${DESTDIR}/usr/local/lib ! 21: DESTMAN = ${DESTDIR}/usr/man/mann ! 22: DESTCOURIER = ${DESTDIR}/usr/new/lib/xnscourier ! 23: DESTETC = ${DESTDIR/etc ! 24: ! 25: # ! 26: # END of user tunable parameters ! 27: #-------------------------------------------------------------- ! 28: ! 29: # targets: ! 30: # all - recompile and link everything ! 31: # install - copy necessary things to correct destination ! 32: # clean - undo "make all" to free disk space ! 33: # ! 34: ! 35: # set up for recursive makes ! 36: MFLAGS = DESTDIR=${DESTDIR} DESTBIN=${DESTBIN} DESTINCLUDE=${DESTINCLUDE} \ ! 37: DESTLIB=${DESTLIB} DESTMAN=${DESTMAN} DESTCOURIER=${DESTCOURIER} \ ! 38: DESTETC=${DESTETC} CHDEFAULT="${CHDEFAULT}" ! 39: ! 40: # Programs that live in subdirectories and have their own makefiles ! 41: # ! 42: # MAKE the following in the order specified ! 43: SUBDIRS = xnslib compiler courierlib morexnslib daemon examples ! 44: INSTALLDIRS = include bin lib xnscourier man ! 45: ALLDIRS = ${SUBDIRS} ${INSTALLDIRS} doc ! 46: ! 47: RCSNAME = current ! 48: ! 49: # remake everything (many things assume previous subdirectories in the ! 50: # list have had a "make" done). ! 51: all: ! 52: for Dir in ${SUBDIRS}; do \ ! 53: (cd $$Dir; make ${MFLAGS} install); done ! 54: ! 55: # install assumes that a previous "make all" has been done ! 56: ! 57: install: ! 58: for i in ${INSTALLDIRS}; do \ ! 59: (cd $$i; make ${MFLAGS} install); done ! 60: ! 61: # clean frees disk space ! 62: ! 63: clean: ! 64: -rm *.BAK *.CKP ! 65: for Dir in ${ALLDIRS}; do (cd $$Dir; make ${MFLAGS} clean); done ! 66: ! 67: rcs: ! 68: for Dir in ${ALLDIRS}; do \ ! 69: (cd $$Dir; make RCSNAME="${RCSNAME}" RCSREV="${RCSREV}" \ ! 70: ${MFLAGS} rcs); done ! 71: ! 72: # you should probably do a "make clean" and "make rcs" before this. ! 73: # also, edit rcsdescription ! 74: courier.tar: rcsdescription ! 75: -chmod -r */RCS morexnslib/*/RCS examples/*/RCS ! 76: tar cvf courier.tar Makefile README ${ALLDIRS} ! 77: -chmod +r */RCS morexnslib/*/RCS examples/*/RCS
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.