|
|
1.1 root 1: # $Header: Makefile,v 1.4 87/01/27 07:11:27 jqj Exp $
2: #
3: # $Log: Makefile,v $
4: # Revision 1.4 87/01/27 07:11:27 jqj
5: # Webster version -- make versus make install
6: #
7: # Revision 1.2 87/01/06 17:19:29 ed
8: # Updated to new directory structure
9: #
10: #
11: #
12:
13: DESTDIR =
14: DESTBIN = ${DESTDIR}/usr/new
15: DESTCOURIER = ${DESTDIR}/usr/new/lib/xnscourier
16:
17: BINDIR = ../../bin
18: LIBDIR = ../../lib
19: MANDIR = ../../man
20: INCDIR = ../../include
21: COURIERDIR = ../../xnscourier
22:
23: #CFLAGS= -g -DDEBUG -I${INCDIR}
24: CFLAGS= -O -I${INCDIR}
25: RCSREV=
26: RCSNAME=current
27: TESTS=enumerate listaddr listaliasof listproperties registerhost
28:
29: all: ${TESTS}
30:
31: clean:
32: -rm -f ${TESTS} *.o *.BAK *.CKP Cl*.[ch]
33:
34: rcs:
35: rcs -l RCS/*
36: cat ../../rcsdescription | ci -u${RCSREV} -q -N${RCSNAME} RCS/*
37:
38: install: all
39: install -s -c registerhost ${BINDIR}
40:
41: # test programs
42:
43: registerhost.c enumerate.c listaddr.c listaliasof.c listproperties.c: Clearinghouse2_defs.h
44:
45: Clearinghouse2_defs.h: ../../courierlib/Clearinghouse2_defs.h
46: cp ../../courierlib/Clearinghouse2_defs.h .
47: cp ../../courierlib/Clearinghouse2.h .
48:
49: enumerate: enumerate.o
50: ${CC} -g -o enumerate enumerate.o ${LIBDIR}/libcourier.a
51:
52: listaddr: listaddr.o
53: ${CC} -g -o listaddr listaddr.o ${LIBDIR}/libcourier.a
54:
55: listaliasof: listaliasof.o
56: ${CC} -g -o listaliasof listaliasof.o ${LIBDIR}/libcourier.a
57:
58: listproperties: listproperties.o
59: ${CC} -g -o listproperties listproperties.o ${LIBDIR}/libcourier.a
60:
61: registerhost: registerhost.o
62: ${CC} -g -o registerhost registerhost.o ${LIBDIR}/libcourier.a
63:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.