]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/ofw/libofw/Makefile
MFV r328323,328324:
[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 .if ${MACHINE_CPUARCH} == "powerpc"
18 SRCS+=          ppc64_elf_freebsd.c
19 .endif
20
21 .ifdef(BOOT_DISK_DEBUG)
22 # Make the disk code more talkative
23 CFLAGS+= -DDISK_DEBUG
24 .endif
25
26 .include <bsd.lib.mk>