author | bjarni |
Wed, 08 Sep 2004 09:07:18 +0000 | |
changeset 180 | 47ee14fe2b35 |
parent 0 | 29654efe3188 |
child 285 | cf5213c8a919 |
permissions | -rw-r--r-- |
0 | 1 |
# This file generates Makefile.config |
2 |
# Create default config from autodetected values |
|
3 |
# Magic at work, note that you can't use commas in arguments for this |
|
4 |
CONFIG_LINE=@$(SHELL) -c 'echo $(1)' >> $(MAKE_CONFIG) 2> /dev/null |
|
5 |
||
6 |
$(MAKE_CONFIG): |
|
7 |
||
8 |
touch $(MAKE_CONFIG) |
|
9 |
||
10 |
$(call CONFIG_LINE,\# OpenTTD config file for makefile) |
|
11 |
$(call CONFIG_LINE,\# Set your options here - 1 for use and empty for disable) |
|
12 |
$(call CONFIG_LINE,) |
|
13 |
||
14 |
$(call CONFIG_LINE,\# User setup flags) |
|
15 |
$(call CONFIG_LINE,\# Translator: adds TODO to any untranslated strings) |
|
16 |
$(call CONFIG_LINE,\# Display_Warnings: when off it hides some warnings while compiling) |
|
17 |
$(call CONFIG_LINE,\# MIDI: sets path to midi player) |
|
18 |
$(call CONFIG_LINE,\# MIDI_ARG: sets an argument which is used when calling the midi player. Default off) |
|
180
47ee14fe2b35
(svn r181) Makefile: enabled ability to supress output of missing strings in lng files
bjarni
parents:
0
diff
changeset
|
19 |
$(call CONFIG_LINE,\# SUPRESS_LANG_ERRORS: supresses output about missing and mismatched strings) |
0 | 20 |
$(call CONFIG_LINE,STATIC:=$(STATIC)) |
21 |
$(call CONFIG_LINE,TRANSLATOR:=$(TRANSLATOR)) |
|
22 |
$(call CONFIG_LINE,DISPLAY_WARNINGS:=$(DISPLAY_WARNINGS)) |
|
23 |
$(call CONFIG_LINE,DEBUG:=$(DEBUG)) |
|
24 |
$(call CONFIG_LINE,PROFILE:=$(PROFILE)) |
|
25 |
$(call CONFIG_LINE,MIDI:=$(MIDI)) |
|
26 |
$(call CONFIG_LINE,MIDI_ARG:=$(MIDI_ARG)) |
|
180
47ee14fe2b35
(svn r181) Makefile: enabled ability to supress output of missing strings in lng files
bjarni
parents:
0
diff
changeset
|
27 |
$(call CONFIG_LINE,SUPRESS_LANG_ERRORS:=$(SUPRESS_LANG_ERRORS)) |
0 | 28 |
$(call CONFIG_LINE,) |
29 |
||
30 |
$(call CONFIG_LINE,\# DATA_DIR_PREFIX is the path to OpenTTD. It can be absolute or relative) |
|
31 |
$(call CONFIG_LINE,\# USE_HOMEDIR sets \~/ in front of DATA_DIR_PREFIX so it uses the homedir) |
|
32 |
$(call CONFIG_LINE,\# do not type \~/ yourself because that will not work) |
|
33 |
$(call CONFIG_LINE,\# Folders should end with /) |
|
34 |
$(call CONFIG_LINE,BINARY_DIR:=$(BINARY_DIR)) |
|
35 |
$(call CONFIG_LINE,INSTALL_DIR:=$(INSTALL_DIR)) |
|
36 |
$(call CONFIG_LINE,USE_HOMEDIR:=$(USE_HOMEDIR)) |
|
37 |
$(call CONFIG_LINE,GAME_DATA_DIR:=$(GAME_DATA_DIR)) |
|
38 |
$(call CONFIG_LINE,PERSONAL_DIR:=$(PERSONAL_DIR)) |
|
39 |
$(call CONFIG_LINE,) |
|
40 |
||
41 |
$(call CONFIG_LINE,\# Experimental) |
|
42 |
$(call CONFIG_LINE,WITH_NETWORK:=$(WITH_NETWORK)) |
|
43 |
$(call CONFIG_LINE,WITH_DIRECTMUSIC:=$(WITH_DIRECTMUSIC)) |
|
44 |
$(call CONFIG_LINE,) |
|
45 |
$(call CONFIG_LINE,) |
|
46 |
||
47 |
$(call CONFIG_LINE,\# Flag to skip test for OS when building static) |
|
48 |
$(call CONFIG_LINE,\# OpenTTD have only been succesfully tested with static builds on MorphOS and MacOSX) |
|
49 |
$(call CONFIG_LINE,\# If you want to try anyway on other OSes, set this flag) |
|
50 |
$(call CONFIG_LINE,\# Inform us if you have success) |
|
51 |
$(call CONFIG_LINE,SKIP_STATIC_CHECK:=$(SKIP_STATIC_CHECK)) |
|
52 |
$(call CONFIG_LINE,) |
|
53 |
$(call CONFIG_LINE,) |
|
54 |
||
55 |
$(call CONFIG_LINE,\# Everything below this line is autogenerated) |
|
56 |
$(call CONFIG_LINE,\#) |
|
57 |
$(call CONFIG_LINE,\# If you need to change anything below, you should run "make upgradeconf") |
|
58 |
$(call CONFIG_LINE,\# If that does not fix the problem, you should make a bug report.) |
|
59 |
$(call CONFIG_LINE,\# It would really help if you could tell how to autodetect the missing setting) |
|
60 |
$(call CONFIG_LINE,\# That info could be where the missing lib is placed) |
|
61 |
$(call CONFIG_LINE,) |
|
62 |
||
63 |
$(call CONFIG_LINE,\# Libs) |
|
64 |
$(call CONFIG_LINE,WITH_ZLIB:=$(WITH_ZLIB)) |
|
65 |
$(call CONFIG_LINE,WITH_SDL:=$(WITH_SDL)) |
|
66 |
$(call CONFIG_LINE,WITH_PNG:=$(WITH_PNG)) |
|
67 |
$(call CONFIG_LINE,STATIC_ZLIB_PATH:=$(STATIC_ZLIB_PATH)) |
|
68 |
$(call CONFIG_LINE,) |
|
69 |
||
70 |
$(call CONFIG_LINE,\# OS flags) |
|
71 |
$(call CONFIG_LINE,WIN32:=$(WIN32)) |
|
72 |
$(call CONFIG_LINE,UNIX:=$(UNIX)) |
|
73 |
$(call CONFIG_LINE,OSX:=$(OSX)) |
|
74 |
$(call CONFIG_LINE,FREEBSD:=$(FREEBSD)) |
|
75 |
$(call CONFIG_LINE,MORPHOS:=$(MORPHOS)) |
|
76 |
$(call CONFIG_LINE,CYGWIN:=$(CYGWIN)) |
|
77 |
$(call CONFIG_LINE,MINGW:=$(MINGW)) |
|
78 |
$(call CONFIG_LINE,) |
|
79 |
||
80 |
$(call CONFIG_LINE,\# misc) |
|
81 |
$(call CONFIG_LINE,SDL-CONFIG:=$(SDL-CONFIG)) |
|
82 |
$(call CONFIG_LINE,CONFIG_INCLUDED:=yes) |
|
83 |
$(call CONFIG_LINE,PATH_SET:=$(PATH_SET)) |
|
180
47ee14fe2b35
(svn r181) Makefile: enabled ability to supress output of missing strings in lng files
bjarni
parents:
0
diff
changeset
|
84 |
$(call CONFIG_LINE,CONFIG_VERSION:=$(MAKEFILE_VERSION)) |