ICE 3.4.2
[php5-ice-freebsdport.git] / cpp / demo / Freeze / backup / Makefile
blob1f23e2d2660549f78ae6ed6cc35ce8aabbda9b6b
1 # **********************************************************************
3 # Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
5 # This copy of Ice is licensed to you under the terms described in the
6 # ICE_LICENSE file included in this distribution.
8 # **********************************************************************
10 top_srcdir = ../../..
12 CLIENT = client
14 TARGETS = $(CLIENT)
16 OBJS = Client.o IntLongMap.o
18 SRCS = $(OBJS:.o=.cpp)
20 SLICE_SRCS =
22 include $(top_srcdir)/config/Make.rules
24 CPPFLAGS := -I. $(CPPFLAGS)
26 $(CLIENT): $(OBJS) $(COBJS)
27 rm -f $@
28 $(CXX) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) $(DB_RPATH_LINK) -lFreeze $(LIBS)
30 # The slice2freeze rules are structured like this to avoid issues with
31 # parallel make.
32 IntLongMap.h: IntLongMap.cpp
33 IntLongMap.cpp: $(SLICE2FREEZE) $(SLICEPARSERLIB)
34 rm -f IntLongMap.h IntLongMap.cpp
35 $(SLICE2FREEZE) -I$(slicedir) --dict IntLongMap,int,long IntLongMap
37 clean::
38 -rm -f IntLongMap.h IntLongMap.cpp
39 -rm -rf db/__* db/data/* db/logs/* db/__Freeze
40 -rm -rf hotbackup hotbackup.1
42 include .depend