Fix build.

This commit is contained in:
Yoshihiro Takahashi 2011-02-12 06:22:23 +00:00
parent cb2096acbf
commit ea71add53e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218595

View file

@ -1,14 +1,22 @@
# $FreeBSD$
FILES= ${BOOT}
SRCS= ${BOOT0} ${BOOT05}
CLEANFILES= ${BOOT} ${BOOT}.part
BOOT= pc98boot
BOOT0= ${.CURDIR}/../boot0/boot0
BOOT05= ${.CURDIR}/../boot0.5/boot0.5
${BOOT}: ${SRCS} ${BOOT}.part
.if exists(${.OBJDIR}/../boot0)
BOOT0= ${.OBJDIR}/../boot0/boot0
.else
BOOT0= ${.CURDIR}/../boot0/boot0
.endif
.if exists(${.OBJDIR}/../boot0.5)
BOOT05= ${.OBJDIR}/../boot0.5/boot0.5
.else
BOOT05= ${.CURDIR}/../boot0.5/boot0.5
.endif
${BOOT}: ${BOOT0} ${BOOT05} ${BOOT}.part
cat ${BOOT0} ${BOOT}.part ${BOOT05} > ${.TARGET}
${BOOT}.part: