Revert. This broke too much in the build tree, and a better solution
needs to be created. (The existing situation breaks a lot too.)
This commit is contained in:
parent
21a53ba722
commit
875f72aa79
@ -1,4 +1,4 @@
|
||||
# $NetBSD: bsd.kmod.mk,v 1.24 1998/04/01 15:23:36 tv Exp $
|
||||
# $NetBSD: bsd.kmod.mk,v 1.25 1998/04/01 16:58:33 tv Exp $
|
||||
|
||||
.if !target(__initialized__)
|
||||
__initialized__:
|
||||
@ -20,7 +20,7 @@ KERN= $S/kern
|
||||
CFLAGS+= ${COPTS} -D_KERNEL -D_LKM -I. -I${.CURDIR} -I$S -I$S/arch
|
||||
|
||||
DPSRCS+= ${SRCS:M*.l:.l=.c} ${SRCS:M*.y:.y=.c}
|
||||
CLEANFILES+= ${DPSRCS} ${SRCS:M*.y:.y=.h}
|
||||
CLEANFILES+= ${DPSRCS}
|
||||
|
||||
OBJS+= ${SRCS:N*.h:N*.sh:R:S/$/.o/g}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: bsd.lib.mk,v 1.127 1998/04/01 15:23:36 tv Exp $
|
||||
# $NetBSD: bsd.lib.mk,v 1.128 1998/04/01 16:58:33 tv Exp $
|
||||
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
|
||||
|
||||
.if !target(__initialized__)
|
||||
@ -208,7 +208,7 @@ __archiveinstall: .USE
|
||||
chmod ${LIBMODE} ${.TARGET}
|
||||
|
||||
DPSRCS+= ${SRCS:M*.l:.l=.c} ${SRCS:M*.y:.y=.c}
|
||||
CLEANFILES+= ${DPSRCS} ${SRCS:M*.y:.y=.h}
|
||||
CLEANFILES+= ${DPSRCS}
|
||||
|
||||
OBJS+= ${SRCS:N*.h:N*.sh:R:S/$/.o/g}
|
||||
lib${LIB}.a:: ${OBJS} __archivebuild
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: bsd.prog.mk,v 1.91 1998/04/01 15:23:36 tv Exp $
|
||||
# $NetBSD: bsd.prog.mk,v 1.92 1998/04/01 16:58:33 tv Exp $
|
||||
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
|
||||
|
||||
.if !target(__initialized__)
|
||||
@ -86,7 +86,7 @@ CLEANFILES+=strings
|
||||
SRCS?= ${PROG}.c
|
||||
|
||||
DPSRCS+= ${SRCS:M*.l:.l=.c} ${SRCS:M*.y:.y=.c}
|
||||
CLEANFILES+= ${DPSRCS} ${SRCS:M*.y:.y=.h}
|
||||
CLEANFILES+= ${DPSRCS}
|
||||
|
||||
.if !empty(SRCS:N*.h:N*.sh)
|
||||
OBJS+= ${SRCS:N*.h:N*.sh:R:S/$/.o/g}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: bsd.sys.mk,v 1.17 1998/04/01 15:23:36 tv Exp $
|
||||
# $NetBSD: bsd.sys.mk,v 1.18 1998/04/01 16:58:33 tv Exp $
|
||||
#
|
||||
# Overrides used for NetBSD source tree builds.
|
||||
|
||||
@ -54,10 +54,9 @@ HOST_LDFLAGS?=
|
||||
${YACC.y} -b ${.TARGET:R} ${.IMPSRC}
|
||||
${LINK.c} -o ${.TARGET} ${.TARGET:R}.tab.c ${LDLIBS}
|
||||
rm -f ${.TARGET:R}.tab.c
|
||||
.y.c .y.h:
|
||||
.y.c:
|
||||
${YACC.y} -b ${.TARGET:R} ${.IMPSRC}
|
||||
mv ${.TARGET:R}.tab.c ${.TARGET}
|
||||
[ -f ${.TARGET:R}.tab.h ] && mv ${.TARGET:R}.tab.h ${.TARGET:R}.h || true
|
||||
.y.o:
|
||||
${YACC.y} -b ${.TARGET:R} ${.IMPSRC}
|
||||
${COMPILE.c} -o ${.TARGET} ${.TARGET:R}.tab.c
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: sys.mk,v 1.38 1998/04/01 15:23:36 tv Exp $
|
||||
# $NetBSD: sys.mk,v 1.39 1998/04/01 16:58:33 tv Exp $
|
||||
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
|
||||
|
||||
unix?= We run NetBSD.
|
||||
@ -189,7 +189,6 @@ YACC.y?= ${YACC} ${YFLAGS}
|
||||
.y.c:
|
||||
${YACC.y} ${.IMPSRC}
|
||||
mv y.tab.c ${.TARGET}
|
||||
[ -f y.tab.h ] && mv y.tab.h ${.TARGET:R}.h || true
|
||||
.y.o:
|
||||
${YACC.y} ${.IMPSRC}
|
||||
${COMPILE.c} -o ${.TARGET} y.tab.c
|
||||
|
Loading…
Reference in New Issue
Block a user