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