openbsd-ports/devel/openocd/Makefile
jasper 565435833c - update to 0.5.0
tested by laurent@ with a buspirate (freshly supported with this openocd release)
2011-09-20 21:20:49 +00:00

51 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2011/09/20 21:20:49 jasper Exp $
COMMENT = Open On-Chip Debugging
DISTNAME = openocd-0.5.0
CATEGORIES = devel
SHARED_LIBS += openocd 0.0 # .0.0
HOMEPAGE = http://openocd.berlios.de/
MAINTAINER = Sylvestre Gallon <ccna.syl@gmail.com>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c m usb ftdi
MASTER_SITES = ${MASTER_SITE_BERLIOS:=openocd/}
EXTRACT_SUFX = .tar.bz2
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --disable-werror \
--disable-wextra \
--enable-arm-jtag-ew \
--enable-at91rm9200 \
--enable-ep93xx \
--enable-ft2232_libftdi \
--enable-jlink \
--enable-presto_libftdi \
--enable-rlink \
--enable-usbprog \
--enable-vsllink \
--enable-ulink \
--enable-buspirate \
--disable-internal-jimtcl
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include " \
LDFLAGS="-L${LOCALBASE}/lib"
LIB_DEPENDS = devel/libftdi \
lang/jimtcl
USE_GMAKE = Yes
USE_LIBTOOL = Yes
NO_REGRESS = Yes
.include <bsd.port.mk>