| 1 | # Platforms configuration file for Platform Configurator. |
| 2 | # |
| 3 | # See FORMAT for specifications about this file. |
| 4 | # |
| 5 | |
| 6 | MakefileOutput = sar/Makefile |
| 7 | MakefileInputPrepend = sar/makefile_prepend.ini |
| 8 | MakefileInputAppend = sar/makefile_append.ini |
| 9 | ThisPlatformInfo = sar/this_platform.ini |
| 10 | |
| 11 | MessageConfigStartup = Checking this platform... |
| 12 | MessagePlatformUnsupported = Sorry, that platform is not supported, \ |
| 13 | please try a different or generic platform if available. Use --listall \ |
| 14 | to obtain a complete list of platforms. |
| 15 | MessageDependFailed = One or more compoents are not available on your \ |
| 16 | system, please install them first and then resume this configuration. |
| 17 | MessageSuccess = Type 'make all' to begin compiling this program. |
| 18 | |
| 19 | # |
| 20 | # Platforms section: |
| 21 | # |
| 22 | |
| 23 | Platform = UNIX |
| 24 | Description = For most any UNIX system |
| 25 | PREFIX = /usr/ |
| 26 | CFLAGS = -Wall -O2 -funroll-loops -fomit-frame-pointer \ |
| 27 | -ffast-math -D__USE_BSD -DHAVE_SDL_MIXER -Wno-write-strings |
| 28 | LIBS = -lm -lSDL -lSDL_mixer |
| 29 | LIB_DIR = |
| 30 | CC = cc |
| 31 | CPP = c++ |
| 32 | PlatformSearchPathInclude = /usr/include/ |
| 33 | PlatformSearchPathInclude = /usr/X11R6/include/ |
| 34 | PlatformSearchPathLib = /lib/ |
| 35 | PlatformSearchPathLib = /usr/lib/ |
| 36 | PlatformSearchPathLib = /usr/X11R6/lib/ |
| 37 | PlatformSearchPathEtc = /etc/ |
| 38 | PlatformSearchPathEtc = /usr/etc/ |
| 39 | PlatformSearchPathBin = /bin/ |
| 40 | PlatformSearchPathBin = /usr/bin/ |
| 41 | PlatformSearchPathBin = /usr/X11R6/bin/ |
| 42 | PlatformSearchPathBin = /usr/games/ |
| 43 | PlatformSearchPathData = /usr/share/icons/ |
| 44 | PlatformSearchPathData = /usr/share/games/ |
| 45 | PlatformFeature = debug |
| 46 | Description = Just adds -g to the CFLAGS for debugging |
| 47 | MustExist = No |
| 48 | FeatureCFLAGS = -g |
| 49 | # PlatformFeature = libjsw |
| 50 | # Description = For joystick support |
| 51 | # MustExist = Preferred |
| 52 | # FeatureCFLAGS = -DJS_SUPPORT |
| 53 | # FeatureLIBS = -ljsw |
| 54 | # FeatureDepend = jsw-lib |
| 55 | # DependType = Library |
| 56 | # MustExist = Yes |
| 57 | # DependPath = libjsw.so |
| 58 | # DependGrepString = JSInit |
| 59 | # FeatureDepend = jsw-devel |
| 60 | # DependType = Header |
| 61 | # MustExist = Yes |
| 62 | # DependPath = jsw.h |
| 63 | # DependGrepString = JSInit |
| 64 | PlatformFeature = X11 |
| 65 | Description = X Window Systems |
| 66 | MustExist = Yes |
| 67 | FeatureCFLAGS = -DUSE_XSHM -DHAVE_MWMUTIL_H |
| 68 | FeatureLIBS = -lSM -lICE -lX11 -lXext -lXmu |
| 69 | FeatureLIB_DIR = -L/usr/X11R6/lib/ |
| 70 | FeatureDepend = X11-lib |
| 71 | DependType = Library |
| 72 | MustExist = Yes |
| 73 | DependPath = libX11.so |
| 74 | DependGrepString = XOpenDisplay |
| 75 | FeatureDepend = X11-devel |
| 76 | DependType = Header |
| 77 | MustExist = Yes |
| 78 | DependPath = X11/Xlib.h |
| 79 | DependGrepString = XOpenDisplay |
| 80 | PlatformFeature = libXpm |
| 81 | Description = XPM image IO library |
| 82 | MustExist = Yes |
| 83 | FeatureCFLAGS = -DHAVE_LIBXPM |
| 84 | FeatureLIBS = -lXpm |
| 85 | FeatureLIB_DIR = -L/usr/X11R6/lib/ |
| 86 | FeatureDepend = xpm-lib |
| 87 | DependType = Library |
| 88 | MustExist = Yes |
| 89 | DependPath = libXpm.so |
| 90 | DependGrepString = XpmCreatePixmapFromData |
| 91 | FeatureDepend = xpm-devel |
| 92 | DependType = Header |
| 93 | MustExist = Yes |
| 94 | DependPath = X11/xpm.h |
| 95 | DependGrepString = XpmCreatePixmapFromData |
| 96 | PlatformFeature = XF86VidMode |
| 97 | Description = XF86 Video Mode extension |
| 98 | MustExist = Preferred |
| 99 | FeatureCFLAGS = -DHAVE_XF86_VIDMODE |
| 100 | FeatureLIBS = -lXxf86vm |
| 101 | FeatureLIB_DIR = -L/usr/X11R6/lib/ |
| 102 | FeatureDepend = xf86vidmode-lib |
| 103 | DependType = Library |
| 104 | MustExist = Yes |
| 105 | DependPath = libXxf86vm.a |
| 106 | DependGrepString = XF86VidModeQueryExtension |
| 107 | FeatureDepend = xf86vidmode-devel |
| 108 | DependType = Header |
| 109 | MustExist = Yes |
| 110 | DependPath = X11/extensions/xf86vmode.h |
| 111 | DependGrepString = XF86VidModeQueryExtension |
| 112 | PlatformFeature = opengl |
| 113 | Description = An implementation of OpenGL (ie Mesa3D) |
| 114 | MustExist = Yes |
| 115 | FeatureLIBS = -lGL -lGLU |
| 116 | FeatureDepend = gl-lib |
| 117 | DependType = Library |
| 118 | MustExist = Yes |
| 119 | DependPath = libGL.so |
| 120 | DependGrepString = glEnable |
| 121 | DependPath = libGLU.so |
| 122 | DependGrepString = gluPerspective |
| 123 | FeatureDepend = gl-devel |
| 124 | DependType = Header |
| 125 | MustExist = Yes |
| 126 | DependPath = GL/gl.h |
| 127 | DependGrepString = glEnable |
| 128 | # We no longer need Y2, it has been replaced with SDL. |
| 129 | # PlatformFeature = Y2 |
| 130 | # Description = For multi-client sound support |
| 131 | # MustExist = Preferred |
| 132 | # FeatureCFLAGS = -DHAVE_Y2 |
| 133 | # FeatureLIBS = -lY2 |
| 134 | # FeatureDepend = Y2-lib |
| 135 | # DependType = Library |
| 136 | # MustExist = Yes |
| 137 | # DependPath = libY2.so |
| 138 | # DependGrepString = YOpenConnection |
| 139 | # FeatureDepend = Y2-devel |
| 140 | # DependType = Header |
| 141 | # MustExist = Yes |
| 142 | # DependPath = Y2/Ylib.h |
| 143 | # DependGrepString = YOpenConnection |
| 144 | |
| 145 | Platform = Linux |
| 146 | Description = For most any Linux system |
| 147 | PREFIX = $(DESTDIR)/usr/ |
| 148 | CFLAGS = -Wall -O2 -funroll-loops -fomit-frame-pointer \ |
| 149 | -ffast-math -finline-functions -D__USE_BSD -DHAVE_SDL_MIXER -Wno-write-strings |
| 150 | LIBS = -lm -lSDL -lSDL_mixer |
| 151 | LIB_DIR = |
| 152 | CC = gcc |
| 153 | CPP = g++ |
| 154 | PlatformSearchPathInclude = /usr/include/ |
| 155 | PlatformSearchPathInclude = /usr/X11R6/include/ |
| 156 | PlatformSearchPathLib = /lib/ |
| 157 | PlatformSearchPathLib = /usr/lib/ |
| 158 | PlatformSearchPathLib = /usr/lib/alpha-linux-gnu/ |
| 159 | PlatformSearchPathLib = /usr/lib/arm-linux-gnueabi/ |
| 160 | PlatformSearchPathLib = /usr/lib/arm-linux-gnueabihf/ |
| 161 | PlatformSearchPathLib = /usr/lib/avr32-linux-gnu/ |
| 162 | PlatformSearchPathLib = /usr/lib/hppa-linux-gnu/ |
| 163 | PlatformSearchPathLib = /usr/lib/i386-gnu/ |
| 164 | PlatformSearchPathLib = /usr/lib/i386-kfreebsd-gnu/ |
| 165 | PlatformSearchPathLib = /usr/lib/i386-linux-gnu/ |
| 166 | PlatformSearchPathLib = /usr/lib/ia64-linux-gnu/ |
| 167 | PlatformSearchPathLib = /usr/lib/lsb3/ |
| 168 | PlatformSearchPathLib = /usr/lib/m68k-linux-gnu/ |
| 169 | PlatformSearchPathLib = /usr/lib/mips-linux-gnu/ |
| 170 | PlatformSearchPathLib = /usr/lib/mipsel-linux-gnu/ |
| 171 | PlatformSearchPathLib = /usr/lib/powerpc-linux-gnu/ |
| 172 | PlatformSearchPathLib = /usr/lib/powerpc-linux-gnuspe/ |
| 173 | PlatformSearchPathLib = /usr/lib/s390-linux-gnu/ |
| 174 | PlatformSearchPathLib = /usr/lib/s390x-linux-gnu/ |
| 175 | PlatformSearchPathLib = /usr/lib/sh4-linux-gnu/ |
| 176 | PlatformSearchPathLib = /usr/lib/sparc-linux-gnu/ |
| 177 | PlatformSearchPathLib = /usr/lib/sparc64-linux-gnu/ |
| 178 | PlatformSearchPathLib = /usr/lib/x86_64-kfreebsd-gnu/ |
| 179 | PlatformSearchPathLib = /usr/lib/x86_64-linux-gnu/ |
| 180 | PlatformSearchPathLib = /usr/lib32/ |
| 181 | PlatformSearchPathLib = /usr/X11R6/lib/ |
| 182 | PlatformSearchPathEtc = /etc/ |
| 183 | PlatformSearchPathEtc = /usr/etc/ |
| 184 | PlatformSearchPathBin = /bin/ |
| 185 | PlatformSearchPathBin = /usr/bin/ |
| 186 | PlatformSearchPathBin = /usr/X11R6/bin/ |
| 187 | PlatformSearchPathBin = /usr/games/ |
| 188 | PlatformSearchPathData = /usr/share/icons/ |
| 189 | PlatformSearchPathData = /usr/share/games/ |
| 190 | PlatformFeature = debug |
| 191 | Description = Just adds -g to the CFLAGS for debugging |
| 192 | MustExist = No |
| 193 | FeatureCFLAGS = -g |
| 194 | # PlatformFeature = libjsw |
| 195 | # Description = For joystick support |
| 196 | # MustExist = Preferred |
| 197 | # FeatureCFLAGS = -DJS_SUPPORT |
| 198 | # FeatureLIBS = -ljsw |
| 199 | # FeatureDepend = jsw-lib |
| 200 | # DependType = Library |
| 201 | # MustExist = Yes |
| 202 | # DependPath = libjsw.so |
| 203 | # DependGrepString = JSInit |
| 204 | # FeatureDepend = jsw-devel |
| 205 | # DependType = Header |
| 206 | # MustExist = Yes |
| 207 | # DependPath = jsw.h |
| 208 | # DependGrepString = JSInit |
| 209 | PlatformFeature = X11 |
| 210 | Description = X Window Systems |
| 211 | MustExist = Yes |
| 212 | FeatureCFLAGS = -DUSE_XSHM -DHAVE_MWMUTIL_H |
| 213 | FeatureLIBS = -lSM -lICE -lX11 -lXext -lXmu |
| 214 | FeatureLIB_DIR = -L/usr/X11R6/lib/ |
| 215 | FeatureDepend = X11-lib |
| 216 | DependType = Library |
| 217 | MustExist = Yes |
| 218 | DependPath = libX11.so |
| 219 | DependGrepString = XOpenDisplay |
| 220 | FeatureDepend = X11-devel |
| 221 | DependType = Header |
| 222 | MustExist = Yes |
| 223 | DependPath = X11/Xlib.h |
| 224 | DependGrepString = XOpenDisplay |
| 225 | PlatformFeature = libXpm |
| 226 | Description = XPM image IO library |
| 227 | MustExist = Yes |
| 228 | FeatureCFLAGS = -DHAVE_LIBXPM |
| 229 | FeatureLIBS = -lXpm |
| 230 | FeatureLIB_DIR = -L/usr/X11R6/lib/ |
| 231 | FeatureDepend = xpm-lib |
| 232 | DependType = Library |
| 233 | MustExist = Yes |
| 234 | DependPath = libXpm.so |
| 235 | DependGrepString = XpmCreatePixmapFromData |
| 236 | FeatureDepend = xpm-devel |
| 237 | DependType = Header |
| 238 | MustExist = Yes |
| 239 | DependPath = X11/xpm.h |
| 240 | DependGrepString = XpmCreatePixmapFromData |
| 241 | PlatformFeature = XF86VidMode |
| 242 | Description = XF86 Video Mode extension |
| 243 | MustExist = Preferred |
| 244 | FeatureCFLAGS = -DHAVE_XF86_VIDMODE |
| 245 | FeatureLIBS = -lXxf86vm |
| 246 | FeatureLIB_DIR = -L/usr/X11R6/lib/ |
| 247 | FeatureDepend = xf86vidmode-lib |
| 248 | DependType = Library |
| 249 | MustExist = Yes |
| 250 | DependPath = libXxf86vm.a |
| 251 | DependGrepString = XF86VidModeQueryExtension |
| 252 | FeatureDepend = xf86vidmode-devel |
| 253 | DependType = Header |
| 254 | MustExist = Yes |
| 255 | DependPath = X11/extensions/xf86vmode.h |
| 256 | DependGrepString = XF86VidModeQueryExtension |
| 257 | PlatformFeature = opengl |
| 258 | Description = An implementation of OpenGL (ie Mesa3D) |
| 259 | MustExist = Yes |
| 260 | # On Linux there is a ld.so bug where not linking to pthread for OpenGL |
| 261 | # causes some problems. So if we want OpenGL we need to also link to |
| 262 | # libpthread. |
| 263 | FeatureLIBS = -lGL -lGLU -lpthread |
| 264 | FeatureDepend = gl-lib |
| 265 | DependType = Library |
| 266 | MustExist = Yes |
| 267 | DependPath = libGL.so |
| 268 | DependGrepString = glEnable |
| 269 | DependPath = libGLU.so |
| 270 | DependGrepString = gluPerspective |
| 271 | FeatureDepend = gl-devel |
| 272 | DependType = Header |
| 273 | MustExist = Yes |
| 274 | DependPath = GL/gl.h |
| 275 | DependGrepString = glEnable |
| 276 | # Y2 has been replaced with SDL. |
| 277 | # PlatformFeature = Y2 |
| 278 | # Description = For multi-client sound support |
| 279 | # MustExist = Preferred |
| 280 | # FeatureCFLAGS = -DHAVE_Y2 |
| 281 | # FeatureLIBS = -lY2 |
| 282 | # FeatureDepend = Y2-lib |
| 283 | # DependType = Library |
| 284 | # MustExist = Yes |
| 285 | # DependPath = libY2.so |
| 286 | # DependGrepString = YOpenConnection |
| 287 | # FeatureDepend = Y2-devel |
| 288 | # DependType = Header |
| 289 | # MustExist = Yes |
| 290 | # DependPath = Y2/Ylib.h |
| 291 | # DependGrepString = YOpenConnection |
| 292 | |
| 293 | Platform = BSD |
| 294 | Description = For most any BSD system |
| 295 | PREFIX = $(DESTDIR)/usr/ |
| 296 | CFLAGS = -Wall -O2 -funroll-loops -fomit-frame-pointer \ |
| 297 | -ffast-math -finline-functions -D__USE_BSD -DHAVE_SDL_MIXER -Wno-write-strings |
| 298 | LIBS = -lm -lSDL -lSDL_mixer |
| 299 | LIB_DIR = |
| 300 | CC = clang |
| 301 | CPP = clang++ |
| 302 | PlatformSearchPathInclude = /usr/include/ |
| 303 | PlatformSearchPathInclude = /usr/X11R6/include/ |
| 304 | PlatformSearchPathLib = /lib/ |
| 305 | PlatformSearchPathLib = /usr/lib/ |
| 306 | PlatformSearchPathLib = /usr/lib/alpha-linux-gnu/ |
| 307 | PlatformSearchPathLib = /usr/lib/arm-linux-gnueabi/ |
| 308 | PlatformSearchPathLib = /usr/lib/arm-linux-gnueabihf/ |
| 309 | PlatformSearchPathLib = /usr/lib/avr32-linux-gnu/ |
| 310 | PlatformSearchPathLib = /usr/lib/hppa-linux-gnu/ |
| 311 | PlatformSearchPathLib = /usr/lib/i386-gnu/ |
| 312 | PlatformSearchPathLib = /usr/lib/i386-kfreebsd-gnu/ |
| 313 | PlatformSearchPathLib = /usr/lib/i386-linux-gnu/ |
| 314 | PlatformSearchPathLib = /usr/lib/ia64-linux-gnu/ |
| 315 | PlatformSearchPathLib = /usr/lib/lsb3/ |
| 316 | PlatformSearchPathLib = /usr/lib/m68k-linux-gnu/ |
| 317 | PlatformSearchPathLib = /usr/lib/mips-linux-gnu/ |
| 318 | PlatformSearchPathLib = /usr/lib/mipsel-linux-gnu/ |
| 319 | PlatformSearchPathLib = /usr/lib/powerpc-linux-gnu/ |
| 320 | PlatformSearchPathLib = /usr/lib/powerpc-linux-gnuspe/ |
| 321 | PlatformSearchPathLib = /usr/lib/s390-linux-gnu/ |
| 322 | PlatformSearchPathLib = /usr/lib/s390x-linux-gnu/ |
| 323 | PlatformSearchPathLib = /usr/lib/sh4-linux-gnu/ |
| 324 | PlatformSearchPathLib = /usr/lib/sparc-linux-gnu/ |
| 325 | PlatformSearchPathLib = /usr/lib/sparc64-linux-gnu/ |
| 326 | PlatformSearchPathLib = /usr/lib/x86_64-kfreebsd-gnu/ |
| 327 | PlatformSearchPathLib = /usr/lib/x86_64-linux-gnu/ |
| 328 | PlatformSearchPathLib = /usr/lib32/ |
| 329 | PlatformSearchPathLib = /usr/X11R6/lib/ |
| 330 | PlatformSearchPathEtc = /etc/ |
| 331 | PlatformSearchPathEtc = /usr/etc/ |
| 332 | PlatformSearchPathBin = /bin/ |
| 333 | PlatformSearchPathBin = /usr/bin/ |
| 334 | PlatformSearchPathBin = /usr/X11R6/bin/ |
| 335 | PlatformSearchPathBin = /usr/games/ |
| 336 | PlatformSearchPathData = /usr/share/icons/ |
| 337 | PlatformSearchPathData = /usr/share/games/ |
| 338 | PlatformFeature = debug |
| 339 | Description = Just adds -g to the CFLAGS for debugging |
| 340 | MustExist = No |
| 341 | FeatureCFLAGS = -g |
| 342 | # PlatformFeature = libjsw |
| 343 | # Description = For joystick support |
| 344 | # MustExist = Preferred |
| 345 | # FeatureCFLAGS = -DJS_SUPPORT |
| 346 | # FeatureLIBS = -ljsw |
| 347 | # FeatureDepend = jsw-lib |
| 348 | # DependType = Library |
| 349 | # MustExist = Yes |
| 350 | # DependPath = libjsw.so |
| 351 | # DependGrepString = JSInit |
| 352 | # FeatureDepend = jsw-devel |
| 353 | # DependType = Header |
| 354 | # MustExist = Yes |
| 355 | # DependPath = jsw.h |
| 356 | # DependGrepString = JSInit |
| 357 | PlatformFeature = X11 |
| 358 | Description = X Window Systems |
| 359 | MustExist = Yes |
| 360 | FeatureCFLAGS = -DUSE_XSHM -DHAVE_MWMUTIL_H |
| 361 | FeatureLIBS = -lSM -lICE -lX11 -lXext -lXmu |
| 362 | FeatureLIB_DIR = -L/usr/X11R6/lib/ |
| 363 | FeatureDepend = X11-lib |
| 364 | DependType = Library |
| 365 | MustExist = Yes |
| 366 | DependPath = libX11.so |
| 367 | DependGrepString = XOpenDisplay |
| 368 | FeatureDepend = X11-devel |
| 369 | DependType = Header |
| 370 | MustExist = Yes |
| 371 | DependPath = X11/Xlib.h |
| 372 | DependGrepString = XOpenDisplay |
| 373 | PlatformFeature = libXpm |
| 374 | Description = XPM image IO library |
| 375 | MustExist = Yes |
| 376 | FeatureCFLAGS = -DHAVE_LIBXPM |
| 377 | FeatureLIBS = -lXpm |
| 378 | FeatureLIB_DIR = -L/usr/X11R6/lib/ |
| 379 | FeatureDepend = xpm-lib |
| 380 | DependType = Library |
| 381 | MustExist = Yes |
| 382 | DependPath = libXpm.so |
| 383 | DependGrepString = XpmCreatePixmapFromData |
| 384 | FeatureDepend = xpm-devel |
| 385 | DependType = Header |
| 386 | MustExist = Yes |
| 387 | DependPath = X11/xpm.h |
| 388 | DependGrepString = XpmCreatePixmapFromData |
| 389 | PlatformFeature = XF86VidMode |
| 390 | Description = XF86 Video Mode extension |
| 391 | MustExist = Preferred |
| 392 | FeatureCFLAGS = -DHAVE_XF86_VIDMODE |
| 393 | FeatureLIBS = -lXxf86vm |
| 394 | FeatureLIB_DIR = -L/usr/X11R6/lib/ |
| 395 | FeatureDepend = xf86vidmode-lib |
| 396 | DependType = Library |
| 397 | MustExist = Yes |
| 398 | DependPath = libXxf86vm.a |
| 399 | DependGrepString = XF86VidModeQueryExtension |
| 400 | FeatureDepend = xf86vidmode-devel |
| 401 | DependType = Header |
| 402 | MustExist = Yes |
| 403 | DependPath = X11/extensions/xf86vmode.h |
| 404 | DependGrepString = XF86VidModeQueryExtension |
| 405 | PlatformFeature = opengl |
| 406 | Description = An implementation of OpenGL (ie Mesa3D) |
| 407 | MustExist = Yes |
| 408 | # On Linux there is a ld.so bug where not linking to pthread for OpenGL |
| 409 | # causes some problems. So if we want OpenGL we need to also link to |
| 410 | # libpthread. |
| 411 | FeatureLIBS = -lGL -lGLU -lpthread |
| 412 | FeatureDepend = gl-lib |
| 413 | DependType = Library |
| 414 | MustExist = Yes |
| 415 | DependPath = libGL.so |
| 416 | DependGrepString = glEnable |
| 417 | DependPath = libGLU.so |
| 418 | DependGrepString = gluPerspective |
| 419 | FeatureDepend = gl-devel |
| 420 | DependType = Header |
| 421 | MustExist = Yes |
| 422 | DependPath = GL/gl.h |
| 423 | DependGrepString = glEnable |
| 424 | # Y2 has been replaced with SDL. |
| 425 | # PlatformFeature = Y2 |
| 426 | # Description = For multi-client sound support |
| 427 | # MustExist = Preferred |
| 428 | # FeatureCFLAGS = -DHAVE_Y2 |
| 429 | # FeatureLIBS = -lY2 |
| 430 | # FeatureDepend = Y2-lib |
| 431 | # DependType = Library |
| 432 | # MustExist = Yes |
| 433 | # DependPath = libY2.so |
| 434 | # DependGrepString = YOpenConnection |
| 435 | # FeatureDepend = Y2-devel |
| 436 | # DependType = Header |
| 437 | # MustExist = Yes |
| 438 | # DependPath = Y2/Ylib.h |
| 439 | # DependGrepString = YOpenConnection |
| 440 |