Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools Missed in last commit: make some tools build properly...
details: https://anonhg.NetBSD.org/src/rev/bf1e32955014
branches: trunk
changeset: 521009:bf1e32955014
user: tv <tv%NetBSD.org@localhost>
date: Mon Jan 21 20:59:40 2002 +0000
description:
Missed in last commit: make some tools build properly on non-NetBSD hosts.
diffstat:
tools/Makefile.host | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 141df0ca1489 -r bf1e32955014 tools/Makefile.host
--- a/tools/Makefile.host Mon Jan 21 20:50:13 2002 +0000
+++ b/tools/Makefile.host Mon Jan 21 20:59:40 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.host,v 1.15 2001/12/12 12:07:26 lukem Exp $
+# $NetBSD: Makefile.host,v 1.16 2002/01/21 20:59:40 tv Exp $
NOLINT= # defined
NOMAN= # defined
@@ -35,7 +35,7 @@
HOSTPROGNAME?= ${HOSTPROG}
HOST_BINDIR?= ${TOOLDIR}/bin
-HOST_CPPFLAGS:= -Wall ${HOST_CPPFLAGS} ${CPPFLAGS}
+HOST_CPPFLAGS:= ${HOST_CPPFLAGS} ${CPPFLAGS}
.undef LINKS
SRCS?= ${HOSTPROG}.c
@@ -45,7 +45,7 @@
COMPATOBJ!= cd ${.CURDIR}/../compat && ${PRINTOBJDIR}
DPADD+= ${COMPATOBJ}/libnbcompat.a
LDADD+= -L${COMPATOBJ} -lnbcompat
-HOST_CPPFLAGS+= -include ${COMPATOBJ}/config.h
+HOST_CPPFLAGS+= -I${COMPATOBJ} -I${.CURDIR}/../compat -DHAVE_CONFIG_H
.-include "${COMPATOBJ}/defs.mk"
.endif
@@ -56,7 +56,7 @@
install.host: ${HOST_BINDIR}/${HOSTPROGNAME}
${HOST_BINDIR}/${HOSTPROGNAME}:: ${HOSTPROG}
mkdir -p ${HOST_BINDIR}
- ${HOST_INSTALL_FILE} -m ${BINMODE} ${.ALLSRC} ${.TARGET}
+ ${HOST_INSTALL_FILE} -m ${BINMODE} ${HOSTPROG}${HOSTEXEEXT} ${.TARGET}
.if !defined(UPDATE)
.PHONY: ${HOST_BINDIR}/${HOSTPROGNAME}
Home |
Main Index |
Thread Index |
Old Index