librazor/Makefile.am
author J. Ali Harlow <ali@juiblex.co.uk>
Sat Feb 14 11:35:32 2009 +0000 (2009-02-14)
changeset 353 90b63682fdd7
parent 335 636f120d1b5e
child 354 889f5ff1aaa6
permissions -rw-r--r--
Refactor run_script for improved readability
rhughes@241
     1
## Process this file with automake to produce Makefile.in
rhughes@241
     2
rhughes@241
     3
INCLUDES = \
ali@323
     4
	-I$(top_builddir)/gl -I$(top_srcdir)/gl \
rhughes@241
     5
	-I$(top_builddir)/src -I$(top_srcdir)/src \
rhughes@241
     6
	-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
rhughes@241
     7
	-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
rhughes@241
     8
	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
rhughes@241
     9
	-DPACKAGE_BIN_DIR=\""$(bindir)"\" \
rhughes@241
    10
	-DPACKAGE_LOCALSTATE_DIR=\""$(localstatedir)"\" \
rhughes@241
    11
	-DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
rhughes@241
    12
	-DPACKAGE_LIB_DIR=\""$(libdir)"\"
rhughes@241
    13
rhughes@241
    14
lib_LTLIBRARIES = librazor.la
ali@352
    15
if HAVE_LUA
ali@352
    16
  check_PROGRAMS = test-lua
ali@352
    17
endif
rhughes@241
    18
rhughes@241
    19
librazorincludedir = $(includedir)/razor
rhughes@241
    20
rhughes@241
    21
librazorinclude_HEADERS =              			\
rhughes@241
    22
	razor.h
rhughes@241
    23
rhughes@241
    24
librazor_la_SOURCES =                                	\
rhughes@241
    25
	razor-internal.h				\
rhughes@241
    26
	razor.h						\
rhughes@241
    27
	razor.c						\
krh@248
    28
	root.c						\
rhughes@241
    29
	types.c						\
rhughes@241
    30
	util.c						\
krh@248
    31
	rpm.c						\
krh@248
    32
	iterator.c					\
krh@248
    33
	importer.c					\
krh@248
    34
	merger.c					\
krh@248
    35
	transaction.c
rhughes@241
    36
ali@352
    37
if HAVE_LUA
ali@352
    38
  librazor_la_SOURCES += lua.c
ali@352
    39
endif
ali@352
    40
ali@352
    41
librazor_la_LIBADD = $(ZLIB_LIBS) $(LUA_LIBS) ../gl/libgnu.la $(EXTRA_LIBS)
ali@352
    42
ali@352
    43
if HAVE_LUA
ali@352
    44
  test_lua_SOURCES = test-lua.c
ali@352
    45
  test_lua_LDADD = lua.lo util.lo $(LUA_LIBS) ../gl/libgnu.la \
ali@352
    46
	$(EXTRA_LIBS)
ali@352
    47
ali@352
    48
  TESTS = test-lua
ali@352
    49
endif
ali@352
    50
ali@352
    51
EXTRA_DIST = 			\
ali@352
    52
	test.lua
rhughes@241
    53
rhughes@241
    54
clean-local :
rhughes@241
    55
	rm -f *~
rhughes@241
    56