Commit | Line | Data |
---|---|---|
d44e3c4f | 1 | ############################################################################## |
2 | # Copyright (c) 2000-2016 Ericsson Telecom AB | |
970ed795 EL |
3 | # All rights reserved. This program and the accompanying materials |
4 | # are made available under the terms of the Eclipse Public License v1.0 | |
5 | # which accompanies this distribution, and is available at | |
6 | # http://www.eclipse.org/legal/epl-v10.html | |
d44e3c4f | 7 | # |
8 | # Contributors: | |
9 | # Baji, Laszlo | |
10 | # Balasko, Jeno | |
11 | # Ormandi, Matyas | |
12 | # Pandi, Krisztian | |
13 | # Raduly, Csaba | |
14 | # | |
15 | ############################################################################## | |
970ed795 EL |
16 | ## Based on /etc/autotest/titan_builder_cfg.py |
17 | ||
18 | # DEBUG can not be changed here | |
19 | ||
20 | FLEX := /usr/bin/flex | |
21 | BISON := /usr/bin/bison | |
22 | ||
23 | COMPILERFLAGS += -fPIC -Wlogical-op | |
24 | LDFLAGS += -fPIC | |
25 | ||
26 | CC := /usr/bin/gcc | |
27 | CXX := /usr/bin/g++ | |
28 | ||
29 | OPENSSL_DIR := default | |
30 | ||
31 | JDKDIR := /mnt/TTCN/Tools/jdk1.6.0_14 | |
32 | ||
33 | XMLDIR := default | |
34 | ||
35 | #### GCC version-dependent flags #### | |
36 | # We must run the compiler because the path may not contain the version (e.g. simply g++) | |
37 | ||
38 | GCCDETECT := $(shell $(CXX) -v 2>&1 | perl -nwle 'print $$1 if /version.+?(\d\.\d+\.\d)/') | |
39 | GCCNODOT := $(subst ., ,$(GCCDETECT)) # now separated by space | |
40 |