summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2010-03-17 13:52:38 -0500
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2010-03-22 00:45:51 -0500
commitfa7e062962d17862032bc600bfcffd486addb063 (patch)
tree5e1cc705426fc03c940a3c1172b7cf55da424395
parent037869d7b876f43158df88d63788b93a5d6187c1 (diff)
Use EXEEXT in relink rules for portable DDXs
On Cygwin and MinGW, executables use the .exe suffix. Autoconf and automake set EXEEXT on these platforms, and leave it empty on others where no suffix is used. $(EXEEXT) must be appended to executable names in custom rules for portability: http://www.gnu.org/software/automake/manual/html_node/EXEEXT.html Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@sun.com> Reviewed-by: Julien Cristau <jcristau@debian.org>
-rw-r--r--hw/dmx/Makefile.am2
-rw-r--r--hw/vfb/Makefile.am2
-rw-r--r--hw/xnest/Makefile.am2
3 files changed, 3 insertions, 3 deletions
diff --git a/hw/dmx/Makefile.am b/hw/dmx/Makefile.am
index 3c59320e1..1e3e5da9e 100644
--- a/hw/dmx/Makefile.am
+++ b/hw/dmx/Makefile.am
@@ -114,4 +114,4 @@ SUFFIXES = .$(APP_MAN_SUFFIX) .man
EXTRA_DIST = $(appman_PRE)
relink:
- rm -f Xdmx && $(MAKE) Xdmx
+ rm -f Xdmx$(EXEEXT) && $(MAKE) Xdmx$(EXEEXT)
diff --git a/hw/vfb/Makefile.am b/hw/vfb/Makefile.am
index c5b49a37d..c6601c232 100644
--- a/hw/vfb/Makefile.am
+++ b/hw/vfb/Makefile.am
@@ -49,4 +49,4 @@ SUFFIXES += .$(APP_MAN_SUFFIX) .man
EXTRA_DIST = Xvfb.man.pre
relink:
- rm -f Xvfb && $(MAKE) Xvfb
+ rm -f Xvfb$(EXEEXT) && $(MAKE) Xvfb$(EXEEXT)
diff --git a/hw/xnest/Makefile.am b/hw/xnest/Makefile.am
index f95aab140..3e9749083 100644
--- a/hw/xnest/Makefile.am
+++ b/hw/xnest/Makefile.am
@@ -89,4 +89,4 @@ SUFFIXES += .$(APP_MAN_SUFFIX) .man
$(LN_S) $< $@
relink:
- rm -f Xnest && $(MAKE) Xnest
+ rm -f Xnest$(EXEEXT) && $(MAKE) Xnest$(EXEEXT)