summaryrefslogtreecommitdiff
path: root/cpp/src/icegriddb/Makefile.mk
blob: a1c382f863f19935684c45d0c29116a1eaa019b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# **********************************************************************
#
# 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)_programs             :=  icegriddb
$(project)_generated_includedir := $(project)/generated/IceGrid
$(project)_sliceflags           := -Isrc --include-dir IceGrid -DICE_BUILDING_ICEGRIDDB

$(project)/IceGridDB.cpp: $(includedir)/generated/IceGrid/Admin.h
$(project)/generated/DBTypes.cpp: $(includedir)/generated/IceGrid/Admin.h

icegriddb_targetdir       := $(bindir)
icegriddb_dependencies    := Ice IceDB Glacier2
icegriddb_cppflags	  := $(if $(lmdb_includedir),-I$(lmdb_includedir))
icegriddb_sources         := $(addprefix $(slicedir)/IceGrid/,Descriptor.ice Exception.ice) \
                             $(addprefix $(currentdir)/,IceGridDB.cpp DBTypes.ice)

projects += $(project)