# Set it to 'yes' to generate coverage data (requires DEBUG=yes)
COVERAGE := no
+# Set it to 'yes' to enable extra features for the debugger UI in single mode
+# (this requires an extra library when linking the generated code).
+# Set it to 'no' to use a simplified debugger UI.
+ADVANCED_DEBUGGER_UI := no
+
# Your platform. Allowed values: SOLARIS, SOLARIS8, LINUX, FREEBSD,
# WIN32. Decided automagically if not defined (recommended).
# PLATFORM :=
# Path of the Java Developement Kit installation
# (must be at least version 1.5.0_10)
-<<<<<<< HEAD
-JDKDIR := /usr/lib/jvm/default-java
-=======
JDKDIR := /usr/lib/jvm/default-java
->>>>>>> 318d000115c0c01e0d7077166c13a9ab3918e287
# Path of OpenSSL installation: (always required)
OPENSSL_DIR := default
# Flags for the C(++) preprocessor:
# Prevent a warning about yyinput being defined but not used
-CPPFLAGS := -DYY_NO_INPUT
+CPPFLAGS += -DYY_NO_INPUT
# Flags shared between C and C++
COMPILERFLAGS := -Wall
# Flags for the C compiler.
# std=gnu9x shuts up warnings about long long and variadic macros
-CCFLAGS = $(COMPILERFLAGS) -std=gnu9x
+CCFLAGS += $(COMPILERFLAGS) -std=gnu9x
# Flags for the C++ compiler:
-CXXFLAGS = $(COMPILERFLAGS) -Wno-long-long
+CXXFLAGS += $(COMPILERFLAGS) -Wno-long-long
# The command for maintaining static libraries:
AR := ar
LD = $(CXX) -shared
# Flags for linking binary executables (e.g. for profiling):
-LDFLAGS = $(MINGW)
+LDFLAGS += $(MINGW)
# The command for removing symbol table from the executables:
STRIP := strip
LDFLAGS += -fprofile-arcs -ftest-coverage -lgcov
endif
+ifeq ($(ADVANCED_DEBUGGER_UI), yes)
+ CPPFLAGS += -DADVANCED_DEBUGGER_UI
+endif
+
# Directory which contains the code for POSIX regular expression handling.
# It is needed on platforms where the system's libc does not support POSIX
# regexps. This is the case for Mingw.