Use ${HOST_SH} instead of `sh'.

If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
This commit is contained in:
lukem 2003-10-26 07:25:33 +00:00
parent 08c9a64727
commit f85d2d1c14
96 changed files with 311 additions and 243 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.20 2003/10/21 10:01:19 lukem Exp $
# $NetBSD: Makefile,v 1.21 2003/10/26 07:25:33 lukem Exp $
.include <bsd.own.mk>
@ -22,20 +22,20 @@ CLEANFILES+= siglist.out siglist.out.tmp
# two steps to prevent the creation of a bogus siglist.out
siglist.out: config.h sh.h siglist.in siglist.sh
${_MKTARGET_CREATE}
sh $(.CURDIR)/siglist.sh "$(CC) -E $(CPPFLAGS) $(DEFS) -I. -I$(.CURDIR)" < $(.CURDIR)/siglist.in > siglist.out.tmp \
${HOST_SH} $(.CURDIR)/siglist.sh "$(CC) -E $(CPPFLAGS) $(DEFS) -I. -I$(.CURDIR)" < $(.CURDIR)/siglist.in > siglist.out.tmp \
&& mv siglist.out.tmp siglist.out
# two steps to prevent the creation of a bogus emacs.out
CLEANFILES+= emacs.out emacs.out.tmp
emacs.out: emacs.c
${_MKTARGET_CREATE}
sh $(.CURDIR)/emacs-gen.sh $(.CURDIR)/emacs.c > emacs.out.tmp \
${HOST_SH} $(.CURDIR)/emacs-gen.sh $(.CURDIR)/emacs.c > emacs.out.tmp \
&& mv emacs.out.tmp emacs.out
CLEANFILES+= ksh.1 ksh.1.tmp
ksh.1: ksh.Man mkman
${_MKTARGET_CREATE}
sh $(.CURDIR)/mkman ksh $(.CURDIR)/ksh.Man >ksh.1.tmp \
${HOST_SH} $(.CURDIR)/mkman ksh $(.CURDIR)/ksh.Man >ksh.1.tmp \
&& mv ksh.1.tmp ksh.1
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.21 2003/07/10 10:34:03 lukem Exp $
# $NetBSD: Makefile.inc,v 1.22 2003/10/26 07:25:33 lukem Exp $
# TOP is assumed to be defined by Makefile including this one.
@ -27,7 +27,7 @@ all: ${CBIN}
${TOOL_MTREE} -def ${MTREECONF} -p ${MOUNT_POINT}/ -u
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
KERNOBJDIR=${KERNOBJDIR} \
TARGDIR=${MOUNT_POINT} sh ${TOP}/runlist.sh ${LISTS}
TARGDIR=${MOUNT_POINT} ${HOST_SH} ${TOP}/runlist.sh ${LISTS}
@echo ""
@df -i ${MOUNT_POINT}
@echo ""

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.9 2003/07/10 10:34:03 lukem Exp $
# $NetBSD: Makefile.inc,v 1.10 2003/10/26 07:25:33 lukem Exp $
# TOP is assumed to be defined by Makefile including this one.
@ -42,7 +42,7 @@ all: netbsd.ram.gz
mount ${VND_DEV} ${MOUNT_POINT}
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
KERNOBJDIR=${KERNOBJDIR} \
TARGDIR=${MOUNT_POINT} sh ${TOP}/runlist.sh ${LISTS}
TARGDIR=${MOUNT_POINT} ${HOST_SH} ${TOP}/runlist.sh ${LISTS}
@echo ""
@df -i ${MOUNT_POINT}
@echo ""

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2003/07/10 10:34:03 lukem Exp $
# $NetBSD: Makefile,v 1.11 2003/10/26 07:25:33 lukem Exp $
TOP= ${.CURDIR}/..
@ -43,8 +43,8 @@ all: ${AUXTARGETS} ${CBIN}
mount ${VND_DEV} ${MOUNT_POINT}
${TOOL_MTREE} -def ${.CURDIR}/${MTREECONF} -p ${MOUNT_POINT}/ -u
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
KERNOBJDIR=${KERNOBJDIR} \
TARGDIR=${MOUNT_POINT} sh ${TOP}/runlist.sh ${.CURDIR}/${LISTS}
KERNOBJDIR=${KERNOBJDIR} TARGDIR=${MOUNT_POINT} \
${HOST_SH} ${TOP}/runlist.sh ${.CURDIR}/${LISTS}
@echo ""
@df -i ${MOUNT_POINT}
@echo ""

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.9 2003/07/10 10:34:04 lukem Exp $
# $NetBSD: Makefile.inc,v 1.10 2003/10/26 07:25:33 lukem Exp $
# TOP is assumed to be defined by Makefile including this one.
@ -29,7 +29,7 @@ all: ${AUXTARGETS} ${CBIN}
${TOOL_MTREE} -def ${MTREECONF} -p ${MOUNT_POINT}/ -u
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
KERNOBJDIR=${KERNOBJDIR} \
TARGDIR=${MOUNT_POINT} sh ${TOP}/runlist.sh ${LISTS}
TARGDIR=${MOUNT_POINT} ${HOST_SH} ${TOP}/runlist.sh ${LISTS}
@echo ""
@df -i ${MOUNT_POINT}
@echo ""

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.image,v 1.26 2003/10/03 02:46:52 lukem Exp $
# $NetBSD: Makefile.image,v 1.27 2003/10/26 07:25:33 lukem Exp $
#
# Makefile snippet to build a tree from the provided lists,
# and make an ffs file system image from that tree
@ -49,7 +49,7 @@ ${WORKBUILT}: ${IMAGEDEPENDS} ${WORKSPEC} ${PARSELISTDEP} ${LISTS}
mkdir -m 755 ${WORKDIR} && \
${TOOL_MTREE} -def ${WORKSPEC} -p ${WORKDIR}/ -UW && \
${PARSELIST} -v mode=populate ${LISTS} | \
sh -e ${POPULATE_DEBUG} \
${HOST_SH} -e ${POPULATE_DEBUG} \
&& touch ${WORKBUILT} ; \
}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.21 2003/07/10 10:34:11 lukem Exp $
# $NetBSD: Makefile.inc,v 1.22 2003/10/26 07:25:33 lukem Exp $
# TOP is assumed to be defined by Makefile including this one.
@ -54,7 +54,7 @@ ramdisk.fs: ${CBIN} ${LISTS}
${TOOL_MTREE} -def ${MTREECONF} -p ${MOUNT_POINT}/ -u
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
KERNOBJDIR=${KERNOBJDIR} \
TARGDIR=${MOUNT_POINT} sh ${TOP}/runlist.sh ${LISTS}
TARGDIR=${MOUNT_POINT} ${HOST_SH} ${TOP}/runlist.sh ${LISTS}
@echo ""
@df -i ${MOUNT_POINT}
@echo ""

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.29 2003/08/27 10:23:53 dsl Exp $
# $NetBSD: Makefile.inc,v 1.30 2003/10/26 07:25:33 lukem Exp $
#
# Makefile for sysinst
@ -11,6 +11,7 @@ LANGUAGES?= en fr pl
MSG_MD?= msg.md.${SYSINSTLANG}
MENUS_MD?= menus.md.${SYSINSTLANG}
.include <bsd.sys.mk> # for HOST_SH
.include <bsd.own.mk> # for mk.conf
DPADD= ${LIBCURSES} ${LIBTERMCAP} ${LIBUTIL}
@ -21,7 +22,7 @@ UNIF_AWK= ${.CURDIR}/../../unif.awk
MSG_XLAT_SH= ${.CURDIR}/../../msg_xlat.sh
VERDEP= ${NETBSDSRCDIR}/sys/conf/osrelease.sh
VER!= sh ${VERDEP}
VER!= ${HOST_SH} ${VERDEP}
CPPFLAGS+= -I. -I${.CURDIR}/../.. -I${.CURDIR} \
-DREL=\"${VER}\" -DMACH=\"${MACHINE}\"
@ -85,7 +86,7 @@ menus.def: menus.mi ${MENUS_MD} msgtouch
sysinstmsgs.${LANG}: msg.mi.${LANG} ${MSG_MD:S/.${SYSINSTLANG}$/.${LANG}/} msgtouch msg_defs.h
sed "s/@@VERSION@@/${VER}/" ${.ALLSRC:M*.${LANG}} | \
awk -f ${UNIF_AWK} -v defines="${MD_OPTIONS}" | \
sh ${MSG_XLAT_SH} > ${.TARGET}
${HOST_SH} ${MSG_XLAT_SH} > ${.TARGET}
DPSRCS+= sysinstmsgs.${LANG}
.endfor

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.14 2003/07/10 10:34:16 lukem Exp $
# $NetBSD: Makefile.inc,v 1.15 2003/10/26 07:25:34 lukem Exp $
# TOP is assumed to be defined by Makefile including this one.
@ -28,7 +28,7 @@ all: ${CBIN} bootroot
${TOOL_MTREE} -def ${MTREECONF} -p ${MOUNT_POINT}/ -u
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
KERNOBJDIR=${KERNOBJDIR} \
TARGDIR=${MOUNT_POINT} sh ${TOP}/runlist.sh ${LISTS}
TARGDIR=${MOUNT_POINT} ${HOST_SH} ${TOP}/runlist.sh ${LISTS}
@echo ""
@df -i ${MOUNT_POINT}
@echo ""

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.259 2003/10/25 03:55:26 ross Exp $
# $NetBSD: Makefile,v 1.260 2003/10/26 07:25:34 lukem Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@ -36,13 +36,9 @@
#
.include <bsd.own.mk>
# For KERNSRCDIR, KERNOBJDIR, ...
#
.include <bsd.kernobj.mk>
# For TARGET_ENDIANNESS
#
.include <bsd.endian.mk>
.include <bsd.sys.mk> # for HOST_SH
.include <bsd.kernobj.mk> # For KERNSRCDIR, KERNOBJDIR, ...
.include <bsd.endian.mk> # For TARGET_ENDIANNESS
.MAKEOVERRIDES+= USETOOLS
@ -56,7 +52,7 @@ MAKESUMS= CKSUM=${TOOL_CKSUM:Q} ${HOST_SH} ${NETBSDSRCDIR}/distrib/sets/makesums
# Note: At least mkisofs 2.0 should be used.
#
MKISOFS?= mkisofs
DISTRIBREV!= sh ${KERNSRCDIR}/conf/osrelease.sh -s
DISTRIBREV!= ${HOST_SH} ${KERNSRCDIR}/conf/osrelease.sh -s
# ISO 9660 volume ID. Note that this can only contain [A-Z0-9_].
ISO_VOLID!= echo NETBSD_${MACHINE}_${DISTRIBREV} | tr a-z A-Z
MKISOFS_FLAGS+= -J -l \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2003/08/09 12:04:55 mrg Exp $
# $NetBSD: Makefile,v 1.6 2003/10/26 07:25:34 lukem Exp $
NOLINT= # defined
NOPIC= # defined
@ -26,7 +26,7 @@ libinstall:
.include <bsd.lib.mk>
.include "../../Makefile.inc"
MIC= sh ${DIST}/move-if-change
MIC= ${HOST_SH} ${DIST}/move-if-change
HOST_CPPFLAGS+= -I${DIST}/sim/ppc -I${DIST}/include \
-I${DIST}/bfd -I../../gdb \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.34 2003/07/24 14:16:31 itojun Exp $
# $NetBSD: Makefile,v 1.35 2003/10/26 07:25:34 lukem Exp $
# RCSid:
# Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp
@ -20,6 +20,7 @@ USE_SHLIBDIR= yes
.include <bsd.own.mk>
.include <bsd.shlib.mk>
.include <bsd.sys.mk> # for HOST_SH
# XXX There's a bit of work to do before we can enable warnings.
WARNS=0
@ -46,7 +47,7 @@ AFLAGS+=-DELF
AFLAGS+=-DOUT
.endif
OS_VERSION!= sh ${NETBSDSRCDIR}/sys/conf/osrelease.sh
OS_VERSION!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh
# XXX CFLAGS: While it would be nice to know which compiler flags
# XXX the library was built with, we don't want pathname information

View File

@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.3 2002/08/19 09:41:32 lukem Exp $
# $NetBSD: Makefile,v 1.4 2003/10/26 07:25:34 lukem Exp $
.include <bsd.own.mk>
.include <bsd.sys.mk> # for HOST_SH
M060SP= ${NETBSDSRCDIR}/sys/arch/m68k/060sp
ASM2GAS= ${M060SP}/asm2gas
@ -9,10 +10,10 @@ FPLSP_SA= ${M060SP}/dist/fplsp.sa
all: fplsp.hex fplsp_wrap.S
fplsp_wrap.S Makefile.list: makeas.sh
sh makeas.sh
${HOST_SH} makeas.sh
fplsp.hex: ${FPLSP_SA} ${ASM2GAS} makeoffs.awk
sh ${ASM2GAS} ${FPLSP_SA} | awk -f makeoffs.awk > fplsp.hex
${HOST_SH} ${ASM2GAS} ${FPLSP_SA} | awk -f makeoffs.awk > fplsp.hex
.if exists(Makefile.list)
.include "Makefile.list"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.21 2003/08/13 18:52:01 nathanw Exp $
# $NetBSD: Makefile,v 1.22 2003/10/26 07:25:34 lukem Exp $
#
WARNS= 2
@ -28,7 +28,7 @@ DPSRCS+= assym.h
CLEANFILES+= assym.h
assym.h: genassym.sh ${ARCHDIR}/genassym.cf
sh ${.CURDIR}/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
${HOST_SH} ${.CURDIR}/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
< ${ARCHDIR}/genassym.cf > assym.h.tmp && \
mv -f assym.h.tmp assym.h

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2003/01/18 10:34:23 thorpej Exp $
# $NetBSD: Makefile,v 1.3 2003/10/26 07:25:34 lukem Exp $
#
WARNS= 2
@ -26,7 +26,7 @@ ARCHDIR= ${LIBPDIR}/arch/${ARCHSUBDIR}
CPPFLAGS+= -I${ARCHDIR} -I${LIBPDIR} -I${.CURDIR}
assym.h: genassym.sh ${ARCHDIR}/genassym.cf
sh ${.CURDIR}/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
${HOST_SH} ${.CURDIR}/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
< ${ARCHDIR}/genassym.cf > assym.h.tmp && \
mv -f assym.h.tmp assym.h

View File

@ -1,7 +1,8 @@
# $NetBSD: Makefile,v 1.4 2003/09/13 09:35:56 simonb Exp $
# $NetBSD: Makefile,v 1.5 2003/10/26 07:25:34 lukem Exp $
NOMAN= # defined
# XXX: can't use ${HOST_SH} here. this really should run on the target
regress:
sh ${.CURDIR}/compexit.sh
sh ${.CURDIR}/exitstatus.sh

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.17 2002/09/18 05:41:37 lukem Exp $
# $NetBSD: Makefile,v 1.18 2003/10/26 07:25:34 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/4/93
NOMAN= # defined
@ -11,6 +11,6 @@ CPPFLAGS+= -g -D__DBINTERFACE_PRIVATE -DDEBUG
CLEANFILES+= t1 t2 t3
regress: dbtest
sh ${.CURDIR}/run.test
${HOST_SH} ${.CURDIR}/run.test
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2003/09/30 04:20:24 mycroft Exp $
# $NetBSD: Makefile,v 1.4 2003/10/26 07:25:34 lukem Exp $
NOMAN= # defined
@ -7,7 +7,7 @@ SRCS= gaitest.c
CLEANFILES+= out
regress: ${PROG}
sh ${.CURDIR}/testsuite.sh >out 2>&1
${HOST_SH} ${.CURDIR}/testsuite.sh >out 2>&1
@if diff -u ${.CURDIR}/answer out; then \
echo SUCCESS; \
else \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2003/09/30 03:34:42 mycroft Exp $
# $NetBSD: Makefile,v 1.12 2003/10/26 07:25:35 lukem Exp $
NOMAN= # defined
@ -14,7 +14,7 @@ CLEANFILES+= itest.S ftest.S
.SUFFIXES: .S .sa
.sa.S:
sh ${SPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
${HOST_SH} ${SPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
.PATH: ${SPDIR}/dist

View File

@ -14,6 +14,8 @@
##
## This is derived from work done by Brian Grayson, submitted in PR 6706.
.include <bsd.sys.mk> # for HOST_SH
TMPL=/tmp/ffstemplate
TMPMP=/tmp/ffsregresstest_mount
TMPIM=/var/tmp/ffsregresstest.im
@ -66,10 +68,10 @@ cmp:
dump:
@echo "*** Testing dump nodump flag support."
@# First of all, estimate the size of a dump of just the tmpfs.
sh ${SRCDIR}/estimatecompare 2572 -S -h9 -0 ${CVND}${MPART}
${HOST_SH} ${SRCDIR}/estimatecompare 2572 -S -h9 -0 ${CVND}${MPART}
@# Now estimate the size, after honoring the nodump flag.
sh ${SRCDIR}/estimatecompare 347 -S -h0 -0 ${CVND}${MPART}
${HOST_SH} ${SRCDIR}/estimatecompare 347 -S -h0 -0 ${CVND}${MPART}
@echo "*** Testing dump/restore support"
mkdir ${TMPREST}
dump -0 -h9 -B10000 -f - ${CVND}${MPART} | \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2002/09/18 05:41:55 lukem Exp $
# $NetBSD: Makefile,v 1.5 2003/10/26 07:25:35 lukem Exp $
NOMAN= # defined
LDSTATIC= -static
@ -6,6 +6,6 @@ LDSTATIC= -static
PROG= sigtramp
regress:
sh ${.CURDIR}/dotest
${HOST_SH} ${.CURDIR}/dotest
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2003/04/15 06:19:59 erh Exp $
# $NetBSD: Makefile,v 1.2 2003/10/26 07:25:35 lukem Exp $
#
# This test creates and mounts a temporary filesystem. Then it
# forcibly unmounts it while in the mount point and checks that
@ -43,7 +43,7 @@ run_script:
false ;\
fi
@cd "${TMPMP}" && umount -f "${BVND}${MPART}" && \
sh ${.CURDIR}/check_umount.sh
${HOST_SH} ${.CURDIR}/check_umount.sh
@if [ ! -e "${TMPMP}/under_the_mount" ]; then \
echo "Original mount point dissapeared!" ;\
false ;\

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.20 1999/07/03 06:27:56 itojun Exp $
# $NetBSD: Makefile,v 1.21 2003/10/26 07:25:35 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
PROG= route
@ -14,6 +14,6 @@ CPPFLAGS+=-DINET6
# CPPFLAGS+=-I.
# CLEANFILES+= keywords.c keywords.h
# keywords.c keywords.h : keywords.sh
# sh keywords.sh
# ${HOST_SH} keywords.sh
.include <bsd.prog.mk>

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile 5.9 (Berkeley) 7/1/91
# $NetBSD: Makefile,v 1.11 2003/02/14 15:20:17 grant Exp $
# $NetBSD: Makefile,v 1.12 2003/10/26 07:25:35 lukem Exp $
NOOBJ= # defined
@ -27,7 +27,7 @@ OPTIMIZE_PDF?= \
-e '/^level0 restore/d'
man:
sh mkman
${HOST_SH} mkman
man.ps:
for i in ${SECTIONS} ; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.67 2003/10/24 20:26:57 jdolecek Exp $
# $NetBSD: Makefile,v 1.68 2003/10/26 07:25:35 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
MAN= MAKEDEV.8 afterboot.8 \
@ -24,7 +24,7 @@ SUBDIR= man8.acorn26 man8.alpha man8.amiga man8.atari man8.dreamcast \
# create MAKEDEV.8 from ../../etc/MAKEDEV.tmpl
makedevs:
cd ${.CURDIR} && sh MAKEDEV2manpage.sh
cd ${.CURDIR} && ${HOST_SH} MAKEDEV2manpage.sh
.include <bsd.man.mk>
.include <bsd.subdir.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.buildboot,v 1.7 2003/10/08 01:40:22 simonb Exp $
# $NetBSD: Makefile.buildboot,v 1.8 2003/10/26 07:25:35 lukem Exp $
S?= ${.CURDIR}/../../../..
@ -22,7 +22,7 @@ SRCS+= vers.c
CLEANFILES+= vers.c
.PHONY: vers.c
vers.c: ${.CURDIR}/version
sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version ${MACHINE} ${NEWVERSWHAT}
${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version ${MACHINE} ${NEWVERSWHAT}
CPPFLAGS+= -D_STANDALONE -DHIMEM=0x28000
CPPFLAGS+= -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2002/03/24 15:47:25 bjh21 Exp $
# $NetBSD: Makefile,v 1.2 2003/10/26 07:25:35 lukem Exp $
PROG= boot26
PROGSOURCE= rmheader.S rmvers.c srt0.S boot26.c start.S
@ -6,7 +6,7 @@ NEWVERSWHAT= "RISC OS Boot"
RISCOSTYPE= ffa
rmvers.c: ${.CURDIR}/version
sh ${.CURDIR}/../lib/newvers_rm.sh ${.CURDIR}/version "NetBSD Boot"
${HOST_SH} ${.CURDIR}/../lib/newvers_rm.sh ${.CURDIR}/version "NetBSD Boot"
.PHONY: rmvers.c
CLEANFILES+= rmvers.c

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.buildboot,v 1.4 2003/10/08 01:40:22 simonb Exp $
# $NetBSD: Makefile.buildboot,v 1.5 2003/10/26 07:25:35 lukem Exp $
S?= ${.CURDIR}/../../../..
@ -22,7 +22,7 @@ SRCS+= vers.c
CLEANFILES+= vers.c
.PHONY: vers.c
vers.c: ${.CURDIR}/version
sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version ${MACHINE} ${NEWVERSWHAT}
${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version ${MACHINE} ${NEWVERSWHAT}
CPPFLAGS+= -D_STANDALONE
CPPFLAGS+= -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2002/12/28 23:57:37 reinoud Exp $
# $NetBSD: Makefile,v 1.2 2003/10/26 07:25:35 lukem Exp $
PROG= boot32
PROGSOURCE= rmheader.S rmvers.c srt0.S boot32.c start.S
@ -6,7 +6,7 @@ NEWVERSWHAT= "RISC OS Boot"
RISCOSTYPE= ffa
rmvers.c: ${.CURDIR}/version
sh ${.CURDIR}/../lib/newvers_rm.sh ${.CURDIR}/version "NetBSD Boot"
${HOST_SH} ${.CURDIR}/../lib/newvers_rm.sh ${.CURDIR}/version "NetBSD Boot"
.PHONY: rmvers.c
CLEANFILES+= rmvers.c

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile.bootprogs,v 1.23 2003/10/08 01:40:22 simonb Exp $
# $NetBSD: Makefile.bootprogs,v 1.24 2003/10/26 07:25:35 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
S= ${.CURDIR}/../../../..
@ -15,7 +17,7 @@ LIBC=
LIBCRTBEGIN=
LIBCRTEND=
CHECKSIZE_CMD= SIZE=${SIZE} sh ${.CURDIR}/../common/checksize.sh
CHECKSIZE_CMD= SIZE=${SIZE} ${HOST_SH} ${.CURDIR}/../common/checksize.sh
.PHONY: machine-links
beforedepend: machine-links
@ -34,7 +36,7 @@ AFLAGS+= -DASSEMBLER
CPPFLAGS+= -nostdinc -I${.OBJDIR} -D_STANDALONE -I${S}
CFLAGS= -ffreestanding -mno-fp-regs -g
NETBSD_VERS!=sh ${.CURDIR}/../../../../conf/osrelease.sh
NETBSD_VERS!=${HOST_SH} ${.CURDIR}/../../../../conf/osrelease.sh
CPPFLAGS+= -DNETBSD_VERS='"${NETBSD_VERS}"'
CWARNFLAGS+= -Wno-main
@ -44,7 +46,7 @@ CWARNFLAGS+= -Wno-main
.if exists(version)
.PHONY: vers.c
vers.c: version
sh ${S}/conf/newvers_stand.sh -N ${.CURDIR}/version "alpha"
${HOST_SH} ${S}/conf/newvers_stand.sh -N ${.CURDIR}/version "alpha"
SRCS+= vers.c
CLEANFILES+= vers.c

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.33 2003/10/25 03:14:33 mhitch Exp $
# $NetBSD: Makefile,v 1.34 2003/10/26 07:25:36 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
### what we need:
@ -37,7 +39,7 @@ SOBJS += inffast.o infutil.o
#DEFS += -DBOOT_ELF32 -DBOOT_AOUT
SOBJS += loadfile.o loadfile_aout.o loadfile_elf32.o
NETBSD_VERS!= sh ${.CURDIR}/../../../../../conf/osrelease.sh
NETBSD_VERS!= ${HOST_SH} ${.CURDIR}/../../../../../conf/osrelease.sh
DEFS+= -DNETBSD_VERS='"${NETBSD_VERS}"'
### main target: ###
@ -86,7 +88,7 @@ libboot.a: ${OBJS}
.PHONY: vers.c
vers.c: ${.CURDIR}/version
sh ${DIR_TOP}/conf/newvers_stand.sh -N ${.CURDIR}/version "amiga"
${HOST_SH} ${DIR_TOP}/conf/newvers_stand.sh -N ${.CURDIR}/version "amiga"
machine:
-rm -f $@

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2003/10/25 03:14:33 mhitch Exp $
# $NetBSD: Makefile,v 1.8 2003/10/26 07:25:36 lukem Exp $
### what we need:
@ -51,7 +51,7 @@ CAFLAGS += -Wa,-l -Wa,-m68030 ${INCPATH} -D_PRIMARY_BOOT
COPTIM= -Os -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks -Wa,-l -m68060 -Wa,-m68030
CFLAGS= -ffreestanding ${COPTIM} ${INCPATH} ${DEFS} -Wall #-Wstrict-prototypes
NETBSD_VERS!= sh ${.CURDIR}/../../../../../conf/osrelease.sh
NETBSD_VERS!= ${HOST_SH} ${.CURDIR}/../../../../../conf/osrelease.sh
DEFS+= -DNETBSD_VERS='"${NETBSD_VERS}"'
# Use small daddr_t to avoid code bloat
@ -95,7 +95,7 @@ libboot.a: ${OBJS}
.PHONY: vers.c
vers.c: ${.CURDIR}/../boot/version
sh ${DIR_TOP}/conf/newvers_stand.sh -NDM ${.CURDIR}/../boot/version "amiga"
${HOST_SH} ${DIR_TOP}/conf/newvers_stand.sh -NDM ${.CURDIR}/../boot/version "amiga"
machine:
-rm -f $@

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2003/10/24 18:20:01 matt Exp $
# $NetBSD: Makefile,v 1.19 2003/10/26 07:25:36 lukem Exp $
S= ${.CURDIR}/../../../..
@ -58,7 +58,7 @@ LIBSA= ${SALIB}
.PHONY: vers.c
vers.c: version
sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version "bebox" ${NEWVERSWHAT}
${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version "bebox" ${NEWVERSWHAT}
realall: ${BOOTPROG}

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.2 2003/10/08 01:40:22 simonb Exp $
# $NetBSD: Makefile,v 1.3 2003/10/26 07:25:36 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
S= ${.CURDIR}/../../../..
MIPS= ${S}/arch/mips
@ -52,7 +54,7 @@ CPPFLAGS+= -DCOMSPEED=${COMSPEED} -DCOMPROBE=${COMPROBE}
CFLAGS= -Os -mmemcpy -ffreestanding -mno-abicalls -msoft-float -G 128
OFORMAT= --oformat elf32-littlemips
NETBSD_VERS!= sh ${S}/conf/osrelease.sh
NETBSD_VERS!= ${HOST_SH} ${S}/conf/osrelease.sh
CPPFLAGS+= -DNETBSD_VERS='"${NETBSD_VERS}"'
LDSCRIPT?= ${MIPS}/conf/stand.ldscript
@ -82,7 +84,7 @@ LIBS= ${KERNLIB} ${SALIB} ${ZLIB} ${KERNLIB}
.PHONY: vers.c
vers.c: ${.CURDIR}/version
sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version "cobalt"
${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version "cobalt"
${PROG}: machine-links ${LDSCRIPT} ${OBJS} ${LIBS}
${LD} ${OFORMAT} -Map ${PROG}.map -N -x -Ttext ${LOAD_ADDRESS} \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.gzboot,v 1.8 2003/04/29 05:32:41 thorpej Exp $
# $NetBSD: Makefile.gzboot,v 1.9 2003/10/26 07:25:36 lukem Exp $
NOMAN= # defined
@ -94,7 +94,7 @@ LIBLIST=${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN} ${LIBSA}
.PHONY: vers.c
vers.c: ${VERSIONFILE}
sh ${S}/conf/newvers_stand.sh ${.ALLSRC} '${PLATFORM}' \
${HOST_SH} ${S}/conf/newvers_stand.sh ${.ALLSRC} '${PLATFORM}' \
${NEWVERSWHAT}
${PROG}: ${PROGSYM}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.buildboot,v 1.21 2003/10/02 13:52:07 simonb Exp $
# $NetBSD: Makefile.buildboot,v 1.22 2003/10/26 07:25:36 lukem Exp $
# RELOC=FFF00000 allows for boot prog up to FF000 (1044480) bytes long
RELOC= FFF00000
@ -31,7 +31,7 @@ LIBCRTEND=
.PHONY: vers.c
vers.c: ${.CURDIR}/version
sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version hp300 ${NEWVERSWHAT}
${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version hp300 ${NEWVERSWHAT}
${PROG}: ${PROGAOUT} ${MKBOOT_PROG}
${OBJCOPY} --output-target=binary ${PROGAOUT} ${PROGAOUT}.bin

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.buildboot,v 1.4 2003/10/21 12:43:19 itohy Exp $
# $NetBSD: Makefile.buildboot,v 1.5 2003/10/26 07:25:36 lukem Exp $
MACHINE_ARCH=hppa
MACHINE=hp700
@ -38,7 +38,7 @@ CLEANFILES+= vers.c
.PHONY: vers.c
vers.c: ${.CURDIR}/version
sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version hp700 ${NEWVERSWHAT}
${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version hp700 ${NEWVERSWHAT}
CPPFLAGS+= -D_STANDALONE -Dhp700 ${DEBUGFLAGS}
CPPFLAGS+= -DRELOC=0x${RELOC} -DHEAP_LIMIT=${HEAP_LIMIT}

View File

@ -1,6 +1,8 @@
# $NetBSD: Makefile,v 1.11 2003/07/10 10:34:40 lukem Exp $
# $NetBSD: Makefile,v 1.12 2003/10/26 07:25:36 lukem Exp $
#
.include <bsd.sys.mk> # for HOST_SH
PROJECT_DIRS= hpcboot libz libsa
all:
@ -12,9 +14,9 @@ all:
evc3:
cd dspgen && ${MAKE} evc3 || exit 1;
for d in ${PROJECT_DIRS}; do \
sh dspgen/config.sh evc3 $$d; \
${HOST_SH} dspgen/config.sh evc3 $$d; \
done
sh dspgen/gen_workspace.sh evc3 hpc_stand.vcw $(PROJECT_DIRS)
${HOST_SH} dspgen/gen_workspace.sh evc3 hpc_stand.vcw $(PROJECT_DIRS)
cd dspgen && ${MAKE} clean;
#
# generates project/work files for Visual C++ 6.0 + Windows CE tool kit.
@ -22,10 +24,10 @@ evc3:
vc6:
cd dspgen && ${MAKE} vc6 || exit 1;
for d in ${PROJECT_DIRS}; do \
sh dspgen/config.sh vc6 $$d; \
${HOST_SH} dspgen/config.sh vc6 $$d; \
done
cd dspgen && ${MAKE} clean;
sh dspgen/gen_workspace.sh vc6 hpc_stand.dsw $(PROJECT_DIRS)
${HOST_SH} dspgen/gen_workspace.sh vc6 hpc_stand.dsw $(PROJECT_DIRS)
#
# generates project/work files for Visual C++ 5.0 Windows CE Embeded tool kit.
@ -34,10 +36,10 @@ vc6:
vc5:
cd dspgen && ${MAKE} vc5 || exit 1;
for d in ${PROJECT_DIRS}; do \
sh dspgen/config.sh vc5 $$d; \
${HOST_SH} dspgen/config.sh vc5 $$d; \
done
cd dspgen && ${MAKE} clean;
sh dspgen/gen_workspace.sh vc5 hpc_stand.dsw $(PROJECT_DIRS)
${HOST_SH} dspgen/gen_workspace.sh vc5 hpc_stand.dsw $(PROJECT_DIRS)
clean:
rm -f hpcboot/opt_spec_platform.h
@ -72,7 +74,8 @@ install1:
uuencode:
find binary -name "hpcboot*.exe" -print | \
awk '{ print "uuencode", $$1, $$1, ">", $$1".uu ; rm -f", $$1 }' | sh
awk '{ print "uuencode", $$1, $$1, ">", $$1".uu ; rm -f", $$1 }' \
| ${HOST_SH}
cp binary/build_number.h build_number.h
awk '{if (/HPCBOOT_BUILD_NUMBER/) \
{ i = $$3 + 1; \

View File

@ -1,19 +1,21 @@
# $NetBSD: Makefile,v 1.7 2001/12/23 13:28:23 shin Exp $
# $NetBSD: Makefile,v 1.8 2003/10/26 07:25:36 lukem Exp $
#
# Makefile to generate windows VC++ project and workspace files from
# config files and templates
.include <bsd.sys.mk> # for HOST_SH
PROJECT_DIRS=libsa pbsdboot libz
all: winfiles optfiles rom-boot
winfiles:
for name in $(PROJECT_DIRS); do \
sh dspgen/config.sh vc6 $$name; \
sh dspgen/config.sh evc3 $$name; \
${HOST_SH} dspgen/config.sh vc6 $$name; \
${HOST_SH} dspgen/config.sh evc3 $$name; \
done
sh dspgen/gen_workspace.sh vc6 hpcmips_stand.dsw $(PROJECT_DIRS)
sh dspgen/gen_workspace.sh evc3 hpcmips_stand.vcw $(PROJECT_DIRS)
${HOST_SH} dspgen/gen_workspace.sh vc6 hpcmips_stand.dsw $(PROJECT_DIRS)
${HOST_SH} dspgen/gen_workspace.sh evc3 hpcmips_stand.vcw $(PROJECT_DIRS)
optfiles:
echo "/* option \`SPEC_PLATFORM' not defined */" \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2003/08/27 16:03:18 mrg Exp $
# $NetBSD: Makefile,v 1.6 2003/10/26 07:25:36 lukem Exp $
.include <bsd.own.mk>
ROMICE?= no
@ -73,7 +73,7 @@ SRCS+= vers.c
CLEANFILES+= vers.c
.PHONY: vers.c
vers.c: ${VERSIONFILE}
sh ${S}/conf/newvers_stand.sh ${.ALLSRC} 'hpcmips' ${NEWVERSWHAT}
${HOST_SH} ${S}/conf/newvers_stand.sh ${.ALLSRC} 'hpcmips' ${NEWVERSWHAT}
.endif
CLEANFILES+= ${PROG}

View File

@ -1,10 +1,12 @@
# $NetBSD: Makefile.wakecode,v 1.2 2002/06/18 17:21:53 christos Exp $
# $NetBSD: Makefile.wakecode,v 1.3 2003/10/26 07:25:36 lukem Exp $
# FreeBSD: src/sys/i386/acpica/Makefile,v 1.3 2002/05/01 21:54:07 peter Exp
.include <bsd.sys.mk> # for HOST_SH
all: acpi_wakecode.h
acpi_wakecode.h: acpi_wakecode.S genwakecode.sh
${CC} -c acpi_wakecode.S
objcopy -S -O binary acpi_wakecode.o acpi_wakecode.bin
sh ${.CURDIR}/genwakecode.sh > acpi_wakecode.h
${HOST_SH} ${.CURDIR}/genwakecode.sh > acpi_wakecode.h
rm -f acpi_wakecode.bin acpi_wakecode.o

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.12 2001/12/14 20:32:23 christos Exp $
# $NetBSD: Makefile,v 1.13 2003/10/26 07:25:36 lukem Exp $
CPPFLAGS= ${APMCPPFLAGS}
KSRC=${.CURDIR}/../../..
@ -15,7 +15,7 @@ all: biostramp.inc
biostramp.inc: biostramp.bin Makefile
@([ -f biostramp.inc ] && mv -f biostramp.inc biostramp.inc.bak; exit 0)
sh ${.CURDIR}/bin2asm.sh biostramp.bin > biostramp.inc
${HOST_SH} ${.CURDIR}/bin2asm.sh biostramp.bin > biostramp.inc
machine:
@rm -f machine && ln -s ${I386}/include machine
@ -29,7 +29,7 @@ biostramp.bin: biostramp.obj
biostramp.bin: biostramp.obj
cp $? $@
@${STRIP} $@
@sh ${.CURDIR}/rmaouthdr $@ $@.tmp
@${HOST_SH} ${.CURDIR}/rmaouthdr $@ $@.tmp
@if [ `ls -l $@.tmp |awk '{print $$5}'` -gt 4096 ]; then \
echo "$@ too big"; \
exit 1; \
@ -41,7 +41,7 @@ biostramp.obj: ${OBJS} ${DEPS}
${LD} -Bstatic -N -Ttext 0 -e do_bios_call -o $@ $(OBJS)
assym.h: machine ${KSRC}/kern/genassym.sh genassym.cf
sh ${KSRC}/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
${HOST_SH} ${KSRC}/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
< ${.CURDIR}/genassym.cf > assym.h.tmp && \
mv -f assym.h.tmp assym.h

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.booters,v 1.54 2003/10/08 18:38:43 dsl Exp $
# $NetBSD: Makefile.booters,v 1.55 2003/10/26 07:25:36 lukem Exp $
.include <bsd.own.mk>
@ -112,7 +112,7 @@ LDFLAGS=-N -M -e _start
LIBLIST=${LIBI386} ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN} ${LIBI386} ${LIBSA}
vers.c: ${VERSIONFILE} ${SOURCES}
sh ${S}conf/newvers_stand.sh ${.ALLSRC} ${MACHINE} ${NEWVERSWHAT}
${HOST_SH} ${S}conf/newvers_stand.sh ${.ALLSRC} ${MACHINE} ${NEWVERSWHAT}
CLEANFILES+= ${BASE}.sym
${BASE}.sym: ${STARTFILE} ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} ${LIBI386}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.boot,v 1.11 2003/10/09 10:29:39 dsl Exp $
# $NetBSD: Makefile.boot,v 1.12 2003/10/26 07:25:36 lukem Exp $
S= ${.CURDIR}/../../../../../
@ -137,7 +137,7 @@ LIBLIST= ${LIBI386} ${LIBSA} ${LIBZ} ${LIBKERN} ${LIBI386} ${LIBSA}
CLEANFILES+= ${PROG}.tmp ${PROG}.map vers.c
vers.c: ${VERSIONFILE} ${SOURCES} ${LIBLIST} ${.CURDIR}/../Makefile.boot
sh ${S}conf/newvers_stand.sh ${VERSIONFILE} ${MACHINE} ${NEWVERSWHAT}
${HOST_SH} ${S}conf/newvers_stand.sh ${VERSIONFILE} ${MACHINE} ${NEWVERSWHAT}
# Anything that calls 'real_to_prot' must have a %pc < 0x10000.
# We link the program, find the callers (all in libi386), then

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.6 2000/04/14 20:24:29 is Exp $
# $NetBSD: Makefile,v 1.7 2003/10/26 07:25:36 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
# regenerate isp.S, fpsp.S, pfpsp.S
@ -8,6 +10,7 @@
.PATH: dist
.sa.S: ; sh asm2gas ${.IMPSRC} >${.TARGET}
.sa.S:
${HOST_SH} asm2gas ${.IMPSRC} >${.TARGET}
all: isp.S fpsp.S pfpsp.S

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2002/06/04 21:39:10 thorpej Exp $
# $NetBSD: Makefile,v 1.11 2003/10/26 07:25:36 lukem Exp $
# MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
# M68000 Hi-Performance Microprocessor Division
@ -36,6 +36,8 @@
# Makefile for 68040 Floating Point Software Package
#
.include <bsd.sys.mk> # for HOST_SH
TARGET = fpsp
CPPFLAGS= ${FPSPCPPFLAGS} ${FPSPMISCCPPFLAGS}
@ -78,9 +80,9 @@ SYS = GCC
PREFIX = L_
.sa.s:
sh ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
${HOST_SH} ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
.h.defs:
sh ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
${HOST_SH} ${FPSPDIR}/asm2gas ${.IMPSRC} >${.TARGET}
.s.o:
${CC} ${AFLAGS} ${CPPFLAGS} -c -o ${.TARGET} ${.IMPSRC}
@ -253,7 +255,8 @@ $(LIB_O_FILES): l_fpsp.defs
# the entry routines for each function.
#
l_entry.sa: L_ENTRY.AWK L_LIST MONADIC.$(SYS) DYADIC.$(SYS) l_fpsp.h
awk -f L_ENTRY.AWK SYS=$(SYS) PREFIX=$(PREFIX) - <L_LIST|sh>l_entry.sa
awk -f L_ENTRY.AWK SYS=$(SYS) PREFIX=$(PREFIX) - \
<L_LIST | ${HOST_SH} >l_entry.sa
#
# Do_func.sa and round.sa need special editing to remove references that
@ -345,4 +348,3 @@ clean:
rm -f $(LIB_TARGET)
clobber: clean

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.37 2003/02/28 05:24:57 matt Exp $
# $NetBSD: Makefile,v 1.38 2003/10/26 07:25:36 lukem Exp $
S= ${.CURDIR}/../../../..
@ -92,7 +92,7 @@ cleanlibdir:
.PHONY: vers.c
vers.c: version
sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version "macppc" ${NEWVERSWHAT}
${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version "macppc" ${NEWVERSWHAT}
all realall: ${PROG} ${PROG}.xcf ${PROG}.elf

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile.booters,v 1.6 2003/10/08 01:40:22 simonb Exp $
# $NetBSD: Makefile.booters,v 1.7 2003/10/26 07:25:36 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
S= ${.CURDIR}/../../../..
MIPS= ${S}/arch/mips
@ -39,7 +41,7 @@ CPPFLAGS+= -I${.OBJDIR} -I${S}
CFLAGS= -Os -mmemcpy -ffreestanding -mno-abicalls -msoft-float -G 128
OFORMAT= --oformat elf32-bigmips
NETBSD_VERS!= sh ${S}/conf/osrelease.sh
NETBSD_VERS!= ${HOST_SH} ${S}/conf/osrelease.sh
CPPFLAGS+= -DNETBSD_VERS='"${NETBSD_VERS}"'
PRIMARY_LOAD_ADDRESS?= 0x80600000
@ -71,7 +73,7 @@ CPPFLAGS+= -DPRIMARY_BOOTBLOCK \
-DLIBSA_USE_MEMCPY -DLIBSA_USE_MEMSET
CHECKSIZE_CMD?= SIZE=${SIZE} sh ${.CURDIR}/../common/checksize.sh
CHECKSIZE_CMD?= SIZE=${SIZE} ${HOST_SH} ${.CURDIR}/../common/checksize.sh
.elif defined(SECONDARY_PROG)
PROG= ${SECONDARY_PROG}
@ -114,7 +116,7 @@ LIBS= ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN}
.PHONY: vers.c
vers.c: ${.CURDIR}/version
sh ${S}/conf/newvers_stand.sh -N ${.CURDIR}/version "mipsco"
${HOST_SH} ${S}/conf/newvers_stand.sh -N ${.CURDIR}/version "mipsco"
${PROG}: machine-links ${LDSCRIPT} ${OBJS} ${LIBS}
${LD} ${OFORMAT} -Map ${PROG}.map -N -x -Ttext ${LOAD_ADDRESS} \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.booters,v 1.11 2003/10/24 21:28:24 scw Exp $
# $NetBSD: Makefile.booters,v 1.12 2003/10/26 07:25:36 lukem Exp $
S?= ${.CURDIR}/../../../..
MDEC_DIR?= /usr/mdec
@ -28,7 +28,7 @@ SRCS+= vers.c
CLEANFILES+= vers.c
vers.c: version
sh ${S}/conf/newvers_stand.sh -DM ${.CURDIR}/version "mvme68k"
${HOST_SH} ${S}/conf/newvers_stand.sh -DM ${.CURDIR}/version "mvme68k"
.endif
CLEANFILES+= machine m68k

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.booters,v 1.3 2003/10/24 06:48:53 matt Exp $
# $NetBSD: Makefile.booters,v 1.4 2003/10/26 07:25:36 lukem Exp $
S?= ${.CURDIR}/../../../..
MDEC_DIR?= /usr/mdec
@ -26,7 +26,7 @@ SRCS+= vers.c
CLEANFILES+= vers.c
vers.c: version
sh ${S}/conf/newvers_stand.sh -DM ${.CURDIR}/version "mvmeppc"
${HOST_SH} ${S}/conf/newvers_stand.sh -DM ${.CURDIR}/version "mvmeppc"
.endif
CLEANFILES+= machine powerpc

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.3 2003/10/08 01:40:22 simonb Exp $
# $NetBSD: Makefile.inc,v 1.4 2003/10/26 07:25:36 lukem Exp $
BINDIR= /usr/mdec
@ -7,7 +7,7 @@ BINDIR= /usr/mdec
.if exists(version)
.PHONY: vers.c
vers.c: version
sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version ${MACHINE}
${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version ${MACHINE}
SRCS+= vers.c
CLEANFILES+= vers.c

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.3 2003/10/08 01:40:23 simonb Exp $
# $NetBSD: Makefile.inc,v 1.4 2003/10/26 07:25:36 lukem Exp $
BINDIR= /usr/mdec
@ -7,7 +7,7 @@ BINDIR= /usr/mdec
.if exists(version)
.PHONY: vers.c
vers.c: version
sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version ${MACHINE}
${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version ${MACHINE}
SRCS+= vers.c
CLEANFILES+= vers.c
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2003/10/08 01:40:23 simonb Exp $
# $NetBSD: Makefile,v 1.19 2003/10/26 07:25:36 lukem Exp $
NOMAN= # defined
@ -75,10 +75,10 @@ srt0.o: ${.CURDIR}/srt0.s
.PHONY: build.c
build.c:
sh ${.CURDIR}/newvers.sh
${HOST_SH} ${.CURDIR}/newvers.sh
vers.c: version
sh ${S}/conf/newvers_stand.sh -MD ${.CURDIR}/version "next68k"
${HOST_SH} ${S}/conf/newvers_stand.sh -MD ${.CURDIR}/version "next68k"
#installboot: ${.CURDIR}/installboot.sh
# @rm -f installboot

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.16 2003/10/24 04:49:31 matt Exp $
# $NetBSD: Makefile,v 1.17 2003/10/26 07:25:36 lukem Exp $
S= ${.CURDIR}/../../../..
@ -65,7 +65,7 @@ LIBSA= ${SALIB}
.PHONY: vers.c
vers.c: version
sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version "ofppc" ${NEWVERSWHAT}
${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version "ofppc" ${NEWVERSWHAT}
${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
${LD} -s -N -Ttext ${RELOC} -Bstatic -e ${ENTRY} -o ${PROG}.X \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.buildboot,v 1.4 2001/12/12 01:49:49 tv Exp $
# $NetBSD: Makefile.buildboot,v 1.5 2003/10/26 07:25:36 lukem Exp $
S= ${.CURDIR}/../../../..
@ -42,7 +42,7 @@ LIBSA= ${SALIB}
.PHONY: vers.c
vers.c: version
sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version "pc532" ${NEWVERSWHAT}
${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version "pc532" ${NEWVERSWHAT}
${PROG}.sym: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
${LD} -Ttext ${RELOC} -z -e start -o ${PROG}.sym \

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile.booters,v 1.41 2003/10/08 01:40:23 simonb Exp $
# $NetBSD: Makefile.booters,v 1.42 2003/10/26 07:25:37 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
# $S must correspond to the top of the 'sys' tree
S= ${.CURDIR}/../../../..
@ -34,7 +36,7 @@ CFLAGS= -ffreestanding -Os -g -mmemcpy -mno-abicalls -G 128
OFORMAT= --oformat elf32-littlemips
LDBUG= -T $S/arch/mips/conf/stand.ldscript
NETBSD_VERS!= sh ${.CURDIR}/../../../../conf/osrelease.sh
NETBSD_VERS!= ${HOST_SH} ${.CURDIR}/../../../../conf/osrelease.sh
CPPFLAGS+= -DNETBSD_VERS='"${NETBSD_VERS}"'
PRIMARY_LOAD_ADDRESS?= 0x80700000
@ -67,7 +69,7 @@ CPPFLAGS+= -DPRIMARY_BOOTBLOCK \
-DALLOC_FIRST_FIT \
-DLIBSA_USE_MEMCPY -DLIBSA_USE_MEMSET
CHECKSIZE_CMD?= SIZE=${SIZE} sh ${.CURDIR}/../common/checksize.sh
CHECKSIZE_CMD?= SIZE=${SIZE} ${HOST_SH} ${.CURDIR}/../common/checksize.sh
.elif defined(SECONDARY_PROG)
PROG= ${SECONDARY_PROG}
@ -111,7 +113,7 @@ LIBS= ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN}
.PHONY: vers.c
vers.c: ${.CURDIR}/version
sh ${S}/conf/newvers_stand.sh -N ${.CURDIR}/version "pmax"
${HOST_SH} ${S}/conf/newvers_stand.sh -N ${.CURDIR}/version "pmax"
${PROG}: machine mips pmax ${OBJS} ${LIBS}
${LD} ${OFORMAT} -Map ${PROG}.map -N -x -Ttext ${LOAD_ADDRESS} \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2003/10/08 01:40:23 simonb Exp $
# $NetBSD: Makefile,v 1.11 2003/10/26 07:25:37 lukem Exp $
NOMAN= # defined
@ -66,7 +66,7 @@ powerpc::
ln -s ${S}/arch/powerpc/include $@
vers.c: ${.CURDIR}/../boot/version
sh ${S}/conf/newvers_stand.sh ${.CURDIR}/../boot/version "prep" ${NEWVERSWHAT}
${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/../boot/version "prep" ${NEWVERSWHAT}
${PROG}: ${OBJS} machine powerpc
${LD} -o ${PROG} -s -N -T ${.CURDIR}/../boot/ld.script \

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile.bootprogs,v 1.3 2003/10/08 01:40:23 simonb Exp $
# $NetBSD: Makefile.bootprogs,v 1.4 2003/10/26 07:25:37 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
S= ${.CURDIR}/../../../..
@ -15,7 +17,7 @@ LIBCRTEND=
STRIP?= strip
CHECKSIZE_CMD= SIZE=${SIZE} sh ${.CURDIR}/../common/checksize.sh
CHECKSIZE_CMD= SIZE=${SIZE} ${HOST_SH} ${.CURDIR}/../common/checksize.sh
.PHONY: machine-links
beforedepend: machine-links
@ -34,7 +36,7 @@ AFLAGS+= -DASSEMBLER -D_LOCORE -mno-abicalls
CPPFLAGS+= -nostdinc -I${.OBJDIR} -D_STANDALONE -I${S}
CFLAGS= -Os -g -ffreestanding -mno-abicalls -msoft-float -G 0
NETBSD_VERS!=sh ${.CURDIR}/../../../../conf/osrelease.sh
NETBSD_VERS!=${HOST_SH} ${.CURDIR}/../../../../conf/osrelease.sh
CPPFLAGS+= -DNETBSD_VERS='"${NETBSD_VERS}"'
CWARNFLAGS+= -Wno-main
@ -44,7 +46,7 @@ CWARNFLAGS+= -Wno-main
.if exists(version)
.PHONY: vers.c
vers.c: version
sh ${S}/conf/newvers_stand.sh -N ${.CURDIR}/version "sbmips"
${HOST_SH} ${S}/conf/newvers_stand.sh -N ${.CURDIR}/version "sbmips"
SRCS+= vers.c
CLEANFILES+= vers.c

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile.booters,v 1.9 2003/10/08 01:40:23 simonb Exp $
# $NetBSD: Makefile.booters,v 1.10 2003/10/26 07:25:37 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
# $S must correspond to the top of the 'sys' tree
S= ${.CURDIR}/../../../..
@ -31,7 +33,7 @@ CPPFLAGS+= -nostdinc -D_STANDALONE -DNO_ABICALLS -I${.OBJDIR} -I${S}
# compiler flags for smallest code size
CFLAGS= -ffreestanding -Os -g -mmemcpy -mno-abicalls -msoft-float -G 128
LDBUG= -T $S/arch/mips/conf/stand.ldscript
NETBSD_VERS!= sh ${.CURDIR}/../../../../conf/osrelease.sh
NETBSD_VERS!= ${HOST_SH} ${.CURDIR}/../../../../conf/osrelease.sh
CPPFLAGS+= -DNETBSD_VERS='"${NETBSD_VERS}"'
CPPFLAGS+= -Dsgimips
@ -51,7 +53,7 @@ LOAD_ADDRESS_IP32?= 0x80002000
.if exists(version)
.PHONY: vers.c
vers.c: ${.CURDIR}/version
sh ${S}/conf/newvers_stand.sh -N ${.CURDIR}/version "sgimips"
${HOST_SH} ${S}/conf/newvers_stand.sh -N ${.CURDIR}/version "sgimips"
SRCS+= vers.c
CLEANFILES+= vers.c

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2003/10/08 01:37:35 simonb Exp $
# $NetBSD: Makefile,v 1.5 2003/10/26 07:25:37 lukem Exp $
S= ${.CURDIR}/../../../..
@ -60,7 +60,7 @@ LIBSA= ${SALIB}
.PHONY: vers.c
vers.c: version
sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version "shark" ${NEWVERSWHAT}
${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version "shark" ${NEWVERSWHAT}
${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
${LD} -s -N -Ttext ${RELOC} -Bstatic -e ${ENTRY} -o ${.TARGET}.aout \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.29 2003/07/30 15:58:39 mrg Exp $
# $NetBSD: Makefile,v 1.30 2003/10/26 07:25:37 lukem Exp $
STRIPFLAG=
PROGSOURCE= boot.c net.c netif_sun.c conf.c openfirm.c bootinfo.c \
@ -33,7 +33,7 @@ realall: ${FILES}
.PHONY: vers.c
vers.c: version
sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version "sparc" ${NEWVERSWHAT}
${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version "sparc" ${NEWVERSWHAT}
.for RELOC in ${RELOCS}
boot.${RELOC}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2003/07/30 15:58:40 mrg Exp $
# $NetBSD: Makefile,v 1.7 2003/10/26 07:25:37 lukem Exp $
CURDIR= ${.CURDIR}
S= ${CURDIR}/../../../..
@ -33,7 +33,7 @@ machine:
ln -s ${.CURDIR}/../../../${MACHINE}/include machine
assym.fth.h: ${.CURDIR}/genassym.sh genfth.cf machine
sh ${.CURDIR}/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
${HOST_SH} ${.CURDIR}/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
<${.CURDIR}/genfth.cf >assym.fth.h.tmp && \
mv -f assym.fth.h.tmp assym.fth.h

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2003/06/01 00:43:47 thorpej Exp $
# $NetBSD: Makefile,v 1.9 2003/10/26 07:25:37 lukem Exp $
CURDIR= ${.CURDIR}
S= ${CURDIR}/../../../..
@ -83,7 +83,7 @@ cleanlibdir:
rm -rf lib
vers.c: version
sh ${S}/conf/newvers_stand.sh ${CURDIR}/version "sparc64" ${NEWVERSWHAT}
${HOST_SH} ${S}/conf/newvers_stand.sh ${CURDIR}/version "sparc64" ${NEWVERSWHAT}
.if CROSS
${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.17 2003/08/22 21:14:35 dsl Exp $
# $NetBSD: Makefile,v 1.18 2003/10/26 07:25:37 lukem Exp $
LIB=sa
@ -64,4 +64,4 @@ SOBJS=
# Customized rules...
vers.c: ${.CURDIR}/version
sh ${S}/conf/newvers_stand.sh -MD ${.CURDIR}/version "${MACHINE}"
${HOST_SH} ${S}/conf/newvers_stand.sh -MD ${.CURDIR}/version "${MACHINE}"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.31 2003/01/19 21:37:04 ragge Exp $
# $NetBSD: Makefile,v 1.32 2003/10/26 07:25:37 lukem Exp $
S= ${.CURDIR}/../../../..
NOMAN= # defined
@ -53,7 +53,7 @@ START=nisse
.PHONY: vers.c
vers.c: ${.CURDIR}/version
sh ${S}/conf/newvers_stand.sh -NM ${.CURDIR}/version "${MACHINE}"
${HOST_SH} ${S}/conf/newvers_stand.sh -NM ${.CURDIR}/version "${MACHINE}"
${PROG}: machine-links ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
${LD} -N -Ttext ${RELOC} -e ${START} -o ${PROG}.sym ${OBJS} \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2002/05/05 11:46:30 isaki Exp $
# $NetBSD: Makefile,v 1.10 2003/10/26 07:25:37 lukem Exp $
NOMAN= # defined
@ -30,7 +30,7 @@ COMMONDIR= $M/stand/common
SRCS+= vers.c
CLEANFILES+= vers.c
vers.c: ${VERSIONFILE}
sh ${S}/conf/newvers_stand.sh ${.ALLSRC} ${MACHINE} ${NEWVERSWHAT}
${HOST_SH} ${S}/conf/newvers_stand.sh ${.ALLSRC} ${MACHINE} ${NEWVERSWHAT}
CPPFLAGS+= -nostdinc -I$S -I${.OBJDIR} -I$M/stand/libsa
CPPFLAGS+= -I$M/stand/libiocs -I${COMMONDIR}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2003/04/09 12:57:13 itohy Exp $
# $NetBSD: Makefile,v 1.14 2003/10/26 07:25:37 lukem Exp $
NOMAN= # defined
@ -32,7 +32,7 @@ SRCS+= exec_image.S memset.S strcmp.S
SRCS+= vers.c
CLEANFILES+= vers.c
vers.c: ${VERSIONFILE}
sh ${S}/conf/newvers_stand.sh -DM ${.ALLSRC} ${MACHINE} ${NEWVERSWHAT}
${HOST_SH} ${S}/conf/newvers_stand.sh -DM ${.ALLSRC} ${MACHINE} ${NEWVERSWHAT}
CFLAGS= -Os -fomit-frame-pointer
CFLAGS+= -W -Wall -Wconversion -Wstrict-prototypes -Wmissing-prototypes

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2003/04/10 15:36:54 he Exp $
# $NetBSD: Makefile,v 1.10 2003/10/26 07:25:37 lukem Exp $
NOMAN= # defined
@ -27,7 +27,7 @@ SRCS= boot_ustar.S
SRCS+= vers.c
CLEANFILES+= vers.c
vers.c: ${VERSIONFILE}
sh ${S}/conf/newvers_stand.sh -DM ${.ALLSRC} ${MACHINE} ${NEWVERSWHAT}
${HOST_SH} ${S}/conf/newvers_stand.sh -DM ${.ALLSRC} ${MACHINE} ${NEWVERSWHAT}
CPPFLAGS+= -DTEXTADDR="0x$(TEXT)" -DBOOT_TEXTADDR="0x$(BOOT_TEXT)"
CPPFLAGS+= -DBOOT=\"$(BOOT)\" -DBOOT_VERS=\"$(VERSION)\"

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.1 1999/02/15 08:48:20 christos Exp $
# $NetBSD: Makefile,v 1.2 2003/10/26 07:25:37 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
OBJS= aout_sysent.c aout_syscalls.c aout_syscall.h aout_syscallargs.h
@ -8,4 +10,4 @@ ${OBJS}: ${DEP}
-mv -f aout_syscalls.c aout_syscalls.c.bak
-mv -f aout_syscall.h aout_syscall.h.bak
-mv -f aout_syscallargs.h aout_syscallargs.h.bak
sh ../../kern/makesyscalls.sh syscalls.conf syscalls.master
${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.1 2000/12/02 20:40:03 scw Exp $
# $NetBSD: Makefile,v 1.2 2003/10/26 07:25:37 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
OBJS= aoutm68k_sysent.c aoutm68k_syscalls.c \
@ -9,4 +11,4 @@ ${OBJS}: ${DEP}
-mv -f aoutm68k_syscalls.c aoutm68k_syscalls.c.bak
-mv -f aoutm68k_syscall.h aoutm68k_syscall.h.bak
-mv -f aoutm68k_syscallargs.h aoutm68k_syscallargs.h.bak
sh ../../kern/makesyscalls.sh syscalls.conf syscalls.master
${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.1 2002/11/12 22:04:07 manu Exp $
# $NetBSD: Makefile,v 1.2 2003/10/26 07:25:37 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
OBJS= darwin_sysent.c darwin_syscalls.c darwin_syscall.h darwin_syscallargs.h
@ -8,4 +10,4 @@ ${OBJS}: ${DEP}
-mv -f darwin_syscalls.c darwin_syscalls.c.bak
-mv -f darwin_syscall.h darwin_syscall.h.bak
-mv -f darwin_syscallargs.h darwin_syscallargs.h.bak
sh ../../kern/makesyscalls.sh syscalls.conf syscalls.master
${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.3 1996/12/10 08:54:53 mycroft Exp $
# $NetBSD: Makefile,v 1.4 2003/10/26 07:25:37 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
OBJS= freebsd_sysent.c freebsd_syscalls.c \
@ -9,4 +11,4 @@ ${OBJS}: ${DEP}
-mv -f freebsd_syscalls.c freebsd_syscalls.c.bak
-mv -f freebsd_syscall.h freebsd_syscall.h.bak
-mv -f freebsd_syscallargs.h freebsd_syscallargs.h.bak
sh ../../kern/makesyscalls.sh syscalls.conf syscalls.master
${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.4 1996/09/03 03:18:07 mycroft Exp $
# $NetBSD: Makefile,v 1.5 2003/10/26 07:25:37 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
OBJS= hpux_sysent.c hpux_syscalls.c hpux_syscall.h hpux_syscallargs.h
@ -8,4 +10,4 @@ ${OBJS}: ${DEP}
-mv -f hpux_syscalls.c hpux_syscalls.c.bak
-mv -f hpux_syscall.h hpux_syscall.h.bak
-mv -f hpux_syscallargs.h hpux_syscallargs.h.bak
sh ../../kern/makesyscalls.sh syscalls.conf syscalls.master
${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.1 1996/09/03 03:18:12 mycroft Exp $
# $NetBSD: Makefile,v 1.2 2003/10/26 07:25:37 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
OBJS= ibcs2_sysent.c ibcs2_syscalls.c ibcs2_syscall.h ibcs2_syscallargs.h
@ -8,4 +10,4 @@ ${OBJS}: ${DEP}
-mv -f ibcs2_syscalls.c ibcs2_syscalls.c.bak
-mv -f ibcs2_syscall.h ibcs2_syscall.h.bak
-mv -f ibcs2_syscallargs.h ibcs2_syscallargs.h.bak
sh ../../kern/makesyscalls.sh syscalls.conf syscalls.master
${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.1 2001/09/22 18:51:35 manu Exp $
# $NetBSD: Makefile,v 1.2 2003/10/26 07:25:37 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
OBJS= irix_sysent.c irix_syscalls.c irix_syscall.h irix_syscallargs.h
@ -8,4 +10,4 @@ ${OBJS}: ${DEP}
-mv -f irix_syscalls.c irix_syscalls.c.bak
-mv -f irix_syscall.h irix_syscall.h.bak
-mv -f irix_syscallargs.h irix_syscallargs.h.bak
sh ../../kern/makesyscalls.sh syscalls.conf syscalls.master
${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile.inc,v 1.2 1998/10/03 20:17:36 christos Exp $
# $NetBSD: Makefile.inc,v 1.3 2003/10/26 07:25:37 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../../../kern/makesyscalls.sh
OBJS= linux_sysent.c linux_syscalls.c linux_syscall.h linux_syscallargs.h
@ -8,6 +10,6 @@ ${OBJS}: ${DEP}
-mv -f linux_syscalls.c linux_syscalls.c.bak
-mv -f linux_syscall.h linux_syscall.h.bak
-mv -f linux_syscallargs.h linux_syscallargs.h.bak
sh ../../../../kern/makesyscalls.sh syscalls.conf syscalls.master
${HOST_SH} ../../../../kern/makesyscalls.sh syscalls.conf syscalls.master
all: ${OBJS}

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.1 2001/07/14 02:10:59 christos Exp $
# $NetBSD: Makefile,v 1.2 2003/10/26 07:25:37 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
OBJS= mach_sysent.c mach_syscalls.c mach_syscall.h mach_syscallargs.h
@ -8,4 +10,4 @@ ${OBJS}: ${DEP}
-mv -f mach_syscalls.c mach_syscalls.c.bak
-mv -f mach_syscall.h mach_syscall.h.bak
-mv -f mach_syscallargs.h mach_syscallargs.h.bak
sh ../../kern/makesyscalls.sh syscalls.conf syscalls.master
${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.1 2002/11/03 23:17:20 manu Exp $
# $NetBSD: Makefile,v 1.2 2003/10/26 07:25:37 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../../../../kern/makesyscalls.sh
OBJS= mach_fasttraps_sysent.c mach_fasttraps_syscalls.c \
@ -9,4 +11,4 @@ ${OBJS}: ${DEP}
-mv -f mach_fasttraps_syscalls.c mach_fasttraps_syscalls.c.bak
-mv -f mach_fasttraps_syscall.h mach_fasttraps_syscall.h.bak
-mv -f mach_fasttraps_syscallargs.h mach_fasttraps_syscallargs.h.bak
sh ../../../../../kern/makesyscalls.sh syscalls.conf syscalls.master
${HOST_SH} ../../../../../kern/makesyscalls.sh syscalls.conf syscalls.master

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.1 2002/11/03 23:17:22 manu Exp $
# $NetBSD: Makefile,v 1.2 2003/10/26 07:25:37 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../../../../kern/makesyscalls.sh
OBJS= mach_ppccalls_sysent.c mach_ppccalls_syscalls.c \
@ -9,4 +11,4 @@ ${OBJS}: ${DEP}
-mv -f mach_ppccalls_syscalls.c mach_ppccalls_syscalls.c.bak
-mv -f mach_ppccalls_syscall.h mach_ppccalls_syscall.h.bak
-mv -f mach_ppccalls_syscallargs.h mach_ppccalls_syscallargs.h.bak
sh ../../../../../kern/makesyscalls.sh syscalls.conf syscalls.master
${HOST_SH} ../../../../../kern/makesyscalls.sh syscalls.conf syscalls.master

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.2 1999/03/25 16:22:49 mrg Exp $
# $NetBSD: Makefile,v 1.3 2003/10/26 07:25:37 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
OBJS= netbsd32_sysent.c netbsd32_syscalls.c netbsd32_syscall.h netbsd32_syscallargs.h
@ -8,4 +10,4 @@ ${OBJS}: ${DEP}
-mv -f netbsd32_syscalls.c netbsd32_syscalls.c.bak
-mv -f netbsd32_syscall.h netbsd32_syscall.h.bak
-mv -f netbsd32_syscallargs.h netbsd32_syscallargs.h.bak
sh ../../kern/makesyscalls.sh syscalls.conf syscalls.master
${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.2 1999/05/04 04:56:44 cgd Exp $
# $NetBSD: Makefile,v 1.3 2003/10/26 07:25:38 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
OBJS= osf1_sysent.c osf1_syscalls.c osf1_syscall.h osf1_syscallargs.h
@ -8,7 +10,7 @@ ${OBJS}: ${DEP}
-mv -f osf1_syscalls.c osf1_syscalls.c.bak
-mv -f osf1_syscall.h osf1_syscall.h.bak
-mv -f osf1_syscallargs.h osf1_syscallargs.h.bak
sh ../../kern/makesyscalls.sh syscalls.conf syscalls.master
${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master
clean:
rm -f ${OBJS}

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.1 2002/03/18 07:11:06 oki Exp $
# $NetBSD: Makefile,v 1.2 2003/10/26 07:25:38 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
OBJS= pecoff_sysent.c pecoff_syscalls.c pecoff_syscall.h pecoff_syscallargs.h
@ -8,4 +10,4 @@ ${OBJS}: ${DEP}
-mv -f pecoff_syscalls.c pecoff_syscalls.c.bak
-mv -f pecoff_syscall.h pecoff_syscall.h.bak
-mv -f pecoff_syscallargs.h pecoff_syscallargs.h.bak
sh ../../kern/makesyscalls.sh syscalls.conf syscalls.master
${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.1 1996/05/05 16:07:42 veego Exp $
# $NetBSD: Makefile,v 1.2 2003/10/26 07:25:38 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
OBJS= sunos_sysent.c sunos_syscalls.c sunos_syscall.h sunos_syscallargs.h
@ -8,4 +10,4 @@ ${OBJS}: ${DEP}
-mv -f sunos_syscalls.c sunos_syscalls.c.bak
-mv -f sunos_syscall.h sunos_syscall.h.bak
-mv -f sunos_syscallargs.h sunos_syscallargs.h.bak
sh ../../kern/makesyscalls.sh syscalls.conf syscalls.master
${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.1 2001/02/02 07:28:54 mrg Exp $
# $NetBSD: Makefile,v 1.2 2003/10/26 07:25:38 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
OBJS= sunos32_sysent.c sunos32_syscalls.c sunos32_syscall.h sunos32_syscallargs.h
@ -10,4 +12,4 @@ ${OBJS}: ${DEP}
-mv -f sunos32_syscalls.c sunos32_syscalls.c.bak
-mv -f sunos32_syscall.h sunos32_syscall.h.bak
-mv -f sunos32_syscallargs.h sunos32_syscallargs.h.bak
sh ../../kern/makesyscalls.sh syscalls.conf syscalls.master
${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.1 1995/10/14 20:24:14 christos Exp $
# $NetBSD: Makefile,v 1.2 2003/10/26 07:25:38 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
OBJS= svr4_sysent.c svr4_syscalls.c svr4_syscall.h svr4_syscallargs.h
@ -8,4 +10,4 @@ ${OBJS}: ${DEP}
-mv -f svr4_syscalls.c svr4_syscalls.c.bak
-mv -f svr4_syscall.h svr4_syscall.h.bak
-mv -f svr4_syscallargs.h svr4_syscallargs.h.bak
sh ../../kern/makesyscalls.sh syscalls.conf syscalls.master
${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.1 2001/02/06 16:37:56 eeh Exp $
# $NetBSD: Makefile,v 1.2 2003/10/26 07:25:38 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
OBJS= svr4_32_sysent.c svr4_32_syscalls.c svr4_32_syscall.h svr4_32_syscallargs.h
@ -11,4 +13,4 @@ ${OBJS}: ${DEP}
-mv -f svr4_32_syscalls.c svr4_32_syscalls.c.bak
-mv -f svr4_32_syscall.h svr4_32_syscall.h.bak
-mv -f svr4_32_syscallargs.h svr4_32_syscallargs.h.bak
sh ../../kern/makesyscalls.sh syscalls.conf syscalls.master
${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.1 1996/09/03 03:18:14 mycroft Exp $
# $NetBSD: Makefile,v 1.2 2003/10/26 07:25:38 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
OBJS= ultrix_sysent.c ultrix_syscalls.c ultrix_syscall.h ultrix_syscallargs.h
@ -8,4 +10,4 @@ ${OBJS}: ${DEP}
-mv -f ultrix_syscalls.c ultrix_syscalls.c.bak
-mv -f ultrix_syscall.h ultrix_syscall.h.bak
-mv -f ultrix_syscallargs.h ultrix_syscallargs.h.bak
sh ../../kern/makesyscalls.sh syscalls.conf syscalls.master
${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master

View File

@ -15,7 +15,7 @@
# static byte array via the "gendnloadh" shell script.
dnload.h: dnload.bin
@rm -f dnload.h
@sh ./gendnloadh
@${HOST_SH} ./gendnloadh
.else
# Fake part - user did not copy the necessary file here. Compilation will
# fail with an error explaining his fault.

View File

@ -1,9 +1,11 @@
# $NetBSD: Makefile,v 1.10 2001/04/05 19:49:40 jhawk Exp $
# $NetBSD: Makefile,v 1.11 2003/10/26 07:25:38 lukem Exp $
#
# from: @(#)Makefile 8.2 (Berkeley) 3/21/94
# Makefile for kernel tags files, init_sysent, etc.
.include <bsd.sys.mk> # for HOST_SH
all:
@echo "make tags, links, init_sysent.c, or vnode_if.c only"
@false
@ -14,13 +16,13 @@ init_sysent.c syscalls.c ../sys/syscall.h ../sys/syscallargs.h: ${SYSCALLSRC}
-mv -f syscalls.c syscalls.c.bak
-mv -f ../sys/syscall.h ../sys/syscall.h.bak
-mv -f ../sys/syscallargs.h ../sys/syscallargs.h.bak
sh makesyscalls.sh syscalls.conf syscalls.master
${HOST_SH} makesyscalls.sh syscalls.conf syscalls.master
VNODEIFSRC = vnode_if.sh vnode_if.src
vnode_if.c ../sys/vnode_if.h: ${VNODEIFSRC}
-mv -f vnode_if.c vnode_if.c.bak
-mv -f ../sys/vnode_if.h ../sys/vnode_if.h.bak
sh vnode_if.sh vnode_if.src
${HOST_SH} vnode_if.sh vnode_if.src
# Kernel tags:

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.14 2003/08/01 17:04:02 lukem Exp $
# $NetBSD: Makefile.inc,v 1.15 2003/10/26 07:25:38 lukem Exp $
.if !target(assym.h)
S!= cd ${.CURDIR}/../../..;pwd
@ -27,7 +27,7 @@ GENASSYM_DIR?=
.endif
assym.h: ${S}/kern/genassym.sh ${GENASSYM_DIR}/genassym.cf
sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
${HOST_SH} $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
< ${GENASSYM_DIR}/genassym.cf > assym.h.tmp && \
mv -f assym.h.tmp assym.h

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.gnuhost,v 1.23 2003/10/21 10:01:22 lukem Exp $
# $NetBSD: Makefile.gnuhost,v 1.24 2003/10/26 07:25:38 lukem Exp $
#
# Rules used when building a GNU host package. Expects MODULE to be set.
#
@ -77,7 +77,7 @@ INSTALL_TARGET?=install
.configure_done: ${_GNU_CFGSRC} ${.CURDIR}/Makefile
@mkdir build 2>/dev/null || true
@(cd build && ${CONFIGURE_ENV} sh ${GNUHOSTDIST}/configure ${CONFIGURE_ARGS})
@(cd build && ${CONFIGURE_ENV} ${HOST_SH} ${GNUHOSTDIST}/configure ${CONFIGURE_ARGS})
@touch $@
# The .build_done timestamp is only updated if a file actually changes

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2003/10/26 01:06:27 cl Exp $
# $NetBSD: Makefile,v 1.3 2003/10/26 07:25:38 lukem Exp $
.include <bsd.own.mk>
@ -25,27 +25,27 @@ NEWCONFIGDIR?= ${.CURDIR}/../..
bootstrap-libgcc: .configure_done
@echo 'Creating files needed for libgcc by a native bootstrap build.'
@MAKE=${MAKE:Q} sh ${.CURDIR}/mknative libgcc \
@MAKE=${MAKE:Q} ${HOST_SH} ${.CURDIR}/mknative libgcc \
${.OBJDIR}/build ${NEWCONFIGDIR} ${MACHINE_GNU_PLATFORM}
native: .native/.configure_done
@echo 'Extracting GNU configury for a native toolchain.'
@MAKE=${MAKE:Q} sh ${.CURDIR}/mknative all \
@MAKE=${MAKE:Q} ${HOST_SH} ${.CURDIR}/mknative all \
${.OBJDIR}/.native ${NEWCONFIGDIR} ${MACHINE_GNU_PLATFORM}
native-binutils: .native/.configure_done
@echo 'Extracting GNU binutils configury for a native toolchain.'
@MAKE=${MAKE:Q} sh ${.CURDIR}/mknative binutils \
@MAKE=${MAKE:Q} ${HOST_SH} ${.CURDIR}/mknative binutils \
${.OBJDIR}/.native ${NEWCONFIGDIR} ${MACHINE_GNU_PLATFORM}
native-gcc: .native/.configure_done
@echo 'Extracting GNU GCC configury for a native toolchain.'
@MAKE=${MAKE:Q} sh ${.CURDIR}/mknative gcc \
@MAKE=${MAKE:Q} ${HOST_SH} ${.CURDIR}/mknative gcc \
${.OBJDIR}/.native ${NEWCONFIGDIR} ${MACHINE_GNU_PLATFORM}
native-gdb: .native/.configure_done
@echo 'Extracting GNU GDB configury for a native toolchain.'
@MAKE=${MAKE:Q} sh ${.CURDIR}/mknative gdb \
@MAKE=${MAKE:Q} ${HOST_SH} ${.CURDIR}/mknative gdb \
${.OBJDIR}/.native ${NEWCONFIGDIR} ${MACHINE_GNU_PLATFORM}
.native/.configure_done: ${_GNU_CFGSRC} ${.CURDIR}/Makefile
@ -66,7 +66,7 @@ native-gdb: .native/.configure_done
gdb_cv_printf_has_long_double=yes \
gdb_cv_printf_has_long_long=yes \
gdb_cv_scanf_has_long_double=yes \
sh ${GNUHOSTDIST}/configure \
${HOST_SH} ${GNUHOSTDIST}/configure \
--build=`${.CURDIR}/../../gnu/dist/toolchain/config.guess` \
--host=${MACHINE_GNU_PLATFORM} \
--target=${MACHINE_GNU_PLATFORM}) && \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.26 2003/08/01 17:04:02 lukem Exp $
# $NetBSD: Makefile,v 1.27 2003/10/26 07:25:38 lukem Exp $
HOSTLIB= nbcompat
@ -52,7 +52,7 @@ SRCS:= ${SRCS:Nndbm.c}
config.cache: include/.stamp configure config.h.in defs.mk.in
rm -f ${.TARGET}
CC=${HOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} LDFLAGS=${HOST_LDFLAGS:Q} \
sh ${.CURDIR}/configure --cache-file=config.cache
${HOST_SH} ${.CURDIR}/configure --cache-file=config.cache
defs.mk: config.cache
@touch ${.TARGET}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2003/10/10 01:18:54 thorpej Exp $
# $NetBSD: Makefile,v 1.8 2003/10/26 07:25:38 lukem Exp $
.include <bsd.own.mk>
@ -35,17 +35,17 @@ MKNATIVE?= ${.CURDIR}/mknative-gcc
bootstrap-libgcc: .configure_done
@echo 'Creating files needed for libgcc by a native bootstrap build.'
@MAKE=${MAKE:Q} sh ${MKNATIVE} libgcc \
@MAKE=${MAKE:Q} ${HOST_SH} ${MKNATIVE} libgcc \
${.OBJDIR}/build ${NEWCONFIGDIR} ${MACHINE_GNU_PLATFORM}
native: .native/.configure_done
@echo 'Extracting GNU configury for a native toolchain.'
@MAKE=${MAKE:Q} sh ${MKNATIVE} all \
@MAKE=${MAKE:Q} ${HOST_SH} ${MKNATIVE} all \
${.OBJDIR}/.native ${NEWCONFIGDIR} ${MACHINE_GNU_PLATFORM}
native-gcc: .native/.configure_done
@echo 'Extracting GNU GCC configury for a native toolchain.'
@MAKE=${MAKE:Q} sh ${MKNATIVE} gcc3 \
@MAKE=${MAKE:Q} ${HOST_SH} ${MKNATIVE} gcc3 \
${.OBJDIR}/.native ${NEWCONFIGDIR} ${MACHINE_GNU_PLATFORM}
.native/.configure_done: ${_GNU_CFGSRC} ${.CURDIR}/Makefile
@ -66,7 +66,7 @@ native-gcc: .native/.configure_done
gdb_cv_printf_has_long_double=yes \
gdb_cv_printf_has_long_long=yes \
gdb_cv_scanf_has_long_double=yes \
sh ${GNUHOSTDIST}/configure \
${HOST_SH} ${GNUHOSTDIST}/configure \
--enable-long-long \
--disable-multilib \
--enable-threads \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2003/08/11 19:26:06 jmc Exp $
# $NetBSD: Makefile,v 1.9 2003/10/26 07:25:38 lukem Exp $
TIMESTAMP= ${TOOLDIR}/bin/${_TOOL_PREFIX}host-mkdep
@ -9,7 +9,7 @@ CLEANFILES+= config.cache config.log config.status host-mkdep
realall: host-mkdep
host-mkdep: configure host-mkdep.in
-rm -f $@
CC=${HOST_CC:Q} sh ${.CURDIR}/configure --cache-file=config.cache
CC=${HOST_CC:Q} ${HOST_SH} ${.CURDIR}/configure --cache-file=config.cache
chmod +x $@
# This is the only program that comes before binstall.

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.28 2003/07/18 16:18:28 lukem Exp $
# $NetBSD: Makefile,v 1.29 2003/10/26 07:25:38 lukem Exp $
.include <bsd.own.mk>
@ -29,27 +29,27 @@ NEWCONFIGDIR?= ${.CURDIR}/../..
bootstrap-libgcc: .configure_done
@echo 'Creating files needed for libgcc by a native bootstrap build.'
@MAKE=${MAKE:Q} sh ${.CURDIR}/mknative libgcc \
@MAKE=${MAKE:Q} ${HOST_SH} ${.CURDIR}/mknative libgcc \
${.OBJDIR}/build ${NEWCONFIGDIR} ${MACHINE_GNU_PLATFORM}
native: .native/.configure_done
@echo 'Extracting GNU configury for a native toolchain.'
@MAKE=${MAKE:Q} sh ${.CURDIR}/mknative all \
@MAKE=${MAKE:Q} ${HOST_SH} ${.CURDIR}/mknative all \
${.OBJDIR}/.native ${NEWCONFIGDIR} ${MACHINE_GNU_PLATFORM}
native-binutils: .native/.configure_done
@echo 'Extracting GNU binutils configury for a native toolchain.'
@MAKE=${MAKE:Q} sh ${.CURDIR}/mknative binutils \
@MAKE=${MAKE:Q} ${HOST_SH} ${.CURDIR}/mknative binutils \
${.OBJDIR}/.native ${NEWCONFIGDIR} ${MACHINE_GNU_PLATFORM}
native-gcc: .native/.configure_done
@echo 'Extracting GNU GCC configury for a native toolchain.'
@MAKE=${MAKE:Q} sh ${.CURDIR}/mknative gcc \
@MAKE=${MAKE:Q} ${HOST_SH} ${.CURDIR}/mknative gcc \
${.OBJDIR}/.native ${NEWCONFIGDIR} ${MACHINE_GNU_PLATFORM}
native-gdb: .native/.configure_done
@echo 'Extracting GNU GDB configury for a native toolchain.'
@MAKE=${MAKE:Q} sh ${.CURDIR}/mknative gdb \
@MAKE=${MAKE:Q} ${HOST_SH} ${.CURDIR}/mknative gdb \
${.OBJDIR}/.native ${NEWCONFIGDIR} ${MACHINE_GNU_PLATFORM}
.native/.configure_done: ${_GNU_CFGSRC} ${.CURDIR}/Makefile
@ -70,7 +70,7 @@ native-gdb: .native/.configure_done
gdb_cv_printf_has_long_double=yes \
gdb_cv_printf_has_long_long=yes \
gdb_cv_scanf_has_long_double=yes \
sh ${GNUHOSTDIST}/configure \
${HOST_SH} ${GNUHOSTDIST}/configure \
--build=`${.CURDIR}/../../gnu/dist/toolchain/config.guess` \
--host=${MACHINE_GNU_PLATFORM} \
--target=${MACHINE_GNU_PLATFORM}) && \