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