Remove non-existant .PATH components from a number of Makefiles.
[dragonfly.git] / sys / boot / dloader / Makefile
1 # The DragonFly Loader
2 #
3 #
4 .if exists(../${MACHINE_PLATFORM}/Makefile.inc)
5 .include "../${MACHINE_PLATFORM}/Makefile.inc"
6 .endif
7
8 SRCS=   subs.c config.c cmds.c
9
10 .if HAVE_PNP
11 CFLAGS+=        -DHAVE_PNP
12 .endif
13 .ifmake testmain
14 CFLAGS+=        -DTESTMAIN -D_TESTMAIN
15 SRCS+=          testmain.c
16 PROG=           testmain
17 OBJS+=          rel_open.o
18
19 rel_open.o: ../common/rel_open.c
20
21 .include <bsd.prog.mk>
22 .else
23 OBJS+=          stack_protector.o
24 LIB=            dloader
25 INTERNALLIB=    yes
26
27 stack_protector.o: ../../libkern/stack_protector.c
28
29 .include <bsd.lib.mk>
30 .endif
31
32 CFLAGS+=        -I${.CURDIR}
33 CFLAGS+=        -I${.CURDIR}/../common