199767f8919635c4928607450d9e0abb932109ceToomas Soome# $FreeBSD$
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeLIB= firewire
199767f8919635c4928607450d9e0abb932109ceToomas SoomeINTERNALLIB=
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome.PATH: ${.CURDIR}/../../../dev/dcons ${.CURDIR}/../../../dev/firewire
199767f8919635c4928607450d9e0abb932109ceToomas SoomeSRCS+= firewire.c fwohci.c dconsole.c
199767f8919635c4928607450d9e0abb932109ceToomas SoomeSRCS+= dcons.c fwcrom.c
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCFLAGS+= -D_BOOT
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I.
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCFLAGS+= -I${.CURDIR}/../../../../lib/libstand
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCFLAGS+= -I${.CURDIR}/../btx/lib
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCFLAGS+= -I${.CURDIR}/../libi386
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCFLAGS+= -Wformat -Wall
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome.if ${MACHINE_CPUARCH} == "amd64"
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCLEANFILES+= machine
199767f8919635c4928607450d9e0abb932109ceToomas Soomemachine:
199767f8919635c4928607450d9e0abb932109ceToomas Soome ln -sf ${.CURDIR}/../../../i386/include machine
199767f8919635c4928607450d9e0abb932109ceToomas Soome.endif
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome.include <bsd.lib.mk>
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome.if ${MACHINE_CPUARCH} == "amd64"
199767f8919635c4928607450d9e0abb932109ceToomas Soomebeforedepend ${OBJS}: machine
199767f8919635c4928607450d9e0abb932109ceToomas Soome.endif
199767f8919635c4928607450d9e0abb932109ceToomas Soome