43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.36 2014/02/08 12:14:32 obache Exp $
|
|
#
|
|
|
|
DISTNAME= cutter-1.2.3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cutter/}
|
|
|
|
MAINTAINER= obache@NetBSD.org
|
|
HOMEPAGE= http://cutter.sourceforge.net/
|
|
COMMENT= Unit Testing Framework for C and C++
|
|
LICENSE= gnu-lgpl-v3
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake intltool pkg-config xgettext msgmerge msgfmt
|
|
USE_LANGUAGES= c c++
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
PKGCONFIG_OVERRIDE+= cppcutter.pc.in
|
|
PKGCONFIG_OVERRIDE+= cutter.pc.in
|
|
PKGCONFIG_OVERRIDE+= gcutter.pc.in
|
|
PKGCONFIG_OVERRIDE+= gdkcutter-pixbuf.pc.in
|
|
PKGCONFIG_OVERRIDE+= libcutter.pc.in
|
|
PKGCONFIG_OVERRIDE+= soupcutter.pc.in
|
|
|
|
TEST_TARGET= check
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../mk/compiler.mk"
|
|
# PR#lib/39986
|
|
.if !empty(CC_VERSION:Mgcc*) && !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*-*)
|
|
LDFLAGS.NetBSD+= -lgcc_s
|
|
.endif
|
|
# needed to use C code with C++ exception
|
|
.if !empty(CC_VERSION:Mgcc*) || !empty(CC_VERSION:Mclang*)
|
|
CFLAGS+= -fexceptions
|
|
.endif
|
|
|
|
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.16.0
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|