Actually call on_reset callback
[lsnes.git] / options.build
blobd5d5c1199d21f61c0d1c7849c22f3d7709a9949e
2 # Host system:
3 #       - The system lsnes is being built on.
4 # Target system:
5 #       - The system the built lsnes will run on.
6 #       - If not crosscompiling, this is the same as host system.
10 # Apply the following prefix for commands when building things that target the target system.
11 # If not crosscompiling, leave blank.
12 CROSS_PREFIX=
14 # Postfix (without the leading dot) for object files.
15 # Usually 'o'.
16 OBJECT_SUFFIX=o
18 # Postfix (without the leading dot) for archive files.
19 # Usually 'a'.
20 ARCHIVE_SUFFIX=a
22 # Postfix (including possible '.') for executable files.
23 # Usually blank for unix-type systems (including Linux and Mac OS X), '.exe' for Windows.
24 DOT_EXECUTABLE_SUFFIX=
26 # C++ compiler (GCC 4.7 or newer) for the target system.
27 # CROSS_PREFIX is prepended to this command.
28 CC=g++
30 # Linker for the target system.
31 # CROSS_PREFIX is prepended to this command.
32 LD=ld
34 # Ranlib for target system.
35 # CROSS_PREFIX is prepended to this command.
36 RANLIB=ranlib
38 # Host system C++ compiler.
39 # If not crosscompiling, build host system and target system are one and the same.
40 # $(CC) means the same compiler as main C++ compiler to use (but without prefix). Otherwise, set to host C++ compiler.
41 HOSTCC=$(CC)
43 # Host C++ compiler/linker flags.
44 USER_HOSTCCFLAGS=
46 # C++ complier extra flags.
47 USER_CFLAGS=-g
49 # Linker extra flags.
50 USER_LDFLAGS=
52 # C++ compiler extra flags for platform code.
53 USER_PLATFORM_CFLAGS=
55 # Linker extra flags for platform code.
56 USER_PLATFORM_LDFLAGS=
58 # The name of font file to use.
59 # Currently supported:
60 # - cp437.hex: Standard VGA font (256 characters).
61 # - unifontfull-5.1.20080820.hex: GNU unifont (covers most of Unicode BMP)
62 FONT_SRC=unifontfull-5.1.20080820.hex
64 # Lua package to use.
65 # - Usually either 'lua' or 'lua5.2'.
66 # - Default value is 'lua'.
67 LUA=lua
69 # Regex package to use.
70 # Currently supported:
71 # - NATIVE: std::thread
72 # - BOOST: boost_thread
73 REGEX=NATIVE
75 # Threading package to use.
76 # Currently supported:
77 # - NATIVE: std::thread
78 # - BOOST: boost_thread
79 THREADS=NATIVE
81 # Graphics library to use.
82 # Currently supported:
83 # - WXWIDGETS: wxWidgets
84 GRAPHICS=WXWIDGETS
86 # Sound library to use.
87 # Currently supported:
88 # - DUMMY: No sound.
89 # - PORTAUDIO: Portaudio.
90 # - LIBAO: Libao.
91 SOUND=PORTAUDIO
93 # Joystick library to use.
94 # Currently supported:
95 # - DUMMY: No joystick.
96 # - EVDEV: EVDEV (Linux only)
97 # - WIN32MM: Windows Multimedia (Win32 only).
98 # - WXWIDGETS: wxWidgets (GRAPHICS=WXWIDGETS only)
99 JOYSTICK=DUMMY
101 # Set to non-empty value (e.g. 'yes') to enable use of Secret Rabbit Code (a.k.a. libsamperate).
102 # This is used for high-quality samplerate conversion for dumping.
103 SECRET_RABBIT_CODE=
105 # Set to non-empty value (e.g. 'yes') to build the gambatte core.
106 BUILD_GAMBATTE=
108 # Set to non-empty value (e.g. 'yes') to build the bsnes core.
109 BUILD_BSNES=yes
111 # Set to non-empty value (e.g. 'yes') if bsnes build uses compatiblity core, not accuracy core.
112 BSNES_IS_COMPAT=yes
114 # Set to non-empty value (e.g. 'yes') if boost libraries need the '-mt' prefix.
115 # Useful on Win32 and Mac OS X.
116 BOOST_NEEDS_MT=
118 # Set to non-empty value (e.g. 'yes') if host boost libraries need the '-mt' prefix.
119 # Useful when building on Mac OS X.
120 HOST_BOOST_NEEDS_MT=
122 # Set to non-empty value (e.g. 'yes') if the linker exports symbols without -rdynamic.
123 # Useful on Mac OS X.
124 NO_RDYNAMIC=
126 # Set to non-empty vlaue (e.g. 'yes') to disable use of DLFCN.
127 NO_DLFCN=
129 # Set to non-empty value (e.g. 'yes') to use boost::filesystem3 instead of boost::filesystem.
130 BOOST_FILESYSTEM3=
132 # Set to non-empty value (e.g. 'yes') to enable commentary track support (requires Opus codec).
133 OPUS_CODEC=
135 # Set to non-empty value (e.g. 'yes') to use Opus codec surround encoding support.
136 OPUS_CODEC_SUPPORTS_SURROUND=
138 # Set to non-empty value (e.g. 'yes') to use libgcrypt for SHA-256 instead of builtin routines.
139 USE_LIBGCRYPT=yes
141 # Postfix for boost for host builds.
142 HOST_BOOST_POSTFIX=
144 # Set to non-empty value (e.g. 'yes') to support LZMA/XZ compression via liblzma (the XZ version).
145 USE_LIBLZMA=
147 # Set to non-empty value (e.g. 'yes') if iconv(3) needs libiconv.
148 NEED_LIBICONV=
150 # The target architecture
151 # I386 - I386/AMD64
152 # Leave empty for generic/autodetect.
153 ARCHITECTURE=