libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 1ffe7932df675100f7260393c24f307b83fa95b4
parent 099b50e44a6e3813256349516d1f87953a7bda47
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Fri,  4 Nov 2022 12:07:01 +0300

Tests and examples: added rule to (re-)build libmicrohttpd.la

Diffstat:
Mdoc/examples/Makefile.am | 4++++
Msrc/examples/Makefile.am | 4++++
Msrc/microhttpd_ws/Makefile.am | 4++++
Msrc/testcurl/Makefile.am | 4++++
Msrc/testcurl/https/Makefile.am | 4++++
Msrc/testzzuf/Makefile.am | 4++++
6 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am @@ -15,6 +15,10 @@ if USE_COVERAGE AM_CFLAGS += --coverage endif +$(top_builddir)/src/microhttpd/libmicrohttpd.la: $(top_builddir)/src/microhttpd/Makefile + @echo ' cd $(top_builddir)/src/microhttpd && $(MAKE) $(AM_MAKEFLAGS) libmicrohttpd.la'; \ + $(am__cd) $(top_builddir)/src/microhttpd && $(MAKE) $(AM_MAKEFLAGS) libmicrohttpd.la + # example programs noinst_PROGRAMS = \ hellobrowser \ diff --git a/src/examples/Makefile.am b/src/examples/Makefile.am @@ -18,6 +18,10 @@ if USE_COVERAGE AM_CFLAGS += --coverage endif +$(top_builddir)/src/microhttpd/libmicrohttpd.la: $(top_builddir)/src/microhttpd/Makefile + @echo ' cd $(top_builddir)/src/microhttpd && $(MAKE) $(AM_MAKEFLAGS) libmicrohttpd.la'; \ + $(am__cd) $(top_builddir)/src/microhttpd && $(MAKE) $(AM_MAKEFLAGS) libmicrohttpd.la + # example programs noinst_PROGRAMS = \ diff --git a/src/microhttpd_ws/Makefile.am b/src/microhttpd_ws/Makefile.am @@ -5,6 +5,10 @@ AM_CPPFLAGS = \ AM_CFLAGS = $(HIDDEN_VISIBILITY_CFLAGS) +$(top_builddir)/src/microhttpd/libmicrohttpd.la: $(top_builddir)/src/microhttpd/Makefile + @echo ' cd $(top_builddir)/src/microhttpd && $(MAKE) $(AM_MAKEFLAGS) libmicrohttpd.la'; \ + $(am__cd) $(top_builddir)/src/microhttpd && $(MAKE) $(AM_MAKEFLAGS) libmicrohttpd.la + noinst_DATA = MOSTLYCLEANFILES = diff --git a/src/testcurl/Makefile.am b/src/testcurl/Makefile.am @@ -29,6 +29,10 @@ LDADD = \ $(top_builddir)/src/microhttpd/libmicrohttpd.la \ @LIBCURL@ +$(top_builddir)/src/microhttpd/libmicrohttpd.la: $(top_builddir)/src/microhttpd/Makefile + @echo ' cd $(top_builddir)/src/microhttpd && $(MAKE) $(AM_MAKEFLAGS) libmicrohttpd.la'; \ + $(am__cd) $(top_builddir)/src/microhttpd && $(MAKE) $(AM_MAKEFLAGS) libmicrohttpd.la + THREAD_ONLY_TESTS = \ test_urlparse \ test_long_header \ diff --git a/src/testcurl/https/Makefile.am b/src/testcurl/https/Makefile.am @@ -22,6 +22,10 @@ if USE_COVERAGE AM_CFLAGS += --coverage endif +$(top_builddir)/src/microhttpd/libmicrohttpd.la: $(top_builddir)/src/microhttpd/Makefile + @echo ' cd $(top_builddir)/src/microhttpd && $(MAKE) $(AM_MAKEFLAGS) libmicrohttpd.la'; \ + $(am__cd) $(top_builddir)/src/microhttpd && $(MAKE) $(AM_MAKEFLAGS) libmicrohttpd.la + LDADD = \ $(top_builddir)/src/microhttpd/libmicrohttpd.la \ $(MHD_TLS_LIB_LDFLAGS) $(MHD_TLS_LIBDEPS) @LIBGCRYPT_LIBS@ @LIBCURL@ diff --git a/src/testzzuf/Makefile.am b/src/testzzuf/Makefile.am @@ -20,6 +20,10 @@ LDADD = \ $(top_builddir)/src/microhttpd/libmicrohttpd.la \ @LIBCURL@ +$(top_builddir)/src/microhttpd/libmicrohttpd.la: $(top_builddir)/src/microhttpd/Makefile + @echo ' cd $(top_builddir)/src/microhttpd && $(MAKE) $(AM_MAKEFLAGS) libmicrohttpd.la'; \ + $(am__cd) $(top_builddir)/src/microhttpd && $(MAKE) $(AM_MAKEFLAGS) libmicrohttpd.la + EXTRA_DIST = README socat.c THREAD_ONLY_TESTS = \