patches/simutrans-01-config.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 2183 ac35694cf811
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name

--- SFEsimutrans-102.0-build/config.default	1970-01-01 01:00:00.000000000 +0100
+++ SFEsimutrans-102.0-build-patch/config.default	2009-08-17 00:28:32.915138293 +0200
@@ -0,0 +1,48 @@
+#
+# to compile:
+# copy this file to config.default and adjust the settings
+#
+
+#BACKEND = allegro
+#BACKEND = gdi
+BACKEND = sdl
+BACKEND = mixer_sdl
+#BACKEND = x11
+
+#COLOUR_DEPTH = 8
+COLOUR_DEPTH = 16
+
+#OSTYPE = beos
+#OSTYPE = cygwin
+#OSTYPE = freebsd
+#OSTYPE = linux
+#OSTYPE = mingw
+#OSTYPE = mac
+OSTYPE = solaris
+
+#DEBUG = 3    # Level 1-3, higher number means more debug-friendly, see Makefile
+OPTIMISE = 1 # Add umpteen optimisation flags
+#PROFILE = 1
+
+# Define these as empty strings, if you don't have allegro/sdl-config
+#ALLEGRO_CONFIG = allegro-config
+#SDL_CONFIG = sdl-config
+
+#VERBOSE = 1
+
+# Do not determine dependencies
+# Header dependencies get NOT tracked this way, so if a header changes you're
+# on your own (i.e. manually run a make clean)
+# Uncomment this if this stage takes exceptionally long, which happens on some
+# broken filesystems
+# NO_DEPS = 1
+
+# Following flags exists
+# DOUBLE_GROUNDS: Enables two height tiles
+# HALF_HEIGHT: Enables half height tiles (8 pixel instead 16)
+# OTTD_LIKE: Enables half height tiles and crossconnected industries; defaul folder pak.ttd/
+# DESTINATION_CITYCARS: Citycars can have a destination (not recommended)
+# USE_C: no assembler for copying
+# BIG_ENDIAN: MUST by set for PPC/Motorola byte order! (old mac, amiga)
+# STEPS16: 16 steps per tile - nicer on pak64
+FLAGS =  -DSTEPS16
--- SFEsimutrans-102.0-build/Makefile	Tue Feb 10 22:21:24 2009
+++ SFEsimutrans-102.0-build-patch/Makefile	Mon Aug 17 00:29:41 2009
@@ -4,7 +4,7 @@
 
 BACKENDS      = allegro gdi sdl mixer_sdl x11
 COLOUR_DEPTHS = 8 16
-OSTYPES       = beos cygwin freebsd linux mingw mac
+OSTYPES       = beos cygwin freebsd linux mingw mac solaris
 
 ifeq ($(findstring $(BACKEND), $(BACKENDS)),)
   $(error Unkown BACKEND "$(BACKEND)", must be one of "$(BACKENDS)")
@@ -42,6 +42,9 @@
   STD_LIBS ?= -lz
 endif
 
+ifeq ($(OSTYPE),solaris)
+  STD_LIBS ?= -lz
+endif
 
 ifeq ($(OSTYPE),cygwin)
   OS_INC   ?= -I/usr/include/mingw