28 lines
735 B
Makefile
28 lines
735 B
Makefile
# $NetBSD: Makefile,v 1.10 2018/02/23 02:42:06 khorben Exp $
|
|
|
|
.include "Makefile.common"
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Lightweight multi-platform, multi-architecture disassembly framework
|
|
LICENSE= modified-bsd
|
|
|
|
PKGCONFIG_OVERRIDE+= capstone.pc
|
|
PKGCONFIG_OVERRIDE_STAGE= post-build
|
|
USE_TOOLS+= gmake
|
|
# succeeds after 'make install'
|
|
TEST_TARGET= check
|
|
|
|
# Don't use FreeBSD/DragonFly specific paths
|
|
ALL_ENV+= USE_GENERIC_LIBDATADIR=yes
|
|
|
|
MAKE_FLAGS= PREFIX=${PREFIX}/frida
|
|
|
|
# Pass RPATH out of standard prefix
|
|
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/frida
|
|
|
|
# Allow RPATH out of standard prefix
|
|
BUILDLINK_PASSTHRU_DIRS+= ${PREFIX}/frida
|
|
BUILDLINK_PASSTHRU_RPATHDIRS+= ${PREFIX}/frida
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|