config.mk revision fc83a439e5e74ecdea4f948c46064c25ce361ebe
1################################################################################
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################################################################################
12# 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
18
19################################################################################
20# Specify which archs you want to compile in
21# DO NOT touch the line below.
22CAPSTONE_ARCHS =
23
24# Comment out the line below if you don't want to support ARM
25CAPSTONE_ARCHS += arm
26
27# Comment out the line below if you don't want to support ARM64
28CAPSTONE_ARCHS += aarch64
29
30# Comment out the line below if you don't want to support Mips
31CAPSTONE_ARCHS += mips
32
33# Comment out the line below if you don't want to support PowerPC
34CAPSTONE_ARCHS += powerpc
35
36# Comment out the line below if you don't want to support Intel
37CAPSTONE_ARCHS += x86
38