]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/ofw/libofw/Makefile
Re-sync loader.mk and ficl.mk to where they should be
[FreeBSD/FreeBSD.git] / stand / ofw / libofw / Makefile
1 # $FreeBSD$
2
3 .include <bsd.init.mk>
4
5 LIB=            ofw
6 INTERNALLIB=
7
8 SRCS=   devicename.c elf_freebsd.c ofw_console.c ofw_copy.c ofw_disk.c \
9         ofw_memory.c ofw_module.c ofw_net.c ofw_reboot.c \
10         ofw_time.c openfirm.c
11 .PATH:  ${ZFSSRC}
12 SRCS+=  devicename_stubs.c
13
14 # Pick up the bootstrap header for some interface items
15 CFLAGS+=        -I${LDRSRC}
16
17 CFLAGS+=        -ffreestanding
18 .if ${MACHINE_CPUARCH} == "powerpc"
19 CFLAGS+=        -msoft-float
20 SRCS+=          ppc64_elf_freebsd.c
21 .endif
22
23 .ifdef(BOOT_DISK_DEBUG)
24 # Make the disk code more talkative
25 CFLAGS+= -DDISK_DEBUG
26 .endif
27
28 .include <bsd.lib.mk>