Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/share/mk/bsd.lib.mk,v rcsdiff: /ftp/cvs/cvsroot/src/share/mk/bsd.lib.mk,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.45 retrieving revision 1.51 diff -u -p -r1.45 -r1.51 --- src/share/mk/bsd.lib.mk 1994/01/07 00:52:44 1.45 +++ src/share/mk/bsd.lib.mk 1994/06/30 06:47:38 1.51 @@ -1,5 +1,5 @@ -# from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91 -# $Id: bsd.lib.mk,v 1.45 1994/01/07 00:52:44 pk Exp $ +# $NetBSD: bsd.lib.mk,v 1.51 1994/06/30 06:47:38 deraadt Exp $ +# @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91 .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" @@ -15,7 +15,7 @@ SHLIB_MINOR != . ${.CURDIR}/shlib_versio # prefer .S to a .c, add .po, remove stuff not used in the BSD libraries # .so used for PIC object files .SUFFIXES: -.SUFFIXES: .out .o .po .so .S .s .c .cc .C .f .y .l .0 .1 .2 .3 .4 .5 .6 .7 .8 +.SUFFIXES: .out .o .po .so .S .s .c .cc .C .f .y .l .m4 .c.o: ${CC} ${CFLAGS} -c ${.IMPSRC} @@ -82,7 +82,7 @@ _LIBS+=lib${LIB}.so.${SHLIB_MAJOR}.${SHL PICFLAG=-fpic .endif -all: ${_LIBS} # llib-l${LIB}.ln +all: ${_LIBS} _SUBDIRUSE # llib-l${LIB}.ln OBJS+= ${SRCS:N*.h:R:S/$/.o/g} @@ -116,8 +116,8 @@ llib-l${LIB}.ln: ${SRCS} ${LINT} -C${LIB} ${CFLAGS} ${.ALLSRC:M*.c} .if !target(clean) -clean: - rm -f a.out Errs errs mklog core ${CLEANFILES} +clean: _SUBDIRUSE + rm -f a.out [Ee]rrs mklog core *.core ${CLEANFILES} rm -f ${OBJS} rm -f ${POBJS} profiled/*.o rm -f ${SOBJS} shared/*.o @@ -125,7 +125,7 @@ clean: rm -f lib${LIB}.so.*.* .endif -cleandir: clean +cleandir: _SUBDIRUSE clean .if defined(SRCS) afterdepend: @@ -137,7 +137,6 @@ afterdepend: .if !target(install) .if !target(beforeinstall) beforeinstall: - @install -d -o root -g wheel -m 755 ${DESTDIR}${LIBDIR} .endif realinstall: @@ -176,7 +175,7 @@ realinstall: done; true .endif -install: maninstall +install: maninstall _SUBDIRUSE maninstall: afterinstall afterinstall: realinstall realinstall: beforeinstall @@ -188,3 +187,4 @@ realinstall: beforeinstall .include .include +.include