|
|
1.1 root 1: # @(#)Makefile 4.2 (Berkeley) 6/27/83
2:
3: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
4: OBJS= inet_addr.o inet_network.o \
5: inet_netof.o inet_ntoa.o inet_lnaof.o \
6: inet_makeaddr.o
7: CFLAGS= -O -I$(DESTDIR)/usr/include
8:
9: .c.o:
10: ${CC} -p -c ${CFLAGS} $*.c
11: -${LD} -X -r $*.o
12: mv a.out profiled/$*.o
13: ${CC} ${CFLAGS} -c $*.c
14: -${LD} -x -r $*.o
15: mv a.out $*.o
16:
17: inetlib inetlib_p: ${OBJS}
18: @echo "building profiled inetlib"
19: @cd profiled; ar cru ../inetlib_p ${OBJS}
20: @echo "building normal inetlib"
21: @ar cru inetlib ${OBJS}
22:
23: clean:
24: rm -f inetlib inetlib_p ${OBJS} profiled/*.o errs a.out core
25:
26: cleansrc:
27:
28: rm -f Makefile *.c
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.