[gegl] Add $(EXEEXT) to tools in Makefile.ams to fix win32 compilation



commit 3ef4f919dcf7c3d3701beddb2b7883b2d859f648
Author: Martin Nordholts <martinn src gnome org>
Date:   Fri Aug 7 20:10:17 2009 +0200

    Add $(EXEEXT) to tools in Makefile.ams to fix win32 compilation

 docs/Makefile.am         |   10 +++++-----
 docs/gallery/Makefile.am |    4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 1d4cbf3..6600c3a 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -64,13 +64,13 @@ MAINTAINERCLEANFILES = $(BUILT_EXTRA_DIST)
 
 all-local: $(HTML_FILES)
 
-operations.html: $(top_builddir)/tools/operation_reference $(top_srcdir)/operations/*/*.c
+operations.html: $(top_builddir)/tools/operation_reference$(EXEEXT) $(top_srcdir)/operations/*/*.c
 	GEGL_SWAP=RAM GEGL_PATH=$(top_builddir)/operations \
-	$(top_builddir)/tools/operation_reference --ops-html > $@
+	$(top_builddir)/tools/operation_reference$(EXEEXT) --ops-html > $@
 
-class-hierarchy.html: $(top_builddir)/tools/introspect $(top_srcdir)/operations/*/*.c $(top_srcdir)/gegl/*.c
+class-hierarchy.html: $(top_builddir)/tools/introspect$(EXEEXT) $(top_srcdir)/operations/*/*.c $(top_srcdir)/gegl/*.c
 	GEGL_SWAP=RAM GEGL_PATH=$(top_builddir)/operations \
-	$(top_builddir)/tools/introspect > $@
+	$(top_builddir)/tools/introspect$(EXEEXT) > $@
 
 gegl.h.html: $(top_srcdir)/gegl/gegl.h
 if HAVE_ENSCRIPT
@@ -169,7 +169,7 @@ index.html: index-static.txt		\
 	gegl.css			\
 	$(top_srcdir)/NEWS		\
 	$(top_srcdir)/examples/hello-world.c \
-	$(top_builddir)/bin/gegl	\
+	$(top_builddir)/bin/gegl$(EXEEXT)	\
 	Makefile.am
 if HAVE_ASCIIDOC
 	@echo "HTML: $@"
diff --git a/docs/gallery/Makefile.am b/docs/gallery/Makefile.am
index bc309d4..61d8bde 100644
--- a/docs/gallery/Makefile.am
+++ b/docs/gallery/Makefile.am
@@ -29,7 +29,7 @@ index.html: Makefile.am images.stamp
 
 images.stamp: $(wildcard $(top_builddir)/operations/*/*$(SHREXT)) \
 	      $(top_builddir)/gegl/libgegl-$(GEGL_API_VERSION).la \
-	      $(top_builddir)/bin/gegl
+	      $(top_builddir)/bin/gegl$(EXEEXT)
 	@echo "--[Updating sample compositions]--"; \
 	for XML in $(srcdir)/*.xml; do \
 	   echo $${XML}; \
@@ -39,7 +39,7 @@ images.stamp: $(wildcard $(top_builddir)/operations/*/*$(SHREXT)) \
 
 %.png: %.xml
 	@GEGL_DEBUG_TIME=yes GEGL_SWAP=RAM GEGL_PATH=$(top_builddir)/operations \
-	$(top_builddir)/bin/gegl $< -o `echo $@ | sed s?$(srcdir)/??` > `echo $@ | sed s?$(srcdir)/?? | sed -e s/png/txt/`;
+	$(top_builddir)/bin/gegl$(EXEEXT) $< -o `echo $@ | sed s?$(srcdir)/??` > `echo $@ | sed s?$(srcdir)/?? | sed -e s/png/txt/`;
 
 all-local: images.stamp index.html
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]