Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/pcc INCLUDEDIR and LIBEXECDIR only need to be d...
details: https://anonhg.NetBSD.org/src/rev/ef810b32f1d8
branches: trunk
changeset: 765710:ef810b32f1d8
user: plunky <plunky%NetBSD.org@localhost>
date: Fri Jun 03 13:31:25 2011 +0000
description:
INCLUDEDIR and LIBEXECDIR only need to be defined for the
pcc front end
diffstat:
external/bsd/pcc/Makefile.inc | 7 +------
external/bsd/pcc/usr.bin/pcc/Makefile | 4 +++-
2 files changed, 4 insertions(+), 7 deletions(-)
diffs (41 lines):
diff -r afa224384b68 -r ef810b32f1d8 external/bsd/pcc/Makefile.inc
--- a/external/bsd/pcc/Makefile.inc Fri Jun 03 09:51:40 2011 +0000
+++ b/external/bsd/pcc/Makefile.inc Fri Jun 03 13:31:25 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.11 2010/06/03 19:17:22 plunky Exp $
+# $NetBSD: Makefile.inc,v 1.12 2011/06/03 13:31:25 plunky Exp $
PCC_DIR:=${.PARSEDIR}
PCC_DIST=${PCC_DIR}/dist/pcc
@@ -20,13 +20,8 @@
VERSSTR = PACKAGE_STRING " for ${TARGOS}-${TARGMACH}"
-libexecdir = /usr/libexec
-includedir = /usr/include
-
CPPFLAGS+= -DGCC_COMPAT
CPPFLAGS+= -DVERSSTR=${VERSSTR:Q}
-CPPFLAGS+= -DLIBEXECDIR=\"${libexecdir}/\"
-CPPFLAGS+= -DINCLUDEDIR=\"${includedir}/\"
CPPFLAGS+= -Dos_${TARGOS}
CPPFLAGS+= -Dmach_${TARGMACH}
CPPFLAGS+= -I${PCC_DIR}/include
diff -r afa224384b68 -r ef810b32f1d8 external/bsd/pcc/usr.bin/pcc/Makefile
--- a/external/bsd/pcc/usr.bin/pcc/Makefile Fri Jun 03 09:51:40 2011 +0000
+++ b/external/bsd/pcc/usr.bin/pcc/Makefile Fri Jun 03 13:31:25 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2011/02/08 18:26:25 plunky Exp $
+# $NetBSD: Makefile,v 1.7 2011/06/03 13:31:25 plunky Exp $
WARNS?= 2
@@ -15,6 +15,8 @@
MAN= pcc.1
CPPFLAGS+= -DTARGMACH=${TARGMACH}
+CPPFLAGS+= -DLIBEXECDIR=\"/usr/libexec/\"
+CPPFLAGS+= -DINCLUDEDIR=\"/usr/include/\"
CPPFLAGS+= -I${PCC_DIST}/mip
CPPFLAGS+= -I${PCC_DIST}/os/${TARGOS}
CPPFLAGS+= -I${PCC_DIST}/arch/${TARGMACH}
Home |
Main Index |
Thread Index |
Old Index