Use ETPAN_IN on Linux, and suggest it be set in Makefile.conf
authorDamiano Boppart <damiano@pep-security.net>
Thu, 03 Aug 2017 16:00:49 +0200
changeset 1942f734d5bd851a
parent 1941 6d99b6e54d54
child 1943 7c1de6525863
Use ETPAN_IN on Linux, and suggest it be set in Makefile.conf
Makefile.conf
src/Makefile
     1.1 --- a/Makefile.conf	Tue Jul 25 13:51:42 2017 +0200
     1.2 +++ b/Makefile.conf	Thu Aug 03 16:00:49 2017 +0200
     1.3 @@ -14,6 +14,7 @@
     1.4  YML_PATH=$(HOME)/yml2
     1.5  ASN1C=asn1c
     1.6  ASN1C_INCLUDE=/opt/local/share/asn1c
     1.7 +#ETPAN_IN=$(HOME)
     1.8  #LIBGPGME=/opt/local/lib/libgpgme.11.dylib
     1.9  
    1.10  # C makros (not environment variables) to overwrite:
     2.1 --- a/src/Makefile	Tue Jul 25 13:51:42 2017 +0200
     2.2 +++ b/src/Makefile	Thu Aug 03 16:00:49 2017 +0200
     2.3 @@ -25,7 +25,7 @@
     2.4  TARGET=libpEpEngine.so
     2.5  LIBGPGME?=libgpgme.so.11
     2.6  CC=gcc -std=c99
     2.7 -CFLAGS?= $(OPTIMIZE) -fPIC -pedantic -DSYSTEM_DB=\"$(SYSTEM_DB)\" \
     2.8 +CFLAGS?= -I$(ETPAN_IN)/include $(OPTIMIZE) -fPIC -pedantic -DSYSTEM_DB=\"$(SYSTEM_DB)\" \
     2.9  	-DSQLITE_THREADSAFE=1 -D_GNU_SOURCE -I../asn.1 $(EXTRAMACROS)
    2.10  LDFLAGS?= -L$(ETPAN_IN)/lib -shared -lc -ldl -letpan -lpthread -L../asn.1 -lasn1 -luuid
    2.11