Browse Source

Use ETPAN_IN on Linux, and suggest it be set in Makefile.conf

ENGINE-226
Damiano Boppart 5 years ago
parent
commit
83ec17d982
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      Makefile.conf
  2. +1
    -1
      src/Makefile

+ 1
- 0
Makefile.conf View File

@ -14,6 +14,7 @@ YML_OPTS=--encoding=utf8
YML_PATH=$(HOME)/yml2
ASN1C=asn1c
ASN1C_INCLUDE=/opt/local/share/asn1c
#ETPAN_IN=$(HOME)
#LIBGPGME=/opt/local/lib/libgpgme.11.dylib
# C makros (not environment variables) to overwrite:


+ 1
- 1
src/Makefile View File

@ -25,7 +25,7 @@ ifeq ($(BUILD_FOR),Linux)
TARGET=libpEpEngine.so
LIBGPGME?=libgpgme.so.11
CC=gcc -std=c99
CFLAGS?= $(OPTIMIZE) -fPIC -pedantic -DSYSTEM_DB=\"$(SYSTEM_DB)\" \
CFLAGS?= -I$(ETPAN_IN)/include $(OPTIMIZE) -fPIC -pedantic -DSYSTEM_DB=\"$(SYSTEM_DB)\" \
-DSQLITE_THREADSAFE=1 -D_GNU_SOURCE -I../asn.1 $(EXTRAMACROS)
LDFLAGS?= -L$(ETPAN_IN)/lib -shared -lc -ldl -letpan -lpthread -L../asn.1 -lasn1 -luuid


Loading…
Cancel
Save