170 Commits

Author SHA1 Message Date
Nguyen Anh Quynh
243d41e39d fix BUILD_CORE_ONLY option of Makefile, so we can do 'BUILD_CORE_ONLY=yes make.sh' 2015-01-30 10:38:13 +08:00
Nguyen Tan Cong
3d6e56a66f python: fix conflict when merging pypi branch to v3 branch 2015-01-30 10:37:58 +08:00
Nguyen Anh Quynh
b16dc856a8 Makefile: check target should also run test_iter 2014-11-02 08:21:34 +08:00
Nguyen Anh Quynh
fff1307980 Makefile: simplify generate-pkgcfg by using INCDIR. reviewed by Pancake 2014-10-02 16:14:26 +08:00
Nguyen Anh Quynh
e702b55507 Makefile: do not remove old libs in install 'target' 2014-10-02 16:01:00 +08:00
Nguyen Anh Quynh
984d45068c Makefile: add 'check' target 2014-10-01 16:42:29 +08:00
baguette
86e845056d renamed CAPSTONE_NO_ATT to CAPSTONE_X86_ATT_DISABLE, added options to makefile, cmake, compile.txt 2014-08-17 20:59:05 +02:00
Ole André Vadla Ravnås
b202b914f9 Simplify universal builds by relying on the linker to do the right thing 2014-07-04 23:38:20 +02:00
Ole André Vadla Ravnås
6583f069a7 Fix universal build support for Mac and iOS 2014-07-04 23:09:19 +02:00
Nguyen Anh Quynh
8c0ab867a1 rename CCLD to LINK 2014-06-03 23:43:53 +07:00
Nguyen Anh Quynh
0936b56c54 rename libcapstone.dll to capstone.dll, libcapstone.lib to capstone.lib for Windows platform 2014-06-04 00:26:33 +08:00
Nguyen Anh Quynh
c80d840ffc add XCore architecture 2014-05-26 23:02:48 +08:00
Nguyen Anh Quynh
f260c2023e fix some conflicts when merging msvc2 into next 2014-05-19 11:32:55 +08:00
danghvu
e1c7a21cae Avoid modifying the raw LDFLAGS directly 2014-05-14 02:13:36 -05:00
Nguyen Anh Quynh
7cc5e9b8f0 Makefile: clean target should delete libs created by all ways of building 2014-05-14 15:07:16 +08:00
Nguyen Anh Quynh
76087d2c33 rename static library extension to .lib for cross-windows building 2014-05-14 14:53:51 +08:00
Nguyen Anh Quynh
506890863c x86: assembly syntax is irrelevant in Diet mode. this optimization reduces library size to only 180KB on OSX 2014-05-14 12:26:53 +08:00
danghvu
ad66420061 Switch to cd && make from make -C 2014-05-12 14:27:38 -05:00
Nguyen Anh Quynh
91a19232a2 Makefile: do not overwritte LDFLAGS with null value 2014-05-11 01:13:36 +08:00
Nguyen Anh Quynh
55b8ecd7bd Makefile: do not overwritte LDFLAGS with null value 2014-05-11 01:04:05 +08:00
Nguyen Anh Quynh
b07523ff26 Merge branch 'next' into msvc2 2014-05-10 19:46:37 +08:00
Nguyen Anh Quynh
87a3f6915d Makefile: define CAPSTONE_USE_SYS_DYN_MEM macro for consistency 2014-05-10 19:26:32 +08:00
Nguyen Anh Quynh
595386c668 do not overwrite LDFLAGS in tests/Makefile 2014-05-10 15:50:38 +08:00
Nguyen Anh Quynh
58a0047d43 Makefile: put common functions into functions.mk 2014-05-01 22:53:52 +08:00
Ole André Vadla Ravnås
927fcbcf88 Makefile: make it possible to avoid building static/shared library 2014-05-01 16:06:11 +02:00
Ole André Vadla Ravnås
f536d4014b Makefile: implement a "silent rules" approach
The old behavior is still available through `make V=1`. This is similar
to the Linux kernel and newer versions of automake.
2014-05-01 16:06:03 +02:00
Ole André Vadla Ravnås
c20b049d04 Makefile: detect Apple toolchain instead of relying on uname
This allows cross-compiling for Android on a Mac.
2014-05-01 16:05:58 +02:00
Ole André Vadla Ravnås
24094ee7e9 Makefile: fix install target when building out-of-tree 2014-05-01 16:05:53 +02:00
Nguyen Anh Quynh
375f03c230 Makefile: build tests in the old way if BUILDDIR is not defined. this fixes a bug introduced by some recent changes by Ole André Vadla Ravnås 2014-04-30 07:19:18 +08:00
Ole André Vadla Ravnås
7a7343945d Makefile: allow BUILDDIR to be a relative path 2014-04-30 00:06:41 +02:00
Nguyen Anh Quynh
6ae472fe36 Makefile: avoid redefining BUILDDIR, so we can remove its directory in clean target 2014-04-29 16:29:55 +08:00
Nguyen Anh Quynh
5519a68812 Makefile: fix clean targets and put all test binaries under BUILDIR/tests/ 2014-04-29 16:24:30 +08:00
Nguyen Anh Quynh
df60ada2ad Merge branch 'feature/build-out-of-tree' of https://github.com/frida/capstone into config 2014-04-29 15:13:55 +08:00
Ole André Vadla Ravnås
35f937d2db Adapt core build system to allow building out-of-tree
Simply define `BUILDDIR` to where you would like build output to go.
2014-04-29 09:00:34 +02:00
Nguyen Anh Quynh
e31327da14 rename USE_SYS_DYN_MEM to CAPSTONE_USE_SYS_DYN_MEM for consistency with other options 2014-04-29 14:25:15 +08:00
Nguyen Anh Quynh
77af9fb9c6 Allow user to specify compiler optimization flags via CFLAGS at compile time. suggested by Ole André Vadla Ravnås 2014-04-29 07:11:55 +08:00
Nguyen Anh Quynh
360bf1e6ff handle special systems putting x86_64 libs into lib64/ in make.sh, not in Makefile 2014-04-14 13:38:00 +08:00
Nguyen Anh Quynh
af0e937d19 make.sh: copy capstone.pc to the right dir for pkgconfig. adapted from patches of Ben Nagy & Pancake 2014-04-12 23:10:46 +08:00
Nguyen Anh Quynh
9b4b377433 Makefile: rename to PKGCFCGDIR to PKGCFGDIR. patch by Pancake 2014-04-12 18:06:54 +08:00
Nguyen Anh Quynh
e3606d90a2 Makefile: no more pkgconfig hack 2014-04-12 18:02:55 +08:00
Nguyen Anh Quynh
70ec05dad3 Makefile: fix lib64 setup for x64 non-OSX (including Linux) 2014-04-08 23:48:30 +08:00
Nguyen Anh Quynh
ad6cc985d7 Makefile: on x64, prefer /usr/lib64, if it is existent, over /usr/lib. bug reported & fix suggested by @chaostheory88 2014-04-08 23:34:44 +08:00
Nguyen Anh Quynh
4011d7374d revert pkgconfig.mk 2014-03-31 20:47:35 +08:00
Nguyen Anh Quynh
719e9da011 Makefile: OSX need -dynamiclib option 2014-03-30 22:29:46 +08:00
Nguyen Anh Quynh
cad464d097 Makefile: OSX need -dynamiclib option 2014-03-30 22:29:03 +08:00
Nguyen Anh Quynh
2d201349fa Makefile: -share option is not for Darwin 2014-03-30 22:26:15 +08:00
Nguyen Anh Quynh
927b2add31 Makefile: -share option is not for Darwin 2014-03-30 22:25:16 +08:00
Nguyen Anh Quynh
59a53c1d3a Makefile: make current_version & compatibility_version use pkgconfig.mk on OSX 2014-03-29 22:48:55 +08:00
Nguyen Anh Quynh
189e83a486 Makefile: add a check for Brew compilation environment (HOMEBREW_CAPSTONE=1) 2014-03-29 22:48:43 +08:00
Nguyen Anh Quynh
aca71c0714 Makefile: make current_version & compatibility_version use pkgconfig.mk on OSX 2014-03-29 22:47:23 +08:00