Mercurial > hg > dmlib
annotate config.mak.in @ 2:9a8355b47e1c
Various improvements in the build system to add granularity
for building different parts of the engine and tools.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 28 Sep 2012 02:20:31 +0300 |
parents | 32250b436bca |
children | 033c660c25f5 |
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) |
9a8355b47e1c
Various improvements in the build system to add granularity
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
3 DM_BUILD_TESTS=no |
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 |
0 | 6 # Build with runtime asserts? |
7 DM_USE_ASSERTS=yes | |
8 | |
9 # Use plain C routines? | |
10 DM_USE_C=yes | |
11 | |
12 # Use MMX/SSE SIMD assembler routines? | |
13 DM_USE_SIMD=yes | |
14 | |
15 | |
16 DMRES_PACKFS=yes | |
17 DMRES_STDIO=yes | |
18 DMRES_MEMIO=yes | |
19 | |
20 | |
21 DM_GFX_TTF_TEXT=yes | |
22 DM_GFX_LINES=no | |
23 DM_GFX_BLITS=yes | |
24 DM_GFX_MISC=yes | |
25 | |
26 DM_GFX_8BIT=yes | |
27 DM_GFX_32BIT=yes | |
28 | |
29 | |
30 ### | |
31 ### General build options for miniJSS | |
32 ### | |
33 JSS=yes | |
34 | |
35 # Build a special "light"/minimized version by removing all | |
36 # error messages and few other things. | |
37 JSS_LIGHT=no | |
38 | |
39 # Build with extra debugging code? (disabled by JSS_LIGHT=yes) | |
40 JSS_DEBUG=yes | |
41 | |
42 | |
43 ### Support loading of XM-format module files | |
44 JSS_SUP_XM=yes | |
45 | |
46 | |
47 ### Generic support of JSSMOD-format modules | |
48 JSS_SUP_JSSMOD=yes | |
49 | |
50 # Enable support for different pattern storage modes | |
51 # in the JSSMOD _loader_. Saving in xm2jss is not affected. | |
52 JSSMOD_FLAGS = -DJM_SUP_PATMODE_ALL | |
53 | |
54 # If SUP_PATMODE_ALL is not defined, then you can enable modes individually | |
55 # by uncommenting lines below. Refer to 'xm2jss --help' for mode information. | |
56 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_1 | |
57 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_2 | |
58 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_3 | |
59 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_4 | |
60 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_5 | |
61 | |
62 # Enable ext. instrument, instrument header and sampledata loading: | |
63 # (if you disable these, you better know what you are doing.) | |
64 JSSMOD_FLAGS += -DJM_SUP_EXT_INSTR | |
65 JSSMOD_FLAGS += -DJM_SUP_INSTR | |
66 JSSMOD_FLAGS += -DJM_SUP_SAMPLES | |
67 | |
68 | |
69 ### | |
70 ### Locking/thread support | |
71 ### | |
72 JSS_SUP_THREADS=yes |