freebsd-dev/sys/pc98/boot/Makefile.inc
KATO Takenori 0ea34c690a Sync with following changes:
>   Added files:
>     sys/i386/boot        Makefile.inc
>  Revision  Changes    Path
>  1.63      +3 -12     src/sys/i386/boot/biosboot/Makefile
>  1.8       +1 -17     src/sys/i386/boot/kzipboot/Makefile
>  1.16      +6 -15     src/sys/i386/boot/netboot/Makefile
>  1.10      +3 -14     src/sys/i386/boot/rawboot/Makefile
1998-03-07 15:48:29 +00:00

21 lines
594 B
Makefile

.if exists(${.CURDIR}/../../../../include)
CFLAGS+= -nostdinc -I${.CURDIR}/../../../../include
MKDEP+= -nostdinc -I${.CURDIR}/../../../../include
.endif
CFLAGS+= -I${.CURDIR}/../../.. -I${.OBJDIR}
MKDEP+= -I${.CURDIR}/../../.. -I${.OBJDIR}
CLEANFILES+= machine
.if defined(SRCS)
${SRCS:M*.[sS]:R:S/$/.o/g} ${SRCS:M*.c:R:S/$/.o/g}: machine
${SRCS:M*.cc:R:S/$/.o/g} ${SRCS:M*.C:R:S/$/.o/g}: machine
${SRCS:M*.cxx:R:S/$/.o/g} ${SRCS:N*.h:R:S/$/.o/g}: machine
.endif
.if defined(OBJS)
${OBJS}: machine
.endif
beforedepend: machine
machine:
ln -s ${.CURDIR}/../../include ${.OBJDIR}/machine