Rudimentary library unloading support
[lsnes.git] / options.build
blob1b87cca3b8d3f7f7cb36506aff9f3540444fcfb9
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.1'.
66 # - Default value is 'lua'.
67 LUA=lua
69 # Threading package to use.
70 # Currently supported:
71 # - NATIVE: std::thread
72 # - BOOST: boost_thread
73 THREADS=BOOST
75 # Graphics library to use.
76 # Currently supported:
77 # - SDL: Simple Directmedia Layer.
78 # - WXWIDGETS: wxWidgets
79 GRAPHICS=WXWIDGETS
81 # Sound library to use.
82 # Currently supported:
83 # - DUMMY: No sound.
84 # - SDL: Simple Directmedia Layer (GRAPHICS=SDL only).
85 # - PORTAUDIO: Portaudio.
86 # - LIBAO: Libao.
87 SOUND=PORTAUDIO
89 # Joystick library to use.
90 # Currently supported:
91 # - DUMMY: No joystick.
92 # - EVDEV: EVDEV (Linux only)
93 # - WIN32MM: Windows Multimedia (Win32 only).
94 # - SDL: Simple Directmedia Layer (GRAPHICS=SDL only).
95 # - WXWIDGETS: wxWidgets (GRAPHICS=WXWIDGETS only)
96 # - MACOSX: Mac OS X (Mac OS X only).
97 JOYSTICK=DUMMY
99 # Set to non-empty value (e.g. 'yes') to enable use of Secret Rabbit Code (a.k.a. libsamperate).
100 # This is used for high-quality samplerate conversion for dumping.
101 SECRET_RABBIT_CODE=
103 # Set to non-empty value (e.g. 'yes') to build the gambatte core.
104 BUILD_GAMBATTE=
106 # Set to non-empty value (e.g. 'yes') to build the bsnes core.
107 BUILD_BSNES=yes
109 # Set to non-empty value (e.g. 'yes') if bsnes build uses compatiblity core, not accuracy core.
110 BSNES_IS_COMPAT=
112 # Set to non-empty value (e.g. 'yes') if boost libraries need the '-mt' prefix.
113 # Useful on Win32 and Mac OS X.
114 BOOST_NEEDS_MT=
116 # Set to non-empty value (e.g. 'yes') if host boost libraries need the '-mt' prefix.
117 # Useful when building on Mac OS X.
118 HOST_BOOST_NEEDS_MT=
120 # Set to non-empty value (e.g. 'yes') if the linker exports symbols without -rdynamic.
121 # Useful on Mac OS X.
122 NO_RDYNAMIC=
124 # Set to non-empty vlaue (e.g. 'yes') to disable use of DLFCN.
125 NO_DLFCN=
127 # Set to non-empty value (e.g. 'yes') to use boost::filesystem3 instead of boost::filesystem.
128 BOOST_FILESYSTEM3=
130 # Set to non-empty value (e.g. 'yes') to enable commentary track support (requires Opus codec).
131 OPUS_CODEC=
133 # Set to non-empty value (e.g. 'yes') to use Opus codec surround encoding support.
134 OPUS_CODEC_SUPPORTS_SURROUND=
136 # Set to non-empty value (e.g. 'yes') to use libgcrypt for SHA-256 instead of builtin routines.
137 USE_LIBGCRYPT=yes
139 # Postfix for boost for host builds.
140 HOST_BOOST_POSTFIX=
142 # Set to non-empty value (e.g. 'yes') to support LZMA/XZ compression via liblzma (the XZ version).
143 USE_LIBLZMA=
145 # Set to non-empty value (e.g. 'yes') if iconv(3) needs libiconv.
146 NEED_LIBICONV=
148 # The target architecture
149 # I386 - I386/AMD64
150 # Leave empty for generic/autodetect.
151 ARCHITECTURE=