Commit | Line | Data |
---|---|---|
edcab917 | 1 | # @(#)Makefile 5.2 (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. | |
8 | LIB=c | |
9 | CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS | |
4af61811 | 10 | AINC= -I${.CURDIR}/${MACHINE} |
dff79c37 | 11 | |
942e9380 | 12 | .include "${.CURDIR}/compat-43/Makefile.inc" |
edcab917 | 13 | .include "${.CURDIR}/db/Makefile.inc" |
9a4d880a | 14 | .include "${.CURDIR}/gen/Makefile.inc" |
edcab917 | 15 | .include "${.CURDIR}/locale/Makefile.inc" |
942e9380 | 16 | .include "${.CURDIR}/net/Makefile.inc" |
9a4d880a KB |
17 | .include "${.CURDIR}/stdio/Makefile.inc" |
18 | .include "${.CURDIR}/stdlib/Makefile.inc" | |
9a4d880a | 19 | .include "${.CURDIR}/string/Makefile.inc" |
942e9380 | 20 | .include "${.CURDIR}/sys/Makefile.inc" |
770d844a | 21 | |
942e9380 | 22 | beforeinstall: tags |
edcab917 KB |
23 | install -c -o bin -g bin -m 444 ${.CURDIR}/tags /var/db/libc.tags |
24 | ||
25 | tags: ${SRCS} | |
26 | cd ${.CURDIR}; ctags ${.ALLSRC:M*.c} | |
27 | cd ${.CURDIR}; egrep -o "^ENTRY(.*)|^SYSCALL(.*)" ${.ALLSRC:M*.s} | \ | |
28 | sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ | |
29 | >> tags; sort -o tags tags | |
770d844a KB |
30 | |
31 | .include <bsd.lib.mk> |