blob: b8f613fc1f33d702275fe138ce92df56b547fa03 (
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
27
28
29
30
31
32
33
34
|
# **********************************************************************
#
# Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# **********************************************************************
$(project)_libraries = Ice
Ice_targetdir := $(libdir)
Ice_cppflags = -DICE_API_EXPORTS $(IceUtil_cppflags)
Ice_ldflags = $(iconv_ldflags)
ifeq ($(DEFAULT_MUTEX_PROTOCOL), PrioInherit)
Ice_cppflags += -DICE_PRIO_INHERIT
endif
Ice_sliceflags := --include-dir Ice
Ice_libs := bz2
Ice_extra_sources := $(wildcard src/IceUtil/*.cpp)
Ice_excludes = src/Ice/DLLMain.cpp
ifeq ($(os),Darwin)
Ice_excludes += src/IceUtil/ConvertUTF.cpp src/IceUtil/Unicode.cpp
endif
Ice[iphoneos]_excludes := $(wildcard $(addprefix $(currentdir)/,Tcp*.cpp))
Ice[iphoneos]_extra_sources := $(wildcard $(addprefix $(currentdir)/ios/,*.cpp *.mm))
Ice[iphonesimulator]_excludes = $(Ice[iphoneos]_excludes)
Ice[iphonesimulator]_extra_sources = $(Ice[iphoneos]_extra_sources)
projects += $(project)
|