Add a test for relocations that are valid paths but would be invalid URIs if mis-interpreted
1 ## Process this file with automake to produce Makefile.in
6 -I$(top_builddir)/gl -I$(top_srcdir)/gl \
7 -I$(top_builddir)/src -I$(top_srcdir)/src \
8 -DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
9 -DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
10 -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
11 -DPACKAGE_BIN_DIR=\""$(bindir)"\" \
12 -DPACKAGE_LOCALSTATE_DIR=\""$(localstatedir)"\" \
13 -DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
14 -DPACKAGE_LIB_DIR=\""$(libdir)"\"
16 lib_LTLIBRARIES = librazor.la
17 check_PROGRAMS = test-pfu test-uri
19 check_PROGRAMS += test-lua
22 if INSTALL_TEST_PROGRAMS
23 bin_PROGRAMS = $(check_PROGRAMS)
26 librazorincludedir = $(includedir)/razor
28 librazorinclude_HEADERS = \
31 librazor_la_SOURCES = \
55 librazor_la_SOURCES += lua.c
58 librazor_la_LIBADD = $(LIBARCHIVE_LIBS) $(ZLIB_LIBS) types/libtypes.la \
59 $(LUA_LIBS) ../gl/libgnu.la $(INTLLIBS) $(EXTRA_LIBS)
60 librazor_la_LDFLAGS = -no-undefined -export-symbols-regex '^razor_' \
61 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
63 test_pfu_SOURCES = test-pfu.c
64 test_pfu_LDADD = path.lo uri.lo util.lo error.lo types/libtypes.la \
65 ../gl/libgnu.la $(INTLLIBS) $(EXTRA_LIBS)
69 test_uri_SOURCES = test-uri.c
70 test_uri_CFLAGS = $(AM_CFLAGS)
71 test_uri_LDADD = uri.lo util.lo path.lo error.lo types/libtypes.la \
72 $(LUA_LIBS) ../gl/libgnu.la $(INTLLIBS) $(EXTRA_LIBS)
77 test_lua_SOURCES = test-lua.c
78 test_lua_LDADD = lua.lo uri.lo uri-io.lo util.lo path.lo error.lo \
79 types/libtypes.la $(LIBARCHIVE_LIBS) $(LUA_LIBS) ../gl/libgnu.la \
80 $(INTLLIBS) $(EXTRA_LIBS)