mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-27 03:11:52 +01:00
42 lines
934 B
Makefile
42 lines
934 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
MK_SSP= no
|
|
|
|
LIB= ia64
|
|
INTERNALLIB=
|
|
|
|
SRCS= autoload.c bootinfo.c copy.c devicename.c exec.c
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../efi/include
|
|
CFLAGS+= -I${.CURDIR}/../../efi/include/${MACHINE_CPUARCH}
|
|
CFLAGS+= -I${.CURDIR}/../../..
|
|
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
|
|
|
|
.if ${MK_FORTH} != "no"
|
|
BOOT_FORTH= yes
|
|
CFLAGS+= -DBOOT_FORTH
|
|
CFLAGS+= -I${.CURDIR}/../../ficl
|
|
CFLAGS+= -I${.CURDIR}/../../ficl/${MACHINE_CPUARCH}
|
|
.endif
|
|
|
|
.PATH: ${.CURDIR}/../../common
|
|
.include "${.CURDIR}/../../common/Makefile.inc"
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../common
|
|
|
|
FILES+= loader.help
|
|
CLEANFILES+= loader.help
|
|
loader.help: help.common
|
|
cat ${.ALLSRC} | awk -f ${.CURDIR}/../../common/merge_help.awk \
|
|
> ${.TARGET}
|
|
|
|
.PATH: ${.CURDIR}/../../forth
|
|
FILES+= loader.4th support.4th loader.conf
|
|
.if !exists(${DESTDIR}/boot/loader.rc)
|
|
FILES+= loader.rc
|
|
.endif
|
|
FILESDIR_loader.conf= /boot/defaults
|
|
|
|
.include <bsd.lib.mk>
|