|
|
1.1 root 1: # Makefile 4.1 83/06/27
2: #
3: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
4:
5: OBJS= htonl.o htons.o ntohl.o ntohs.o
6: CFLAGS= -I$(DESTDIR)/usr/include
7:
8: .c.o:
9: /lib/cpp -I$(DESTDIR)/usr/include -E -DPROF $*.c | ${AS} -o $*.o
10: -${LD} -x -r $*.o
11: mv a.out profiled/$*.o
12: /lib/cpp -E -I$(DESTDIR)/usr/include $*.c | ${AS} -o $*.o
13: -${LD} -x -r $*.o
14: mv a.out $*.o
15:
16: netlib netlib_p: ${OBJS}
17: @echo "building profiled netlib"
18: @cd profiled; ar cru ../netlib_p ${OBJS}
19: @echo "building normal netlib"
20: @ar cru netlib ${OBJS}
21:
22: clean:
23: rm -f ${OBJS} profiled/*.o errs a.out core netlib netlib_p
24: rm -f *.c *.h Makefile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.