|
|
1.1 root 1: JDIR=/usr/jtools
2: LIB=../v9compat/libv9.a
3:
4: CFILES=sam.c address.c alloc.c buffer.c cmd.c disc.c error.c file.c gcalloc.c \
5: io.c list.c mesg.c misc.c moveto.c multi.c rasp.c regexp.c string.c \
6: sys.c xec.c unix.c
7: FILES=sam.o address.o alloc.o buffer.o cmd.o disc.o error.o file.o gcalloc.o \
8: io.o list.o mesg.o misc.o moveto.o multi.o rasp.o regexp.o string.o \
9: sys.o xec.o unix.o
10: HFILES=sam.h errors.h parse.h mesg.h
11: CFLAGS=-g -DSUN -DDIST
12:
13: sam: $(FILES) malloc.o sun.o
14: rm -f sam
15: cc $(CFLAGS) -o sam $(FILES) malloc.o sun.o $(LIB)
16:
17: sun.o: sam.h errors.h mesg.h
18:
19: $(FILES) $(OFILES): sam.h errors.h mesg.h
20: address.o cmd.o parse.o xec.o unix.o: parse.h
21:
22: install: sam
23: strip sam
24: -rm $(JDIR)/x3bin/sam $(JDIR)/s3bin/sam
25: mv sam $(JDIR)/x3bin
26: ln $(JDIR)/x3bin/sam $(JDIR)/s3bin
27:
28: clean:
29: rm -f *.o core *.out
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.