1#
2# Defines to exclude some code from Golded+ binary.
3#
4# Uncomment to disable AdeptXBBS support
5#CPPFLAGS+=-DGCFG_NOXBBS
6# Uncomment to disable CrashMail support
7#CPPFLAGS+=-DGCFG_NOCMAIL
8# Uncomment to disable CrashEcho support
9#CPPFLAGS+=-DGCFG_NOCECHO
10# Uncomment to disable D'Bridge support
11#CPPFLAGS+=-DGCFG_NODB
12# Uncomment to disable Dutchie support
13#CPPFLAGS+=-DGCFG_NODUTCHIE
14# Uncomment to disable Ezycom support
15#CPPFLAGS+=-DGCFG_NOEZY
16# Uncomment to disable FastEcho support
17#CPPFLAGS+=-DGCFG_NOFE
18# Uncomment to disable Fidoconfig support
19#CPPFLAGS+=-DGCFG_NOFIDOCONF
20# Uncomment to disable FidoPCB support
21#CPPFLAGS+=-DGCFG_NOFIDOPCB
22# Uncomment to disable FMail support
23#CPPFLAGS+=-DGCFG_NOFMAIL
24# Uncomment to disable FrontDoor support
25#CPPFLAGS+=-DGCFG_NOFD
26# Uncomment to disable GEcho support
27#CPPFLAGS+=-DGCFG_NOGECHO
28# Uncomment to disable IMail support
29#CPPFLAGS+=-DGCFG_NOIMAIL
30# Uncomment to disable InterMail support
31#CPPFLAGS+=-DGCFG_NOINTERMAIL
32# Uncomment to disable LoraBBS support
33#CPPFLAGS+=-DGCFG_NOLORA
34# Uncomment to disable Maximus support
35#CPPFLAGS+=-DGCFG_NOMAXIMUS
36# Uncomment to disable ME2 support
37#CPPFLAGS+=-DGCFG_NOME2
38# Uncomment to disable Opus support
39#CPPFLAGS+=-DGCFG_NOOPUS
40# Uncomment to disable Parma tosser support
41#CPPFLAGS+=-DGCFG_NOPARTOSS
42# Uncomment to disable PCBoard support
43#CPPFLAGS+=-DGCFG_NOPCB
44# Uncomment to disable Portal of Power support
45#CPPFLAGS+=-DGCFG_NOPORTAL
46# Uncomment to disable ProBoard support
47#CPPFLAGS+=-DGCFG_NOPROBOARD
48# Uncomment to disable QEcho support
49#CPPFLAGS+=-DGCFG_NOQECHO
50# Uncomment to disable QFront support
51#CPPFLAGS+=-DGCFG_NOQFRONT
52# Uncomment to disable QuickBBS support
53#CPPFLAGS+=-DGCFG_NOQBBS
54# Uncomment to disable RA-ECHO support
55#CPPFLAGS+=-DGCFG_NORAECHO
56# Uncomment to disable RemoteAccess support
57#CPPFLAGS+=-DGCFG_NORA
58# Uncomment to disable SpaceToss support
59#CPPFLAGS+=-DGCFG_NOSPCT
60# Uncomment to disable Squish support
61#CPPFLAGS+=-DGCFG_NOSQSH
62# Uncomment to disable SuperBBS support
63#CPPFLAGS+=-DGCFG_NOSBBS
64# Uncomment to disable TerMail support
65#CPPFLAGS+=-DGCFG_NOTERMAIL
66# Uncomment to disable timEd support
67#CPPFLAGS+=-DGCFG_NOTIMED
68# Uncomment to disable TosScan support
69#CPPFLAGS+=-DGCFG_NOTOSSCAN
70# Uncomment to disable WaterGate support
71#CPPFLAGS+=-DGCFG_NOWATERGATE
72# Uncomment to disable Wmail support
73#CPPFLAGS+=-DGCFG_NOWMAIL
74# Uncomment to disable xMail support
75#CPPFLAGS+=-DGCFG_NOXMAIL
76# Uncomment to disable Synchronet BBS support
77#CPPFLAGS+=-DGCFG_NOSYNCHRONET
78# Uncomment to disable MS Office spellchecker support (win32 only)
79#CPPFLAGS+=-DGCFG_NO_MSSPELL
80# Uncomment to disable HunSpell spellchecker support (multiplatform)
81#CPPFLAGS+=-DGCFG_NO_MYSPELL
82# Uncomment to disable regex search feature
83#CPPFLAGS+=-DGCFG_NO_REGEX
84# Comment to disable AreaRecycleBin keyword and feature
85CPPFLAGS+=-D__INCLUDE_NEW_KEYWORDS__
86# Uncomment to disable CPUID feature (compilation error in goldlib/gall/gutlvers.cpp)
87#CPPFLAGS+=-DGCFG_NO_CPUID
88
89ifeq ($(BUILD),minimal)
90CPPFLAGS+=-DGCFG_NOXBBS \
91  -DGCFG_NOCMAIL    \
92  -DGCFG_NOCECHO    \
93  -DGCFG_NODB       \
94  -DGCFG_NODUTCHIE  \
95  -DGCFG_NOEZY      \
96  -DGCFG_NOFE       \
97  -DGCFG_NOFIDOPCB  \
98  -DGCFG_NOFMAIL    \
99  -DGCFG_NOFD       \
100  -DGCFG_NOGECHO    \
101  -DGCFG_NOIMAIL    \
102  -DGCFG_NOINTERMAIL \
103  -DGCFG_NOLORA     \
104  -DGCFG_NOMAXIMUS  \
105  -DGCFG_NOME2      \
106  -DGCFG_NOOPUS     \
107  -DGCFG_NOPARTOSS  \
108  -DGCFG_NOPCB      \
109  -DGCFG_NOPORTAL   \
110  -DGCFG_NOPROBOARD \
111  -DGCFG_NOQECHO    \
112  -DGCFG_NOQFRONT   \
113  -DGCFG_NOQBBS     \
114  -DGCFG_NORAECHO   \
115  -DGCFG_NORA       \
116  -DGCFG_NOSPCT     \
117  -DGCFG_NOSQSH     \
118  -DGCFG_NOSBBS     \
119  -DGCFG_NOTERMAIL  \
120  -DGCFG_NOTIMED    \
121  -DGCFG_NOTOSSCAN  \
122  -DGCFG_NOWATERGATE \
123  -DGCFG_NOWMAIL     \
124  -DGCFG_NOXMAIL     \
125  -DGCFG_NOSYNCHRONET \
126  -DGCFG_NO_MSSPELL   \
127  -DGCFG_NO_MYSPELL
128endif
129