4 .if exists(../${MACHINE_PLATFORM}/Makefile.inc)
5 .include "../${MACHINE_PLATFORM}/Makefile.inc"
8 .PATH: ${.CURDIR}/${MACHINE_ARCH}
9 SRCS= subs.c config.c cmds.c
11 CFLAGS+= -ffreestanding
16 CFLAGS+= -DTESTMAIN -D_TESTMAIN
21 rel_open.o: ../common/rel_open.c
23 .include <bsd.prog.mk>
25 OBJS+= stack_protector.o
29 stack_protector.o: ../../libkern/stack_protector.c
34 .if defined(REALLY_X86_64)
39 CFLAGS+= -I${.CURDIR}/${MACHINE_ARCH}
40 CFLAGS+= -I${.CURDIR}/../common
42 .if defined(REALLY_X86_64)
43 ${SRCS:M*.c:R:S/$/.o/g}: machine
45 beforedepend ${OBJS}: machine
48 ${LN} -sf ${.CURDIR}/../../i386/include machine