summaryrefslogtreecommitdiff
path: root/cpp/src/IceStorm/Makefile.mk
blob: 0bdd56888e4cbc3c18c86d9041061c6e79be174b (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# **********************************************************************
#
# Copyright (c) 2003-2016 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 		:= IceStormService
$(project)_programs		:= icestormadmin icestormdb
$(project)_sliceflags   	:= -Isrc --include-dir IceStorm
$(project)_generated_includedir := $(project)/generated/IceStorm
$(project)_dependencies		:= IceStorm Ice

IceStormService_targetdir	:= $(libdir)
IceStormService_dependencies 	:= IceGrid Glacier2 IceBox IceDB
IceStormService_cppflags	:= $(if $(lmdb_includedir),-I$(lmdb_includedir))
IceStormService_sources   	:= $(addprefix $(currentdir)/,Instance.cpp \
							     InstrumentationI.cpp \
							     NodeI.cpp \
							     Observers.cpp \
							     Service.cpp \
							     Subscriber.cpp \
							     TopicI.cpp \
							     TopicManagerI.cpp \
							     TraceLevels.cpp \
							     TransientTopicI.cpp \
							     TransientTopicManagerI.cpp \
							     Util.cpp \
							     Election.ice \
							     IceStormInternal.ice \
							     Instrumentation.ice \
							     LinkRecord.ice \
							     LLURecord.ice \
							     SubscriberRecord.ice \
							     DBTypes.ice)

icestormadmin_targetdir		:= $(bindir)
icestormadmin_sources	   	:= $(addprefix $(currentdir)/,Admin.cpp \
							     Grammar.y \
							     Parser.cpp \
							     Scanner.l \
							     LLURecord.ice \
							     SubscriberRecord.ice \
							     Election.ice \
							     IceStormInternal.ice)

icestormdb_targetdir		:= $(bindir)
icestormdb_dependencies 	:= IcePatch2 IceDB
icestormdb_cppflags		:= $(if $(lmdb_includedir),-I$(lmdb_includedir))
icestormdb_sources	   	:= $(addprefix $(currentdir)/,IceStormDB.cpp DBTypes.ice)

projects += $(project)