1# $FreeBSD$ 2 3.include <bsd.own.mk> 4MK_SSP= no 5 6LIB= ia64 7INTERNALLIB= 8 9SRCS= autoload.c bootinfo.c copy.c devicename.c exec.c icache.c 10 11CFLAGS+= -I${.CURDIR}/../../efi/include 12CFLAGS+= -I${.CURDIR}/../../efi/include/${MACHINE_CPUARCH} 13CFLAGS+= -I${.CURDIR}/../../.. 14CFLAGS+= -I${.CURDIR}/../../../../lib/libstand 15 16.if ${MK_FORTH} != "no" 17BOOT_FORTH= yes 18CFLAGS+= -DBOOT_FORTH 19CFLAGS+= -I${.CURDIR}/../../ficl 20CFLAGS+= -I${.CURDIR}/../../ficl/${MACHINE_CPUARCH} 21.endif 22 23.PATH: ${.CURDIR}/../../common 24.include "${.CURDIR}/../../common/Makefile.inc" 25 26CFLAGS+= -I${.CURDIR}/../../common 27 28FILES+= loader.help 29CLEANFILES+= loader.help 30loader.help: help.common 31 cat ${.ALLSRC} | awk -f ${.CURDIR}/../../common/merge_help.awk \ 32 > ${.TARGET} 33 34.PATH: ${.CURDIR}/../../forth 35FILES+= loader.4th support.4th loader.conf 36FILES+= screen.4th frames.4th 37FILES+= beastie.4th brand.4th check-password.4th color.4th delay.4th 38FILES+= menu.4th menu-commands.4th menusets.4th shortcuts.4th version.4th 39.if !exists(${DESTDIR}/boot/loader.rc) 40FILES+= loader.rc 41.endif 42.if !exists(${DESTDIR}/boot/menu.rc) 43FILES+= menu.rc 44.endif 45FILESDIR_loader.conf= /boot/defaults 46 47.include <bsd.lib.mk> 48