You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pEpEngine/build-config/Linux.conf

56 lines
1.2 KiB
Plaintext

# Copyright 2017, pEp Foundation
# This file is part of pEpEngine
# This file may be used under the terms of the GNU General Public License version 3
# see LICENSE.txt
######### General #########
TARGET=libpEpEngine.so
######### C #########
CC=gcc -std=c99 -pthread
CFLAGS=-fPIC -fstrict-aliasing -fdiagnostics-color=always
ifdef WARN
CFLAGS+= -Wall -pedantic -Wstrict-aliasing=3
else
CFLAGS+= -w
endif
ifdef DEBUG
CFLAGS+= -Og -ggdb -DDEBUG_ERRORSTACK
else
CFLAGS+= -O3 -DNDEBUG
endif
# '-Wno-cpp' is required to suppress the warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" otherwise printed during the compilation of every asn1c-generated C file.
CFLAGS_GENERATED=-Wno-cpp
######### C++ #########
CXX=g++ -std=gnu++11 -pthread
CXXFLAGS=-fdiagnostics-color=always -I../src -I../asn.1 $(ETPAN_INC)
ifdef WARN
CXXFLAGS+=
else
CXXFLAGS+= -w
endif
ifdef DEBUG
CXXFLAGS+= -Og -ggdb
else
CXXFLAGS+= -O3 -DNDEBUG
endif
######### C and C++ #########
LDFLAGS=
######### YML2 #########
######### asn1c #########
######### libetpan #########
######### OpenPGP #########
LIBGPGME=libgpgme.so.11
GPGME_LIB=
GPGME_INC=
######### Engine internals #########
######### Misc #########