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.
     1 ## Process this file with automake to produce Makefile.in
     2 
     3 INCLUDES = \
     4 	-I$(top_builddir)/gl -I$(top_srcdir)/gl \
     5 	-I$(top_builddir)/src -I$(top_srcdir)/src \
     6 	-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
     7 	-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
     8 	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
     9 	-DPACKAGE_BIN_DIR=\""$(bindir)"\" \
    10 	-DPACKAGE_LOCALSTATE_DIR=\""$(localstatedir)"\" \
    11 	-DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
    12 	-DPACKAGE_LIB_DIR=\""$(libdir)"\"
    13 
    14 lib_LTLIBRARIES = librazor.la
    15 if HAVE_LUA
    16   check_PROGRAMS = test-lua
    17 endif
    18 
    19 librazorincludedir = $(includedir)/razor
    20 
    21 librazorinclude_HEADERS =              			\
    22 	razor.h
    23 
    24 librazor_la_SOURCES =                                	\
    25 	razor-internal.h				\
    26 	razor.h						\
    27 	razor.c						\
    28 	root.c						\
    29 	types.c						\
    30 	util.c						\
    31 	rpm.c						\
    32 	iterator.c					\
    33 	importer.c					\
    34 	merger.c					\
    35 	transaction.c
    36 
    37 if HAVE_LUA
    38   librazor_la_SOURCES += lua.c
    39 endif
    40 
    41 librazor_la_LIBADD = $(ZLIB_LIBS) $(LUA_LIBS) ../gl/libgnu.la $(EXTRA_LIBS)
    42 librazor_la_LDFLAGS = -no-undefined
    43 
    44 if HAVE_LUA
    45   test_lua_SOURCES = test-lua.c
    46   test_lua_LDADD = lua.lo util.lo $(LUA_LIBS) ../gl/libgnu.la \
    47 	$(EXTRA_LIBS)
    48 
    49   TESTS = test-lua
    50 endif
    51 
    52 EXTRA_DIST = 			\
    53 	test.lua
    54 
    55 clean-local :
    56 	rm -f *~
    57