9 SRCS= autoload.c bootinfo.c copy.c devicename.c exec.c icache.c
11 CFLAGS+= -I${.CURDIR}/../../efi/include
12 CFLAGS+= -I${.CURDIR}/../../efi/include/${MACHINE_CPUARCH}
13 CFLAGS+= -I${.CURDIR}/../../..
14 CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
16 .if ${MK_FORTH} != "no"
19 CFLAGS+= -I${.CURDIR}/../../ficl
20 CFLAGS+= -I${.CURDIR}/../../ficl/${MACHINE_CPUARCH}
23 .PATH: ${.CURDIR}/../../common
24 .include "${.CURDIR}/../../common/Makefile.inc"
26 CFLAGS+= -I${.CURDIR}/../../common
29 CLEANFILES+= loader.help
30 loader.help: help.common
31 cat ${.ALLSRC} | awk -f ${.CURDIR}/../../common/merge_help.awk \
34 .PATH: ${.CURDIR}/../../forth
35 FILES+= loader.4th support.4th loader.conf
36 FILES+= screen.4th frames.4th
37 FILES+= beastie.4th brand.4th check-password.4th color.4th delay.4th
38 FILES+= menu.4th menu-commands.4th menusets.4th shortcuts.4th version.4th
39 .if !exists(${DESTDIR}/boot/loader.rc)
42 .if !exists(${DESTDIR}/boot/menu.rc)
45 FILESDIR_loader.conf= /boot/defaults