Makefile revision 91115
1# $FreeBSD: head/sys/boot/ofw/libofw/Makefile 91115 2002-02-23 04:36:15Z jake $
2
3LIB=		ofw
4NOPIC=		true
5NOPROFILE=	true
6INTERNALLIB=	true
7INTERNALSTATICLIB=	true
8
9SRCS=	devicename.c elf_freebsd.c ofw_console.c ofw_copy.c ofw_devsearch.c \
10	ofw_disk.c ofw_memory.c ofw_module.c ofw_net.c ofw_reboot.c \
11	ofw_time.c openfirm.c
12
13CFLAGS+=	-I${.CURDIR}/../../../../lib/libstand/
14
15# Pick up the bootstrap header for some interface items
16CFLAGS+=	-I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I.
17
18CFLAGS+=	-ffreestanding
19.if ${MACHINE_ARCH} == "powerpc"
20CFLAGS+=	-msoft-float
21.endif
22
23.ifdef(BOOT_DISK_DEBUG)
24# Make the disk code more talkative
25CFLAGS+= -DDISK_DEBUG
26.endif
27
28machine:
29	ln -sf ${.CURDIR}/../../../${MACHINE_ARCH}/include machine
30
31CLEANFILES+=	machine
32
33.include <bsd.lib.mk>
34
35beforedepend ${OBJS}: machine
36