af9f503077
libxsvf is a library that be used to access the JTAG interface on an embedded device using an embedded host processor or microcontroller instead of using an external JTAG probe. In addition to playing SVF and XSVF files this library is also capable of scanning the devices in the JTAG chain. ok sthen@
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2011/08/27 06:46:20 jasper Exp $
|
|
|
|
COMMENT= library and tools for creating SVF and XSVF JTAG players
|
|
|
|
# svn rev 62
|
|
DISTNAME= libxsvf-0.0.62
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://www.clifford.at/libxsvf/
|
|
|
|
# ISC
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://distfiles.nl/
|
|
|
|
WANTLIB += c ftdi pthread readline termcap usb
|
|
|
|
LIB_DEPENDS= devel/libftdi
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
MAKE_FLAGS+= EXTRA_LDFLAGS+="-L${LOCALBASE}/lib/ -ltermcap" \
|
|
EXTRA_CFLAGS+="-I${LOCALBASE}/include/"
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
XPCU_DOC= README *.sh *.ihx *.inc *.v *.ucf *.svf
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xsvftool-{bp,ft2232h,gpio,xpcu} ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/libxsvf/
|
|
${INSTALL_DATA} ${WRKSRC}/xsvftool-{bp,ft2232h,gpio}.c \
|
|
${PREFIX}/share/examples/libxsvf/
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libxsvf/xsvftool-xpcu/
|
|
.for d in ${XPCU_DOC}
|
|
${INSTALL_DATA} ${WRKSRC}/xsvftool-xpcu.src/$d \
|
|
${PREFIX}/share/doc/libxsvf/xsvftool-xpcu/
|
|
.endfor
|
|
${INSTALL_DATA} ${WRKSRC}/libxsvf.h ${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/libxsvf.a ${PREFIX}/lib
|
|
|
|
.include <bsd.port.mk>
|