annotate config.mak.in @ 2634:f3c7115cbf85 default tip

Fix verbose build echos.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 29 Feb 2024 21:47:31 +0200
parents b3b6d82247f5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
9a8355b47e1c Various improvements in the build system to add granularity
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
1 # Build engine tests and tools? (Please notice that what
9a8355b47e1c Various improvements in the build system to add granularity
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
2 # actually gets built it also affected by other options)
344
9cf1a58b0234 Beginnings of the editor.
Matti Hamalainen <ccr@tnsp.org>
parents: 321
diff changeset
3 DM_BUILD_TESTS=yes
2
9a8355b47e1c Various improvements in the build system to add granularity
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
4 DM_BUILD_TOOLS=yes
9a8355b47e1c Various improvements in the build system to add granularity
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
5
1079
47c0514d9ba4 Make the built in setup font/screen image/bar bitmap optional.
Matti Hamalainen <ccr@tnsp.org>
parents: 1049
diff changeset
6 # Include built-in setup menu image, font and bar bitmaps
47c0514d9ba4 Make the built in setup font/screen image/bar bitmap optional.
Matti Hamalainen <ccr@tnsp.org>
parents: 1049
diff changeset
7 DM_BUILT_IN_SETUP=no
47c0514d9ba4 Make the built in setup font/screen image/bar bitmap optional.
Matti Hamalainen <ccr@tnsp.org>
parents: 1049
diff changeset
8
1048
509e6ed3a24e Finishing touches to the DM_DEBUG stuff.
Matti Hamalainen <ccr@tnsp.org>
parents: 986
diff changeset
9 # Build with additional error messages
509e6ed3a24e Finishing touches to the DM_DEBUG stuff.
Matti Hamalainen <ccr@tnsp.org>
parents: 986
diff changeset
10 DM_DEBUG=yes
986
a25b6da1c4a8 Begin process of making zlib optional for some things.
Matti Hamalainen <ccr@tnsp.org>
parents: 859
diff changeset
11
a25b6da1c4a8 Begin process of making zlib optional for some things.
Matti Hamalainen <ccr@tnsp.org>
parents: 859
diff changeset
12 # Use zlib? If you say "no", zlib will be only used for
a25b6da1c4a8 Begin process of making zlib optional for some things.
Matti Hamalainen <ccr@tnsp.org>
parents: 859
diff changeset
13 # tools that need it, resource library decompression
2528
b3b6d82247f5 Disable Tremor by default in the example config.mak.in
Matti Hamalainen <ccr@tnsp.org>
parents: 2303
diff changeset
14 # will use internal dmzlib module. Zlib will still be
b3b6d82247f5 Disable Tremor by default in the example config.mak.in
Matti Hamalainen <ccr@tnsp.org>
parents: 2303
diff changeset
15 # required if certain other features are enabled.
986
a25b6da1c4a8 Begin process of making zlib optional for some things.
Matti Hamalainen <ccr@tnsp.org>
parents: 859
diff changeset
16 DM_USE_ZLIB=no
a25b6da1c4a8 Begin process of making zlib optional for some things.
Matti Hamalainen <ccr@tnsp.org>
parents: 859
diff changeset
17
421
f18f07d8a731 Fix building with libpng.
Matti Hamalainen <ccr@tnsp.org>
parents: 356
diff changeset
18 # Use libpng? Required for PNG read/write support in some tools.
f18f07d8a731 Fix building with libpng.
Matti Hamalainen <ccr@tnsp.org>
parents: 356
diff changeset
19 # NOTICE!!!! _NOT_ required for simple PNG read support via dmimage,
f18f07d8a731 Fix building with libpng.
Matti Hamalainen <ccr@tnsp.org>
parents: 356
diff changeset
20 # that is implemented via modified stb_image.c's PNG loader.
f18f07d8a731 Fix building with libpng.
Matti Hamalainen <ccr@tnsp.org>
parents: 356
diff changeset
21 DM_USE_LIBPNG=yes
f18f07d8a731 Fix building with libpng.
Matti Hamalainen <ccr@tnsp.org>
parents: 356
diff changeset
22
573
14640d0688d3 Make timeline stuff optional.
Matti Hamalainen <ccr@tnsp.org>
parents: 421
diff changeset
23 # Timeline support? (required for editor and complex demos)
14640d0688d3 Make timeline stuff optional.
Matti Hamalainen <ccr@tnsp.org>
parents: 421
diff changeset
24 DM_USE_TIMELINE=yes
14640d0688d3 Make timeline stuff optional.
Matti Hamalainen <ccr@tnsp.org>
parents: 421
diff changeset
25
356
2a22b0f1a469 Gtk+2 -> Qt.
Matti Hamalainen <ccr@tnsp.org>
parents: 344
diff changeset
26 # Build Qt based demo editor?
344
9cf1a58b0234 Beginnings of the editor.
Matti Hamalainen <ccr@tnsp.org>
parents: 321
diff changeset
27 DM_BUILD_EDITOR=yes
127
ab4086db7dad Various improvements in modularity.
Matti Hamalainen <ccr@tnsp.org>
parents: 124
diff changeset
28
0
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
29 # Build with runtime asserts?
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
30 DM_USE_ASSERTS=yes
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
31
859
55a3d6db20ac Oops, "DM_USE_C" was missing here.
Matti Hamalainen <ccr@tnsp.org>
parents: 842
diff changeset
32 # Include plain C routines?
55a3d6db20ac Oops, "DM_USE_C" was missing here.
Matti Hamalainen <ccr@tnsp.org>
parents: 842
diff changeset
33 DM_USE_C=yes
55a3d6db20ac Oops, "DM_USE_C" was missing here.
Matti Hamalainen <ccr@tnsp.org>
parents: 842
diff changeset
34
55a3d6db20ac Oops, "DM_USE_C" was missing here.
Matti Hamalainen <ccr@tnsp.org>
parents: 842
diff changeset
35 # Include/use MMX/SSE SIMD assembler routines?
0
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
36 DM_USE_SIMD=yes
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
37
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
38
321
4cc21ebab650 Update example config.mak template.
Matti Hamalainen <ccr@tnsp.org>
parents: 127
diff changeset
39 DM_USE_PACKFS=yes
4cc21ebab650 Update example config.mak template.
Matti Hamalainen <ccr@tnsp.org>
parents: 127
diff changeset
40 DM_USE_STDIO=yes
4cc21ebab650 Update example config.mak template.
Matti Hamalainen <ccr@tnsp.org>
parents: 127
diff changeset
41 DM_USE_MEMIO=yes
0
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
42
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
43
63
3d9da937db69 More work on the text support.
Matti Hamalainen <ccr@tnsp.org>
parents: 49
diff changeset
44 DM_GFX_BM_TEXT=yes
0
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
45 DM_GFX_TTF_TEXT=yes
321
4cc21ebab650 Update example config.mak template.
Matti Hamalainen <ccr@tnsp.org>
parents: 127
diff changeset
46 DM_GFX_LINES=yes
0
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
47 DM_GFX_BLITS=yes
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
48
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
49
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
50 ###
654
78fdc9c16db9 Add Tremor configuration setting in example config .. somehow forgot that.
Matti Hamalainen <ccr@tnsp.org>
parents: 573
diff changeset
51 ### Tremor Ogg Vorbis decoder
78fdc9c16db9 Add Tremor configuration setting in example config .. somehow forgot that.
Matti Hamalainen <ccr@tnsp.org>
parents: 573
diff changeset
52 ###
2528
b3b6d82247f5 Disable Tremor by default in the example config.mak.in
Matti Hamalainen <ccr@tnsp.org>
parents: 2303
diff changeset
53 #DM_USE_TREMOR=yes
654
78fdc9c16db9 Add Tremor configuration setting in example config .. somehow forgot that.
Matti Hamalainen <ccr@tnsp.org>
parents: 573
diff changeset
54
78fdc9c16db9 Add Tremor configuration setting in example config .. somehow forgot that.
Matti Hamalainen <ccr@tnsp.org>
parents: 573
diff changeset
55
78fdc9c16db9 Add Tremor configuration setting in example config .. somehow forgot that.
Matti Hamalainen <ccr@tnsp.org>
parents: 573
diff changeset
56 ###
0
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
57 ### General build options for miniJSS
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
58 ###
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
59 JSS=yes
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
60
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
61 # Build a special "light"/minimized version by removing all
1049
771e03bf9fcd Make more error message fall under DM_DEBUG.
Matti Hamalainen <ccr@tnsp.org>
parents: 1048
diff changeset
62 # error messages and few other things. (disabled by DM_DEBUG=yes)
0
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
63 JSS_LIGHT=no
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
64
1095
402346b1c01d Do not enable JSS_DEBUG when DM_DEBUG is enabled, it's a bit too spammy even
Matti Hamalainen <ccr@tnsp.org>
parents: 1079
diff changeset
65 # Build with extra debugging code? (disabled by JSS_LIGHT=yes)
344
9cf1a58b0234 Beginnings of the editor.
Matti Hamalainen <ccr@tnsp.org>
parents: 321
diff changeset
66 JSS_DEBUG=no
0
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
67
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
68
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
69 ### Support loading of XM-format module files
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
70 JSS_SUP_XM=yes
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
71
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
72
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
73 ### Generic support of JSSMOD-format modules
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
74 JSS_SUP_JSSMOD=yes
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
75
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
76 # Enable support for different pattern storage modes
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
77 # in the JSSMOD _loader_. Saving in xm2jss is not affected.
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
78 JSSMOD_FLAGS = -DJM_SUP_PATMODE_ALL
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
79
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
80 # If SUP_PATMODE_ALL is not defined, then you can enable modes individually
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
81 # by uncommenting lines below. Refer to 'xm2jss --help' for mode information.
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
82 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_1
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
83 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_2
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
84 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_3
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
85 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_4
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
86 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_5
2303
dcf1016f3d27 Implement new (horizontal raw element) pattern storage mode for JSSMOD. Bump
Matti Hamalainen <ccr@tnsp.org>
parents: 1990
diff changeset
87 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_6
0
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
88
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
89 # Enable ext. instrument, instrument header and sampledata loading:
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
90 # (if you disable these, you better know what you are doing.)
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
91 JSSMOD_FLAGS += -DJM_SUP_EXT_INSTR
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
92 JSSMOD_FLAGS += -DJM_SUP_INSTR
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
93 JSSMOD_FLAGS += -DJM_SUP_SAMPLES
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
94
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
95
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
96 ###
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
97 ### Locking/thread support
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
98 ###
32250b436bca Initial re-import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
99 JSS_SUP_THREADS=yes
344
9cf1a58b0234 Beginnings of the editor.
Matti Hamalainen <ccr@tnsp.org>
parents: 321
diff changeset
100