-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h
150 lines (128 loc) · 2.74 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
#ifndef VFLASH_CONFIG_H
#define VFLASH_CONFIG_H
/*
* VFlash config options
* ---------------------
* - General config file for the whole build
*
* © 2001 by David Gerber <zapek@vapor.com>
* All Rights Reserved
*
* $Id: config.h,v 1.2 2004/02/01 15:18:01 zapek Exp $
*/
#include "compilers.h" /* uses the one from voyager, be sure it's in the include path */
/*
* Features (alphabetically ordered). Don't forget
* to update the default features list below !
*
* Target platforms: MBX, AMIGAOS, POWERUP, __MORPHOS__
*/
#if defined(MBX)
#define USE_ASYNCIO 0
#define USE_CLUT 0
#define USE_CGX 0
#define USE_INTERNAL_MALLOC 0
#define USE_PICASSO96 0
#define USE_PLANAR 0
#define USE_PREFS_IO 0
#define USE_REENTRANCY 0
#define USE_SOUND 0
#define USE_STATIC_LINK 1
#elif defined(AMIGAOS)
#define USE_ASYNCIO 1
#define USE_CLUT 1
#define USE_CGX 1
#define USE_INTERNAL_MALLOC 0
#define USE_PICASSO96 0 /* XXX: temporary */
#define USE_PLANAR 1
#define USE_PREFS_IO 0 /* XXX: temporary */
#define USE_REENTRANCY 0
#define USE_SOUND 0
#define USE_STATIC_LINK 0
#elif defined(POWERUP)
#define USE_ASYNCIO 1
#define USE_CLUT 1
#define USE_CGX 1
#define USE_INTERNAL_MALLOC 0
#define USE_PICASSO96 1
#define USE_PLANAR 1
#define USE_PREFS_IO 1
#define USE_REENTRANCY 0
#define USE_SOUND 0
#define USE_STATIC_LINK 0
#elif defined(__MORPHOS__)
#define USE_ASYNCIO 1
#define USE_CLUT 1
#define USE_CGX 1
#define USE_INTERNAL_MALLOC 0
#define USE_PICASSO96 0
#define USE_PLANAR 0
#define USE_PREFS_IO 1
#define USE_REENTRANCY 0
#define USE_SOUND 1
#define USE_STATIC_LINK 0
#endif
/*
* Use asyncio.library if present
*/
#if !USE_ASYNCIO
#undef USE_ASYNCIO
#endif
/*
* Enable CLUT mode
*/
#if !USE_CLUT
#undef USE_CLUT
#endif
/*
* Enable CyberGraphX support
*/
#if !USE_CGX
#undef USE_CGX
#endif
/*
* Use the internal malloc implementation in malloc.c
*/
#if !USE_INTERNAL_MALLOC
#undef USE_INTERNAL_MALLOC
#endif
/*
* Enable optimized Picasso96 support (USE_CGX required)
*/
#if !USE_PICASSO96
#undef USE_PICASSO96
#endif
/*
* Enable Amiga legacy planar mode (OCS/ECS and AGA)
*/
#if !USE_PLANAR
#undef USE_PLANAR
#endif
/*
* Loads and saves the prefs
*/
#if !USE_PREFS_IO
#undef USE_PREFS_IO
#endif
/*
* Be reentrant. This is not supported ATM.
*/
#if !USE_REENTRANCY
#undef USE_REENTRANCY
#endif
/*
* Use sound
*/
#if !USE_SOUND
#undef USE_SOUND
#ifndef NOSOUND
#define NOSOUND /* libflash uses that */
#endif /* !NOSOUND */
#endif
/*
* Link with V
*/
#if !USE_STATIC_LINK
#undef USE_STATIC_LINK
#endif
#endif /* !VFLASH_CONFIG_H */