ICE 3.4.2
[php5-ice-freebsdport.git] / cpp / test / IceStorm / stress / Makefile
blob7ecec3b88b9f3c20bd8b80235db339fce92db38d
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 PUBLISHER = publisher
13 SUBSCRIBER = subscriber
15 TARGETS = $(PUBLISHER) $(SUBSCRIBER)
17 OBJS = Event.o
19 POBJS = Publisher.o
21 SOBJS = Subscriber.o
23 SRCS = $(OBJS:.o=.cpp) \
24 $(POBJS:.o=.cpp) \
25 $(SOBJS:.o=.cpp)
27 SLICE_SRCS = Event.ice
29 include $(top_srcdir)/config/Make.rules
31 CPPFLAGS := -I. -I../../include $(CPPFLAGS)
32 LIBS := -lIceStorm $(LIBS)
34 $(PUBLISHER): $(OBJS) $(POBJS)
35 rm -f $@
36 $(CXX) $(LDFLAGS) -o $@ $(OBJS) $(POBJS) $(LIBS)
38 $(SUBSCRIBER): $(OBJS) $(SOBJS)
39 rm -f $@
40 $(CXX) $(LDFLAGS) -o $@ $(OBJS) $(SOBJS) $(LIBS)
42 clean::
43 -rm -f build.txt
44 -rm -rf db/* db2/*
45 -rm -rf 0.db/* 0.db2/*
46 -rm -rf 1.db/* 1.db2/*
47 -rm -rf 2.db/* 2.db2/*
49 include .depend