Commit graph

39 commits

Author SHA1 Message Date
Nick Briggs
ce3f0d0935 Rename test.c to test_basic.c with corresponding executable name change. (#923)
* Rename test.c to test_basic.c with corresponding executable name change.

* Fix Makefile, tests/Makefile to comprehend renamed test program. See issue #922

* Fix XCode project to comprehend renamed test program.  See issue #922

* Rename python test.py to test_basic.py to parallel C test name.  See issue #922

* Rename ocaml test.ml to test_basic.ml to parallel C test name.  See issue #922

* Fix MSVC project definitions to comprehend renamed test program.  See issue #922
2017-05-11 22:58:12 +07:00
Andrew Dutcher
3a5c10686b Python: Make cython work with extreme prejudice 2016-10-21 03:30:50 -07:00
Andrew Dutcher
7ff79aabc9 Python: make setup work as expected 2016-10-14 05:06:30 -07:00
jmechnich
23f1203616 bugfix: removed leading ./ from OBJDIR to avoid corrupting setup.py install 2016-03-26 10:29:52 +08:00
Hank Leininger
e5da2da2f1
Add DESTDIR support for the python binding.
Without this patch, DESTDIR is ignored, so build systems that use a
staging sandbox prior to installing in real-root, such as Gentoo,
cannot build the python binding.

Caveats:

1) I wrote/tested this against the 3.0.2 release, not current HEAD.

2) It might be preferable to do DESTDIR ?= / at the top of the Makefile,
   so that the if/else/fi can be squashed back out.

3) The install_cython target probably needs a similar change; untested.

4) Other bindings might need something similar.
2015-04-06 16:40:31 -04:00
Nguyen Anh Quynh
4892c45204 python: rename Windows package from capstone-win to capstone-windows 2015-02-03 22:30:10 +08:00
Nguyen Anh Quynh
c6b1be8b0b python: distribute msvcr120.dll for Windows installer 2015-02-03 16:28:27 +08:00
Nguyen Anh Quynh
6685aa5889 python: clean prebuilt core in install targets of Makefile 2015-02-03 12:08:56 +08:00
Nguyen Anh Quynh
a2b60305dc python: fix installer 2015-02-03 11:45:20 +08:00
Nguyen Anh Quynh
064a602b03 python: add README.pypi* 2015-02-03 10:20:30 +08:00
Nguyen Anh Quynh
77bd828465 python: setup.py only copies source if prebuilt libs are not existent 2015-02-03 09:24:14 +08:00
Nguyen Anh Quynh
ca3999f9e6 python: add targets 'sdist' & 'sdist3' to Makefile 2015-01-30 14:20:04 +08:00
Nguyen Anh Quynh
5af0ceda09 python: delete src/ in Makefile 2015-01-30 13:31:21 +08:00
Nguyen Anh Quynh
ce10b01ad5 python: fix setup.py, so we only copy the core with sdist, thus normal build/compile process does not build the core 2015-01-30 10:49:01 +08:00
Nguyen Tan Cong
1b8cc8d2af reverse -b option in Makefile; parse parameters with parse_known_args to ignore error when passing extra options; fixbug python3: use print statement 2015-01-30 10:48:29 +08:00
Nguyen Tan Cong
b54c60c063 Edit Makefile to appropriate with new setup.py 2015-01-30 10:48:12 +08:00
Nguyen Anh Quynh
984d45068c Makefile: add 'check' target 2014-10-01 16:42:29 +08:00
danghvu
ebeec9d9c2 Cython: update installation and tests to v3 2014-09-29 11:55:01 -05:00
Nguyen Anh Quynh
553bb488d7 python: support XCore 2014-05-26 23:47:45 +08:00
danghvu
0c478ab2f9 Fix Makefile to use && as well in bindings 2014-05-12 14:35:54 -05:00
Ole André Vadla Ravnås
e3ef6659ed Makefile: add support for building python binding out-of-tree 2014-05-01 00:53:01 +02:00
Nguyen Anh Quynh
e5d30e6980 python: add install3 target for installing Python3 package 2014-04-14 16:33:04 +08:00
Nguyen Anh Quynh
aaaf3458d3 python: update clean target for *.pyx files 2014-01-13 20:44:09 +08:00
danghvu
e61c504a9e Clean up addition cython code 2014-01-13 15:50:58 +07:00
danghvu
cfd41dd6f5 Improve cython by using CCsInsn when possible 2014-01-13 15:50:58 +07:00
Nguyen Anh Quynh
5dba289478 python: revert the directory name change, so rename 'cython' back to 'pyx' 2014-01-10 10:32:25 +08:00
Nguyen Anh Quynh
f042e5722b python: rename pyx/ to cython/ 2014-01-10 09:40:55 +08:00
Nguyen Anh Quynh
71fe283ec0 python: make clean should not remove everything in pyx/ 2014-01-09 10:24:22 +08:00
Nguyen Anh Quynh
f7f15a8f4e python: cleaning pkg directory before installing 2014-01-09 08:14:42 +08:00
Nguyen Anh Quynh
b3923cf8b6 python: copying code from capstone/ to pyx/ rather than duplicating code 2014-01-08 23:18:28 +08:00
Nguyen Anh Quynh
6b8445bd11 python: proper support for cython 2014-01-08 22:55:06 +08:00
Nguyen Anh Quynh
821247001b python: another fix for cython 2014-01-08 18:41:43 +08:00
Nguyen Anh Quynh
99d365fd88 python: cython support - thanks to Tan Sheng Di for helps 2014-01-08 15:56:53 +08:00
Nguyen Anh Quynh
88db228cc9 bindings: do not delete constant files when on clean target of Makefile 2013-12-03 15:01:15 +08:00
Nguyen Anh Quynh
75c4475462 bindings: auto generate constants with 'make' 2013-12-03 13:39:49 +08:00
Nguyen Anh Quynh
210e94dbed python: add install target to Makefile 2013-12-02 20:24:38 +08:00
Nguyen Anh Quynh
bc1e2f4079 python: 'make' alone does not install python module 2013-12-02 18:08:07 +08:00
danghvu
cfb0120936 Add support for python in const_generator.py 2013-12-01 14:10:28 -06:00
Nguyen Anh Quynh
26ee41aa67 initial import 2013-11-27 12:11:31 +08:00