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
15 CFLAGS+= -DTESTMAIN -D_TESTMAIN
20 rel_open.o: ../common/rel_open.c
22 .include <bsd.prog.mk>
24 OBJS+= stack_protector.o
28 stack_protector.o: ../../libkern/stack_protector.c
33 .if defined(REALLY_X86_64)
38 CFLAGS+= -I${.CURDIR}/../common
40 .if defined(REALLY_X86_64)
41 ${SRCS:M*.c:R:S/$/.o/g}: machine
43 beforedepend ${OBJS}: machine
46 ${LN} -sf ${.CURDIR}/../../i386/include machine