ICE 3.4.2
[php5-ice-freebsdport.git] / cpp / test / IceGrid / simple / Makefile
blob9ae89fb054db10508f568b917ebc4d500db2ef41
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
13 SERVER = server
15 TARGETS = $(CLIENT) $(SERVER)
17 OBJS = Test.o \
19 COBJS = Client.o \
20 AllTests.o
22 SOBJS = TestI.o \
23 Server.o
25 SRCS = $(OBJS:.o=.cpp) \
26 $(COBJS:.o=.cpp) \
27 $(SOBJS:.o=.cpp) \
29 SLICE_SRCS = Test.ice
31 include $(top_srcdir)/config/Make.rules
33 CPPFLAGS := -I. -I../../include $(CPPFLAGS)
35 $(CLIENT): $(OBJS) $(COBJS)
36 rm -f $@
37 $(CXX) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) $(LIBS) -lIceGrid -lGlacier2
39 $(SERVER): $(OBJS) $(SOBJS)
40 rm -f $@
41 $(CXX) $(LDFLAGS) -o $@ $(OBJS) $(SOBJS) $(LIBS)
43 clean::
44 -rm -rf db/node db/registry db/replica-*
46 include .depend