librazor/Makefile.am
author ali <j.a.harlow@letterboxes.org>
Thu Aug 25 14:22:52 2011 +0100 (2011-08-25)
changeset 402 6ed7abe8e66b
parent 381 d35581ea0c67
child 403 e63951c1d0f8
permissions -rw-r--r--
Release version 0.4.1
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@352
    17
if HAVE_LUA
ali@364
    18
  check_PROGRAMS = test-lua
ali@352
    19
endif
rhughes@241
    20
rhughes@241
    21
librazorincludedir = $(includedir)/razor
rhughes@241
    22
rhughes@241
    23
librazorinclude_HEADERS =              			\
rhughes@241
    24
	razor.h
rhughes@241
    25
rhughes@241
    26
librazor_la_SOURCES =                                	\
rhughes@241
    27
	razor-internal.h				\
rhughes@241
    28
	razor.h						\
rhughes@241
    29
	razor.c						\
krh@248
    30
	root.c						\
rhughes@241
    31
	util.c						\
krh@248
    32
	rpm.c						\
krh@248
    33
	iterator.c					\
krh@248
    34
	importer.c					\
krh@248
    35
	merger.c					\
krh@248
    36
	transaction.c
rhughes@241
    37
ali@352
    38
if HAVE_LUA
ali@352
    39
  librazor_la_SOURCES += lua.c
ali@352
    40
endif
ali@352
    41
ali@364
    42
librazor_la_LIBADD = $(ZLIB_LIBS) types/libtypes.la $(LUA_LIBS) \
ali@398
    43
	../gl/libgnu.la $(INTLLIBS) $(EXTRA_LIBS)
ali@381
    44
librazor_la_LDFLAGS = -no-undefined \
ali@381
    45
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
ali@352
    46
ali@352
    47
if HAVE_LUA
ali@352
    48
  test_lua_SOURCES = test-lua.c
ali@364
    49
  test_lua_LDADD = lua.lo util.lo types/libtypes.la $(LUA_LIBS) \
ali@398
    50
	../gl/libgnu.la $(INTLLIBS) $(EXTRA_LIBS)
ali@352
    51
ali@364
    52
  TESTS = test-lua
ali@352
    53
endif
ali@352
    54
ali@352
    55
EXTRA_DIST = 			\
ali@352
    56
	test.lua
rhughes@241
    57
rhughes@241
    58
clean-local :
rhughes@241
    59
	rm -f *~
rhughes@241
    60