|
|
1.1 root 1: #
2: # Copyright (c) 1987 Regents of the University of California.
3: # All rights reserved. The Berkeley software License Agreement
4: # specifies the terms and conditions for redistribution.
5: #
6: # @(#)Makefile 5.7 (Berkeley) 6/19/87
7: #
8: CFLAGS= -O
9: FFLAGS= -O
10: LIBC= /lib/libc.a
11: DEST= $(DESTDIR)/usr/lib
12: LIBRARY= libI77.a
13: LIBRARY_P= libI77_p.a
14: SRCS= backspace.c c_dfe.c c_iio.c c_sfe.c close.c dofio.c dolio.c douio.c \
15: due.c endfile.c err.c f77_abort.c f_errlist.c fmt.c fmtlib.c \
16: inquire.c lread.c lwrite.c open.c rdfe.c rdfmt.c rewind.c rfi.c \
17: rsfe.c rsli.c rsnmle.c sue.c util.c wdfe.c wfi.c wrtfmt.c wsfe.c \
18: wsli.c wsnmle.c
19: OBJS= backspace.o c_dfe.o c_iio.o c_sfe.o close.o dofio.o dolio.o douio.o \
20: due.o endfile.o err.o f77_abort.o f_errlist.o fmt.o fmtlib.o \
21: inquire.o lread.o lwrite.o open.o rdfe.o rdfmt.o rewind.o rfi.o \
22: rsfe.o rsli.o rsnmle.o sue.o util.o wdfe.o wfi.o wrtfmt.o wsfe.o \
23: wsli.o wsnmle.o
24:
25: .c.o:
26: ${CC} -p ${CFLAGS} -c $*.c
27: -ld -x -r $*.o
28: mv a.out profiled/$*.o
29: ${CC} ${CFLAGS} -c $*.c
30: -ld -x -r $*.o
31: mv a.out $*.o
32:
33: all: ${LIBRARY} ${LIBRARY_P} libI66.o
34:
35: ${LIBRARY}: ${OBJS} Version
36: @echo "Loading ${LIBRARY} ... "
37: @ar cru ${LIBRARY} ${OBJS} Version
38: @ranlib ${LIBRARY}
39:
40: ${LIBRARY_P}: ${OBJS} Version
41: @echo "Loading ${LIBRARY_P} ... "
42: @cd profiled; ar cru ../${LIBRARY_P} ${OBJS} Version
43: @ranlib ${LIBRARY_P}
44:
45: Version: ${SRCS} mkvers
46: ./mkvers ${LIBRARY} ${SRCS} > Version.c
47: $(CC) -c Version.c -o Version
48: @rm -f profiled/Version
49: ln Version profiled/Version
50:
51: mkvers: mkvers.c
52: ${CC} mkvers.c -o $@
53:
54: f_errlist.o: f_errlist.c
55: ${CC} ${CFLAGS} -c f_errlist.c
56: @rm -f profiled/f_errlist.o
57: ln f_errlist.o profiled/f_errlist.o
58:
59: clean: FRC
60: rm -f ${OBJS} profiled/*.o core ${LIBRARY} ${LIBRARY_P} libI66.o mkvers
61:
62: depend: FRC
63: mkdep ${CFLAGS} ${SRCS}
64:
65: install: FRC
66: install -o bin -g bin -m 644 ${LIBRARY} ${DEST}/${LIBRARY}
67: ranlib ${DEST}/${LIBRARY}
68: install -o bin -g bin -m 644 ${LIBRARY_P} ${DEST}/${LIBRARY_P}
69: ranlib ${DEST}/${LIBRARY_P}
70: install -c -o bin -g bin -m 644 libI66.o ${DEST}/libI66.a
71:
72: lint: FRC
73: lint ${CFLAGS} ${SRCS}
74:
75: tags: FRC
76: ctags ${SRCS}
77:
78: extract: FRC
79: @ar xo ${DEST}/${LIBRARY}; rm -f __.SYMDEF
80: @cd profiled; -ar xo ${DEST}/${LIBRARY_P}; rm -f __.SYMDEF
81:
82: update ${DEST}/${LIBRARY}: FRC
83: @-ar xo ${DEST}/${LIBRARY}
84: @cd profiled; -ar xo ${DEST}/${LIBRARY_P}
85: @make DEST=${DEST} all install clean
86:
87: FRC:
88:
89: # DO NOT DELETE THIS LINE -- mkdep uses it.
90: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
91:
92: backspace.o: backspace.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
93: backspace.o: /usr/include/errno.h
94: c_dfe.o: c_dfe.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
95: c_dfe.o: /usr/include/errno.h
96: c_iio.o: c_iio.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
97: c_iio.o: /usr/include/errno.h lio.h
98: c_sfe.o: c_sfe.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
99: c_sfe.o: /usr/include/errno.h
100: close.o: close.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
101: close.o: /usr/include/errno.h
102: dofio.o: dofio.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
103: dofio.o: /usr/include/errno.h format.h
104: dolio.o: dolio.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
105: dolio.o: /usr/include/errno.h lio.h
106: douio.o: douio.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
107: douio.o: /usr/include/errno.h
108: due.o: due.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
109: due.o: /usr/include/errno.h
110: endfile.o: endfile.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
111: endfile.o: /usr/include/errno.h
112: err.o: err.c /usr/include/sys/types.h /usr/include/sys/stat.h
113: err.o: /usr/include/signal.h /usr/include/machine/trap.h fio.h fiodefs.h
114: err.o: /usr/include/stdio.h f_errno.h /usr/include/errno.h
115: f77_abort.o: f77_abort.c /usr/include/signal.h /usr/include/machine/trap.h
116: f77_abort.o: fio.h fiodefs.h /usr/include/stdio.h f_errno.h
117: f77_abort.o: /usr/include/errno.h
118: f_errlist.o: f_errlist.c
119: fmt.o: fmt.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
120: fmt.o: /usr/include/errno.h format.h
121: fmtlib.o: fmtlib.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
122: fmtlib.o: /usr/include/errno.h
123: inquire.o: inquire.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
124: inquire.o: /usr/include/errno.h
125: lread.o: lread.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
126: lread.o: /usr/include/errno.h lio.h
127: lwrite.o: lwrite.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
128: lwrite.o: /usr/include/errno.h lio.h
129: open.o: open.c /usr/include/sys/types.h /usr/include/sys/stat.h
130: open.o: /usr/include/errno.h fio.h fiodefs.h /usr/include/stdio.h f_errno.h
131: open.o: /usr/include/errno.h
132: rdfe.o: rdfe.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
133: rdfe.o: /usr/include/errno.h
134: rdfmt.o: rdfmt.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
135: rdfmt.o: /usr/include/errno.h format.h
136: rewind.o: rewind.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
137: rewind.o: /usr/include/errno.h
138: rfi.o: rfi.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
139: rfi.o: /usr/include/errno.h
140: rsfe.o: rsfe.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
141: rsfe.o: /usr/include/errno.h
142: rsli.o: rsli.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
143: rsli.o: /usr/include/errno.h lio.h
144: rsnmle.o: rsnmle.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
145: rsnmle.o: /usr/include/errno.h lio.h nmlio.h /usr/include/ctype.h
146: sue.o: sue.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
147: sue.o: /usr/include/errno.h
148: util.o: util.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
149: util.o: /usr/include/errno.h
150: wdfe.o: wdfe.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
151: wdfe.o: /usr/include/errno.h
152: wfi.o: wfi.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
153: wfi.o: /usr/include/errno.h
154: wrtfmt.o: wrtfmt.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
155: wrtfmt.o: /usr/include/errno.h format.h
156: wsfe.o: wsfe.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
157: wsfe.o: /usr/include/errno.h
158: wsli.o: wsli.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
159: wsli.o: /usr/include/errno.h lio.h
160: wsnmle.o: wsnmle.c fio.h fiodefs.h /usr/include/stdio.h f_errno.h
161: wsnmle.o: /usr/include/errno.h lio.h nmlio.h /usr/include/strings.h
162:
163: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.