blob: 28f76307d8a019d7f806345901afa8fd1d032138 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $FreeBSD$
LIB= firewire
INTERNALLIB=
.PATH: ${.CURDIR}/../../../dev/dcons ${.CURDIR}/../../../dev/firewire
SRCS+= firewire.c fwohci.c dconsole.c
SRCS+= dcons.c fwcrom.c
CFLAGS+= -D_BOOT
CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I.
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
CFLAGS+= -I${.CURDIR}/../btx/lib
CFLAGS+= -I${.CURDIR}/../libi386
CFLAGS+= -Wformat -Wall
.if ${MACHINE_ARCH} == "amd64"
CLEANFILES+= machine
machine:
ln -sf ${.CURDIR}/../../../i386/include machine
.endif
.include <bsd.lib.mk>
.if ${MACHINE_ARCH} == "amd64"
beforedepend ${OBJS}: machine
.endif
|