2000-06-08 07:25:41 +08:00
|
|
|
# Makefile for rpm library.
|
|
|
|
|
2007-12-08 20:02:32 +08:00
|
|
|
AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) -I$(top_builddir)/include/
|
2007-11-02 16:02:40 +08:00
|
|
|
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
|
2007-11-23 16:32:10 +08:00
|
|
|
AM_CPPFLAGS += @WITH_LIBELF_INCLUDE@
|
2007-08-31 20:38:41 +08:00
|
|
|
AM_CPPFLAGS += -DRPMCONFIGDIR="\"@RPMCONFIGDIR@\""
|
2007-11-22 22:28:30 +08:00
|
|
|
AM_CPPFLAGS += -DLOCALSTATEDIR="\"$(localstatedir)\""
|
2000-06-08 07:25:41 +08:00
|
|
|
|
2007-07-25 22:10:57 +08:00
|
|
|
usrlibdir = $(libdir)
|
2002-12-02 05:34:06 +08:00
|
|
|
usrlib_LTLIBRARIES = librpmio.la
|
2002-12-25 01:06:35 +08:00
|
|
|
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 \
|
2004-10-10 01:29:22 +08:00
|
|
|
rpmhook.c rpmio.c rpmlog.c rpmlua.c rpmmalloc.c \
|
2008-07-04 21:09:42 +08:00
|
|
|
rpmpgp.c rpmsq.c rpmsw.c url.c \
|
|
|
|
rpmio_internal.h rpmlua.h rpmhook.h fts.h \
|
2008-07-01 20:24:04 +08:00
|
|
|
rpmstring.c rpmfileutil.c \
|
2008-07-02 19:23:30 +08:00
|
|
|
rpmkeyring.c
|
2007-11-23 14:11:42 +08:00
|
|
|
|
2008-03-18 16:28:57 +08:00
|
|
|
librpmio_la_LDFLAGS = -release 4.6
|
2007-09-11 07:00:04 +08:00
|
|
|
librpmio_la_LIBADD = \
|
2007-10-30 19:16:21 +08:00
|
|
|
../misc/libmisc.la \
|
2007-11-02 16:02:40 +08:00
|
|
|
@WITH_NSS_LIB@ \
|
2004-10-10 01:29:22 +08:00
|
|
|
@WITH_LUA_LIB@ \
|
2005-02-17 10:36:37 +08:00
|
|
|
@WITH_MAGIC_LIB@ \
|
2007-09-20 12:53:59 +08:00
|
|
|
@WITH_BZ2_LIB@ \
|
2002-12-15 05:39:19 +08:00
|
|
|
@WITH_ZLIB_LIB@ \
|
2007-11-23 16:32:10 +08:00
|
|
|
@WITH_LIBELF_LIB@ \
|
2008-03-12 21:34:49 +08:00
|
|
|
@WITH_POPT_LIB@ \
|
2008-04-22 18:36:27 +08:00
|
|
|
@WITH_LZMA_LIB@ \
|
2005-02-17 10:36:37 +08:00
|
|
|
-lpthread
|
2001-09-25 11:03:23 +08:00
|
|
|
|
2008-10-14 20:36:23 +08:00
|
|
|
if WITH_LUAEXT
|
2008-10-14 20:49:57 +08:00
|
|
|
AM_CPPFLAGS += -I$(top_builddir)/luaext/
|
2008-10-14 20:36:23 +08:00
|
|
|
librpmio_la_LIBADD += $(top_builddir)/luaext/libluaext.la
|
|
|
|
endif
|
|
|
|
|
2007-08-27 22:06:05 +08:00
|
|
|
check_PROGRAMS =
|
2007-08-13 18:30:58 +08:00
|
|
|
|