|
|
Power 6/32 Unix version 1.2b
# Makefile 4.1 83/06/27
#
MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
OBJS= htonl.o htons.o ntohl.o ntohs.o
CFLAGS= -I$(DESTDIR)/usr/include
.c.o:
/lib/cpp -I$(DESTDIR)/usr/include -E -DPROF $*.c | ${AS} -o $*.o
-${LD} -x -r $*.o
mv a.out profiled/$*.o
/lib/cpp -E -I$(DESTDIR)/usr/include $*.c | ${AS} -o $*.o
-${LD} -x -r $*.o
mv a.out $*.o
netlib netlib_p: ${OBJS}
@echo "building profiled netlib"
@cd profiled; ar cru ../netlib_p ${OBJS}
@echo "building normal netlib"
@ar cru netlib ${OBJS}
clean:
rm -f ${OBJS} profiled/*.o errs a.out core netlib netlib_p
rm -f *.c *.h Makefile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.