fixed it to work on terminals with over 48 lines, and fixed bug
[unix-history] / .ref-BSD-3 / usr / src / libI77 / Makefile
CommitLineData
914b7558
BJ
1.SUFFIXES: .o .x .c
2CFLAGS=-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
10FILES=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
15SOURCE=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
20libI77.a: $(FILES)
21lio.h: ../vaxvax/ftypes
22 chmod 0666 lio.h
23lio.x lread.x: lio.h
24fmt.x rdfmt.x rsfe.x testfmt.x wrtfmt.x wsfe.x: fmt.h
25$(FILES): fio.h /usr/include/stdio.h/
2645: $(SOURCE) Makefile
27 uucp $? res45!/v7/usr/src/libI77
28 touch 45
29inter: $(SOURCE) Makefile
30 uucp $? inter!/usr/sif/fort/libI77
31 touch inter
32real: $(SOURCE)
33 cp $? /usr/src/libI77
34 touch real
35export: $(SOURCE)
36 cp $? /usr/sif/fort/11export/libI77
37 touch export
38install:
39 cp libI77.a /usr/lib/libI77.a
40list:
41 @pr -w72 *.h *.c Makefile
42all: inter real export