|
|
1.1 root 1: # $Header: Makefile,v 1.1 87/03/17 16:28:58 ed Exp $
2: #
3: # Copyright (c) 1986, 1987 Xerox Corporation.
4: #
5: # $Log: Makefile,v $
6: # Revision 1.1 87/03/17 16:28:58 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= xnsbrowse xnsrprint
37:
38: BROWSEOBJS= xnsbrowse.o
39:
40: RPRINTOBJS= xnsrprint.o
41:
42:
43: all: ${ALL}
44:
45: #
46: # xnsbrowse
47: #
48:
49: xnsbrowse: ${BROWSEOBJS}
50: ${CC} ${LDFLAGS} ${BROWSEOBJS} ${LIBDIR}/lib_filing.a \
51: ${LIBDIR}/libcourier.a ${LIBDIR}/lib_filing4.a \
52: ${LIBDIR}/libcourier.a \
53: -o xnsbrowse
54:
55: xnsbrowse.o : xnsremote.c ${INCLUDE}/FilingSubset1.h
56: ${CC} -c ${CFLAGS} -o xnsbrowse.o xnsremote.c
57:
58: #
59: # xnsrprint
60: #
61:
62: xnsrprint: ${RPRINTOBJS}
63: ${CC} ${LDFLAGS} ${RPRINTOBJS} ${LIBDIR}/lib_filing.a \
64: ${LIBDIR}/libcourier.a ${LIBDIR}/lib_filing4.a \
65: ${LIBDIR}/libcourier.a \
66: -o xnsrprint
67:
68: xnsrprint.o : xnsremote.c ${INCLUDE}/FilingSubset1.h
69: ${CC} -c ${CFLAGS} -DXNSPRINT='"${DESTBIN}/xnsprint"' \
70: -DMAHA='"${DESTBIN}/maha"' -DPRINTOPTION \
71: -o xnsrprint.o xnsremote.c
72:
73: clean:
74: -rm -f *.o *.BAK *.CKP ${ALL}
75:
76: rcs:
77: rcs -l RCS/*
78: cat ../../rcsdescription | ci -u${RCSREV} -q -N${RCSNAME} RCS/*
79:
80: install: ${ALL}
81: install -c -s xnsbrowse ${BINDIR}/xnsbrowse
82: install -c -s xnsrprint ${BINDIR}/xnsrprint
83:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.