#
# Defines to exclude some code from Golded+ binary.
#
# Uncomment to disable AdeptXBBS support
#CPPFLAGS+=-DGCFG_NOXBBS
# Uncomment to disable CrashMail support
#CPPFLAGS+=-DGCFG_NOCMAIL
# Uncomment to disable CrashEcho support
#CPPFLAGS+=-DGCFG_NOCECHO
# Uncomment to disable D'Bridge support
#CPPFLAGS+=-DGCFG_NODB
# Uncomment to disable Dutchie support
#CPPFLAGS+=-DGCFG_NODUTCHIE
# Uncomment to disable Ezycom support
#CPPFLAGS+=-DGCFG_NOEZY
# Uncomment to disable FastEcho support
#CPPFLAGS+=-DGCFG_NOFE
# Uncomment to disable Fidoconfig support
#CPPFLAGS+=-DGCFG_NOFIDOCONF
# Uncomment to disable FidoPCB support
#CPPFLAGS+=-DGCFG_NOFIDOPCB
# Uncomment to disable FMail support
#CPPFLAGS+=-DGCFG_NOFMAIL
# Uncomment to disable FrontDoor support
#CPPFLAGS+=-DGCFG_NOFD
# Uncomment to disable GEcho support
#CPPFLAGS+=-DGCFG_NOGECHO
# Uncomment to disable IMail support
#CPPFLAGS+=-DGCFG_NOIMAIL
# Uncomment to disable InterMail support
#CPPFLAGS+=-DGCFG_NOINTERMAIL
# Uncomment to disable LoraBBS support
#CPPFLAGS+=-DGCFG_NOLORA
# Uncomment to disable Maximus support
#CPPFLAGS+=-DGCFG_NOMAXIMUS
# Uncomment to disable ME2 support
#CPPFLAGS+=-DGCFG_NOME2
# Uncomment to disable Opus support
#CPPFLAGS+=-DGCFG_NOOPUS
# Uncomment to disable Parma tosser support
#CPPFLAGS+=-DGCFG_NOPARTOSS
# Uncomment to disable PCBoard support
#CPPFLAGS+=-DGCFG_NOPCB
# Uncomment to disable Portal of Power support
#CPPFLAGS+=-DGCFG_NOPORTAL
# Uncomment to disable ProBoard support
#CPPFLAGS+=-DGCFG_NOPROBOARD
# Uncomment to disable QEcho support
#CPPFLAGS+=-DGCFG_NOQECHO
# Uncomment to disable QFront support
#CPPFLAGS+=-DGCFG_NOQFRONT
# Uncomment to disable QuickBBS support
#CPPFLAGS+=-DGCFG_NOQBBS
# Uncomment to disable RA-ECHO support
#CPPFLAGS+=-DGCFG_NORAECHO
# Uncomment to disable RemoteAccess support
#CPPFLAGS+=-DGCFG_NORA
# Uncomment to disable SpaceToss support
#CPPFLAGS+=-DGCFG_NOSPCT
# Uncomment to disable Squish support
#CPPFLAGS+=-DGCFG_NOSQSH
# Uncomment to disable SuperBBS support
#CPPFLAGS+=-DGCFG_NOSBBS
# Uncomment to disable TerMail support
#CPPFLAGS+=-DGCFG_NOTERMAIL
# Uncomment to disable timEd support
#CPPFLAGS+=-DGCFG_NOTIMED
# Uncomment to disable TosScan support
#CPPFLAGS+=-DGCFG_NOTOSSCAN
# Uncomment to disable WaterGate support
#CPPFLAGS+=-DGCFG_NOWATERGATE
# Uncomment to disable Wmail support
#CPPFLAGS+=-DGCFG_NOWMAIL
# Uncomment to disable xMail support
#CPPFLAGS+=-DGCFG_NOXMAIL
# Uncomment to disable Synchronet BBS support
#CPPFLAGS+=-DGCFG_NOSYNCHRONET
# Uncomment to disable MS Office spellchecker support (win32 only)
#CPPFLAGS+=-DGCFG_NO_MSSPELL
# Uncomment to disable HunSpell spellchecker support (multiplatform)
#CPPFLAGS+=-DGCFG_NO_MYSPELL
# Uncomment to disable regex search feature
#CPPFLAGS+=-DGCFG_NO_REGEX
# Comment to disable AreaRecycleBin keyword and feature
CPPFLAGS+=-D__INCLUDE_NEW_KEYWORDS__
# Uncomment to disable CPUID feature (compilation error in goldlib/gall/gutlvers.cpp)
#CPPFLAGS+=-DGCFG_NO_CPUID

ifeq ($(BUILD),minimal)
CPPFLAGS+=-DGCFG_NOXBBS \
  -DGCFG_NOCMAIL    \
  -DGCFG_NOCECHO    \
  -DGCFG_NODB       \
  -DGCFG_NODUTCHIE  \
  -DGCFG_NOEZY      \
  -DGCFG_NOFE       \
  -DGCFG_NOFIDOPCB  \
  -DGCFG_NOFMAIL    \
  -DGCFG_NOFD       \
  -DGCFG_NOGECHO    \
  -DGCFG_NOIMAIL    \
  -DGCFG_NOINTERMAIL \
  -DGCFG_NOLORA     \
  -DGCFG_NOMAXIMUS  \
  -DGCFG_NOME2      \
  -DGCFG_NOOPUS     \
  -DGCFG_NOPARTOSS  \
  -DGCFG_NOPCB      \
  -DGCFG_NOPORTAL   \
  -DGCFG_NOPROBOARD \
  -DGCFG_NOQECHO    \
  -DGCFG_NOQFRONT   \
  -DGCFG_NOQBBS     \
  -DGCFG_NORAECHO   \
  -DGCFG_NORA       \
  -DGCFG_NOSPCT     \
  -DGCFG_NOSQSH     \
  -DGCFG_NOSBBS     \
  -DGCFG_NOTERMAIL  \
  -DGCFG_NOTIMED    \
  -DGCFG_NOTOSSCAN  \
  -DGCFG_NOWATERGATE \
  -DGCFG_NOWMAIL     \
  -DGCFG_NOXMAIL     \
  -DGCFG_NOSYNCHRONET \
  -DGCFG_NO_MSSPELL   \
  -DGCFG_NO_MYSPELL
endif
