Commit Graph

38 Commits

Author SHA1 Message Date
Yasumasa Suenaga
b9c260e917
LIBDIRARCH does not propagate to Makefile (#2214) 2024-01-03 17:30:49 +09:00
Jiayi Zhao
d3b96a627a build: add xlc and AIX support (#1559) 2019-10-31 04:02:31 +08:00
Cen Zhang
f931eef39f fix for make.sh for android (#1523)
* fix for make.sh for android

* remove commented line
2019-07-29 10:32:03 +08:00
Travis Finkenauer
750ba01466 [RISCV] Use CS_ASSERT (#1493)
* makefile: set CAPSTONE_DEBUG for debug build

Also fix long longs

* riscv: replace assert with CS_ASSERT

* cmake: add CAPSTONE_DEBUG option
2019-05-23 08:25:36 +07:00
Travis Finkenauer
9e4f128820 Make install.sh more idomatic (#1427)
Use parameter expansion modifiers instead of manual tests.
2019-03-19 00:20:28 +08:00
Nguyen Anh Quynh
3dcdcfa713 sync with LLVM 7.0.1. X86 is first 2019-02-26 15:19:51 +08:00
Albert Long
feaffb9980 make.sh: fix ./make.sh ios issue (#1354) 2019-01-25 14:28:17 +08:00
Nguyen Anh Quynh
d78bcad347 MacOS: do not build in Universal format by default 2018-07-28 00:25:18 +08:00
Stephen
c27f326dcc Move functionality from make.sh to Makefile (#1142)
simplifies builds, prevents overriding of options
2018-05-17 16:30:05 +08:00
Jonas
ca71fc1155 Add posibility to disable universal build for osx 2017-09-05 21:51:07 +07:00
Nguyen Anh Quynh
3f1df56bf1 improve dependency on header files *.h, and remove clean from make.sh. see PR #793 2016-10-23 02:09:14 +08:00
Pb
2769c772ce Correct build settings for xnu kext. Changed calloc name to avoid potential conflicts 2015-11-06 14:44:55 +01:00
Pb
86ad3d6a67 Support of xnu memory allocator 2015-11-05 18:08:25 +01:00
radare
71fd42deae Fix bashisms to make dash happy 2015-07-28 16:49:00 +02:00
Nguyen Anh Quynh
fc3b138e8f make.sh: better Android building and allow passing extra stuff to make. (ported from 'master' branch) 2015-06-22 12:51:21 +08:00
Felix Grobert
cdd677f3f4 Add debug build target and fuzz testing harness. 2015-06-16 17:35:23 +08:00
gygl09
715d4474b5 Update make.sh
add cross-android64 option in make.sh
2015-06-10 23:49:28 +08:00
radare
796f1d4022 Fix make -j warning 2015-03-07 11:40:19 +01:00
pancake
d1af4ddb8a Honor HOMEBREW_CAPSTONE (should be deprecated) 2015-03-02 10:55:55 +01:00
pancake
63414a490e Rewrite make.sh to make it shorter, faster and more portable
- Remove bashisms (use posix shell)
- Use only two space indentation (no mixed tabs)
- Honor $0 and autogenerate help message
- Correct use of exported and local vars
- Simplify spaguetti (-30LOC)
- Update copyright year
- Quote all vars to avoid command injection
- Cache uname value and allow to override it
- Honor user environment
- Support MAKE_JOBS (by default is 4)
2015-02-27 17:57:53 +01:00
Nguyen Anh Quynh
cf862707d6 on OSX, 'make uninstall' should clean files under /usr/local rather than /usr 2014-07-22 21:19:02 +08:00
Nguyen Anh Quynh
bcc6e53d7e OSX: install into /usr/local rather than /usr 2014-07-07 11:42:25 +08:00
Ole André Vadla Ravnås
39edca1ef6 Set LIBARCHS to i386 x86_64 when building on OS X
Use the Makefile directly to override.
2014-07-05 20:31:30 +02:00
Ole André Vadla Ravnås
174f9bb644 Remove accidentally left-over V=1 in the iOS build step 2014-07-05 20:29:50 +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
6023ef7843 Disassembler -> Disassembly 2014-04-29 11:21:04 +08:00
Nguyen Anh Quynh
ac673ae544 make.sh: only handle special pkgconfig install for OSX if we are not installing in Brew env 2014-04-14 23:58:28 +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
f08ed97e96 support cross-compile for Android 2014-04-07 22:13:56 +08:00
Nguyen Anh Quynh
50ebb68252 make.sh: support building for iOS 2014-03-31 21:16:47 +08:00
Nguyen Anh Quynh
c3fd527535 fix make.sh 2014-03-31 16:05:25 +08:00
Nguyen Anh Quynh
af87393174 simplify make.sh & enable 'uninstall' option 2014-01-28 11:14:55 +08:00
Nguyen Anh Quynh
1031048241 correct usage instruction of make.sh 2014-01-21 14:11:18 +08:00
Nguyen Anh Quynh
4b3b8bb411 make.sh: fix usage instruction 2014-01-17 14:27:22 +08:00
Nguyen Anh Quynh
f63db27831 simplify build & install for *BSD 2014-01-17 22:12:35 +08:00
Nguyen Anh Quynh
d3b3071107 simplify build & install for Solaris 2014-01-17 21:25:18 +08:00
Nguyen Anh Quynh
64d4083c8f add solaris support, and add make.sh 2014-01-17 20:55:21 +08:00