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
|
# **********************************************************************
#
# Copyright (c) 2003-2004 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.
#
# **********************************************************************
top_srcdir = ../../..
CLIENT = client
TARGETS = $(CLIENT)
OBJS = Client.o BenchTypes.o Test.o
SRCS = $(OBJS:.o=.cpp)
SLICE_SRCS = Test.ice
include $(top_srcdir)/config/Make.rules
CPPFLAGS := -I. $(DB_FLAGS) $(CPPFLAGS)
$(CLIENT): $(OBJS) $(COBJS)
rm -f $@
$(CXX) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) -lFreeze $(DB_LIBS) $(LIBS)
BenchTypes.h BenchTypes.cpp: Test.ice $(SLICE2FREEZE)
rm -f BenchTypes.h BenchTypes.cpp
$(SLICE2FREEZE) -I$(slicedir) --dict Demo::IntIntMap,int,int --dict Demo::Struct1Struct2Map,Demo::Struct1,Demo::Struct2 \
--dict Demo::Struct1Class1Map,Demo::Struct1,Demo::Class1 \
--dict Demo::Struct1ObjectMap,Demo::Struct1,Object \
--dict Demo::IndexedIntIntMap,int,int --dict-index Demo::IndexedIntIntMap \
--dict Demo::IndexedStruct1Struct2Map,Demo::Struct1,Demo::Struct2 \
--dict-index Demo::IndexedStruct1Struct2Map,s,case-insensitive \
--dict-index Demo::IndexedStruct1Struct2Map,s1 \
--dict Demo::IndexedStruct1Class1Map,Demo::Struct1,Demo::Class1 \
--dict-index Demo::IndexedStruct1Class1Map,s,case-sensitive \
BenchTypes Test.ice
clean::
rm -f BenchTypes.h BenchTypes.cpp
include .depend
|