You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

50 lines
920 B

# Copyright 2017, pEp Security SA
# 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.dylib
######### C #########
CC=clang -std=c99 -pthread
# FIXME I think -fPIC is not available in clang
CFLAGS= -fPIC -fstrict-aliasing
ifdef WARN
CFLAGS+= -Wall -pedantic -Wstrict-aliasing=3
else
CFLAGS+= -w
endif
ifdef DEBUG
CFLAGS+= -O0 -g -DDEBUG_ERRORSTACK
else
CFLAGS+= -O3 -DNDEBUG
endif
######### C++ #########
CXX=clang -std=c++11
CXXFLAGS=
ifdef WARN
CXXFLAGS+=
else
CXXFLAGS+= -w
endif
ifdef DEBUG
CXXFLAGS+= -O0 -g
else
CXXFLAGS+= -O3 -DNDEBUG
endif
######### C and C++ #########
######### YML2 #########
######### asn1c #########
######### libetpan #########
######### OpenPGP #########
######### Engine internals #########
######### Misc #########