BSD 4_4_Lite1 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Fri, 8 May 1987 06:29:00 +0000 (22:29 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Fri, 8 May 1987 06:29:00 +0000 (22:29 -0800)
Work on file usr/src/contrib/xns/examples/ch/Makefile

Synthesized-from: CSRG/cd2/4.4BSD-Lite1

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

diff --git a/usr/src/contrib/xns/examples/ch/Makefile b/usr/src/contrib/xns/examples/ch/Makefile
new file mode 100644 (file)
index 0000000..42da775
--- /dev/null
@@ -0,0 +1,63 @@
+# $Header: Makefile,v 1.4 87/01/27 07:11:27 jqj Exp $
+#
+# $Log:        Makefile,v $
+# Revision 1.4  87/01/27  07:11:27  jqj
+# Webster version -- make versus make install
+# 
+# Revision 1.2  87/01/06  17:19:29  ed
+# Updated to new directory structure
+# 
+# 
+# 
+
+DESTDIR =
+DESTBIN = ${DESTDIR}/usr/new
+DESTCOURIER = ${DESTDIR}/usr/new/lib/xnscourier
+
+BINDIR = ../../bin
+LIBDIR = ../../lib
+MANDIR = ../../man
+INCDIR = ../../include
+COURIERDIR = ../../xnscourier
+
+#CFLAGS=       -g -DDEBUG -I${INCDIR}
+CFLAGS= -O -I${INCDIR}
+RCSREV=
+RCSNAME=current
+TESTS=enumerate listaddr listaliasof listproperties registerhost
+
+all: ${TESTS}
+
+clean:
+       -rm -f ${TESTS} *.o *.BAK *.CKP Cl*.[ch]
+
+rcs:
+       rcs -l RCS/*
+       cat ../../rcsdescription | ci -u${RCSREV} -q -N${RCSNAME} RCS/*
+
+install: all
+       install -s -c registerhost ${BINDIR}
+
+# test programs
+
+registerhost.c enumerate.c listaddr.c listaliasof.c listproperties.c: Clearinghouse2_defs.h
+
+Clearinghouse2_defs.h: ../../courierlib/Clearinghouse2_defs.h
+       cp ../../courierlib/Clearinghouse2_defs.h .
+       cp ../../courierlib/Clearinghouse2.h .
+
+enumerate: enumerate.o
+       ${CC} -g -o enumerate enumerate.o ${LIBDIR}/libcourier.a
+
+listaddr: listaddr.o
+       ${CC} -g -o listaddr listaddr.o ${LIBDIR}/libcourier.a
+
+listaliasof: listaliasof.o
+       ${CC} -g -o listaliasof listaliasof.o  ${LIBDIR}/libcourier.a
+
+listproperties: listproperties.o
+       ${CC} -g -o listproperties listproperties.o  ${LIBDIR}/libcourier.a
+
+registerhost: registerhost.o
+       ${CC} -g -o registerhost registerhost.o ${LIBDIR}/libcourier.a
+