Commit Graph

207 Commits

Author SHA1 Message Date
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 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 05e27138ae core: add Sparc arch 2014-03-10 11:58:57 +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
danghvu 701b850af9 Fix: bug that static link does not know constructor 2014-01-09 11:14:40 +07:00
Nguyen Anh Quynh d63ddac32d Makefile: delete capstone.pc for clean target 2014-01-09 10:35:58 +08:00
Nguyen Anh Quynh fedca3455f remove the left-over csharp related stuff from Makefile 2014-01-07 14:52:20 +08:00
Nguyen Anh Quynh 59492c2688 enable system's my_malloc/calloc/realloc/free via compile time option 2014-01-05 23:41:31 +08:00
Nguyen Anh Quynh f1d489b949 ppc: support details information 2014-01-05 00:00:05 +08:00
Nguyen Anh Quynh 35240566c6 copy all include files for install target. bug spotted by Pancake 2014-01-04 09:18:48 +08:00
Nguyen Anh Quynh c0b63dc42c Makefile: correctly set /usr/lib64 as installed dir for Gentoo 64-bit 2014-01-01 22:07:41 +08:00
Nguyen Anh Quynh 5e107abdd1 some minor fixes for Makefile 2013-12-31 23:38:28 +08:00
Nguyen Anh Quynh 42c6b1acc7 initial support for PPC 2013-12-30 00:15:25 +08:00
Nguyen Anh Quynh a09bd630cf remove old redundant module related macros in Makefile 2013-12-27 23:49:11 +08:00
Nguyen Anh Quynh 4ebdd216f1 add SONAME for .so library. issue reported by Anton Bolshakov 2013-12-25 23:54:45 +08:00
Nguyen Anh Quynh 9f0e6c24ae on x86_64, install libs to /usr/lib64 if /usr/lib is inexistent. bug reported by Anton Bolshakov 2013-12-25 22:47:28 +08:00
Nguyen Anh Quynh 0655fe4b50 revert a wrong push on PKGCFGF 2013-12-22 13:23:20 +08:00
danghvu 8cd8c4078e Revert to allow multiple arch compilations 2013-12-21 21:28:34 -06:00
Nguyen Anh Quynh 39a42eddfb Change the way of supporting arch modularization
- Always use libapstone.so as library name, no matter which archs are compiled in.

- Add new API cs_support() to check if a particular arch is supported.

- Change cs_version(): return hexical version which encodes both major & minor version.
    the return value can be comparable.

- Bump API version to 1.1
2013-12-22 10:40:58 +08:00
Nguyen Anh Quynh f185180436 cleaner implementation for arch modularization 2013-12-21 12:16:47 +08:00
Nguyen Anh Quynh 31baeb570f Merge branch 'next' of https://github.com/aquynh/capstone into module 2013-12-21 10:01:02 +08:00
danghvu 02db488199 Either all arch or only one of them 2013-12-20 00:57:12 -06:00
danghvu 6f52bf9997 Move arch config into config.mk 2013-12-19 22:43:01 -06:00
pancake edc1ef962f Handle static linking with pkg-config archive variable 2013-12-19 23:10:08 +01:00
danghvu 34d49d935b Support compilation of individual arch 2013-12-19 12:10:24 -06:00
Nguyen Anh Quynh e5c658c407 move PKG_* away from cs.c to CONFIG 2013-12-13 09:24:41 +08:00
Nguyen Anh Quynh 80ff30b977 Makefile: use PKGCFGF for capstone.pc 2013-12-09 00:38:44 +08:00
Nguyen Anh Quynh 858546992f Merge branch 'master' of https://github.com/radare/capstone into radare 2013-12-09 00:29:09 +08:00
Nguyen Anh Quynh 162409e730 mips: upgrade core engine 2013-12-08 20:17:28 +08:00
Nguyen Anh Quynh 731bf2a714 arm64: update core engine 2013-12-08 15:13:47 +08:00
pancake ca9f1b215b Makefile refactoring to fix 'make install' build of lib 2013-12-06 17:03:41 +01:00
Nguyen Anh Quynh d330bf21b6 use PKG_{MAJOR|MINOR} to generate capstone.pc. besides, use dynamic lib rather than static lib for its 'Libs' 2013-12-03 12:34:56 +08:00
pancake 44ce0fbe60 Generate and install capstone.pc pkg-config file 2013-12-03 04:11:37 +01:00
Nguyen Anh Quynh 0e3defb6f8 arm64: remove asprintf.c and use static buffer instead for SysRegMapper_toString(). this fixes the bug on MSR insn reported by Patroklos Argyroudis 2013-12-02 10:30:01 +08:00
Nguyen Anh Quynh 173ed2b1cb arm: upgrade core engine 2013-12-01 22:19:27 +08:00
Nguyen Anh Quynh 36d143b6d0 x86: update core engine 2013-12-01 00:05:22 +08:00
Nguyen Anh Quynh b8394a47d7 add a note on gcc-multilib requirement for cross-compile to 'nix32' 2013-11-29 10:26:43 +08:00
Daniel Godas-Lopez 0f7c4325dd unified the targets for *nix and windows 2013-11-29 10:09:37 +08:00
danghvu 7545b9b2b6 Correct main Makefile back 2013-11-28 10:18:02 -06:00
Nguyen Anh Quynh fe6ced47c4 quick hack to disable clean method of java binding. this enables 'make clean' work again on non-java machine 2013-11-28 18:16:12 +08:00
pancake 7fff908f94 Do not let the archive grow 2013-11-28 14:27:44 +08:00
pancake 02cad6ec9f Use standard DESTDIR/PREFIX and some Makefile cleanup 2013-11-27 15:38:44 +01:00
pancake f1cbce26de Add 'archive' target to build static library 2013-11-27 15:31:26 +01:00
Nguyen Anh Quynh d02474c66b Makefile: another fix for cross-compiling for Windows with Mingw 2013-11-27 15:37:10 +08:00
Nguyen Anh Quynh 26ee41aa67 initial import 2013-11-27 12:11:31 +08:00