Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Set CFLAGS and CPPFLAGS for the benefit of <bsd.dep...
details: https://anonhg.NetBSD.org/src/rev/6c987678d265
branches: trunk
changeset: 517427:6c987678d265
user: tv <tv%NetBSD.org@localhost>
date: Mon Nov 12 22:06:41 2001 +0000
description:
Set CFLAGS and CPPFLAGS for the benefit of <bsd.dep.mk>, and move the
inclusion of <bsd.sys.mk> to the top to get defaults. (Dependency handling
needs a cleanup, and will get one soon....)
diffstat:
share/mk/bsd.hostprog.mk | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r b5aec618fddb -r 6c987678d265 share/mk/bsd.hostprog.mk
--- a/share/mk/bsd.hostprog.mk Mon Nov 12 21:58:17 2001 +0000
+++ b/share/mk/bsd.hostprog.mk Mon Nov 12 22:06:41 2001 +0000
@@ -1,7 +1,8 @@
-\# $NetBSD: bsd.hostprog.mk,v 1.18 2001/11/11 23:19:14 tv Exp $
+# $NetBSD: bsd.hostprog.mk,v 1.19 2001/11/12 22:06:41 tv Exp $
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
.include <bsd.init.mk>
+.include <bsd.sys.mk>
##### Basic targets
.PHONY: cleanprog
@@ -106,7 +107,8 @@
${HOSTPROG} ${OBJS} ${LOBJS} ${CLEANFILES}
beforedepend:
-CPPFLAGS= ${HOST_CPPFLAGS}
+CFLAGS:= ${HOST_CFLAGS}
+CPPFLAGS:= ${HOST_CPPFLAGS}
.if defined(SRCS)
afterdepend: .depend
@@ -128,6 +130,5 @@
.include <bsd.inc.mk>
.include <bsd.links.mk>
.include <bsd.dep.mk>
-.include <bsd.sys.mk>
${TARGETS}: # ensure existence
Home |
Main Index |
Thread Index |
Old Index