| author | J. Ali Harlow <ali@juiblex.co.uk> |
| Mon Jul 11 16:49:53 2016 +0100 (2016-07-11) | |
| changeset 489 | 9d0a04089d22 |
| parent 475 | 008c75a5e08d |
| permissions | -rw-r--r-- |
| rhughes@241 | 1 |
## Process this file with automake to produce Makefile.in |
| rhughes@241 | 2 |
|
| ali@364 | 3 |
SUBDIRS = types |
| ali@364 | 4 |
|
| rhughes@241 | 5 |
INCLUDES = \ |
| ali@323 | 6 |
-I$(top_builddir)/gl -I$(top_srcdir)/gl \ |
| rhughes@241 | 7 |
-I$(top_builddir)/src -I$(top_srcdir)/src \ |
| rhughes@241 | 8 |
-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \ |
| rhughes@241 | 9 |
-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \ |
| rhughes@241 | 10 |
-DPACKAGE_DATA_DIR=\""$(datadir)"\" \ |
| rhughes@241 | 11 |
-DPACKAGE_BIN_DIR=\""$(bindir)"\" \ |
| rhughes@241 | 12 |
-DPACKAGE_LOCALSTATE_DIR=\""$(localstatedir)"\" \ |
| rhughes@241 | 13 |
-DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \ |
| rhughes@241 | 14 |
-DPACKAGE_LIB_DIR=\""$(libdir)"\" |
| rhughes@241 | 15 |
|
| rhughes@241 | 16 |
lib_LTLIBRARIES = librazor.la |
| ali@475 | 17 |
check_PROGRAMS = test-pfu test-uri |
| ali@352 | 18 |
if HAVE_LUA |
| ali@455 | 19 |
check_PROGRAMS += test-lua |
| ali@455 | 20 |
endif |
| ali@455 | 21 |
|
| ali@455 | 22 |
if INSTALL_TEST_PROGRAMS |
| ali@455 | 23 |
bin_PROGRAMS = $(check_PROGRAMS) |
| ali@352 | 24 |
endif |
| rhughes@241 | 25 |
|
| rhughes@241 | 26 |
librazorincludedir = $(includedir)/razor |
| rhughes@241 | 27 |
|
| rhughes@241 | 28 |
librazorinclude_HEADERS = \ |
| rhughes@241 | 29 |
razor.h |
| rhughes@241 | 30 |
|
| rhughes@241 | 31 |
librazor_la_SOURCES = \ |
| rhughes@241 | 32 |
razor-internal.h \ |
| ali@475 | 33 |
uri.h \ |
| rhughes@241 | 34 |
razor.h \ |
| rhughes@241 | 35 |
razor.c \ |
| krh@248 | 36 |
root.c \ |
| ali@457 | 37 |
dump.c \ |
| rhughes@241 | 38 |
util.c \ |
| ali@475 | 39 |
uri-io.c \ |
| ali@475 | 40 |
uri.c \ |
| ali@455 | 41 |
path.c \ |
| krh@248 | 42 |
rpm.c \ |
| krh@248 | 43 |
iterator.c \ |
| krh@248 | 44 |
importer.c \ |
| krh@248 | 45 |
merger.c \ |
| ali@423 | 46 |
error.c \ |
| ali@403 | 47 |
atomic.c \ |
| ali@416 | 48 |
atomic-ktm.c \ |
| ali@416 | 49 |
atomic-none.c \ |
| ali@416 | 50 |
atomic-emulate.c \ |
| ali@416 | 51 |
atomic-actions.c \ |
| krh@248 | 52 |
transaction.c |
| rhughes@241 | 53 |
|
| ali@352 | 54 |
if HAVE_LUA |
| ali@352 | 55 |
librazor_la_SOURCES += lua.c |
| ali@352 | 56 |
endif |
| ali@352 | 57 |
|
| ali@476 | 58 |
librazor_la_LIBADD = $(LIBARCHIVE_LIBS) $(ZLIB_LIBS) types/libtypes.la \ |
| ali@476 | 59 |
$(LUA_LIBS) ../gl/libgnu.la $(INTLLIBS) $(EXTRA_LIBS) |
| ali@454 | 60 |
librazor_la_LDFLAGS = -no-undefined -export-symbols-regex '^razor_' \ |
| ali@381 | 61 |
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) |
| ali@352 | 62 |
|
| ali@455 | 63 |
test_pfu_SOURCES = test-pfu.c |
| ali@475 | 64 |
test_pfu_LDADD = path.lo uri.lo util.lo error.lo types/libtypes.la \ |
| ali@455 | 65 |
../gl/libgnu.la $(INTLLIBS) $(EXTRA_LIBS) |
| ali@455 | 66 |
|
| ali@455 | 67 |
TESTS = test-pfu |
| ali@455 | 68 |
|
| ali@475 | 69 |
test_uri_SOURCES = test-uri.c |
| ali@475 | 70 |
test_uri_CFLAGS = $(AM_CFLAGS) |
| ali@475 | 71 |
test_uri_LDADD = uri.lo util.lo path.lo error.lo types/libtypes.la \ |
| ali@475 | 72 |
$(LUA_LIBS) ../gl/libgnu.la $(INTLLIBS) $(EXTRA_LIBS) |
| ali@475 | 73 |
|
| ali@475 | 74 |
TESTS += test-uri |
| ali@475 | 75 |
|
| ali@352 | 76 |
if HAVE_LUA |
| ali@352 | 77 |
test_lua_SOURCES = test-lua.c |
| ali@475 | 78 |
test_lua_LDADD = lua.lo uri.lo uri-io.lo util.lo path.lo error.lo \ |
| ali@476 | 79 |
types/libtypes.la $(LIBARCHIVE_LIBS) $(LUA_LIBS) ../gl/libgnu.la \ |
| ali@476 | 80 |
$(INTLLIBS) $(EXTRA_LIBS) |
| ali@352 | 81 |
|
| ali@455 | 82 |
TESTS += test-lua |
| ali@352 | 83 |
endif |
| ali@352 | 84 |
|
| ali@352 | 85 |
EXTRA_DIST = \ |
| ali@352 | 86 |
test.lua |
| rhughes@241 | 87 |
|
| rhughes@241 | 88 |
clean-local : |
| rhughes@241 | 89 |
rm -f *~ |
| rhughes@241 | 90 |