xref: /freebsd/stand/libofw/Makefile (revision 7ef62cebc2f965b0f640263e179276928885e33d)
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