rhughes@241: ## Process this file with automake to produce Makefile.in rhughes@241: ali@364: SUBDIRS = types ali@364: rhughes@241: INCLUDES = \ ali@323: -I$(top_builddir)/gl -I$(top_srcdir)/gl \ rhughes@241: -I$(top_builddir)/src -I$(top_srcdir)/src \ rhughes@241: -DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \ rhughes@241: -DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \ rhughes@241: -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ rhughes@241: -DPACKAGE_BIN_DIR=\""$(bindir)"\" \ rhughes@241: -DPACKAGE_LOCALSTATE_DIR=\""$(localstatedir)"\" \ rhughes@241: -DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \ rhughes@241: -DPACKAGE_LIB_DIR=\""$(libdir)"\" rhughes@241: rhughes@241: lib_LTLIBRARIES = librazor.la ali@455: check_PROGRAMS = test-pfu ali@352: if HAVE_LUA ali@455: check_PROGRAMS += test-lua ali@455: endif ali@455: ali@455: if INSTALL_TEST_PROGRAMS ali@455: bin_PROGRAMS = $(check_PROGRAMS) ali@352: endif rhughes@241: rhughes@241: librazorincludedir = $(includedir)/razor rhughes@241: rhughes@241: librazorinclude_HEADERS = \ rhughes@241: razor.h rhughes@241: rhughes@241: librazor_la_SOURCES = \ rhughes@241: razor-internal.h \ rhughes@241: razor.h \ rhughes@241: razor.c \ krh@248: root.c \ ali@457: dump.c \ rhughes@241: util.c \ ali@455: path.c \ krh@248: rpm.c \ krh@248: iterator.c \ krh@248: importer.c \ krh@248: merger.c \ ali@423: error.c \ ali@403: atomic.c \ ali@416: atomic-ktm.c \ ali@416: atomic-none.c \ ali@416: atomic-emulate.c \ ali@416: atomic-actions.c \ krh@248: transaction.c rhughes@241: ali@352: if HAVE_LUA ali@352: librazor_la_SOURCES += lua.c ali@352: endif ali@352: ali@364: librazor_la_LIBADD = $(ZLIB_LIBS) types/libtypes.la $(LUA_LIBS) \ ali@453: ../gl/libgnu.la $(INTLLIBS) $(EXTRA_LIBS) ali@454: librazor_la_LDFLAGS = -no-undefined -export-symbols-regex '^razor_' \ ali@381: -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) ali@352: ali@455: test_pfu_SOURCES = test-pfu.c ali@455: test_pfu_LDADD = path.lo util.lo error.lo types/libtypes.la \ ali@455: ../gl/libgnu.la $(INTLLIBS) $(EXTRA_LIBS) ali@455: ali@455: TESTS = test-pfu ali@455: ali@352: if HAVE_LUA ali@352: test_lua_SOURCES = test-lua.c ali@424: test_lua_LDADD = lua.lo util.lo error.lo types/libtypes.la $(LUA_LIBS) \ ali@398: ../gl/libgnu.la $(INTLLIBS) $(EXTRA_LIBS) ali@352: ali@455: TESTS += test-lua ali@352: endif ali@352: ali@352: EXTRA_DIST = \ ali@352: test.lua rhughes@241: rhughes@241: clean-local : rhughes@241: rm -f *~ rhughes@241: