xref: /freebsd-13.1/stand/libofw/Makefile (revision 4583682e)
1# $FreeBSD$
2
3.include <bsd.init.mk>
4
5LIB=		ofw
6
7SRCS=	devicename.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}
11SRCS+=  devicename_stubs.c
12CFLAGS+=	-I${ZFSSRC} -I${SYSDIR}/cddl/boot/zfs
13CFLAGS+=	-I${SYSDIR}/cddl/contrib/opensolaris/uts/common
14
15# Pick up the bootstrap header for some interface items
16CFLAGS+=	-I${LDRSRC}
17
18.ifdef(BOOT_DISK_DEBUG)
19# Make the disk code more talkative
20CFLAGS+= -DDISK_DEBUG
21.endif
22
23.include <bsd.lib.mk>
24