|
|
1.1 ! root 1: # @(#)sh.mk 1.5 ! 2: ! 3: TESTDIR = . ! 4: FRC = ! 5: ROOT= ! 6: INSDIR = ! 7: CFLAGS = -gd2 ! 8: LDFLAGS = ! 9: ! 10: OFILES = setbrk.o blok.o stak.o cmd.o fault.o main.o word.o string.o\ ! 11: name.o args.o xec.o service.o error.o io.o print.o macro.o expand.o\ ! 12: sctype.o msg.o defs.o pathserv.o func.o spname.o ! 13: ! 14: all: sh ! 15: ! 16: sh:& $(SFILES) $(OFILES) ! 17: $(CC) $(LDFLAGS) $(SFILES) $(OFILES) -o $(TESTDIR)/sh ! 18: ! 19: $(OFILES): defs.h $(FRC) ! 20: ! 21: sctype.o: sctype.h ! 22: CC=$(CC) AS=$(AS) CFLAGS="$(CFLAGS)" sh ./:fix sctype ! 23: ! 24: blok.o fault.o main.o stak.o: brkincr.h ! 25: ! 26: ! 27: cwd.o: mac.h ! 28: ! 29: cmd.o macro.o main.o msg.o name.o word.o xec.o: sym.h ! 30: ! 31: main.o: timeout.h ! 32: ! 33: ! 34: msg.o: msg.c $(FRC) ! 35: CC=$(CC) AS=$(AS) CFLAGS="$(CFLAGS)" sh ./:fix msg ! 36: ! 37: test: ! 38: rtest $(TESTDIR)/sh ! 39: ! 40: install: all ! 41: mv /bin/sh /bin/osh; cp sh /bin/sh; strip /bin/sh ! 42: /etc/chown bin,bin /bin/sh ! 43: chmod o-w,g+w /bin/sh ! 44: ! 45: clean: ! 46: -rm -f *.o sh ! 47: ! 48: clobber: clean ! 49: -rm -f $(TESTDIR)/sh ! 50: -rm -f $(ROOT)/bin/OLDrsh ! 51: ! 52: FRC: ! 53: ! 54: pp: ! 55: 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.