Browse Source

adapting downloadclient

works_for_me
Volker Birk 2 years ago
parent
commit
710686f40f
1 changed files with 16 additions and 6 deletions
  1. +16
    -6
      pEpMacOSAdapter/Makefile

+ 16
- 6
pEpMacOSAdapter/Makefile View File

@ -1,21 +1,31 @@
-include local.conf
# this file is under GNU GPL 3.0, see LICENSE.txt
# see LICENSE.txt
DOWNLOADCLIENT?=../../downloadclient
BOOST_INCLUDE?=/opt/local/include
BOOST_LIB?=/opt/local/lib
BOOST_INCLUDE?=$(HOME)/dev/boost_1_72_0
BOOST_LIB?=$(HOME)/dev/boost_1_72_0/stage/lib
CRYPTOPP_INCLUDE?=/opt/local/include
CRYPTOPP_LIB?=/opt/local/lib
OPENSSL_INCLUDE?=$(HOME)/include
OPENSSL_LIB?=$(HOME)/lib
SIGNING_IDENTITY?=68AD28395D8090C2A8ACDD3A31FA6735C8DAE2F4
-include local.conf
CC?=cc
CXX?=c++
CFLAGS+=-std=c17
CXXFLAGS+=-I$(BOOST_INCLUDE) -I$(CRYPTOPP_INCLUDE) -std=c++17
LDFLAGS+=-L$(BOOST_LIB) -lboost_regex-mt -L$(CRYPTOPP_LIB) -lcryptopp -lobjc -lssl -lcrypto -framework Foundation
LDFLAGS+=-L$(DOWNLOADCLIENT) -ldownloadclient
CXXFLAGS+=-I$(BOOST_INCLUDE) -I$(CRYPTOPP_INCLUDE) -I$(OPENSSL_INCLUDE) -std=c++17
LDFLAGS+=$(BOOST_LIB)/libboost_regex.a $(BOOST_LIB)/libboost_iostreams.a $(BOOST_LIB)/libboost_system.a
LDFLAGS+=$(CRYPTOPP_LIB)/libcryptopp.a
LDFLAGS+=$(OPENSSL_LIB)/libssl.a $(OPENSSL_LIB)/libcrypto.a
LDFLAGS+=$(DOWNLOADCLIENT)/libdownloadclient.a
LDFLAGS+=-lobjc -framework Foundation
ifdef NDEBUG
CFLAGS+=-O3 -DNDEBUG


Loading…
Cancel
Save