]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - sys/boot/ia64/common/Makefile
Synchronize releng/9.2 Forth code with stable/9 via MFS of 2 revisions:
[FreeBSD/releng/9.2.git] / sys / 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 icache.c
10
11 CFLAGS+=        -I${.CURDIR}/../../efi/include
12 CFLAGS+=        -I${.CURDIR}/../../efi/include/${MACHINE_CPUARCH}
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_CPUARCH}
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 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)
40 FILES+=         loader.rc
41 .endif
42 .if !exists(${DESTDIR}/boot/menu.rc)
43 FILES+=         menu.rc
44 .endif
45 FILESDIR_loader.conf= /boot/defaults
46
47 .include <bsd.lib.mk>