BSD 4_3_Tahoe development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Mon, 11 May 1987 00:29:13 +0000 (16:29 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Mon, 11 May 1987 00:29:13 +0000 (16:29 -0800)
Work on file usr/src/new/xns/Makefile

Synthesized-from: CSRG/cd2/4.3tahoe

usr/src/new/xns/Makefile [new file with mode: 0644]

diff --git a/usr/src/new/xns/Makefile b/usr/src/new/xns/Makefile
new file mode 100644 (file)
index 0000000..e5c7b7b
--- /dev/null
@@ -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