lsnes rr2-β23
[lsnes.git] / options.build
blobab6d89d67ab4aa1d0b1f49b1a5fd6e0e3dc3e6f5
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 # - MACOSX: Mac OS X (Mac OS X only).
100 JOYSTICK=DUMMY
102 # Set to non-empty value (e.g. 'yes') to enable use of Secret Rabbit Code (a.k.a. libsamperate).
103 # This is used for high-quality samplerate conversion for dumping.
104 SECRET_RABBIT_CODE=
106 # Set to non-empty value (e.g. 'yes') to build the gambatte core.
107 BUILD_GAMBATTE=
109 # Set to non-empty value (e.g. 'yes') to build the bsnes core.
110 BUILD_BSNES=yes
112 # Set to non-empty value (e.g. 'yes') if bsnes build uses compatiblity core, not accuracy core.
113 BSNES_IS_COMPAT=yes
115 # Set to non-empty value (e.g. 'yes') if boost libraries need the '-mt' prefix.
116 # Useful on Win32 and Mac OS X.
117 BOOST_NEEDS_MT=
119 # Set to non-empty value (e.g. 'yes') if host boost libraries need the '-mt' prefix.
120 # Useful when building on Mac OS X.
121 HOST_BOOST_NEEDS_MT=
123 # Set to non-empty value (e.g. 'yes') if the linker exports symbols without -rdynamic.
124 # Useful on Mac OS X.
125 NO_RDYNAMIC=
127 # Set to non-empty vlaue (e.g. 'yes') to disable use of DLFCN.
128 NO_DLFCN=
130 # Set to non-empty value (e.g. 'yes') to use boost::filesystem3 instead of boost::filesystem.
131 BOOST_FILESYSTEM3=
133 # Set to non-empty value (e.g. 'yes') to enable commentary track support (requires Opus codec).
134 OPUS_CODEC=
136 # Set to non-empty value (e.g. 'yes') to use Opus codec surround encoding support.
137 OPUS_CODEC_SUPPORTS_SURROUND=
139 # Set to non-empty value (e.g. 'yes') to use libgcrypt for SHA-256 instead of builtin routines.
140 USE_LIBGCRYPT=yes
142 # Postfix for boost for host builds.
143 HOST_BOOST_POSTFIX=
145 # Set to non-empty value (e.g. 'yes') to support LZMA/XZ compression via liblzma (the XZ version).
146 USE_LIBLZMA=
148 # Set to non-empty value (e.g. 'yes') if iconv(3) needs libiconv.
149 NEED_LIBICONV=
151 # The target architecture
152 # I386 - I386/AMD64
153 # Leave empty for generic/autodetect.
154 ARCHITECTURE=