date and time created 92/06/25 06:43:45 by torek
[unix-history] / usr / src / lib / libc / Makefile
CommitLineData
52f27732 1# @(#)Makefile 5.4 (Berkeley) %G%
1b597941 2#
770d844a
KB
3# All library objects contain sccsid 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_SCCS and -DSYSLIBC_SCCS
6# from CFLAGS below. To remove these strings from just the system call
7# stubs, remove just -DSYSLIBC_SCCS from CFLAGS.
8LIB=c
9CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS
4af61811 10AINC= -I${.CURDIR}/${MACHINE}
dff79c37 11
edcab917 12.include "${.CURDIR}/db/Makefile.inc"
51a5a002 13.include "${.CURDIR}/compat-43/Makefile.inc"
9a4d880a 14.include "${.CURDIR}/gen/Makefile.inc"
edcab917 15.include "${.CURDIR}/locale/Makefile.inc"
942e9380 16.include "${.CURDIR}/net/Makefile.inc"
52f27732 17.include "${.CURDIR}/quad/Makefile.inc"
9a4d880a
KB
18.include "${.CURDIR}/stdio/Makefile.inc"
19.include "${.CURDIR}/stdlib/Makefile.inc"
9a4d880a 20.include "${.CURDIR}/string/Makefile.inc"
942e9380 21.include "${.CURDIR}/sys/Makefile.inc"
770d844a 22
942e9380 23beforeinstall: tags
edcab917
KB
24 install -c -o bin -g bin -m 444 ${.CURDIR}/tags /var/db/libc.tags
25
26tags: ${SRCS}
27 cd ${.CURDIR}; ctags ${.ALLSRC:M*.c}
28 cd ${.CURDIR}; egrep -o "^ENTRY(.*)|^SYSCALL(.*)" ${.ALLSRC:M*.s} | \
29 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
30 >> tags; sort -o tags tags
770d844a
KB
31
32.include <bsd.lib.mk>