xref: /freebsd/stand/libofw/Makefile (revision 058ac3e8063366dafa634d9107642e12b038bf09)
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
11# Pick up the bootstrap header for some interface items
12CFLAGS+=	-I${LDRSRC}
13
14.ifdef(BOOT_DISK_DEBUG)
15# Make the disk code more talkative
16CFLAGS+= -DDISK_DEBUG
17.endif
18
19.include <bsd.lib.mk>
20