Commit | Line | Data |
---|---|---|
914b7558 BJ |
1 | .SUFFIXES: .o .x .c |
2 | CFLAGS=-O | |
3 | .c.o: | |
4 | $(CC) $(CFLAGS) -c $< | |
5 | .c.x: | |
6 | $(CC) $(CFLAGS) -c $< | |
7 | ar ru libI77.a $*.o | |
8 | -rm $*.o | |
9 | > $*.x | |
10 | FILES=backspace.x dfe.x due.x iio.x inquire.x \ | |
11 | lib.x rewind.x rsfe.x \ | |
12 | rdfmt.x sue.x uio.x wsfe.x sfe.x fmt.x \ | |
13 | lio.x lread.x open.x close.x util.x \ | |
14 | endfile.x wrtfmt.x err.x fmtlib.x | |
15 | SOURCE=rewind.c endfile.c uio.c due.c dfe.c \ | |
16 | Makefile backspace.c close.c err.c fio.h fmt.c fmt.h \ | |
17 | fmtlib.c ftest.c lib.c open.c rdfmt.c rsfe.c sfe.c \ | |
18 | sue.c util.c wrtfmt.c wsfe.c iio.c lio.h lio.c \ | |
19 | inquire.c lread.c | |
20 | libI77.a: $(FILES) | |
21 | lio.h: ../vaxvax/ftypes | |
22 | chmod 0666 lio.h | |
23 | lio.x lread.x: lio.h | |
24 | fmt.x rdfmt.x rsfe.x testfmt.x wrtfmt.x wsfe.x: fmt.h | |
25 | $(FILES): fio.h /usr/include/stdio.h/ | |
26 | 45: $(SOURCE) Makefile | |
27 | uucp $? res45!/v7/usr/src/libI77 | |
28 | touch 45 | |
29 | inter: $(SOURCE) Makefile | |
30 | uucp $? inter!/usr/sif/fort/libI77 | |
31 | touch inter | |
32 | real: $(SOURCE) | |
33 | cp $? /usr/src/libI77 | |
34 | touch real | |
35 | export: $(SOURCE) | |
36 | cp $? /usr/sif/fort/11export/libI77 | |
37 | touch export | |
38 | install: | |
39 | cp libI77.a /usr/lib/libI77.a | |
40 | list: | |
41 | @pr -w72 *.h *.c Makefile | |
42 | all: inter real export |