summaryrefslogtreecommitdiff
path: root/cpp/test/IceGrid/replication
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceGrid/replication')
-rw-r--r--cpp/test/IceGrid/replication/.gitignore13
-rw-r--r--cpp/test/IceGrid/replication/Makefile46
-rw-r--r--cpp/test/IceGrid/replication/Makefile.mk12
3 files changed, 12 insertions, 59 deletions
diff --git a/cpp/test/IceGrid/replication/.gitignore b/cpp/test/IceGrid/replication/.gitignore
deleted file mode 100644
index a2fb0ecc07c..00000000000
--- a/cpp/test/IceGrid/replication/.gitignore
+++ /dev/null
@@ -1,13 +0,0 @@
-// Generated by makegitignore.py
-
-// IMPORTANT: Do not edit this file -- any edits made here will be lost!
-.depend
-client
-server
-.depend
-Test.cpp
-Test.h
-build.txt
-db/node
-db/registry
-db/replica-*
diff --git a/cpp/test/IceGrid/replication/Makefile b/cpp/test/IceGrid/replication/Makefile
deleted file mode 100644
index 9c5212f1898..00000000000
--- a/cpp/test/IceGrid/replication/Makefile
+++ /dev/null
@@ -1,46 +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 = ../../..
-
-CLIENT = client
-SERVER = server
-
-TARGETS = $(CLIENT) $(SERVER)
-
-SLICE_OBJS = Test.o
-
-COBJS = $(SLICE_OBJS) \
- Client.o \
- AllTests.o
-
-SOBJS = $(SLICE_OBJS) \
- TestI.o \
- Server.o
-
-OBJS = $(COBJS) \
- $(SOBJS)
-
-GENPIC = no
-
-include $(top_srcdir)/config/Make.rules
-
-CPPFLAGS := -I. -I../../include $(CPPFLAGS)
-
-$(CLIENT): $(COBJS)
- rm -f $@
- $(CXX) $(LDFLAGS) $(LDEXEFLAGS) -o $@ $(COBJS) -lIceGrid -lGlacier2 -lIceBox $(LIBS)
-
-$(SERVER): $(SOBJS)
- rm -f $@
- $(CXX) $(LDFLAGS) $(LDEXEFLAGS) -o $@ $(SOBJS) $(LIBS)
-
-clean::
- -rm -f build.txt
- -rm -rf db/node db/registry db/replica-*
diff --git a/cpp/test/IceGrid/replication/Makefile.mk b/cpp/test/IceGrid/replication/Makefile.mk
new file mode 100644
index 00000000000..e6d709446a3
--- /dev/null
+++ b/cpp/test/IceGrid/replication/Makefile.mk
@@ -0,0 +1,12 @@
+# **********************************************************************
+#
+# 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)_client_dependencies = IceGrid Glacier2
+
+tests += $(test) \ No newline at end of file