DESTDIR -> BUILDDIR

This commit is contained in:
kleink 1997-05-30 21:36:26 +00:00
parent ab09e2a45e
commit 1dd65e81d9
1 changed files with 14 additions and 12 deletions

View File

@ -1,6 +1,8 @@
# $NetBSD: Makefile.inc,v 1.57 1997/05/24 03:02:12 jonathan Exp $
# $NetBSD: Makefile.inc,v 1.58 1997/05/30 21:36:26 kleink Exp $
# @(#)Makefile.inc 8.1 (Berkeley) 6/17/93
.include <bsd.own.mk> # for BUILDDIR
# sys sources
.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}/sys ${.CURDIR}/sys
@ -66,7 +68,7 @@ OBJS+= ${ASM} ${NOERR} ${PSEUDONOERR}
LOBJS+= ${LASM} ${LNOERR} ${LPSEUDONOERR}
${PASM}: ${.CURDIR}/arch/${MACHINE_ARCH}/SYS.h \
${DESTDIR}/usr/include/sys/syscall.h
${BUILDDIR}/usr/include/sys/syscall.h
@echo creating ${.TARGET}
@printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' | \
${CPP} -DPROF ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.TARGET}.o
@ -74,28 +76,28 @@ ${PASM}: ${.CURDIR}/arch/${MACHINE_ARCH}/SYS.h \
@rm -f ${.TARGET}.o
${SASM}: ${.CURDIR}/arch/${MACHINE_ARCH}/SYS.h \
${DESTDIR}/usr/include/sys/syscall.h
${BUILDDIR}/usr/include/sys/syscall.h
@echo creating ${.TARGET}
@printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' | \
${CPP} ${CPPPICFLAGS} ${CFLAGS:M-[ID]*} ${AINC} | \
${AS} ${APICFLAGS} -o ${.TARGET}
${ASM}: ${.CURDIR}/arch/${MACHINE_ARCH}/SYS.h \
${DESTDIR}/usr/include/sys/syscall.h
${BUILDDIR}/usr/include/sys/syscall.h
@echo creating ${.TARGET}
@printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' | \
${CPP} ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.TARGET}.o
@${LD} -x -r ${.TARGET}.o -o ${.TARGET}
@rm -f ${.TARGET}.o
${LASM} ${LNOERR}: ${DESTDIR}/usr/include/sys/syscall.h \
${LASM} ${LNOERR}: ${BUILDDIR}/usr/include/sys/syscall.h \
${.CURDIR}/sys/makelintstub
@echo creating ${.TARGET}
@${.CURDIR}/sys/makelintstub ${.PREFIX} | \
${LINT} -z ${LINTFLAGS} ${CFLAGS:M-[IDU]*} -i -o ${.TARGET} -
${PNOERR}: ${.CURDIR}/arch/${MACHINE_ARCH}/SYS.h \
${DESTDIR}/usr/include/sys/syscall.h
${BUILDDIR}/usr/include/sys/syscall.h
@echo creating ${.TARGET}
@printf '#include "SYS.h"\nRSYSCALL_NOERROR(${.PREFIX})\n' | \
${CPP} -DPROF ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.TARGET}.o
@ -103,14 +105,14 @@ ${PNOERR}: ${.CURDIR}/arch/${MACHINE_ARCH}/SYS.h \
@rm -f ${.TARGET}.o
${SNOERR}: ${.CURDIR}/arch/${MACHINE_ARCH}/SYS.h \
${DESTDIR}/usr/include/sys/syscall.h
${BUILDDIR}/usr/include/sys/syscall.h
@echo creating ${.TARGET}
@printf '#include "SYS.h"\nRSYSCALL_NOERROR(${.PREFIX})\n' | \
${CPP} ${CPPPICFLAGS} ${CFLAGS:M-[ID]*} ${AINC} | \
${AS} ${APICFLAGS} -o ${.TARGET}
${NOERR}: ${.CURDIR}/arch/${MACHINE_ARCH}/SYS.h \
${DESTDIR}/usr/include/sys/syscall.h
${BUILDDIR}/usr/include/sys/syscall.h
@echo creating ${.TARGET}
@printf '#include "SYS.h"\nRSYSCALL_NOERROR(${.PREFIX})\n' | \
${CPP} ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.TARGET}.o
@ -118,7 +120,7 @@ ${NOERR}: ${.CURDIR}/arch/${MACHINE_ARCH}/SYS.h \
@rm -f ${.TARGET}.o
${PPSEUDONOERR}: ${.CURDIR}/arch/${MACHINE_ARCH}/SYS.h \
${DESTDIR}/usr/include/sys/syscall.h
${BUILDDIR}/usr/include/sys/syscall.h
@echo creating ${.TARGET}
@printf '#include "SYS.h"\n \
PSEUDO_NOERROR(${.PREFIX},${.PREFIX:S/_//})\n' | \
@ -127,7 +129,7 @@ ${PPSEUDONOERR}: ${.CURDIR}/arch/${MACHINE_ARCH}/SYS.h \
@rm -f ${.TARGET}.o
${SPSEUDONOERR}: ${.CURDIR}/arch/${MACHINE_ARCH}/SYS.h \
${DESTDIR}/usr/include/sys/syscall.h
${BUILDDIR}/usr/include/sys/syscall.h
@echo creating ${.TARGET}
@printf '#include "SYS.h"\n \
PSEUDO_NOERROR(${.PREFIX},${.PREFIX:S/_//})\n' | \
@ -136,7 +138,7 @@ ${SPSEUDONOERR}: ${.CURDIR}/arch/${MACHINE_ARCH}/SYS.h \
${PSEUDONOERR}: ${.CURDIR}/arch/${MACHINE_ARCH}/SYS.h \
${DESTDIR}/usr/include/sys/syscall.h
${BUILDDIR}/usr/include/sys/syscall.h
@echo creating ${.TARGET}
@printf '#include "SYS.h"\n \
PSEUDO_NOERROR(${.PREFIX},${.PREFIX:S/_//})\n' | \
@ -144,7 +146,7 @@ ${PSEUDONOERR}: ${.CURDIR}/arch/${MACHINE_ARCH}/SYS.h \
@${LD} -X -r ${.TARGET}.o -o ${.TARGET}
@rm -f ${.TARGET}.o
${LPSEUDONOERR}: ${DESTDIR}/usr/include/sys/syscall.h \
${LPSEUDONOERR}: ${BUILDDIR}/usr/include/sys/syscall.h \
${.CURDIR}/sys/makelintstub
@echo creating ${.TARGET}
@${.CURDIR}/sys/makelintstub ${.PREFIX:S/_//} ${.PREFIX} | \