|
|
1.1 root 1: # Makefile 4.9 83/06/30
2: #
3:
4: OBJS= gethostbyname.o gethostbyaddr.o gethostent.o \
5: getnetbyaddr.o getnetent.o getnetbyname.o \
6: getproto.o getprotoent.o getprotoname.o \
7: getservent.o getservbyport.o getservbyname.o \
8: rcmd.o rexec.o ruserpass.o
9: CFLAGS= -O
10:
11: .c.o:
12: ${CC} -p -c ${CFLAGS} $*.c
13: -ld -X -r $*.o
14: mv a.out profiled/$*.o
15: ${CC} ${CFLAGS} -c $*.c
16: -ld -x -r $*.o
17: mv a.out $*.o
18:
19: netlib netlib_p: ${OBJS}
20: @echo "building profiled netlib"
21: @cd profiled; ar cru ../netlib_p ${OBJS}
22: @echo "building normal netlib"
23: @ar cru netlib ${OBJS}
24:
25: clean:
26: rm -f ${OBJS} profiled/*.o errs a.out core netlib netlib_p
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.