Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch/x68k/stand/libiocs Pullup 1.5 [minoura]:



details:   https://anonhg.NetBSD.org/src/rev/8d09c653d332
branches:  netbsd-1-5
changeset: 489975:8d09c653d332
user:      tv <tv%NetBSD.org@localhost>
date:      Sun Oct 22 15:34:00 2000 +0000

description:
Pullup 1.5 [minoura]:
Use up-to-date (newly installed) header files when DESTDIR is set.

diffstat:

 sys/arch/x68k/stand/libiocs/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r d2a3f283b9e1 -r 8d09c653d332 sys/arch/x68k/stand/libiocs/Makefile
--- a/sys/arch/x68k/stand/libiocs/Makefile      Sat Oct 21 20:10:22 2000 +0000
+++ b/sys/arch/x68k/stand/libiocs/Makefile      Sun Oct 22 15:34:00 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 1999/11/11 08:16:20 itohy Exp $
+#      $NetBSD: Makefile,v 1.4.4.1 2000/10/22 15:34:00 tv Exp $
 
 LIB=   iocs
 
@@ -6,6 +6,10 @@
 MKPROFILE=no
 MKPIC=no
 
+.if defined(DESTDIR)
+CPPFLAGS+= -nostdinc -idirafter ${DESTDIR}/usr/include
+.endif
+
 AWK?=  awk
 
 ASM=   b_keyinp.o b_keysns.o b_sftsns.o bitsns.o skeyset.o tvctrl.o \
@@ -54,7 +58,7 @@
 ${ASM}: ${.CURDIR}/iocs.h ${MAKECALL}
        @echo creating ${.TARGET}
        @grep -i 'IOCS_${.PREFIX} ' ${.CURDIR}/iocs.h | \
-           ${AWK} -f ${MAKECALL} | ${CPP} | ${AS} -o ${.TARGET}
+           ${AWK} -f ${MAKECALL} | ${CPP} ${CPPFLAGS} | ${AS} -o ${.TARGET}
 
 # only needed during build
 libinstall::



Home | Main Index | Thread Index | Old Index