initial commit
[freebsd-arm:freebsd-arm.git] / boot / ia64 / common / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4 MK_SSP=         no
5
6 LIB=            ia64
7 INTERNALLIB=
8
9 SRCS=           autoload.c bootinfo.c copy.c devicename.c exec.c
10
11 CFLAGS+=        -I${.CURDIR}/../../efi/include
12 CFLAGS+=        -I${.CURDIR}/../../efi/include/${MACHINE_ARCH}
13 CFLAGS+=        -I${.CURDIR}/../../..
14 CFLAGS+=        -I${.CURDIR}/../../../../lib/libstand
15
16 .if ${MK_FORTH} != "no"
17 BOOT_FORTH=     yes
18 CFLAGS+=        -DBOOT_FORTH
19 CFLAGS+=        -I${.CURDIR}/../../ficl
20 CFLAGS+=        -I${.CURDIR}/../../ficl/${MACHINE_ARCH}
21 .endif
22
23 .PATH: ${.CURDIR}/../../common
24 .include "${.CURDIR}/../../common/Makefile.inc"
25
26 CFLAGS+=        -I${.CURDIR}/../../common
27
28 FILES+=         loader.help
29 CLEANFILES+=    loader.help
30 loader.help: help.common
31         cat ${.ALLSRC} | awk -f ${.CURDIR}/../../common/merge_help.awk \
32             > ${.TARGET}
33
34 .PATH: ${.CURDIR}/../../forth
35 FILES+=         loader.4th support.4th loader.conf
36 .if !exists(${DESTDIR}/boot/loader.rc)
37 FILES+=         loader.rc
38 .endif
39 FILESDIR_loader.conf= /boot/defaults
40
41 .include <bsd.lib.mk>