summaryrefslogtreecommitdiff
path: root/cpp/test/IceStorm/repstress
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2016-05-03 19:26:09 +0200
committerBenoit Foucher <benoit@zeroc.com>2016-05-03 19:26:09 +0200
commitee3b7be185f7d887a33b9c242a7ccd08a09d2614 (patch)
tree1974211a0cbd5e3df95b6deed0b2b42f7854aca9 /cpp/test/IceStorm/repstress
parentRename files for consistency (diff)
downloadice-ee3b7be185f7d887a33b9c242a7ccd08a09d2614.tar.bz2
ice-ee3b7be185f7d887a33b9c242a7ccd08a09d2614.tar.xz
ice-ee3b7be185f7d887a33b9c242a7ccd08a09d2614.zip
Re-factored gmake build system
Diffstat (limited to 'cpp/test/IceStorm/repstress')
-rw-r--r--cpp/test/IceStorm/repstress/.gitignore16
-rw-r--r--cpp/test/IceStorm/repstress/Makefile55
-rw-r--r--cpp/test/IceStorm/repstress/Makefile.mk19
3 files changed, 19 insertions, 71 deletions
diff --git a/cpp/test/IceStorm/repstress/.gitignore b/cpp/test/IceStorm/repstress/.gitignore
deleted file mode 100644
index c1e2c6ba18a..00000000000
--- a/cpp/test/IceStorm/repstress/.gitignore
+++ /dev/null
@@ -1,16 +0,0 @@
-// Generated by makegitignore.py
-
-// IMPORTANT: Do not edit this file -- any edits made here will be lost!
-.depend
-publisher
-subscriber
-control
-.depend
-Single.cpp
-Controller.cpp
-Single.h
-Controller.h
-build.txt
-0.db/*
-1.db/*
-2.db/*
diff --git a/cpp/test/IceStorm/repstress/Makefile b/cpp/test/IceStorm/repstress/Makefile
deleted file mode 100644
index 003e1b5894f..00000000000
--- a/cpp/test/IceStorm/repstress/Makefile
+++ /dev/null
@@ -1,55 +0,0 @@
-# **********************************************************************
-#
-# Copyright (c) 2003-2016 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 = ../../..
-
-PUBLISHER = publisher
-SUBSCRIBER = subscriber
-CONTROL = control
-
-TARGETS = $(PUBLISHER) $(SUBSCRIBER) $(CONTROL)
-
-SLICE_OBJS = Single.o \
- Controller.o
-
-POBJS = $(SLICE_OBJS) \
- Publisher.o
-
-SOBJS = $(SLICE_OBJS) \
- Subscriber.o
-
-COBJS = Control.o \
- Controller.o
-
-OBJS = $(COBJS) \
- $(POBJS) \
- $(SOBJS)
-
-include $(top_srcdir)/config/Make.rules
-
-CPPFLAGS := -I. -I../../include $(CPPFLAGS)
-LIBS := -lIceStorm $(LIBS)
-
-$(PUBLISHER): $(POBJS)
- rm -f $@
- $(CXX) $(LDFLAGS) $(LDEXEFLAGS) -o $@ $(POBJS) $(LIBS)
-
-$(SUBSCRIBER): $(SOBJS)
- rm -f $@
- $(CXX) $(LDFLAGS) $(LDEXEFLAGS) -o $@ $(SOBJS) $(LIBS)
-
-$(CONTROL): $(COBJS)
- rm -f $@
- $(CXX) $(LDFLAGS) $(LDEXEFLAGS) -o $@ $(COBJS) $(LIBS)
-
-clean::
- -rm -f build.txt
- -rm -rf 0.db/*
- -rm -rf 1.db/*
- -rm -rf 2.db/*
diff --git a/cpp/test/IceStorm/repstress/Makefile.mk b/cpp/test/IceStorm/repstress/Makefile.mk
new file mode 100644
index 00000000000..63d03c56fb7
--- /dev/null
+++ b/cpp/test/IceStorm/repstress/Makefile.mk
@@ -0,0 +1,19 @@
+# **********************************************************************
+#
+# Copyright (c) 2003-2015 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.
+#
+# **********************************************************************
+
+$(test)_programs = publisher subscriber control
+$(test)_dependencies = IceStorm Ice IceUtil TestCommon
+
+$(test)_publisher_sources = Publisher.cpp Single.ice Controller.ice
+$(test)_subscriber_sources = Subscriber.cpp Single.ice Controller.ice
+$(test)_control_sources = Control.cpp Controller.ice
+
+$(test)_cleanfiles = 0.db/* 1.db/* 2.db/*
+
+tests += $(test) \ No newline at end of file