|
|
1.1 root 1: BUILTINS=""
2: IN=/usr/bin
3: LIB=/usr/lib
4: BIN=/usr/bin
5: TARGETS=./con ./push ./pull ./rx ./nrx ./rcp ./loopback ./telnet ./qns ./rsh
6: INSTALL=$BIN/dcon $BIN/ndcon $BIN/rogin $BIN/rlogin $BIN/nogin $BIN/con\
7: $BIN/push $BIN/pull $LIB/Rpush $LIB/Rpull $BIN/rx $BIN/nrx $BIN/rcp\
8: $BIN/loopback $BIN/telnet $BIN/scriptcon $BIN/qns
9: CLIBS=../libipc/ipcopen.O ../libipc/ipccreat.O ../libipc/ipcpath.O\
10: ../libipc/ipcexec.O ../libipc/ipclogin.O
11: INCS=-I../h -I../internet
12: LIBIPC=../libipc/libipc.a
13:
14: all:V: $TARGETS
15: install:V: $INSTALL
16:
17: %.o: %.c
18: $CC -c $INCS $CFLAGS $stem.c
19: %.O: %.c
20: cyntax -c -DLINT $INCS $CFLAGS $stem.c
21: %.OO: %.O $CLIBS
22: cyntax $CFLAGS $prereq
23: $BIN/%: ./%
24: rm -f $target
25: cp $stem $target
26: /etc/chown bin,bin $target
27: chmod 775 $target
28: ./%: %.OO %.o $LIBIPC
29: $CC $stem.o $LIBIPC -o $stem
30:
31: rcp.OO: rcp.O $CLIBS
32: cyntax -Verror:1 $CFLAGS $prereq
33: rcp.O: rcp.c
34: cyntax -Verror:1 $CFLAGS -c rcp.c
35: scriptcon.OO: scriptcon.O $CLIBS
36: echo do nothing
37: scriptcon.O: scriptcon.c
38: echo do nothing
39: ./telnet: telnet.o ../libin/libin.a ../libipc/libipc.a
40: $CC -o telnet $prereq
41: ./ftp: ftpcmds.o ftpcmdtab.o ftp.o ftpmain.o ../libin/libin.a ../libipc/libipc.a
42: $CC -o ftp $prereq
43: telnet.O: telnet.c ../h/telnet.h
44: cyntax -Vcall:1 -c $CFLAGS -I../h telnet.c
45: ftp.O: ftp.c ../h/ftp.h ../h/ftp_var.h
46: cyntax -Vcommand:1 -c $CFLAGS -I../h ftp.c
47: telnet.o: telnet.c ../h/telnet.h
48: $CC -c $CFLAGS -I ../h telnet.c
49: ftp.o: ftp.c ../h/ftp.h ../h/ftp_var.h
50: $CC -c $CFLAGS -I ../h ftp.c
51: ftpcmds.o: ftpcmds.c ../h/ftp.h ../h/ftp_var.h
52: $CC -c $CFLAGS -I ../h ftpcmds.c
53: ftpcmdtab.o: ftpcmdtab.c ../h/ftp_var.h
54: $CC -c $CFLAGS -I ../h ftpcmdtab.c
55: ftpmain.o: ftpmain.c ../h/ftp_var.h
56: $CC -c $CFLAGS -I ../h ftpmain.c
57:
58: $BIN/dcon: $BIN/con
59: rm -f $target
60: ln $BIN/con $target
61:
62: $BIN/ndcon: $BIN/con
63: rm -f $target
64: ln $BIN/con $target
65:
66: $BIN/rogin: $BIN/con
67: rm -f $target
68: ln $BIN/con $target
69:
70: $BIN/rlogin: $BIN/con
71: rm -f $target
72: ln $BIN/con $target
73:
74: $BIN/nogin: $BIN/con
75: rm -f $target
76: ln $BIN/con $target
77:
78: $BIN/rsh: $BIN/rx
79: rm -f $target
80: ln $BIN/rx $target
81:
82: $LIB/Rpull: $BIN/pull
83: rm -f $target
84: ln $BIN/pull $target
85: /etc/chown bin,bin $target
86: chmod 775 $target
87:
88: $LIB/Rpush: $BIN/push
89: rm -f $target
90: ln $BIN/push $target
91: /etc/chown bin,bin $target
92: chmod 775 $target
93:
94: clean:
95: /bin/rm -f *.[Oo] core $TARGETS
96:
97: ship:V: all
98: ship $BIN/con $BIN/dcon $BIN/ndcon $BIN/rogin $BIN/rlogin $BIN/nogin
99: ship $BIN/scriptcon
100: ship $BIN/push $BIN/pull $LIB/Rpush $LIB/Rpull
101: ship $BIN/rsh $BIN/rx
102: ship $BIN/telnet $BIN/ftp
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.