|
|
1.1 root 1: TESTDIR = .
2: FRC =
3: ROOT=
4: INSDIR =
5: CFLAGS = -g #-gd2
6: LDFLAGS =
7: NPROC = 2
8:
9: OFILES = setbrk.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 = setbrk.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: all: sh
17:
18: sh: $OFILES
19: $CC $LDFLAGS $OFILES -o $TESTDIR/sh
20:
21: $OFILES $OOFILES: defs.h $FRC
22:
23: sctype.o: sctype.h
24: CC="$CC" AS="$AS" CFLAGS="$CFLAGS" sh ./:fix sctype
25:
26: msg.o: msg.c
27: CC="$CC" AS="$AS" CFLAGS="$CFLAGS" sh ./:fix msg
28:
29: blok.o fault.o main.o stak.o: brkincr.h
30: blok.O fault.O main.O stak.O: brkincr.h
31: cwd.o: mac.h
32: cwd.O: mac.h
33: cmd.o macro.o main.o msg.o name.o word.o xec.o: sym.h
34: cmd.O macro.O main.O msg.O name.O word.O xec.O: sym.h
35: main.o: timeout.h
36: main.O: timeout.h
37:
38: install: all
39: mv /bin/sh /bin/osh; cp sh /bin/sh; strip /bin/sh
40: /etc/chown bin,bin /bin/sh
41: chmod o-w,g+w /bin/sh
42:
43: clean:
44: rm -f *.o *.O sh
45:
46: clobber: clean
47: set -e
48: rm -f $TESTDIR/sh
49: rm -f $ROOT/bin/OLDrsh
50:
51: cyntax: $OOFILES
52: cyntax $OOFILES > temp && touch cyntax
53:
54: %.O: %.c
55: cyntax -c $CFLAGS $stem.c
56: xec.O: xec.c
57: cyntax -c -Vexecute:3 $CFLAGS xec.c
58:
59: FRC:
60:
61: pp:
62: 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.