rpm/rpmio/Makefile.am

41 lines
1.0 KiB
Makefile
Raw Normal View History

# Makefile for rpm library.
AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) -I$(top_builddir)/include/
AM_CPPFLAGS += @WITH_NSS_INCLUDE@
2007-10-17 21:08:01 +08:00
AM_CPPFLAGS += @WITH_LUA_INCLUDE@
AM_CPPFLAGS += @WITH_POPT_INCLUDE@
AM_CPPFLAGS += -I$(top_srcdir)/misc
AM_CPPFLAGS += @WITH_LIBELF_INCLUDE@
2007-08-31 20:38:41 +08:00
AM_CPPFLAGS += -DRPMCONFIGDIR="\"@RPMCONFIGDIR@\""
AM_CPPFLAGS += -DLOCALSTATEDIR="\"$(localstatedir)\""
usrlibdir = $(libdir)
usrlib_LTLIBRARIES = librpmio.la
librpmio_la_SOURCES = \
2007-12-05 17:27:50 +08:00
argv.c base64.h base64.c digest.h digest.c fts.c macro.c \
rpmhook.c rpmio.c rpmlog.c rpmlua.c rpmmalloc.c \
rpmpgp.c rpmsq.c rpmsw.c url.c \
rpmio_internal.h rpmlua.h rpmhook.h fts.h \
rpmstring.c rpmfileutil.c \
2008-07-02 19:23:30 +08:00
rpmkeyring.c
librpmio_la_LDFLAGS = -version-info 0:0:0
librpmio_la_LIBADD = \
../misc/libmisc.la \
@WITH_NSS_LIB@ \
@WITH_LUA_LIB@ \
2007-09-20 12:53:59 +08:00
@WITH_BZ2_LIB@ \
@WITH_ZLIB_LIB@ \
@WITH_LIBELF_LIB@ \
@WITH_POPT_LIB@ \
@WITH_LZMA_LIB@ \
-lpthread
2008-10-14 20:36:23 +08:00
if WITH_LUAEXT
2009-05-22 14:56:43 +08:00
AM_CPPFLAGS += -I$(top_srcdir)/luaext/
2008-10-14 20:36:23 +08:00
librpmio_la_LIBADD += $(top_builddir)/luaext/libluaext.la
endif
check_PROGRAMS =