Make sure INCS and SRCS are built if necessary.
This commit is contained in:
parent
093617215b
commit
f0a00ea4d3
|
@ -1,9 +1,10 @@
|
|||
# $NetBSD: bsd.inc.mk,v 1.5 1997/05/07 15:53:29 mycroft Exp $
|
||||
# $NetBSD: bsd.inc.mk,v 1.6 1997/05/09 05:17:29 mycroft Exp $
|
||||
|
||||
.PHONY: incinstall
|
||||
includes: incinstall
|
||||
|
||||
.if defined(INCS)
|
||||
includes: ${INCS}
|
||||
.for I in ${INCS}
|
||||
incinstall:: ${DESTDIR}${INCSDIR}/$I
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: bsd.lib.mk,v 1.98 1997/05/07 17:06:22 mycroft Exp $
|
||||
# $NetBSD: bsd.lib.mk,v 1.99 1997/05/09 05:17:30 mycroft Exp $
|
||||
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
|
||||
|
||||
.if exists(${.CURDIR}/../Makefile.inc)
|
||||
|
@ -210,6 +210,7 @@ cleanlib:
|
|||
rm -f llib-l${LIB}.ln ${LOBJS}
|
||||
|
||||
.if defined(SRCS)
|
||||
depend all: ${SRCS}
|
||||
afterdepend: .depend
|
||||
@(TMP=/tmp/_depend$$$$; \
|
||||
sed -e 's/^\([^\.]*\).o[ ]*:/\1.o \1.po \1.so \1.ln:/' \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: bsd.prog.mk,v 1.76 1997/05/08 21:21:25 gwr Exp $
|
||||
# $NetBSD: bsd.prog.mk,v 1.77 1997/05/09 05:17:31 mycroft Exp $
|
||||
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
|
||||
|
||||
.if exists(${.CURDIR}/../Makefile.inc)
|
||||
|
@ -112,6 +112,7 @@ cleanprog:
|
|||
${PROG} ${OBJS} ${LOBJS} ${CLEANFILES}
|
||||
|
||||
.if defined(SRCS)
|
||||
depend all: ${SRCS}
|
||||
afterdepend: .depend
|
||||
@(TMP=/tmp/_depend$$$$; \
|
||||
sed -e 's/^\([^\.]*\).o[ ]*:/\1.o \1.ln:/' \
|
||||
|
|
Loading…
Reference in New Issue