|
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) |
|
19 $(call CONFIG_LINE,STATIC:=$(STATIC)) |
|
20 $(call CONFIG_LINE,TRANSLATOR:=$(TRANSLATOR)) |
|
21 $(call CONFIG_LINE,DISPLAY_WARNINGS:=$(DISPLAY_WARNINGS)) |
|
22 $(call CONFIG_LINE,DEBUG:=$(DEBUG)) |
|
23 $(call CONFIG_LINE,PROFILE:=$(PROFILE)) |
|
24 $(call CONFIG_LINE,MIDI:=$(MIDI)) |
|
25 $(call CONFIG_LINE,MIDI_ARG:=$(MIDI_ARG)) |
|
26 $(call CONFIG_LINE,) |
|
27 |
|
28 $(call CONFIG_LINE,\# DATA_DIR_PREFIX is the path to OpenTTD. It can be absolute or relative) |
|
29 $(call CONFIG_LINE,\# USE_HOMEDIR sets \~/ in front of DATA_DIR_PREFIX so it uses the homedir) |
|
30 $(call CONFIG_LINE,\# do not type \~/ yourself because that will not work) |
|
31 $(call CONFIG_LINE,\# Folders should end with /) |
|
32 $(call CONFIG_LINE,BINARY_DIR:=$(BINARY_DIR)) |
|
33 $(call CONFIG_LINE,INSTALL_DIR:=$(INSTALL_DIR)) |
|
34 $(call CONFIG_LINE,USE_HOMEDIR:=$(USE_HOMEDIR)) |
|
35 $(call CONFIG_LINE,GAME_DATA_DIR:=$(GAME_DATA_DIR)) |
|
36 $(call CONFIG_LINE,PERSONAL_DIR:=$(PERSONAL_DIR)) |
|
37 $(call CONFIG_LINE,) |
|
38 |
|
39 $(call CONFIG_LINE,\# Experimental) |
|
40 $(call CONFIG_LINE,WITH_NETWORK:=$(WITH_NETWORK)) |
|
41 $(call CONFIG_LINE,WITH_DIRECTMUSIC:=$(WITH_DIRECTMUSIC)) |
|
42 $(call CONFIG_LINE,) |
|
43 $(call CONFIG_LINE,) |
|
44 |
|
45 $(call CONFIG_LINE,\# Flag to skip test for OS when building static) |
|
46 $(call CONFIG_LINE,\# OpenTTD have only been succesfully tested with static builds on MorphOS and MacOSX) |
|
47 $(call CONFIG_LINE,\# If you want to try anyway on other OSes, set this flag) |
|
48 $(call CONFIG_LINE,\# Inform us if you have success) |
|
49 $(call CONFIG_LINE,SKIP_STATIC_CHECK:=$(SKIP_STATIC_CHECK)) |
|
50 $(call CONFIG_LINE,) |
|
51 $(call CONFIG_LINE,) |
|
52 |
|
53 $(call CONFIG_LINE,\# Everything below this line is autogenerated) |
|
54 $(call CONFIG_LINE,\#) |
|
55 $(call CONFIG_LINE,\# If you need to change anything below, you should run "make upgradeconf") |
|
56 $(call CONFIG_LINE,\# If that does not fix the problem, you should make a bug report.) |
|
57 $(call CONFIG_LINE,\# It would really help if you could tell how to autodetect the missing setting) |
|
58 $(call CONFIG_LINE,\# That info could be where the missing lib is placed) |
|
59 $(call CONFIG_LINE,) |
|
60 |
|
61 $(call CONFIG_LINE,\# Libs) |
|
62 $(call CONFIG_LINE,WITH_ZLIB:=$(WITH_ZLIB)) |
|
63 $(call CONFIG_LINE,WITH_SDL:=$(WITH_SDL)) |
|
64 $(call CONFIG_LINE,WITH_PNG:=$(WITH_PNG)) |
|
65 $(call CONFIG_LINE,STATIC_ZLIB_PATH:=$(STATIC_ZLIB_PATH)) |
|
66 $(call CONFIG_LINE,) |
|
67 |
|
68 $(call CONFIG_LINE,\# OS flags) |
|
69 $(call CONFIG_LINE,WIN32:=$(WIN32)) |
|
70 $(call CONFIG_LINE,UNIX:=$(UNIX)) |
|
71 $(call CONFIG_LINE,OSX:=$(OSX)) |
|
72 $(call CONFIG_LINE,FREEBSD:=$(FREEBSD)) |
|
73 $(call CONFIG_LINE,MORPHOS:=$(MORPHOS)) |
|
74 $(call CONFIG_LINE,CYGWIN:=$(CYGWIN)) |
|
75 $(call CONFIG_LINE,MINGW:=$(MINGW)) |
|
76 $(call CONFIG_LINE,) |
|
77 |
|
78 $(call CONFIG_LINE,\# misc) |
|
79 $(call CONFIG_LINE,SDL-CONFIG:=$(SDL-CONFIG)) |
|
80 $(call CONFIG_LINE,CONFIG_INCLUDED:=yes) |
|
81 $(call CONFIG_LINE,PATH_SET:=$(PATH_SET)) |