add p≡p MIME sync
authorVolker Birk <vb@pep-project.org>
Fri, 05 Apr 2019 19:50:25 +0200
branchsync
changeset 3443c43850c15b05
parent 3442 2afeb1f359fe
child 3444 b02aedcd6a50
add p≡p MIME
Makefile.conf
src/Makefile
     1.1 --- a/Makefile.conf	Fri Apr 05 17:49:39 2019 +0200
     1.2 +++ b/Makefile.conf	Fri Apr 05 19:50:25 2019 +0200
     1.3 @@ -198,6 +198,16 @@
     1.4  #ETPAN_INC=-I$(HOME)/include
     1.5  
     1.6  
     1.7 +######### pEp MIME #########
     1.8 +# set this to skip libetpan and use PEP_MIME instead
     1.9 +# PEP_MIME=1
    1.10 +#
    1.11 +# pEp MIME library search flag
    1.12 +PEP_MIME_LIB=
    1.13 +# pEp MIME include search flag
    1.14 +PEP_MIME_INC=
    1.15 +
    1.16 +
    1.17  ######### sqlite3 #########
    1.18  # If empty (or undefined), compile sqlite3 from the sources shipped with the pEp distribution.
    1.19  # Otherwise, use an sqlite3 implementation found in the OS's include/library paths.
     2.1 --- a/src/Makefile	Fri Apr 05 17:49:39 2019 +0200
     2.2 +++ b/src/Makefile	Fri Apr 05 19:50:25 2019 +0200
     2.3 @@ -5,11 +5,19 @@
     2.4  
     2.5  include ../Makefile.conf
     2.6  
     2.7 -CFLAGS+= $(ETPAN_INC) -I../asn.1 -DSYSTEM_DB=\"$(SYSTEM_DB)\" $(EXTRA_MACROS)
     2.8 -LDFLAGS+= $(ETPAN_LIB) -L../asn.1 -shared
     2.9 -LDLIBS+= -lc -letpan -lasn1
    2.10 +CFLAGS+= $(ETPAN_INC) $(PEP_MIME_INC) -I../asn.1 -DSYSTEM_DB=\"$(SYSTEM_DB)\" $(EXTRA_MACROS)
    2.11 +LDFLAGS+= $(ETPAN_LIB) $(PEP_MIME_LIB) -L../asn.1 -shared
    2.12 +LDLIBS+= -lc -lasn1
    2.13  NO_SOURCE=
    2.14  
    2.15 +ifndef PEP_MIME
    2.16 +LDLIBS+= -letpan
    2.17 +else
    2.18 +LDLIBS+= -lpEpMIME
    2.19 +NO_SOURCE+= etpan_mime.c
    2.20 +endif
    2.21 +
    2.22 +
    2.23  ifeq ($(BUILD_ON),Darwin)
    2.24      ifeq ($(BUILD_FOR),Darwin)
    2.25          CFLAGS+= -DSQLITE_THREADSAFE=1