Debian Codegraph @

terps/tads/tads3/win32/vmglob.mak

raw
1 # $Header$
2 #
3 # makefile header - global variable configuration (see vmglob.h)
4 #
5 # Note that VMGLOB_PARAM is the configuration where it is easiest to
6 # make coding errors, so during testing this setting should always be
7 # used to ensure that the code keeps working in this configuration.
8 # However, the other configurations are faster (VMGLOB_STRUCT is the
9 # fastest), so release builds should use one of the others when there
10 # is not another reason to use the parameter-passing mechanism (the
11 # parameter-passing mechanism is only required when the VM engine is
12 # going to be used as a shared library on systems without OS-level
13 # isolation of per-process globals, or when multiple T3 images are
14 # to be loaded simultaneously within the same process).
15
16 #
17 # ONLY ONE OF THE FOLLOWING SHOULD BE DEFINED. Comment out the others.
18 #
19
20 # compile with globals as a global static structure
21 #T3_GLOBAL_CONFIG=VMGLOB_STRUCT
22
23 # compile with globals in a structure with a global pointer to the structure
24 #T3_GLOBAL_CONFIG=VMGLOB_POINTER
25
26 # compile with globals in a structure passed as a parameter to all
27 # functions that require access to globals (directly or because they
28 # call functions that require access to globals)
29 #T3_GLOBAL_CONFIG=VMGLOB_PARAM
30
31 !ifdef COMPILE_FOR_DEBUG
32 T3_GLOBAL_CONFIG=VMGLOB_PARAM
33 !else
34 T3_GLOBAL_CONFIG=VMGLOB_VARS
35 !endif