blob: 28fb3cdc0ad267d7f1e6d006bebe6bbaa5eec2b7 [file] [log] [blame]
Nguyen Anh Quynhfc83a432014-02-22 23:26:27 +08001################################################################################
2# Change 'CAPSTONE_DIET = no' to 'CAPSTONE_DIET = yes' to make the library
3# more compact.
4# This setup will remove all the mnemonic & op_str data, thus reduces the binary
5# size by around 200KB.
6# NOTE: we still keep @mnemonic & @op_str fields in cs_insn structure regardless,
7# but they will not be updated (i.e blank) at the output of disassemble APIs.
8CAPSTONE_DIET = no
9
10
11################################################################################
Nguyen Anh Quynh59492c22014-01-05 23:41:31 +080012# Comment out the line below 'USE_SYS_DYN_MEM = yes' if you do not want to use
13# system's malloc()/calloc()/realloc()/free() for internal dynamic memory management.
14# NOTE: in that case, your program must specify your own malloc/calloc/realloc/free
15# functions with cs_option(), using CS_OPT_MEM option type.
16USE_SYS_DYN_MEM = yes
17
Nguyen Anh Quynhfc83a432014-02-22 23:26:27 +080018
19################################################################################
Nguyen Anh Quynh5219f642013-12-22 13:00:48 +080020# Specify which archs you want to compile in
Nguyen Anh Quynhcf4df4b2014-01-13 11:18:45 +080021# DO NOT touch the line below.
Nguyen Anh Quynh5219f642013-12-22 13:00:48 +080022CAPSTONE_ARCHS =
danghvu6f52bf92013-12-19 22:43:01 -060023
Nguyen Anh Quynhcf4df4b2014-01-13 11:18:45 +080024# Comment out the line below if you don't want to support ARM
Nguyen Anh Quynhf954f872013-12-22 18:49:22 +080025CAPSTONE_ARCHS += arm
Nguyen Anh Quynh5219f642013-12-22 13:00:48 +080026
Nguyen Anh Quynhcf4df4b2014-01-13 11:18:45 +080027# Comment out the line below if you don't want to support ARM64
Nguyen Anh Quynhf954f872013-12-22 18:49:22 +080028CAPSTONE_ARCHS += aarch64
Nguyen Anh Quynh5219f642013-12-22 13:00:48 +080029
Nguyen Anh Quynhcf4df4b2014-01-13 11:18:45 +080030# Comment out the line below if you don't want to support Mips
Nguyen Anh Quynhf954f872013-12-22 18:49:22 +080031CAPSTONE_ARCHS += mips
Nguyen Anh Quynh5219f642013-12-22 13:00:48 +080032
Nguyen Anh Quynhcf4df4b2014-01-13 11:18:45 +080033# Comment out the line below if you don't want to support PowerPC
Nguyen Anh Quynh0f9cb0f2013-12-28 14:12:54 +080034CAPSTONE_ARCHS += powerpc
Nguyen Anh Quynhf6060b82014-02-22 04:57:38 +080035
36# Comment out the line below if you don't want to support Intel
37CAPSTONE_ARCHS += x86