annotate config.mak @ 6:5caa361f3972

Joo.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 28 Sep 2012 09:49:26 +0300
parents a039e8eebfb6
children 077d08c442f7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 # Build engine tests and tools? (Please notice that what
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2 # actually gets built it also affected by other options)
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3 DM_BUILD_TESTS=no
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4 DM_BUILD_TOOLS=yes
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
6 # Build with runtime asserts?
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
7 DM_USE_ASSERTS=yes
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
8
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
9 # Use plain C routines?
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
10 DM_USE_C=yes
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
12 # Use MMX/SSE SIMD assembler routines?
6
Matti Hamalainen <ccr@tnsp.org>
parents: 4
diff changeset
13 DM_USE_SIMD=yes
0
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
14
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
16 DMRES_PACKFS=yes
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
17 DMRES_STDIO=no
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
18 DMRES_MEMIO=no
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
19
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
20
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
21 DM_GFX_TTF_TEXT=no
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
22 DM_GFX_LINES=no
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
23 DM_GFX_BLITS=yes
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
24 DM_GFX_MISC=yes
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
25
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
26 DM_GFX_8BIT=yes
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
27 DM_GFX_32BIT=yes
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
28
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
29
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
30 ###
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
31 ### General build options for miniJSS
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
32 ###
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
33 JSS=yes
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
34
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
35 # Build a special "light"/minimized version by removing all
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
36 # error messages and few other things.
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
37 JSS_LIGHT=no
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
38
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
39 # Build with extra debugging code? (disabled by JSS_LIGHT=yes)
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
40 JSS_DEBUG=no
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
41
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
42
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
43 ### Support loading of XM-format module files
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
44 JSS_SUP_XM=yes
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
45
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
46
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
47 ### Generic support of JSSMOD-format modules
4
a039e8eebfb6 Disable jssmod support in the build configuration, as we do not need it.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
48 JSS_SUP_JSSMOD=no
0
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
49
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
50 # Enable support for different pattern storage modes
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
51 # in the JSSMOD _loader_. Saving in xm2jss is not affected.
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
52 JSSMOD_FLAGS = -DJM_SUP_PATMODE_ALL
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
53
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
54 # If SUP_PATMODE_ALL is not defined, then you can enable modes individually
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
55 # by uncommenting lines below. Refer to 'xm2jss --help' for mode information.
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
56 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_1
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
57 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_2
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
58 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_3
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
59 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_4
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
60 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_5
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
61
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
62 # Enable ext. instrument, instrument header and sampledata loading:
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
63 # (if you disable these, you better know what you are doing.)
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
64 JSSMOD_FLAGS += -DJM_SUP_EXT_INSTR
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
65 JSSMOD_FLAGS += -DJM_SUP_INSTR
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
66 JSSMOD_FLAGS += -DJM_SUP_SAMPLES
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
67
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
68
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
69 ###
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
70 ### Locking/thread support
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
71 ###
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
72 JSS_SUP_THREADS=yes
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
73
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
74
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
75 ###
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
76 ### Audio mixing routine support
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
77 ###
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
78 # The actually used functions are determined run-time, so these
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
79 # options only enable what is compiled into the library.
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
80 JSS_SUP_MIX_C=yes
c12a8dda22bb Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
81 JSS_SUP_MIX_X86=no