File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / lib / libc / net / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b

# 	Makefile	4.9	83/06/30
#
MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}

OBJS=	gethostbyname.o gethostbyaddr.o gethostent.o \
	getnetbyaddr.o getnetent.o getnetbyname.o \
	getproto.o getprotoent.o getprotoname.o \
	getservent.o getservbyport.o getservbyname.o \
	rcmd.o rexec.o ruserpass.o
CFLAGS=	-O -I$(DESTDIR)/usr/include

.c.o:
	${CC} -p -c ${CFLAGS} $*.c
	-${LD} -X -r $*.o
	mv a.out profiled/$*.o
	${CC} ${CFLAGS} -c $*.c
	-${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
	
cleansrc:

	rm -f *.c Makefile

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.