Makefile revision 1.14
11.8Smycroft# from: @(#)Makefile 5.2 (Berkeley) 3/5/91 21.14Sjtc# $Id: Makefile,v 1.14 1993/10/15 01:06:47 jtc Exp $ 31.1Scgd# 41.1Scgd# All library objects contain sccsid strings by default; they may be 51.1Scgd# excluded as a space-saving measure. To produce a library that does 61.1Scgd# not contain these strings, delete -DLIBC_SCCS and -DSYSLIBC_SCCS 71.1Scgd# from CFLAGS below. To remove these strings from just the system call 81.1Scgd# stubs, remove just -DSYSLIBC_SCCS from CFLAGS. 91.4Sderaadt# 101.6Sderaadt# The YP functions are always in libc. To choose that getpwent() and friends 111.6Sderaadt# actually call the YP functions, put -DYP on the CFLAGS line below. 121.4Sderaadt 131.1ScgdLIB=c 141.9SderaadtCFLAGS+=-DYP -DLIBC_SCCS -DSYSLIBC_SCCS 151.13ScgdAINC= -I${.CURDIR}/arch/${MACHINE} 161.9Sderaadt 171.13Scgd.if exists (${.CURDIR}/arch/${MACHINE}/Makefile.inc) 181.13Scgd.PATH: ${.CURDIR}/arch/${MACHINE} 191.13Scgd.include "${.CURDIR}/arch/${MACHINE}/Makefile.inc" 201.9Sderaadt.endif 211.1Scgd 221.7Scgd.include "${.CURDIR}/db/Makefile.inc" 231.1Scgd.include "${.CURDIR}/compat-43/Makefile.inc" 241.1Scgd.include "${.CURDIR}/gen/Makefile.inc" 251.1Scgd.include "${.CURDIR}/locale/Makefile.inc" 261.1Scgd.include "${.CURDIR}/net/Makefile.inc" 271.1Scgd.include "${.CURDIR}/stdio/Makefile.inc" 281.1Scgd.include "${.CURDIR}/stdlib/Makefile.inc" 291.1Scgd.include "${.CURDIR}/string/Makefile.inc" 301.1Scgd.include "${.CURDIR}/sys/Makefile.inc" 311.4Sderaadt.include "${.CURDIR}/yp/Makefile.inc" 321.4Sderaadt.include "${.CURDIR}/rpc/Makefile.inc" 331.10Smycroft.include "${.CURDIR}/quad/Makefile.inc" 341.1Scgd 351.14SjtcLIBKERN= /sys/lib/libkern 361.14Sjtc 371.14SjtcKSRCS= bcmp.c bzero.c ffs.c strcat.c strcmp.c strcpy.c strlen.c strncpy.c \ 381.14Sjtc htonl.c htons.c ntohl.c ntohl.c 391.14Sjtc 401.14Sjtccopy-to-libkern: ${KSRCS} 411.14Sjtc cp -p ${.ALLSRC} ${LIBKERN} 421.14Sjtc 431.14Sjtcrm-from-libkern: 441.14Sjtc for i in ${KSRCS}; do rm -f ${LIBKERN}/$$i; done 451.14Sjtc 461.1Scgd.include <bsd.lib.mk> 47