From d2513cdfbb8490d777e29a3832ed6a981da949ec Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Mon, 22 Mar 2010 09:35:15 +0100 Subject: [PATCH] Added $(EXEEXT) for executables. --- Makefile.config.in | 1 + src/Makefile | 4 ++-- src/dom/test/Makefile | 4 ++-- src/mime/backend/Makefile | 2 +- src/protocol/ftp/Makefile | 2 +- src/protocol/test/Makefile | 2 +- 6 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Makefile.config.in b/Makefile.config.in index a9f14963c..d1c67c041 100644 --- a/Makefile.config.in +++ b/Makefile.config.in @@ -33,6 +33,7 @@ includedir = @includedir@ DESTDIR = +EXEEXT = @EXEEXT@ # Support for rebuilding configure and Makefile.config ACLOCAL = @ACLOCAL@ diff --git a/src/Makefile b/src/Makefile index 6d6f750f0..fb2943c95 100644 --- a/src/Makefile +++ b/src/Makefile @@ -37,7 +37,7 @@ INCLUDES += -DBUILD_ID="\"$(BUILD_ID)\"" vernum.o: $(LIB_O_NAME) -elinks: $(LIB_O_NAME) vernum.o +elinks$(EXEEXT): $(LIB_O_NAME) vernum.o $(call cmd,link) # Place the TAGS file in the source directory so that, if the same @@ -59,7 +59,7 @@ tags: .PHONY: TAGS tags -PROGS = elinks +PROGS = elinks$(EXEEXT) CLEAN = vernum.o TAGS tags include $(top_srcdir)/Makefile.lib diff --git a/src/dom/test/Makefile b/src/dom/test/Makefile index 0fd3a89f1..6d81bce48 100644 --- a/src/dom/test/Makefile +++ b/src/dom/test/Makefile @@ -4,8 +4,8 @@ include $(top_builddir)/Makefile.config # Disabled since it requires DOM_STACK_TRACE to be defined # dom-select TEST_PROGS = \ - html-mangle \ - sgml-parser + html-mangle$(EXEEXT) \ + sgml-parser$(EXEEXT) TESTDEPS = \ $(top_builddir)/src/dom/$(LIB_O_NAME) diff --git a/src/mime/backend/Makefile b/src/mime/backend/Makefile index 7b0517681..b511d99c0 100644 --- a/src/mime/backend/Makefile +++ b/src/mime/backend/Makefile @@ -7,7 +7,7 @@ OBJS-$(CONFIG_MIMETYPES) += mimetypes.o OBJS = common.o default.o TEST_PROGS = \ - mailcap-cache + mailcap-cache$(EXEEXT) # The dependencies are a bit funny here! I don't know why. Just remember to # make clean before making the test. --jonas diff --git a/src/protocol/ftp/Makefile b/src/protocol/ftp/Makefile index d48c8d850..bcd0019df 100644 --- a/src/protocol/ftp/Makefile +++ b/src/protocol/ftp/Makefile @@ -4,7 +4,7 @@ include $(top_builddir)/Makefile.config OBJS = ftp.o parse.o TEST_PROGS = \ - ftp-parser + ftp-parser$(EXEEXT) TESTDEPS = \ $(top_builddir)/src/protocol/date.o \ diff --git a/src/protocol/test/Makefile b/src/protocol/test/Makefile index 45585d0d0..964b1c771 100644 --- a/src/protocol/test/Makefile +++ b/src/protocol/test/Makefile @@ -2,7 +2,7 @@ top_builddir=../../.. include $(top_builddir)/Makefile.config TEST_PROGS = \ - uri-test + uri-test$(EXEEXT) TESTDEPS = \ $(top_builddir)/src/protocol/protocol.o \