|
|
1.1 root 1: TESTDIR = .
2: FRC =
3: ROOT=
4: INSDIR =
5: CFLAGS = -g #-gd2
6: LDFLAGS = -g
7: NPROC = 2
8:
9: OFILES = shsetbrk.o blok.o stak.o cmd.o fault.o main.o word.o string.o\
10: name.o args.o xec.o service.o error.o io.o print.o macro.o expand.o\
11: sctype.o msg.o defs.o pathserv.o func.o spname.o
12: OOFILES = shsetbrk.O blok.O stak.O cmd.O fault.O main.O word.O string.O\
13: name.O args.O xec.O service.O error.O io.O print.O macro.O expand.O\
14: sctype.O msg.O defs.O pathserv.O func.O spname.O
15:
16: sh: $OFILES
17: $CC $LDFLAGS $OFILES -o $TESTDIR/sh
18:
19: $OFILES $OOFILES: defs.h $FRC
20:
21: sctype.o: sctype.h
22: CC="$CC" AS="$AS" CFLAGS="$CFLAGS" sh ./:fix sctype
23:
24: msg.o: msg.c
25: CC="$CC" AS="$AS" CFLAGS="$CFLAGS" sh ./:fix msg
26:
27: blok.o fault.o main.o stak.o: brkincr.h
28: blok.O fault.O main.O stak.O: brkincr.h
29: cwd.o: mac.h
30: cwd.O: mac.h
31: cmd.o macro.o main.o msg.o name.o word.o xec.o: sym.h
32: cmd.O macro.O main.O msg.O name.O word.O xec.O: sym.h
33: main.o: timeout.h
34: main.O: timeout.h
35:
36: install: all
37: mv /bin/sh /bin/osh; cp sh /bin/sh; strip /bin/sh
38: /etc/chown bin,bin /bin/sh
39: chmod o-w,g+w /bin/sh
40:
41: clean:
42: rm -f *.o *.O sh
43:
44: clobber: clean
45: set -e
46: rm -f $TESTDIR/sh
47: rm -f $ROOT/bin/OLDrsh
48:
49: cyntax: $OOFILES
50: cyntax $OOFILES > temp && touch cyntax
51:
52: %.O: %.c
53: cyntax -c $CFLAGS $stem.c
54: xec.O: xec.c
55: cyntax -c -Vexecute:3 $CFLAGS xec.c
56:
57: FRC:
58:
59: pp:
60: pp -tsh makefile *.h *.c | dcan
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.