summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/Makefile.mk
blob: d2b769784a114ed960598d62f00a9bba50e744f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#
# Copyright (c) ZeroC, Inc. All rights reserved.
#

$(project)_libraries    := IceSSL

IceSSL_targetdir        := $(libdir)
IceSSL_dependencies     := Ice
IceSSL_cppflags         := -DICESSL_API_EXPORTS
IceSSL_sliceflags       := --include-dir IceSSL

#
# Exclude sources that are not build with the default
# implementation.
#
IceSSL_excludes         += $(wildcard src/IceSSL/SChannel*.cpp)
IceSSL_excludes         += $(wildcard src/IceSSL/UWP*.cpp)

ifeq ($(os),Darwin)
IceSSL_excludes         += $(wildcard src/IceSSL/OpenSSL*.cpp)
else
IceSSL_cppflags         += -DICESSL_OPENSSL_API_EXPORTS
IceSSL_excludes         += $(wildcard src/IceSSL/SecureTransport*.cpp)
endif

projects += $(project)