|
|
1.1 root 1: # $Header: Makefile,v 1.1 87/03/17 16:27:31 ed Exp $
2: #
3: # Copyright (c) 1986, 1987 Xerox Corporation.
4: #
5: # $Log: Makefile,v $
6: # Revision 1.1 87/03/17 16:27:31 ed
7: # Initial revision
8: #
9: #
10: #
11:
12: DESTDIR =
13: DESTBIN = ${DESTDIR}/usr/new
14: DESTCOURIER = ${DESTDIR}/usr/new/lib/xnscourier
15:
16: BINDIR = ../../bin
17: LIBDIR = ../../lib
18: MANDIR = ../../man
19: INCDIR = ../../include
20: COURIERDIR = ../../xnscourier
21:
22: #
23: # XEROXFSCOMPATIBILITY allows xnsftp use with Xerox File Servers until
24: # Filingsubset is implemented
25: # DEBUG debug output generated
26: #
27:
28: # directories
29: INCLUDE= ${INCDIR}/xnscourier
30:
31: #CFLAGS= -O -g -I${INCDIR} -DXEROXFSCOMPATIBILITY
32: CFLAGS= -g -O -I${INCDIR} -DXEROXFSCOMPATIBILITY
33: LDFLAGS= -g
34: RCSREV=
35:
36: ALL= xnsarchive xnsrestore
37:
38: ARCHIVEOBJS= xnsarchive.o
39:
40: RESTOREOBJS= xnsrestore.o
41:
42: all: ${ALL}
43:
44: #
45: # xnsarchive
46: #
47:
48: xnsarchive: ${ARCHIVEOBJS}
49: ${CC} ${LDFLAGS} ${ARCHIVEOBJS} ${LIBDIR}/lib_filing.a \
50: ${LIBDIR}/libcourier.a ${LIBDIR}/lib_filing4.a \
51: ${LIBDIR}/libcourier.a \
52: -o xnsarchive
53:
54: xnsarchive.o : xnsarchive.c ${INCLUDE}/Filing4.h
55: ${CC} -c ${CFLAGS} xnsarchive.c
56:
57: #
58: # xnsarchive
59: #
60:
61: xnsrestore: ${RESTOREOBJS}
62: ${CC} ${LDFLAGS} ${RESTOREOBJS} ${LIBDIR}/lib_filing.a \
63: ${LIBDIR}/libcourier.a ${LIBDIR}/lib_filing4.a \
64: ${LIBDIR}/libcourier.a \
65: -o xnsrestore
66:
67: xnsrestore.o : xnsrestore.c ${INCLUDE}/Filing4.h
68: ${CC} -c ${CFLAGS} xnsrestore.c
69:
70: clean:
71: -rm -f *.o *.BAK *.CKP ${ALL}
72:
73: rcs:
74: rcs -l RCS/*
75: cat ../../rcsdescription | ci -u${RCSREV} -q -N${RCSNAME} RCS/*
76:
77: install: ${ALL}
78: install -c -s xnsarchive ${BINDIR}/xnsarchive
79: install -c -s xnsrestore ${BINDIR}/xnsrestore
80:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.