summarylogtreecommitdiffstats
path: root/buildconfig.arch
blob: cdbe5c8e6a5e9df7f222620b421f271bcf3f5c06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
# Example Q2PRO build time configuration file. Copy this file to `.config' and
# edit it to suit your needs.
#
# Any variable that is commented out is DISABLED. Setting a variable to some
# non-empty value ENABLES it. It doesn't really matter what value the variable
# is set to, except in cases where the variable is NOT a boolean.
#
# After you change something in `.config', make sure to do a full rebuild by
# typing `make clean; make'.


### Client configuration ###

# Enable PNG textures by linking against libpng.
CONFIG_PNG=y

# Enable JPEG textures by linking against libjpeg.
CONFIG_JPEG=y

# Enable HTTP downloads by linking against libcurl.
CONFIG_HTTP=y

# Enable OpenAL sound engine.
CONFIG_OPENAL=y

# Enable direct sound driver (DirectSound on Windows, OSS on Linux). This
# option has no effect if CONFIG_NO_SOFTWARE_SOUND is set.
CONFIG_DIRECT_SOUND=y

# Enable direct mouse driver (DirectInput on Windows, evdev kernel interface on
# Linux). Note: DirectInput is deprecated on Windows (raw input is preferred).
CONFIG_DIRECT_INPUT=y

# Enable reading input events from LIRC by linking against liblirc_client.
# This option has no effect on Windows.
#CONFIG_LIRC=y

# Enable X11 support in SDL video driver by linking against libX11. Currently,
# this enables GLX_SGI_video_sync extension and allows pasting text into client
# console from the X selection buffer. This option has no effect on Windows.
CONFIG_X11=y

# Build software renderer instead of OpenGL renderer.
#CONFIG_SOFTWARE_RENDERER=y

# Specify default list of fullscreen modes. Note: modes are automatically
# detected on Windows. Default list is only used when autodetection fails.
#CONFIG_DEFAULT_MODELIST=640x480 800x600 1024x768

# Specify default window geometry.
#CONFIG_DEFAULT_GEOMETRY=640x480

# Disable default Quake 2 software sound engine. Only makes sense when
# CONFIG_OPENAL is set.
CONFIG_NO_SOFTWARE_SOUND=y

# Disable automatic discovery of evdev device nodes by not linking
# against libudev. This option has no effect on platforms other than Linux.
# This option has no effect unless CONFIG_DIRECT_INPUT is set.
#CONFIG_NO_UDEV=y

# Disable menu-based user interface. This disables scriptable menus, as well as
# demo and server browsers.
#CONFIG_NO_MENUS=y

# Disable dynamic lighting.
#CONFIG_NO_DYNAMIC_LIGHTS=y

# Disable automatic replies to "!version" chat probes.
#CONFIG_NO_AUTOREPLY=y

# Disable MD3 models.
#CONFIG_NO_MD3=y

# Disable TGA textures.
#CONFIG_NO_TGA=y


### Server configuration ###

# Enable r1ch.net anticheat server interface.
CONFIG_ANTICHEAT_SERVER=y

# Enable local MVD recording and MVD/GTV server functionality. Use this for
# hosting a GTV-capable game server.
CONFIG_MVD_SERVER=y

# Enable MVD/GTV client functionality. Use this for hosting a GTV relay server.
CONFIG_MVD_CLIENT=y


### X86 options ###

# Options below have no effect on architectures other than x86.

# Enable this option on Linux to build a server capable of loading game mods
# built using ancient GCC versions.
CONFIG_X86_GAME_ABI_HACK=y


### Common configuration ###

# Enable this when targeting native Windows.
#CONFIG_WINDOWS=y

# Enable crash dump generation on Windows.
#CONFIG_WINDOWS_CRASH_DUMPS=y

# Allow dedicated server to be run as Windows service.
#CONFIG_WINDOWS_SERVICE=y

# Enable experimental variable server FPS support in server and client.
#CONFIG_VARIABLE_SERVER_FPS=y

# Enable built-in tests. DON'T USE IN RELEASE BUILDS.
#CONFIG_TESTS=y

# Enable debugging and developer code.
#CONFIG_DEBUG=y

# Don't link against zlib. Not recommended for client builds, since lack of
# zlib support breaks compatibility with servers running protocol 35.
#CONFIG_NO_ZLIB=y

# Don't handle ICMP errors on UDP sockets.
#CONFIG_NO_ICMP=y

# Don't print console text on standard output and don't read commands from
# standard input.
#CONFIG_NO_SYSTEM_CONSOLE=y


### Game directories ###

# Name of the game directory used as base game directory. Default value is
# "baseq2". Change this when creating a standalone game using Q2PRO engine.
#CONFIG_GAME_BASE=baseq2

# Name of the game directory used as default game directory. Default value is
# empty. This option sets the default value of "game" console variable. Change
# this for building a version of Q2PRO customized for particular game mod, e.g.
# "action".
#CONFIG_GAME_DEFAULT=


### System paths ###

# By default Q2PRO assumes per-user installation: all game content, configs and
# executable files are kept in the same directory tree. This configuration is
# easy for most users to set up, but not ideal from security standpoint.
#
# Uncomment the options below if you wish to install Q2PRO system-wide,
# separating static, executable and writable content into different trees with
# different permissions.  These options have no effect on Windows.

# Path to the game data tree. This is where all static, non-executable data
# lives (e.g., paks). This option sets the default value of "basedir" console
# variable. Default value of this option is "." (current directory).
CONFIG_PATH_DATA=/usr/share/games/q2pro

# Path to the game libraries tree. This is where executable parts of all game
# mods live (e.g., game$(CPU).so files). This option sets the default value of
# "libdir" console variable. Default value of this option is "." (current
# directory).
CONFIG_PATH_LIB=/usr/share/games/q2pro

# Name of the directory where Q2PRO stores per-user data. Tilde at the
# beginning of the name is automatically expanded to user home directory at run
# time. Users running Q2PRO must have write permissions to this directory.
# This option sets the default value of "homedir" console variable. Default
# value of this option is "" (use basedir as homedir).
CONFIG_PATH_HOME=~/.q2pro


### Options for cross-compiling. ###

# Force cpu type to CPU, instead of autodetecting it.
#CPU=x86

# Force system type to CPU, instead of autodetecting it.
#SYS=Win32

# Force different utility names.
#CC=i686-w64-mingw32-gcc
#WINDRES=i686-w64-mingw32-windres
#STRIP=i686-w64-mingw32-strip
#RM=rm -f
#RMDIR=rm -rf
#MKDIR=mkdir -p

# Specify additional global include and library options.
#INCLUDES=
#LIBS=

# Disable autodetection and force include and library options for various
# libraries.
#CURL_CFLAGS=
#CURL_LIBS=

#PNG_CFLAGS=
#PNG_LIBS=

#JPG_CFLAGS=
#JPG_LIBS=

#ZLIB_CFLAGS=
#ZLIB_LIBS=