summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/Makefile.mk
blob: 1beaaeb8849323554719302db26a9df869fbd899 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#
# Copyright (c) ZeroC, Inc. All rights reserved.
#

local_node_srcs         = Activator.cpp \
                          NodeAdminRouter.cpp \
                          NodeI.cpp \
                          NodeSessionManager.cpp \
                          ServerAdapterI.cpp \
                          ServerI.cpp

local_registry_srcs     = Internal.ice \
                          AdminRouter.cpp \
                          DescriptorBuilder.cpp \
                          DescriptorParser.cpp \
                          FileCache.cpp \
                          PlatformInfo.cpp \
                          SessionManager.cpp \
                          TraceLevels.cpp \
                          AdminCallbackRouter.cpp \
                          AdapterCache.cpp \
                          AdminI.cpp \
                          AdminSessionI.cpp \
                          Allocatable.cpp \
                          AllocatableObjectCache.cpp \
                          Database.cpp \
                          DescriptorHelper.cpp \
                          FileUserAccountMapperI.cpp \
                          InternalRegistryI.cpp \
                          LocatorI.cpp \
                          LocatorRegistryI.cpp \
                          NodeCache.cpp \
                          NodeSessionI.cpp \
                          ObjectCache.cpp \
                          PluginFacadeI.cpp \
                          QueryI.cpp \
                          ReapThread.cpp \
                          RegistryAdminRouter.cpp \
                          RegistryI.cpp \
                          ReplicaCache.cpp \
                          ReplicaSessionI.cpp \
                          ReplicaSessionManager.cpp \
                          ServerCache.cpp \
                          SessionI.cpp \
                          SessionServantManager.cpp \
                          Topics.cpp \
                          Util.cpp \
                          WellKnownObjectsManager.cpp

local_admin_srcs        = Internal.ice \
                          Client.cpp \
                          DescriptorBuilder.cpp \
                          DescriptorHelper.cpp \
                          DescriptorParser.cpp \
                          FileParserI.cpp \
                          Grammar.cpp \
                          Parser.cpp \
                          Scanner.cpp \
                          Util.cpp

$(project)_programs             = icegridnode icegridregistry icegridadmin
$(project)_sliceflags           := -Isrc --include-dir IceGrid
$(project)_generated_includedir := $(project)/generated/IceGrid
$(project)_dependencies         := IceGrid Glacier2 Ice
$(project)_targetdir            := $(bindir)

icegridnode_sources             := $(addprefix $(currentdir)/,$(local_node_srcs) $(local_registry_srcs) IceGridNode.cpp) \
                                   $(slicedir)/IceLocatorDiscovery/IceLocatorDiscovery.ice
icegridnode_dependencies        := IceBox IceStormService IceStorm IceXML IceSSL IceDB
icegridnode_cppflags            := $(if $(lmdb_includedir),-I$(lmdb_includedir))

icegridregistry_sources         := $(addprefix $(currentdir)/,$(local_registry_srcs) IceGridRegistry.cpp) \
                                   $(slicedir)/IceLocatorDiscovery/IceLocatorDiscovery.ice
icegridregistry_dependencies    := IceBox IceStormService IceStorm IceXML IceSSL IceDB $(local_dependencies)
icegridregistry_cppflags        := $(if $(lmdb_includedir),-I$(lmdb_includedir))

icegridadmin_dependencies       := IceBox IceXML IceLocatorDiscovery
icegridadmin_sources            := $(addprefix $(currentdir)/,$(local_admin_srcs))

projects += $(project)