Makefile.am revision 1920ef85b63738a06914e56508049dd0afe38732
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Boschnoinst_LTLIBRARIES = libhttp.la
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan BoschAM_CPPFLAGS = \
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Bosch -I$(top_srcdir)/src/lib \
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Bosch -I$(top_srcdir)/src/lib-test \
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Bosch -I$(top_srcdir)/src/lib-dns \
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Boschlibhttp_la_SOURCES = \
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Boschpkginc_libdir=$(pkgincludedir)
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Boschpkginc_lib_HEADERS = $(headers)
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Boschtest_programs = \
1bd20e2a575473f3d05499f05f1d72da59b34fd6Stephan Bosch test-http-date \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch test-http-url \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch test-http-header-parser \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch test-http-transfer \
49beae176b0fadb122c776bbdfa0ea789c30f47fTimo Sirainen test-http-response-parser
49beae176b0fadb122c776bbdfa0ea789c30f47fTimo Sirainentest_nocheck_programs = \
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch test-http-client
49beae176b0fadb122c776bbdfa0ea789c30f47fTimo Sirainennoinst_PROGRAMS = $(test_programs) $(test_nocheck_programs)
7384b4e78eaab44693c985192276e31322155e32Stephan Bosch $(MODULE_LIBS)
ec383c7840663a34033f5b1b027e7c530af564beTimo Sirainen $(noinst_LTLIBRARIES) \
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Boschtest_http_url_SOURCES = test-http-url.c
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Boschtest_http_url_LDADD = http-url.lo $(test_libs)
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Boschtest_http_url_DEPENDENCIES = $(test_deps)
1bd20e2a575473f3d05499f05f1d72da59b34fd6Stephan Boschtest_http_date_SOURCES = test-http-date.c
1bd20e2a575473f3d05499f05f1d72da59b34fd6Stephan Boschtest_http_date_LDADD = http-date.lo $(test_libs)
1bd20e2a575473f3d05499f05f1d72da59b34fd6Stephan Boschtest_http_date_DEPENDENCIES = $(test_deps)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschtest_http_header_parser_SOURCES = test-http-header-parser.c
7384b4e78eaab44693c985192276e31322155e32Stephan Boschtest_http_header_parser_LDADD = http-parser.lo http-header-parser.lo $(test_libs)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschtest_http_header_parser_DEPENDENCIES = $(test_deps)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschtest_http_transfer_SOURCES = test-http-transfer.c
7384b4e78eaab44693c985192276e31322155e32Stephan Boschtest_http_transfer_LDADD = \
7384b4e78eaab44693c985192276e31322155e32Stephan Boschtest_http_transfer_DEPENDENCIES = $(test_deps)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschtest_http_response_parser_SOURCES = test-http-response-parser.c
7384b4e78eaab44693c985192276e31322155e32Stephan Boschtest_http_response_parser_LDADD = \
7384b4e78eaab44693c985192276e31322155e32Stephan Boschtest_http_response_parser_DEPENDENCIES = $(test_deps)
7384b4e78eaab44693c985192276e31322155e32Stephan Boschtest_http_client_SOURCES = test-http-client.c
7384b4e78eaab44693c985192276e31322155e32Stephan Boschtest_http_client_LDFLAGS = -export-dynamic
7384b4e78eaab44693c985192276e31322155e32Stephan Boschtest_http_client_LDADD = \
7384b4e78eaab44693c985192276e31322155e32Stephan Boschtest_http_client_DEPENDENCIES = \
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Boschcheck: check-am check-test
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Boschcheck-test: all-am
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Bosch for bin in $(test_programs); do \
5394bed8aaef2a6c1c870a34a23a7824e1f370bbStephan Bosch if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \