librazor/Makefile.am
author J. Ali Harlow <ali@juiblex.co.uk>
Thu Mar 12 20:23:35 2009 +0000 (2009-03-12)
changeset 355 cf0fdfe5bca2
parent 352 4866573c6944
child 357 39f8dab73084
permissions -rw-r--r--
Don't list libcurl as a requirement in the .pc file
since it's not needed by librazor.
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@354
    42
librazor_la_LDFLAGS = -no-undefined
ali@352
    43
ali@352
    44
if HAVE_LUA
ali@352
    45
  test_lua_SOURCES = test-lua.c
ali@352
    46
  test_lua_LDADD = lua.lo util.lo $(LUA_LIBS) ../gl/libgnu.la \
ali@352
    47
	$(EXTRA_LIBS)
ali@352
    48
ali@352
    49
  TESTS = test-lua
ali@352
    50
endif
ali@352
    51
ali@352
    52
EXTRA_DIST = 			\
ali@352
    53
	test.lua
rhughes@241
    54
rhughes@241
    55
clean-local :
rhughes@241
    56
	rm -f *~
rhughes@241
    57