BSD 4_3_Net_2 release
[unix-history] / usr / src / lib / libc / Makefile
index 1791e5e..6653e61 100644 (file)
@@ -1,4 +1,4 @@
-#      @(#)Makefile    4.40 (Berkeley) 6/25/90
+#      @(#)Makefile    5.2 (Berkeley) 3/5/91
 #
 # All library objects contain sccsid strings by default; they may be
 # excluded as a space-saving measure.  To produce a library that does
 #
 # All library objects contain sccsid strings by default; they may be
 # excluded as a space-saving measure.  To produce a library that does
@@ -9,18 +9,23 @@ LIB=c
 CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS
 AINC=  -I${.CURDIR}/${MACHINE}
 
 CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS
 AINC=  -I${.CURDIR}/${MACHINE}
 
+.include "${.CURDIR}/compat-43/Makefile.inc"
+.include "${.CURDIR}/db/Makefile.inc"
 .include "${.CURDIR}/gen/Makefile.inc"
 .include "${.CURDIR}/gen/Makefile.inc"
-.include "${.CURDIR}/sys/Makefile.inc"
+.include "${.CURDIR}/locale/Makefile.inc"
+.include "${.CURDIR}/net/Makefile.inc"
 .include "${.CURDIR}/stdio/Makefile.inc"
 .include "${.CURDIR}/stdlib/Makefile.inc"
 .include "${.CURDIR}/stdio/Makefile.inc"
 .include "${.CURDIR}/stdlib/Makefile.inc"
-.include "${.CURDIR}/net/Makefile.inc"
 .include "${.CURDIR}/string/Makefile.inc"
 .include "${.CURDIR}/string/Makefile.inc"
-.include "${.CURDIR}/compat-43/Makefile.inc"
+.include "${.CURDIR}/sys/Makefile.inc"
+
+beforeinstall: tags
+       install -c -o bin -g bin -m 444 ${.CURDIR}/tags /var/db/libc.tags
 
 
-beforeinstall:
-       ar ma findiop.o libc.a exit.o
-       ar ma exit.o libc.a fakcu.o
-       ar ma findiop.po libc_p.a exit.po
-       ar ma exit.po libc_p.a fakcu.po
+tags: ${SRCS}
+       cd ${.CURDIR}; ctags ${.ALLSRC:M*.c}
+       cd ${.CURDIR}; egrep -o "^ENTRY(.*)|^SYSCALL(.*)" ${.ALLSRC:M*.s} | \
+           sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
+           >> tags; sort -o tags tags
 
 .include <bsd.lib.mk>
 
 .include <bsd.lib.mk>