Commit Graph

91 Commits

Author SHA1 Message Date
Nguyen Anh Quynh 9518148e6f add X86_COMPACT option. also add CS_SUPPORT_X86_COMPACT. made Python support this change 2014-03-25 23:20:41 +08:00
Nguyen Anh Quynh e2bdcf064c support dylib versioning for OSX 2014-03-25 11:31:32 +08:00
Nguyen Anh Quynh 315f02df36 Makefile: move the calculation of API_MAJOR advance. this fixes versioning lib for OSX 2014-03-25 06:43:19 +08:00
pancake 26943331c6 Use versioned library names on Darwin too 2014-02-04 08:37:55 +01:00
pancake e030e1880e Fix proper versioned lib symlink for linux 2014-02-04 08:36:22 +01:00
pancake 3f15a9edcf Use relative path in versioned symlink lib 2014-02-04 08:12:15 +01:00
Nguyen Anh Quynh 99caa9bd08 Makefile: do not need to calculate UNAME_S two times 2014-03-24 10:28:22 +08:00
Nguyen Anh Quynh 3b94ec8345 Merge branch 'next' of https://github.com/opntr/capstone into bsd 2014-03-24 09:52:36 +08:00
Oliver Pinter 25efded52f build: added DragonFly BSD
Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
2014-03-23 19:10:13 +01:00
Oliver Pinter a83a887352 build: simplify
Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
2014-03-23 19:01:33 +01:00
Oliver Pinter c5ecae58d8 build: improve build
* on FreeBSD systems lib and libdata directory differs
* rename INSTALL_LIBRARY to INSTALL_LIB, see details in
  http://www.freebsd.org/doc/en/books/porters-handbook/install.html

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
2014-03-23 02:22:56 +01:00
Nguyen Anh Quynh 48a14ca4ce add SystemZ arch 2014-03-23 08:35:45 +08:00
Nguyen Anh Quynh 7df338ca21 Makefile: remove old libs before installing 2014-03-18 09:28:48 +08:00
Nguyen Anh Quynh c0c0d529cf link version lib to .so file for Linux 2014-03-17 17:32:12 +08:00
Nguyen Anh Quynh 6d5381e0b5 fix soname setup for linux 2014-03-17 10:37:08 +08:00
Nguyen Anh Quynh ce371a7c71 Makefile: fix SONAME 2014-03-12 12:53:51 +08:00
Nguyen Anh Quynh f4f7253cdb make dist should also generate ZIP file 2014-03-11 12:29:16 +08:00
Nguyen Anh Quynh a5f42cf59e fix soname to use CS_API_MAJOR for library versioning (linux) 2014-03-11 11:34:28 +08:00
Nguyen Anh Quynh 56db6390ec update for 2.1.1 stable release 2014-03-11 11:24:46 +08:00
Nguyen Anh Quynh abd77900b9 fix soname 2014-03-11 10:33:55 +08:00
Nguyen Anh Quynh e05be68e1a fix soname 2014-03-11 10:33:01 +08:00
Nguyen Anh Quynh a733fc4126 Merge branch 'master' into next 2014-03-11 10:21:20 +08:00
Nguyen Anh Quynh c79ad392fb set proper SONAME to libray versioning 2014-03-11 10:20:23 +08:00
Nguyen Anh Quynh 05e27138ae core: add Sparc arch 2014-03-10 11:58:57 +08:00
Nguyen Anh Quynh c77cf3a18f only turn off some string check functions with _FORTIFY_SOURCE=0 for OSX when USE_SYS_DYN_MEM=yes 2014-03-07 22:06:51 +08:00
Nguyen Anh Quynh 3ff259c0ec support -extra level version for pkgconfig. this is useful when we release bugfix version 2014-03-07 17:11:18 +08:00
Nguyen Anh Quynh c76d8d03ba remove string check & stack protector when compiling diet engine 2014-03-06 23:19:26 +08:00
Nguyen Anh Quynh 296a23148a Makefile: disassembler -> disassembly 2014-03-05 23:50:41 +08:00
Nguyen Anh Quynh 2844cc5131 Makefile: rename variable MACHINE to UNAME_M 2014-03-05 23:49:14 +08:00
Nguyen Anh Quynh 4a328ca765 make *.inc dependency of each arch 2014-02-28 23:09:04 +08:00
Nguyen Anh Quynh 8690959804 diet.h depends on config.mk. patch by Pancake 2014-02-28 11:23:28 +08:00
Nguyen Anh Quynh 5bbbfcec16 Makefile: do not regenerate diet.h if it is existent - patched by Pancake. this also deletes diet.h for clean target 2014-02-28 10:51:04 +08:00
Nguyen Anh Quynh a4f37e075a add comments for diet.h (auto-gen from Makefile) 2014-02-28 10:23:14 +08:00
pancake addb192d8f Fix race condition in Makefile 2014-02-28 02:44:07 +01:00
Nguyen Anh Quynh 3626a35314 correct last commit: #undef CAPSTONE_DIET, not #undefine 2014-02-24 15:34:11 +08:00
Nguyen Anh Quynh a347d6573c have CAPSTONE_DIET explicity undefined when undesired 2014-02-24 15:31:41 +08:00
Nguyen Anh Quynh be6b5e84cd add dist target for Makefile 2014-02-24 15:30:19 +08:00
Nguyen Anh Quynh 2b63b07302 fix the last patch on Macport path comparison 2014-02-24 15:26:20 +08:00
Nguyen Anh Quynh 8f856c773e install pkgconfig.pc at the right place for OSX: considering Brew & Macport only 2014-02-24 15:17:40 +08:00
Nguyen Anh Quynh fc83a439e5 add diet compile option (CAPSTONE_DIET option in config.mk). This reduces binary size by around 40% 2014-02-22 23:26:27 +08:00
Nguyen Anh Quynh 186d501826 Makefile: generate .tgz file for dist target (rather than tar.gz) 2014-01-22 18:46:20 +08:00
Nguyen Anh Quynh f328f30fd9 rename mapping.c, mapping.h, module.c to have arch prefix. suggested by Alex Ionescu 2014-01-20 09:47:21 +08:00
Nguyen Anh Quynh 9dfdae6421 x86: add new instructions: FSETPM, SALC, GETSEC & INT1. bug reported by Pancake 2014-01-19 22:40:31 +08:00
Nguyen Anh Quynh a580d92e05 make dist should distribute all source, and accept tagname (so we can do 'make dist TAG=2.0-rc1' 2014-01-18 12:47:15 +08:00
pancake 35cef7f7c0 add 'dist' make target 2014-01-18 03:42:15 +01:00
Nguyen Anh Quynh 64d4083c8f add solaris support, and add make.sh 2014-01-17 20:55:21 +08:00
Nguyen Anh Quynh d80cede9a3 last change to support BSD broke cross-comple. fix Makefile so cross-compile work again 2014-01-16 21:07:59 +08:00
Oliver Pinter 22062e05f7 build: update compile.sh to support bsd systems
build: switch from hardcoded gcc to default c compiler

On FreeBSD /usr used by base system, use PREFIX=/usr/local instead.
On BSD systems gnu "make" has the name "gmake".

	modified:   Makefile
	modified:   compile.sh

Signed-off-by: Oliver Pinter <op@crysys.hu>
2014-01-16 12:27:01 +01:00
Nguyen Anh Quynh 9cc56a3322 arm: update core 2014-01-15 16:01:55 +08:00
Nguyen Anh Quynh 75ef2426ea mips: update core 2014-01-14 23:08:20 +08:00