123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231 |
- {
- This file is part of the Free Pascal Integrated Development Environment
- Copyright (c) 1999 by Berczi Gabor
- Conditional defines logic for the IDE
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- **********************************************************************}
- {$ifdef USE_GDBLIBINC}
- {$include gdblib.inc}
- {$endif USE_GDBLIBINC}
- { --- Special OS settings --- }
- {$ifdef Go32V2}
- { NOVESA conditional avoids use of
- vesa unit, it also disables USE_GRAPH_SWITCH
- conditional, in order to obtain a go32v2 excutable that
- doesn't require full screen switching
- at startup on Windows OS }
- {$ifndef NOVESA}
- {$define SUPPORTVESA}
- {$endif ndef NOVESA}
- {$define SUPPORTREDIR}
- {$define WinClipSupported}
- {$define HasSignal}
- {$define SignalIsFunction}
- {$define SignalIsCdecl}
- {$define FSCaseInsensitive}
- {$define HasSysMsgUnit}
- {$ifndef NOVESA}
- {$define USE_GRAPH_SWITCH}
- {$endif not NOVESA}
- {$endif}
- {$ifdef Linux}
- {$undef SUPPORTVESA}
- {$define SUPPORTREDIR}
- {$undef WinClipSupported}
- {$define HasSignal}
- {$define SignalIsCdecl}
- {$define HasSysMsgUnit}
- {$endif}
- {$ifdef FreeBSD}
- {$undef SUPPORTVESA}
- {$define SUPPORTREDIR}
- {$undef WinClipSupported}
- {$define HasSignal}
- {$define SignalIsCdecl}
- {$define HasSysMsgUnit}
- {$endif}
- {$ifdef NetBSD}
- {$undef SUPPORTVESA}
- {$define SUPPORTREDIR}
- {$undef WinClipSupported}
- {$define HasSignal}
- {$define SignalIsCdecl}
- {$define HasSysMsgUnit}
- {$endif}
- {$ifdef OpenBSD}
- {$undef SUPPORTVESA}
- {$define SUPPORTREDIR}
- {$undef WinClipSupported}
- {$define HasSignal}
- {$define SignalIsCdecl}
- {$define HasSysMsgUnit}
- {$endif}
- {$ifdef Windows}
- {$undef SUPPORTVESA}
- {$define SUPPORTREDIR}
- {$define WinClipSupported}
- {$ifdef win32}
- {$define HasSignal}
- {$define SignalIsFunction}
- {$define SignalIsCdecl}
- {$endif}
- {$ifdef win64}
- {$define HasSignal}
- {$define SignalIsFunction}
- {$define SignalIsCdecl}
- {$endif}
- {$define FSCaseInsensitive}
- {$define HasSysMsgUnit}
- {$endif}
- {$ifdef OS2}
- {define SUPPORTREDIR}
- {define WinClipSupported}
- {define HasSignal}
- {$define FSCaseInsensitive}
- {$endif}
- {$ifdef Amiga}
- {$define FSCaseInsensitive}
- {$define WinClipSupported}
- {$endif}
- {$ifdef MorphOS}
- {$define FSCaseInsensitive}
- {$define WinClipSupported}
- {$endif}
- {$ifdef AROS}
- {$define FSCaseInsensitive}
- {$define WinClipSupported}
- {$endif}
- { --- Exclude debugger support --- }
- {.$DEFINE NODEBUG}
- { --- Include VESA support --- }
- {$ifdef SUPPORTVESA}
- {$ifndef FV20}
- {$define VESA}
- {$endif}
- {$endif}
- {$ifdef SUPPORTREDIR}
- {$ifndef debug}
- {$define redircompiler}
- {$endif}
- {$ifdef GDB_V418}
- {define redircompiler}
- {$endif GDB_V418}
- {$endif}
- { ----------- define DOS for DOS targets ---------- }
- {$ifdef GO32V2}{$define DOS}{$endif}
- { include Undo/Redo code from Visa Harvey }
- { let everybody try it out PM }
- { undo should be a bit improved - it does work only with "normal" keystrokes.
- neither the block, nor any shortcut operations (like Ctrl-T - delete word)
- do work... Gabor
- Partially solved at least PM }
- {$define Undo}
- {$ifdef DEBUG}
- {$define DebugUndo}
- {$define TEST_REGEXP}
- { Use old regexpr unit by Joost }
- {$define USE_OLD_REGEXP}
- { Use this to incorporate a call to
- external compiler.
- Parsing of compiler output is done,
- but there is no browser in that case!! PM }
- { $ define USE_EXTERNAL_COMPILER}
- {$define EXEDEBUG}
- {$endif DEBUG}
- {$ifndef ver2_0}
- {$define USERESSTRINGS}
- {$endif}
- {$define USE_FREEVISION}
- {$define HASOUTLINE}
- { Use inlining for small functions }
- {$inline on}
- {.$define USEINLINE}
- {$define TEST_PARTIAL_SYNTAX}
- { $ undef UNDO}
- { $ undef DEBUGUNDO}
- {$define BROWSERCOL}
- {$ifdef SUPPORTVESA}
- {$define VESA}
- {$endif}
- {$ifdef NOWINCLIP}
- {$undef WINCLIPSUPPORTED}
- {$endif}
- {$ifdef CROSSGDB}
- {$define SUPPORT_REMOTE}
- {$endif CROSSGDB}
- {$ifdef FPC_ARMEL}
- {$define FPC_ARMEL32}
- {$endif FPC_ARMEL}
- {$ifdef FPC_ARMEB}
- {$define FPC_ARMEB32}
- {$endif FPC_ARMEB}
- {$ifdef FPC_OARM}
- {$define FPC_ARMEL32}
- {$endif FPC_OARM}
- {$ifdef FPC_ARMHF}
- {$define FPC_ARMEL32}
- {$endif FPC_ARMHF}
- { Set TARGET_IS_64BIT for corresponding compilation targets }
- {$ifdef X86_64}
- {$define TARGET_IS_64BIT}
- {$endif}
- {$ifdef IA64}
- {$define TARGET_IS_64BIT}
- {$endif}
- {$ifdef ALPHA}
- {$define TARGET_IS_64BIT}
- {$endif}
- {$ifdef POWERPC64}
- {$define TARGET_IS_64BIT}
- {$endif}
- {$ifdef AARCH64}
- {$define TARGET_IS_64BIT}
- {$endif}
- {$ifdef GDBMI}
- {$ifdef DEBUG}
- {$define GDB_RAW_OUTPUT}
- {$endif DEBUG}
- {$ifdef Windows}
- {$define GDB_WINDOWS_ALWAYS_USE_ANOTHER_CONSOLE}
- {$endif Windows}
- {$endif GDBMI}
- {$ifdef cpullvm}
- {$define TYPED_LOCAL_CALLBACKS}
- {$endif}
- {$ifdef TYPED_LOCAL_CALLBACKS}
- {$modeswitch nestedprocvars}
- {$endif}
|