Makefile (17928) | Makefile (22315) |
---|---|
1# @(#)Makefile 8.2 (Berkeley) 2/3/94 2# 3# All library objects contain rcsid strings by default; they may be 4# excluded as a space-saving measure. To produce a library that does 5# not contain these strings, delete -DLIBC_RCS and -DSYSLIBC_RCS 6# from CFLAGS below. To remove these strings from just the system call 7# stubs, remove just -DSYSLIBC_RCS from CFLAGS. 8LIB=c_r 9SHLIB_MAJOR= 3 10SHLIB_MINOR= 0 11CFLAGS+=-DLIBC_RCS -DSYSLIBC_RCS 12CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE -I${.CURDIR}/uthread 13AINC= -I${.CURDIR}/../libc/${MACHINE} -I${.CURDIR}/uthread | 1# @(#)Makefile 8.2 (Berkeley) 2/3/94 2# 3# All library objects contain rcsid strings by default; they may be 4# excluded as a space-saving measure. To produce a library that does 5# not contain these strings, delete -DLIBC_RCS and -DSYSLIBC_RCS 6# from CFLAGS below. To remove these strings from just the system call 7# stubs, remove just -DSYSLIBC_RCS from CFLAGS. 8LIB=c_r 9SHLIB_MAJOR= 3 10SHLIB_MINOR= 0 11CFLAGS+=-DLIBC_RCS -DSYSLIBC_RCS 12CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE -I${.CURDIR}/uthread 13AINC= -I${.CURDIR}/../libc/${MACHINE} -I${.CURDIR}/uthread |
14CLEANFILES+=tags | |
15PRECIOUSLIB= yes 16 17.include "${.CURDIR}/db/Makefile.inc" 18.include "${.CURDIR}/compat-43/Makefile.inc" 19.include "${.CURDIR}/gen/Makefile.inc" 20.include "${.CURDIR}/gmon/Makefile.inc" 21.include "${.CURDIR}/locale/Makefile.inc" 22.include "${.CURDIR}/man/Makefile.inc" --- 10 unchanged lines hidden (view full) --- 33.include "${.CURDIR}/uthread/Makefile.inc" 34.include "${.CURDIR}/xdr/Makefile.inc" 35.if !defined(NO_YP_LIBC) 36CFLAGS+= -DYP 37.include "${.CURDIR}/yp/Makefile.inc" 38.endif 39.include "${.CURDIR}/${MACHINE}/sys/Makefile.inc" 40 | 14PRECIOUSLIB= yes 15 16.include "${.CURDIR}/db/Makefile.inc" 17.include "${.CURDIR}/compat-43/Makefile.inc" 18.include "${.CURDIR}/gen/Makefile.inc" 19.include "${.CURDIR}/gmon/Makefile.inc" 20.include "${.CURDIR}/locale/Makefile.inc" 21.include "${.CURDIR}/man/Makefile.inc" --- 10 unchanged lines hidden (view full) --- 32.include "${.CURDIR}/uthread/Makefile.inc" 33.include "${.CURDIR}/xdr/Makefile.inc" 34.if !defined(NO_YP_LIBC) 35CFLAGS+= -DYP 36.include "${.CURDIR}/yp/Makefile.inc" 37.endif 38.include "${.CURDIR}/${MACHINE}/sys/Makefile.inc" 39 |
41beforeinstall: tags 42 ${INSTALL} ${COPY} -o bin -g bin -m 444 tags /var/db/libc_r.tags 43 44tags: ${SRCS} 45 ctags ${.ALLSRC:M*.c} 46 egrep -o "^ENTRY(.*)|^FUNC(.*)|^SYSCALL(.*)" ${.ALLSRC:M*.s} | \ 47 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 48 >> tags; sort -o tags tags 49 | |
50.include <bsd.lib.mk> | 40.include <bsd.lib.mk> |