3 -DSRCDIR=\""$(abs_srcdir)"\" \
4 -DLIBSOUP_DISABLE_DEPRECATED \
5 $(SOUP_MAINTAINER_FLAGS) \
10 $(top_builddir)/libsoup/libsoup-2.4.la \
45 noinst_DATA = soup-tests.gresource
47 TEST_SRCS = test-utils.c test-utils.h
49 auth_test_SOURCES = auth-test.c $(TEST_SRCS)
50 chunk_test_SOURCES = chunk-test.c $(TEST_SRCS)
51 coding_test_SOURCES = coding-test.c $(TEST_SRCS)
52 connection_test_SOURCES = connection-test.c $(TEST_SRCS)
53 context_test_SOURCES = context-test.c $(TEST_SRCS)
54 continue_test_SOURCES = continue-test.c $(TEST_SRCS)
55 cookies_test_SOURCES = cookies-test.c $(TEST_SRCS)
56 date_SOURCES = date.c $(TEST_SRCS)
58 forms_test_SOURCES = forms-test.c $(TEST_SRCS)
60 if BUILD_LIBSOUP_GNOME
61 get_LDADD = $(top_builddir)/libsoup/libsoup-gnome-2.4.la
63 header_parsing_SOURCES = header-parsing.c $(TEST_SRCS)
64 multipart_test_SOURCES = multipart-test.c $(TEST_SRCS)
65 misc_test_SOURCES = misc-test.c $(TEST_SRCS)
66 ntlm_test_SOURCES = ntlm-test.c $(TEST_SRCS)
67 proxy_test_SOURCES = proxy-test.c $(TEST_SRCS)
68 pull_api_SOURCES = pull-api.c $(TEST_SRCS)
69 range_test_SOURCES = range-test.c $(TEST_SRCS)
70 redirect_test_SOURCES = redirect-test.c $(TEST_SRCS)
71 requester_test_SOURCES = requester-test.c $(TEST_SRCS)
72 resource_test_SOURCES = resource-test.c $(TEST_SRCS)
73 server_auth_test_SOURCES = server-auth-test.c $(TEST_SRCS)
74 simple_httpd_SOURCES = simple-httpd.c
75 simple_proxy_SOURCES = simple-proxy.c
76 sniffing_test_SOURCES = sniffing-test.c $(TEST_SRCS)
77 socket_test_SOURCES = socket-test.c $(TEST_SRCS)
78 ssl_test_SOURCES = ssl-test.c $(TEST_SRCS)
79 streaming_test_SOURCES = streaming-test.c $(TEST_SRCS)
80 timeout_test_SOURCES = timeout-test.c $(TEST_SRCS)
81 tld_test_SOURCES = tld-test.c $(TEST_SRCS)
82 uri_parsing_SOURCES = uri-parsing.c $(TEST_SRCS)
83 xmlrpc_test_SOURCES = xmlrpc-test.c $(TEST_SRCS)
84 xmlrpc_server_test_SOURCES = xmlrpc-server-test.c $(TEST_SRCS)
87 APACHE_TESTS = auth-test proxy-test pull-api range-test
90 CURL_TESTS = forms-test server-auth-test
93 XMLRPC_TESTS = xmlrpc-test xmlrpc-server-test
98 httpd_conf_in = httpd.conf.22.in
100 httpd_conf_in = httpd.conf.24.in
102 httpd.conf: $(httpd_conf_in)
103 $(AM_V_GEN) sed -e 's,[@]srcdir@,$(srcdir),' \
104 -e 's,[@]builddir@,$(builddir),' \
105 -e 's,[@]APACHE_MODULE_DIR@,$(APACHE_MODULE_DIR),' \
106 -e 's,[@]APACHE_PHP_MODULE_DIR@,$(APACHE_PHP_MODULE_DIR),' \
107 -e 's,[@]APACHE_PHP_MODULE@,$(APACHE_PHP_MODULE),' \
108 -e 's,[@]IF_HAVE_PHP@,$(IF_HAVE_PHP),' \
109 -e 's,[@]APACHE_SSL_MODULE_DIR@,$(APACHE_SSL_MODULE_DIR),' \
112 BUILT_SOURCES = httpd.conf
115 soup-tests.gresource: soup-tests.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/soup-tests.gresource.xml)
116 $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) $<
147 resources/html_binary.html \
151 resources/mbox.zlib \
152 resources/ps_binary.ps \
153 resources/rss20.xml \
154 resources/test.html \
155 resources/text_binary.txt
164 soup-tests.gresource.xml \
170 DISTCLEANFILES = soup-tests.gresource httpd.conf
172 if MISSING_REGRESSION_TEST_PACKAGES
173 check-local: check-TESTS
175 @echo "NOTE: some tests were not run due to missing packages:" $(MISSING_REGRESSION_TEST_PACKAGES)
180 $(APACHE_HTTPD) -d `pwd` -f httpd.conf -k stop