-
# Automatically generated by `hgimportsvn`
syntax:glob
.svn
lib/stdbool.h
lib/stdint.h
lib/wchar.h
+md5/.deps
+md5/*.o
+md5/libmd5.a
tests/WgetTest.pm
tests/unit-tests
tests/*.o
ACLOCAL_AMFLAGS = -I m4 -I md5/m4
# subdirectories in the distribution
-SUBDIRS = lib md5 src doc po tests util windows
+SUBDIRS = lib @MD5_SUBDIR@ src doc po tests util windows
test: all
cd tests && $(MAKE) $(AM_MAKEFLAGS) $@
found_md5=yes
AC_MSG_NOTICE([using the built-in (GNU) MD5 implementation])
AC_C_BIGENDIAN
+
+ AC_SUBST(MD5_CPPFLAGS, '-I $(top_srcdir)/md5')
+ AC_SUBST(MD5_LDADD, '../md5/libmd5.a')
+ AC_SUBST(MD5_SUBDIR, md5)
md5_INIT
fi
AC_DEFINE([HAVE_MD5], 1, [Define if we're compiling support for MD5.])
dnl
AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile util/Makefile
po/Makefile.in tests/Makefile tests/WgetTest.pm
- lib/Makefile windows/Makefile])
+ lib/Makefile md5/Makefile windows/Makefile])
AC_CONFIG_HEADERS([src/config.h])
AC_OUTPUT
+2007-12-07 Micah Cowan <micah@cowan.name>
+
+ * Makefile.am: Plug in vars to include stuff from
+ $(top_srcdir)/md5 when appropriate.
+
2007-12-05 Micah Cowan <micah@cowan.name>
* utils.c (subdir_p): Handle the case where d1 is "".
spider.h ssl.h sysdep.h url.h utils.h wget.h xmalloc.h
nodist_wget_SOURCES = version.c
EXTRA_wget_SOURCES = mswindows.c
-LDADD = $(ALLOCA) $(LIBOBJS) ../lib/libgnu.a
-AM_CPPFLAGS = -I$(top_srcdir)/lib
+LDADD = $(ALLOCA) $(LIBOBJS) ../lib/libgnu.a @MD5_LDADD@
+AM_CPPFLAGS = -I $(top_srcdir)/lib @MD5_CPPFLAGS@
version.c: $(wget_SOURCES) $(LDADD) $(srcdir)/Makefile.am
echo 'const char *version_string = "@VERSION@"' > $@