|
|
1.1 root 1: # $Header: Makefile,v 2.0 85/11/21 07:22:57 jqj Exp $
2: # $Log: Makefile,v $
3: # Revision 2.0 85/11/21 07:22:57 jqj
4: # 4.3BSD standard release
5: #
6: # Revision 1.2 85/10/21 12:32:46 root
7: # Changed for Gould
8: #
9: # Revision 1.1 85/10/18 09:41:38 root
10: # Initial revision
11: #
12: # Revision 1.1 85/05/22 09:45:36 jqj
13: # Initial revision
14: #
15:
16: #CFLAGS= -g -DDEBUG
17: CFLAGS= -O
18: LDFLAGS=-g
19: INCLUDE=${DESTDIR}/usr/include/xnscourier
20: RCSREV=
21: BINDIR=/usr/new
22: CRLIB=${DESTDIR}/usr/new/lib/xnscourier
23:
24: all: gaptelnet GAP3d GAP2d
25:
26: clean:
27: -rm -f gaptelnet *.o *.BAK *.CKP GAP3_*.c GAP3_defs.h GAP3.h \
28: GAP2_*.c GAP2_*.h GAP2.h GAP2d GAP3d
29:
30: rcs:
31: rcs -l RCS/*
32: cat ../rcsdescription | ci -u${RCSREV} -q -N${RCSNAME} RCS/*
33:
34: install: GAP3d GAP3.h GAP2.h gaptelnet
35: install -c -s GAP3d ${CRLIB}/GAP3d
36: -install -c -s GAP2d ${CRLIB}/GAP2d
37: install -c -m 644 GAP3.cr ${CRLIB}/GAP3.cr
38: install -c -m 644 GAP3.h ${INCLUDE}/GAP3.h
39: install -c -m 644 GAP2.cr ${CRLIB}/GAP2.cr
40: install -c -m 644 GAP2.h ${INCLUDE}/GAP2.h
41: install -c -s gaptelnet ${BINDIR}/gaptelnet
42:
43: GAP3_support.o GAP3_client.o GAP3_serverx.o GAP3_support.c GAP3_client.c GAP3_server.c gaptelnet.o gaptelnetd.o: GAP3.h
44:
45: GAP3.h: GAP3.cr
46: ${BINDIR}/xnscourier GAP3.cr
47:
48: GAP2_support.o GAP2_client.o GAP2_serverx.o GAP2_support.c GAP2_client.c GAP2_server.c gaptelnet.o gap2d.o: GAP2.h
49:
50: GAP2.h: GAP2.cr
51: ${BINDIR}/xnscourier GAP2.cr
52:
53: gaptelnet: gaptelnet.o GAP3_support.o GAP3_client.o
54: cc -o gaptelnet ${LDFLAGS} gaptelnet.o \
55: GAP3_support.o GAP3_client.o ${LIBS} -lcourier
56:
57: gaptelnet.o: gaptelnet.c gapcontrols.h
58: ${CC} -c ${CFLAGS} gaptelnet.c
59:
60: GAP3d: gaptelnetd.o GAP3_support.o GAP3_serverx.o
61: cc -o GAP3d ${LDLAGS} gaptelnetd.o \
62: GAP3_support.o GAP3_serverx.o -lcourier
63:
64: # have to split out Server() since it's special here
65: # routine Server() appears in gaptelnetd.c
66: GAP3_serverx.o: GAP3_server.c
67: sed -e '/^Server(/,/^}/d' GAP3_server.c > GAP3_serverx.c
68: ${CC} ${CFLAGS} -c GAP3_serverx.c
69:
70:
71: GAP2d: gap2d.o GAP2_support.o GAP2_serverx.o gap2d-unimp.o
72: cc -o GAP2d ${LDLAGS} gap2d.o gap2d-unimp.o \
73: GAP2_support.o GAP2_serverx.o -lcourier
74:
75: # have to split out Server() since it's special here
76: # routine Server() appears in gaptelnetd.c
77: GAP2_serverx.o: GAP2_server.c
78: sed -e '/^Server(/,/^}/d' GAP2_server.c > GAP2_serverx.c
79: ${CC} ${CFLAGS} -c GAP2_serverx.c
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.