|
|
1.1 root 1: # UNIX 4.2
2: # Tahoe version 84/02/10
3: DESTDIR=
4: AS=/bin/as
5: CC=/bin/cc
6: LD=/bin/ld
7: INCLDIR=${DESTDIR}/usr/include
8: LIBDIR=${DESTDIR}/lib
9: ULIBDIR=${DESTDIR}/usr/lib
10:
11: CFLAGS= -O -I$(DESTDIR)/usr/include
12:
13: OBJS= errlst.o perror.o
14:
15: .c.o:
16: ${CC} -p ${CFLAGS} -c $*.c
17: ${LD} -X -r $*.o
18: mv a.out profiled/$*.o
19: ${CC} ${CFLAGS} -c $*.c
20: ${LD} -X -r $*.o
21: mv a.out $*.o
22:
23: genlib genlib_p: ${OBJS}
24: @echo "building profiled genlib"
25: @cd profiled; ar cru ../genlib_p ${OBJS}
26: @echo "building normal genlib"
27: @ar cru genlib ${OBJS}
28:
29: clean:
30: rm -f ${OBJS} profiled/*.o errs a.out core genlib genlib_p
31:
32: cleansrc:
33: rm -f *.c *.h Makefile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.