src/Makefile
branchpeg-mime
changeset 1250 1c9cab3267ac
parent 1179 bb7d1ad3c543
parent 1089 cb0d8fc6dfde
     1.1 --- a/src/Makefile	Wed Sep 28 10:55:10 2016 +0200
     1.2 +++ b/src/Makefile	Thu Oct 06 11:52:55 2016 +0200
     1.3 @@ -5,14 +5,14 @@
     1.4  ifeq ($(BUILD_ON),Darwin)
     1.5  ifeq ($(BUILD_FOR),Darwin)
     1.6  
     1.7 -TARGET=libpEpEngine.dylib
     1.8 +TARGET?=libpEpEngine.dylib
     1.9  MACOSX_VERSION_MIN=10.6
    1.10  GPGME_IN=$(HOME)
    1.11  LIBGPGME=libgpgme-pthread.dylib
    1.12  CC?=clang -std=c99 -pthread
    1.13  LD?=clang
    1.14  CFLAGS?=-I$(GPGME_IN)/include -I$(HOME)/include -I/opt/local/include $(OPTIMIZE) -pedantic \
    1.15 -	-DSYSTEM_DB=\"$(SYSTEM_DB)\" -DLIBGPGME=\"$(LIBGPGME)\" -I../asn.1
    1.16 +	-DSYSTEM_DB=\"$(SYSTEM_DB)\" -DLIBGPGME=\"$(LIBGPGME)\" -I../asn.1 $(EXTRAMACROS)
    1.17  LDFLAGS?=-lc -shared -arch x86_64 \
    1.18  	-L$(HOME)/lib -L/usr/lib -L/opt/local/lib -letpan -lsqlite3 -L../asn.1 -lasn1 -lz -liconv
    1.19  
    1.20 @@ -29,7 +29,7 @@
    1.21  CC=gcc -std=c99
    1.22  CFLAGS?=-I$(GPGME_IN)/include $(OPTIMIZE) -fPIC -pedantic \
    1.23  	-DSYSTEM_DB=\"$(SYSTEM_DB)\" -DLIBGPGME=\"$(LIBGPGME)\" \
    1.24 -	-DSQLITE_THREADSAFE=1 -D_GNU_SOURCE -I../asn.1
    1.25 +	-DSQLITE_THREADSAFE=1 -D_GNU_SOURCE -I../asn.1 $(EXTRAMACROS)
    1.26  LDFLAGS?=-L$(GPGME_IN)/lib -shared -lc -ldl -letpan -lpthread -L../asn.1 -lasn1
    1.27  
    1.28  else
    1.29 @@ -88,7 +88,7 @@
    1.30  install: $(TARGET)
    1.31  	cp $< $(PREFIX)/lib/
    1.32  	mkdir -p $(PREFIX)/include/pEp
    1.33 -	cp pEpEngine.h keymanagement.h message_api.h dynamic_api.h stringlist.h timestamp.h identity_list.h bloblist.h stringpair.h mailmime.h message.h mime.h cryptotech.h sync.h $(PREFIX)/include/pEp/
    1.34 +	cp pEpEngine.h keymanagement.h message_api.h dynamic_api.h stringlist.h timestamp.h identity_list.h bloblist.h stringpair.h mailmime.h message.h mime.h cryptotech.h sync.h sync_fsm.h $(PREFIX)/include/pEp/
    1.35  
    1.36  uninstall:
    1.37  	rm -f $(PREFIX)/lib/$(TARGET)