Nguyen Anh Quynh
|
6ae472fe36
|
Makefile: avoid redefining BUILDDIR, so we can remove its directory in clean target
|
11 years ago |
Nguyen Anh Quynh
|
5519a68812
|
Makefile: fix clean targets and put all test binaries under BUILDIR/tests/
|
11 years ago |
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.
|
11 years ago |
Nguyen Anh Quynh
|
e31327da14
|
rename USE_SYS_DYN_MEM to CAPSTONE_USE_SYS_DYN_MEM for consistency with other options
|
11 years ago |
Nguyen Anh Quynh
|
77af9fb9c6
|
Allow user to specify compiler optimization flags via CFLAGS at compile time. suggested by Ole André Vadla Ravnås
|
11 years ago |
Nguyen Anh Quynh
|
360bf1e6ff
|
handle special systems putting x86_64 libs into lib64/ in make.sh, not in Makefile
|
11 years ago |
Nguyen Anh Quynh
|
af0e937d19
|
make.sh: copy capstone.pc to the right dir for pkgconfig. adapted from patches of Ben Nagy & Pancake
|
11 years ago |
Nguyen Anh Quynh
|
9b4b377433
|
Makefile: rename to PKGCFCGDIR to PKGCFGDIR. patch by Pancake
|
11 years ago |
Nguyen Anh Quynh
|
e3606d90a2
|
Makefile: no more pkgconfig hack
|
11 years ago |
Nguyen Anh Quynh
|
70ec05dad3
|
Makefile: fix lib64 setup for x64 non-OSX (including Linux)
|
11 years ago |
Nguyen Anh Quynh
|
ad6cc985d7
|
Makefile: on x64, prefer /usr/lib64, if it is existent, over /usr/lib. bug reported & fix suggested by @chaostheory88
|
11 years ago |
Nguyen Anh Quynh
|
719e9da011
|
Makefile: OSX need -dynamiclib option
|
11 years ago |
Nguyen Anh Quynh
|
cad464d097
|
Makefile: OSX need -dynamiclib option
|
11 years ago |
Nguyen Anh Quynh
|
2d201349fa
|
Makefile: -share option is not for Darwin
|
11 years ago |
Nguyen Anh Quynh
|
927b2add31
|
Makefile: -share option is not for Darwin
|
11 years ago |
Nguyen Anh Quynh
|
59a53c1d3a
|
Makefile: make current_version & compatibility_version use pkgconfig.mk on OSX
|
11 years ago |
Nguyen Anh Quynh
|
189e83a486
|
Makefile: add a check for Brew compilation environment (HOMEBREW_CAPSTONE=1)
|
11 years ago |
Nguyen Anh Quynh
|
aca71c0714
|
Makefile: make current_version & compatibility_version use pkgconfig.mk on OSX
|
11 years ago |
Nguyen Anh Quynh
|
6606ebd719
|
Makefile: add a check for Brew compilation environment (HOMEBREW_CAPSTONE=1)
|
11 years ago |
Nguyen Anh Quynh
|
235a274fa0
|
Makefile: move UNAME_S calculation advance
|
11 years ago |
Nguyen Anh Quynh
|
1d447534d3
|
Makefile: no lib64 for OSX
|
11 years ago |
Nguyen Anh Quynh
|
bc78f3a84f
|
Makefile: move UNAME_S calculation advance
|
11 years ago |
Nguyen Anh Quynh
|
dbe27845ad
|
Makefile: no lib64 for OSX
|
11 years ago |
Nguyen Anh Quynh
|
81d930ad1f
|
Makefile: X86-reduce & Diet options should compile with size optimization
|
11 years ago |
Nguyen Anh Quynh
|
71264b2d5c
|
no more diet.h
|
11 years ago |
Nguyen Anh Quynh
|
c78ed98531
|
Revert "no more diet.h"
This reverts commit 02d04698d1 .
|
11 years ago |
Nguyen Anh Quynh
|
02d04698d1
|
no more diet.h
|
11 years ago |
Nguyen Anh Quynh
|
5721d1ba28
|
no more diet.h
|
11 years ago |
Nguyen Anh Quynh
|
731f73fd80
|
Makefile: make config.mk the dependency of object files
|
11 years ago |
Nguyen Anh Quynh
|
aeb0c406ec
|
Makefile: make config.mk the dependency of object files
|
11 years ago |
Nguyen Anh Quynh
|
12e6ebcb94
|
remove the useless diet.h
|
11 years ago |
Nguyen Anh Quynh
|
901631eaed
|
remove the useless diet.h
|
11 years ago |
Nguyen Anh Quynh
|
59b5489d8e
|
x86: rename X86_COMPACT to X86_REDUCE. suggested by Pancake
|
11 years ago |
Nguyen Anh Quynh
|
9518148e6f
|
add X86_COMPACT option. also add CS_SUPPORT_X86_COMPACT. made Python support this change
|
11 years ago |
Nguyen Anh Quynh
|
a8fb48c5b3
|
support dylib versioning for OSX
|
11 years ago |
Nguyen Anh Quynh
|
e2bdcf064c
|
support dylib versioning for OSX
|
11 years ago |
Nguyen Anh Quynh
|
1c9b1a6a35
|
Makefile: move the calculation of API_MAJOR advance. this fixes versioning lib for OSX
|
11 years ago |
pancake
|
bac8cc70ec
|
Use versioned library names on Darwin too
|
11 years ago |
pancake
|
6d09b90585
|
Fix proper versioned lib symlink for linux
|
11 years ago |
pancake
|
066791e28e
|
Use relative path in versioned symlink lib
|
11 years ago |
Nguyen Anh Quynh
|
315f02df36
|
Makefile: move the calculation of API_MAJOR advance. this fixes versioning lib for OSX
|
11 years ago |
Nguyen Anh Quynh
|
477e6bffb5
|
Makefile: do not need to calculate UNAME_S two times
|
11 years ago |
Oliver Pinter
|
3bb71e735a
|
build: added DragonFly BSD
Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
|
11 years ago |
Oliver Pinter
|
dc5a2b1cc4
|
build: simplify
Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
|
11 years ago |
Oliver Pinter
|
f01fb5be6a
|
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>
|
11 years ago |
Nguyen Anh Quynh
|
9ef5f395ae
|
Makefile: remove old libs before installing
|
11 years ago |
Nguyen Anh Quynh
|
9361e91f0c
|
link version lib to .so file for Linux
|
11 years ago |
Nguyen Anh Quynh
|
017f184038
|
fix soname for Linux - get it right now
|
11 years ago |
Nguyen Anh Quynh
|
1ed8bb6cad
|
typo
|
11 years ago |
Nguyen Anh Quynh
|
f4f7253cdb
|
make dist should also generate ZIP file
|
11 years ago |