Live subtitle editing
[lsnes.git] / options.build
blobc43c1d2febfdacf3049d9e2cb43d623301dc7d1e
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.6) for the target system.
27 # CROSS_PREFIX is prepended to this command.
28 CC=g++-4.6
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 # - Empty value disables Lua support.
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 JOYSTICK=DUMMY
98 # Set to non-empty value (e.g. 'yes') to enable use of Secret Rabbit Code (a.k.a. libsamperate).
99 # This is used for high-quality samplerate conversion for dumping.
100 SECRET_RABBIT_CODE=
102 # Core to use.
103 # Currently supported:
104 # - BNSES: BSNES
105 # - GAMBATTE: GAMBATTE
106 CORE_TYPE=BSNES
108 # Bsnes version used.
109 # 087 has different layout from the rest.
110 BSNES_VERSION=085
112 # Set to non-empty value (e.g. 'yes') if bsnes build uses compatiblity core, not accuracy core.
113 BSNES_IS_COMPAT=
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 the linker exports symbols without -rdynamic.
120 # Useful on Mac OS X.
121 NO_RDYNAMIC=
123 # Set to non-empty vlaue (e.g. 'yes') to disable use of DLFCN.
124 NO_DLFCN=
126 # Set to non-empty value (e.g. 'yes') to use boost::filesystem3 instead of boost::filesystem.
127 BOOST_FILESYSTEM3=
129 # Set to non-empty value (e.g. 'yes') to enable commentary track support (requires Opus codec).
130 OPUS_CODEC=