SHELL = /bin/sh
@SET_MAKE@
+top_builddir = .
+
srcdir = @srcdir@
VPATH = @srcdir@
#
DISTNAME = wget-@VERSION@
+LIBTOOL_DEPS = @LIBTOOL_DEPS@
RM = rm -f
# These are used for maintenance only, so they are safe without
SUBDIRS = src doc po util windows
# default target
-all: src/config.h Makefile $(SUBDIRS)
+all: libtool src/config.h Makefile configure.bat $(SUBDIRS)
check: all
install.mo:
cd po && $(MAKE) $(MAKEDEFS) $@
+# Regenerate libtool if ltconfig and/or ltmain are updated
+libtool: $(LIBTOOL_DEPS)
+ $(SHELL) ./config.status --recheck
+
+# Create configure.bat from configure.bat.in by DOS-ifying the lines.
+configure.bat: configure.bat.in
+ awk '{ print $$0 ($$0 ~ /\r$$/ ? "" : "\r") }' $@.in > $@
+
# create tag files for Emacs
TAGS:
cd src && $(MAKE) $@