1 # This program is free software; you can redistribute it and/or modify
2 # it under the terms of the GNU General Public License as published by
3 # the Free Software Foundation; version 2 of the License.
5 # This program is distributed in the hope that it will be useful,
6 # but WITHOUT ANY WARRANTY; without even the implied warranty of
7 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8 # GNU General Public License for more details.
10 # You should have received a copy of the GNU General Public License
11 # along with this program; if not, write to the Free Software
12 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
14 AUTOMAKE_OPTIONS = parallel-tests
24 parse_url_SOURCES = parse-url.c
26 parse_url_LDADD = ../../lib/libpbcore.la
28 check_PROGRAMS = parse-url
29 check_SCRIPTS = run-url-test
31 TESTS = data/double-slash.test \
32 data/http-simple.test \
34 data/join-absolute.test \
35 data/join-relative.test \
38 TEST_EXTENSIONS = .test
39 TEST_LOG_COMPILER = $(builddir)/run-url-test
42 -e 's|@PACKAGE_NAME\@|$(PACKAGE_NAME)|g' \
43 -e 's|@PACKAGE_VERSION\@|$(PACKAGE_VERSION)|g' \
44 -e 's|@PACKAGE_BUGREPORT\@|$(PACKAGE_BUGREPORT)|g' \
45 -e 's|@abs_srcdir\@|$(abs_srcdir)|g' \
46 -e 's|@abs_builddir\@|$(abs_builddir)|g' \
47 -e 's|@prefix\@|$(prefix)|g'
49 EXTRA_DIST = $(TESTS) run-url-test.in
51 run-url-test: Makefile $(srcdir)/run-url-test.in
53 $(edit) $(srcdir)/$@.in >$@.tmp
57 CLEANFILES = run-url-test
59 MAINTAINERCLEANFILES = Makefile.in