Annotation of researchv8dc/cmd/sh/makefile, revision 1.1.1.1

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: ctype.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: ctype.o:       ctype.h
                     22:                CC=$(CC) AS=$(AS) CFLAGS="$(CFLAGS)" sh ./:fix ctype
                     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
                     42:        cp sh /bin/sh
                     43:        strip /bin/sh
                     44:        /etc/chown bin,bin /bin/sh
                     45:        chmod o-w,g+w /bin/sh
                     46: 
                     47: clean:
                     48:          -rm -f *.o sh
                     49: 
                     50: clobber:  clean
                     51:          -rm -f $(TESTDIR)/sh
                     52:          -rm -f $(ROOT)/bin/OLDrsh
                     53: 
                     54: FRC:
                     55: 
                     56: pp:
                     57:        pp -tsh makefile *.h *.c | dcan

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.