###############################################################################
-# Copyright (c) 2000-2015 Ericsson Telecom AB
+# Copyright (c) 2000-2016 Ericsson Telecom AB
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# >
+# Baji, Laszlo
+# Balasko, Jeno
+# Baranyi, Botond
+# Beres, Szabolcs
+# Delic, Adam
+# Feher, Csaba
+# Forstner, Matyas
+# Kovacs, Ferenc
+# Kremer, Peter
+# Lovassy, Arpad
+# Ormandi, Matyas
+# Pandi, Krisztian
+# Raduly, Csaba
+# Szabados, Kristof
+# Szabo, Janos Zoltan – initial implementation
+# Szalai, Endre
+# Zalanyi, Balazs Andor
+#
###############################################################################
ifndef TOP
$(error please define TOP)
# 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)
-JDKDIR := /usr/lib/jvm/default-java
+JDKDIR := /usr/lib/jvm/default-java
# 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.