Add CppUnit config variable
authorDamiano Boppart <damiano@pep-security.net>
Tue, 02 Oct 2018 16:53:59 +0200
changeset 29756814ae868489
parent 2960 2e282c20ec11
child 2976 9a82b60a9c6c
Add CppUnit config variable
default.conf
test/Makefile
     1.1 --- a/default.conf	Fri Sep 28 19:21:40 2018 +0200
     1.2 +++ b/default.conf	Tue Oct 02 16:53:59 2018 +0200
     1.3 @@ -238,6 +238,16 @@
     1.4  #NETPGP_INC=-I$(PREFIX)/include
     1.5  
     1.6  
     1.7 +######### OpenPGP #########
     1.8 +# CppUnit library search flag
     1.9 +CPPUNIT_LIB=
    1.10 +#CPPUNIT_LIB=-L$(HOME)/local/lib
    1.11 +
    1.12 +# CppUnit include search flag
    1.13 +CPPUNIT_INC=
    1.14 +#CPPUNIT_INC=-I$(HOME)/local/inc
    1.15 +
    1.16 +
    1.17  ######### Engine internals #########
    1.18  # C macros (not environment variables) that can be overridden:
    1.19  # DEFAULT_KEYSERVER - string with default keyserver
     2.1 --- a/test/Makefile	Fri Sep 28 19:21:40 2018 +0200
     2.2 +++ b/test/Makefile	Tue Oct 02 16:53:59 2018 +0200
     2.3 @@ -18,14 +18,14 @@
     2.4  DEPS := $(OBJS:.o=.d)
     2.5  
     2.6  INC_DIRS := ./include /usr/local/include 
     2.7 -INC_FLAGS := $(addprefix -I,$(INC_DIRS)) $(GPGME_INC)
     2.8 +INC_FLAGS := $(addprefix -I,$(INC_DIRS)) $(GPGME_INC) $(CPPUNIT_INC)
     2.9  
    2.10  LDFLAGS += -L/usr/local/lib
    2.11  
    2.12  CFLAGS += -Wno-deprecated
    2.13  CXXFLAGS += -Wno-deprecated
    2.14  
    2.15 -LDFLAGS+= $(ETPAN_LIB) -L../asn.1 -L../src
    2.16 +LDFLAGS+= $(ETPAN_LIB) $(CPPUNIT_LIB) -L../asn.1 -L../src
    2.17  LDLIBS+= -letpan -lpEpEngine -lstdc++ -lasn1
    2.18  
    2.19  ifeq ($(BUILD_FOR),Linux)