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 retrieving revision 1.114 retrieving revision 1.114.2.1 diff -u -p -r1.114 -r1.114.2.1 --- src/share/mk/bsd.lib.mk 1997/05/30 01:54:42 1.114 +++ src/share/mk/bsd.lib.mk 1997/10/12 22:11:24 1.114.2.1 @@ -1,13 +1,16 @@ -# $NetBSD: bsd.lib.mk,v 1.114 1997/05/30 01:54:42 cjs Exp $ +# $NetBSD: bsd.lib.mk,v 1.114.2.1 1997/10/12 22:11:24 cjs Exp $ # @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94 +.if !target(__initialized__) +__initialized__: .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" .endif - .include - +.include .MAIN: all +.endif + .PHONY: cleanlib libinstall realinstall: libinstall clean cleandir: cleanlib @@ -77,7 +80,7 @@ SHLIB_TYPE=a.out SHLIB_LDSTARTFILE= SHLIB_LDENDFILE= SHLIB_SOVERSION=${SHLIB_MAJOR}.${SHLIB_MINOR} -CPICFLAGS?= -fpic +CPICFLAGS?= -fpic -DPIC CPPPICFLAGS?= -DPIC CAPICFLAGS?= ${CPPPICFLAGS} ${CPICFLAGS} APICFLAGS?= -k @@ -345,18 +348,13 @@ ${DESTDIR}${LINTLIBDIR}/llib-l${LIB}.ln: .endif .endif -.if !defined(NOMAN) .include -.endif - -.if !defined(NONLS) .include -.endif - -.include .include .include .include .include -.include .include + +# Make sure all of the standard targets are defined, even if they do nothing. +lint regress: