|
|
1.1 root 1: # $Header: Makefile,v 2.2 87/05/11 09:12:05 ed Exp $
2: # $Log: Makefile,v $
3: # Revision 2.2 87/05/11 09:12:05 ed
4: # Added getXNSuser.
5: #
6: #
7: # Revision 2.1 87/01/27 07:13:27 jqj
8: # Webster version -- make versus make install
9: # (redid for new directory structure)
10: #
11: DESTDIR =
12: DESTBIN = ${DESTDIR}/usr/new
13: DESTCOURIER = ${DESTDIR}/usr/new/lib/xnscourier
14:
15: LIBDIR = ../../lib
16: MANDIR = ../../man
17: INCDIR = ../../include
18: COURIERDIR = ../../xnscourier
19:
20: #CFLAGS= -I. -I${INCDIR} -g -DDEBUG
21: CFLAGS= -O -I. -I${INCDIR}
22: OUT=${LIBDIR}/libcourier.a
23: OUT_P=${LIBDIR}/libcourier_p.a
24: SRCS= simpleauth.c getXNSpass.c getXNSuser.c Authcredcheck.c Authlookup.c
25: OBJS= simpleauth.o getXNSpass.o getXNSuser.o Authcredcheck.o Authlookup.o
26: RCSREV=
27: RCSNAME=current
28:
29: .c.o:
30: ${CC} -c ${CFLAGS} -p $*.c
31: mv $*.o profiled/$*.o
32: ${CC} -c ${CFLAGS} $*.c
33:
34: install: ${OBJS}
35: ar rv ${OUT} ${OBJS}
36: cd profiled; ar rv ../${OUT_P} ${OBJS}
37: ranlib ${OUT} ${OUT_P}
38:
39: all: ${OBJS}
40:
41: lint: ${SRCS}
42: lint -hux ${SRCS}
43:
44: tags: ${SRCS}
45: ctags ${SRCS}
46:
47: clean:
48: -rm -f Authentication2_defs.h *.BAK *.CKP *.o profiled/*.o
49:
50: Authlookup.o: Authlookup.c
51: ${CC} -c -p ${CFLAGS} -D'BFS="${DESTBIN}/xnsbfs -a"' Authlookup.c
52: mv Authlookup.o profiled/Authlookup.o
53: ${CC} -c ${CFLAGS} -D'BFS="${DESTBIN}/xnsbfs -a"' Authlookup.c
54:
55: Authcredcheck.o: Authcredcheck.c Authentication2_defs.h
56: ${CC} -c -p ${CFLAGS} Authcredcheck.c -I${INCDIR}/xnscourier
57: mv Authcredcheck.o profiled/Authcredcheck.o
58: ${CC} -c ${CFLAGS} Authcredcheck.c -I${INCDIR}/xnscourier
59:
60: Authentication2_defs.h: ../../courierlib/Authentication2_defs.h
61: cp ../../courierlib/Authentication2_defs.h .
62:
63: rcs:
64: rcs -l RCS/*
65: cat ../../rcsdescription | ci -u${RCSREV} -q -N${RCSNAME} RCS/*
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.