From 08b9617038dc2ed26ed05e5c5d024209080c9c0c Mon Sep 17 00:00:00 2001 From: Adam Knapp <adam.knapp@ericsson.com> Date: Thu, 10 Feb 2022 07:45:46 +0100 Subject: [PATCH] Adding makefile template for clang Signed-off-by: Adam Knapp <adam.knapp@ericsson.com> --- makefiles/Makefile.personal.clang | 41 +++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 makefiles/Makefile.personal.clang diff --git a/makefiles/Makefile.personal.clang b/makefiles/Makefile.personal.clang new file mode 100644 index 000000000..47ecf02e5 --- /dev/null +++ b/makefiles/Makefile.personal.clang @@ -0,0 +1,41 @@ +############################################################################## +# Copyright (c) 2000-2022 Ericsson Telecom AB +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v2.0 +# which accompanies this distribution, and is available at +# https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html +# +# Contributors: +# Baji, Laszlo +# Balasko, Jeno +# Pilisi, Gergely +# +############################################################################## +# Based on /etc/autotest/titan_builder_cfg.py + +# DEBUG can not be changed here + +FLEX := /usr/bin/flex +BISON := /usr/bin/bison + +COMPILERFLAGS += -Wall -Wlogical-op -I/usr/lib/jvm/default-java/include -I/usr/include + +ifeq ($(DEBUG), yes) +#COMPILERFLAGS += -fvar-tracking -O1 +else +COMPILERFLAGS += -g +LDFLAGS += -fuse-ld=gold -ldl +endif + +CC := clang +CXX := clang++ +CXXFLAGS += -std=c++11 + +OPENSSL_DIR := default + +JDKDIR := /usr/lib/jvm/default-java + + +XMLDIR := default + +AR := ar -- GitLab