[BACK]Return to vex-inplace.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-pyvex

File: [cvs.NetBSD.org] / pkgsrc / devel / py-pyvex / vex-inplace.mk (download)

Revision 1.1, Thu Mar 15 02:49:25 2018 UTC (3 years, 8 months ago) by khorben
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, HEAD

Import py-pyvex version 7.8.2.21 from wip

VEX is an architecture-agnostic, side-effects-free representation of a number
of target machine languages. It abstracts machine code into a representation
designed to make program analysis easier.

PyVEX exposes VEX into Python.

It is maintained by the angr organization on GitHub.

# $NetBSD: vex-inplace.mk,v 1.1 2018/03/15 02:49:25 khorben Exp $
#
# Include this file to extract VEX source into the WRKSRC of
# another package. This is used by angr to build VEX in place.

post-fetch: fetch-inplace-vex

post-extract: extract-inplace-vex

.PHONY: fetch-inplace-vex
fetch-inplace-vex:
	(${MAKE} -f vex.mk WRKDIR=${WRKSRC}/.devel.vex EXTRACT_DIR=${WRKSRC} \
		WRKSRC='$${EXTRACT_DIR}/$${DISTNAME:C/a$$//}' SKIP_DEPENDS=YES checksum)

.PHONY: extract-inplace-vex
extract-inplace-vex:
	(${MAKE} -f vex.mk WRKDIR=${WRKSRC}/.devel.vex EXTRACT_DIR=${WRKSRC} \
		WRKSRC='$${EXTRACT_DIR}/$${DISTNAME:C/a$$//}' SKIP_DEPENDS=YES extract)
	${MV} ${WRKSRC}/vex-* ${WRKSRC}/vex