Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools Move -no-cpp-precomp logic to defs.mk.



details:   https://anonhg.NetBSD.org/src/rev/edadab70608c
branches:  trunk
changeset: 544149:edadab70608c
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Mar 13 05:15:49 2003 +0000

description:
Move -no-cpp-precomp logic to defs.mk.

diffstat:

 tools/Makefile.host     |  9 +--------
 tools/compat/defs.mk.in |  9 ++++++++-
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (44 lines):

diff -r 2e8a7cf0cbab -r edadab70608c tools/Makefile.host
--- a/tools/Makefile.host       Thu Mar 13 05:00:28 2003 +0000
+++ b/tools/Makefile.host       Thu Mar 13 05:15:49 2003 +0000
@@ -1,17 +1,10 @@
-#      $NetBSD: Makefile.host,v 1.18 2003/03/13 04:43:37 thorpej Exp $
+#      $NetBSD: Makefile.host,v 1.19 2003/03/13 05:16:10 thorpej Exp $
 
 NOLINT=                # defined
 NOMAN=         # defined
 
 .include <bsd.own.mk>
 
-BUILD_OSTYPE!= uname -s
-
-# Disable use of pre-compiled headers on Darwin.
-.if ${BUILD_OSTYPE} == "Darwin"
-HOST_CPPFLAGS+=        -no-cpp-precomp
-.endif
-
 .ifndef NOCOMPATLIB
 COMPATOBJ!=    cd ${.CURDIR}/../compat && ${PRINTOBJDIR}
 .-include      "${COMPATOBJ}/defs.mk"
diff -r 2e8a7cf0cbab -r edadab70608c tools/compat/defs.mk.in
--- a/tools/compat/defs.mk.in   Thu Mar 13 05:00:28 2003 +0000
+++ b/tools/compat/defs.mk.in   Thu Mar 13 05:15:49 2003 +0000
@@ -1,10 +1,17 @@
-#      $NetBSD: defs.mk.in,v 1.5 2002/09/15 16:46:23 thorpej Exp $
+#      $NetBSD: defs.mk.in,v 1.6 2003/03/13 05:15:49 thorpej Exp $
 
 COMPATOBJ:=    ${.PARSEDIR}
 HOSTEXEEXT=    @EXEEXT@
 
 HOST_BSHELL=   @BSHELL@
 
+BUILD_OSTYPE!=  uname -s
+
+# Disable use of pre-compiled headers on Darwin.
+.if ${BUILD_OSTYPE} == "Darwin"
+HOST_CPPFLAGS+=        -no-cpp-precomp
+.endif
+
 HOST_CPPFLAGS+=        -I${COMPATOBJ} -I${COMPATOBJ}/include \
                -I${.CURDIR}/../compat -DHAVE_CONFIG_H \
                -D_FILE_OFFSET_BITS=64



Home | Main Index | Thread Index | Old Index