summaryrefslogtreecommitdiff
path: root/cpp/src/slice2rb
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2012-11-08 10:25:32 +0100
committerBenoit Foucher <benoit@zeroc.com>2012-11-08 10:25:32 +0100
commit7310ad264e17f639fb58dd947ef1c31295e4501c (patch)
tree3cb77562f0c445da903c1ae09ee2b6d80c139a6a /cpp/src/slice2rb
parentUpdated GUI online help to use doc.zeroc.com, in a web browser (diff)
downloadice-7310ad264e17f639fb58dd947ef1c31295e4501c.tar.bz2
ice-7310ad264e17f639fb58dd947ef1c31295e4501c.tar.xz
ice-7310ad264e17f639fb58dd947ef1c31295e4501c.zip
Fixed MinGW port
- The build no longer requires Cygwin - Running the tests no longer requires setting CPP_COMPILER, TestUtil.py che for RI_DEVKIT in the environment to figure out if running with MinGW devki - DynamicLibrary no longer appends the "d" suffix when compiling with debug - COMPSUFFIX is now defined when compiling Ice - Much simplified the build system by removing all the checks for MinGW in makefiles, MinGW settings are now located to Make.rules.MINGW only. - Fixed allTests.py to skip plugin and metrics tests. - Fixed build instructions.
Diffstat (limited to 'cpp/src/slice2rb')
-rw-r--r--cpp/src/slice2rb/Makefile16
1 files changed, 2 insertions, 14 deletions
diff --git a/cpp/src/slice2rb/Makefile b/cpp/src/slice2rb/Makefile
index 1e4df68e074..f3cd62653a3 100644
--- a/cpp/src/slice2rb/Makefile
+++ b/cpp/src/slice2rb/Makefile
@@ -9,13 +9,7 @@
top_srcdir = ../..
-include $(top_srcdir)/config/Make.rules.common
-
-ifeq ($(MinGW), yes)
- NAME = $(top_srcdir)/bin/slice2rb.exe
-else
- NAME = $(top_srcdir)/bin/slice2rb
-endif
+NAME = $(top_srcdir)/bin/slice2rb
TARGETS = $(NAME)
@@ -27,15 +21,9 @@ include $(top_srcdir)/config/Make.rules
CPPFLAGS := -I. $(CPPFLAGS)
-ifeq ($(MinGW), yes)
-$(NAME): $(OBJS)
- rm -f $@
- $(CXX) $(LDFLAGS) -o $@ $(OBJS) -lslice$(COMPSUFFIX)$(SOVERSION)$(LIBSUFFIX) $(BASELIBS) $(MCPP_RPATH_LINK)
-else
$(NAME): $(OBJS)
rm -f $@
- $(CXX) $(LDFLAGS) -o $@ $(OBJS) -lSlice $(BASELIBS) $(MCPP_RPATH_LINK)
-endif
+ $(CXX) $(LDFLAGS) -o $@ $(OBJS) $(SLICE_LIBS) $(MCPP_RPATH_LINK)
install:: all
$(call installprogram,$(NAME),$(install_bindir))