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-03-18 14:55:05 +08:00
|
|
|
rpmpgp.c rpmsq.c rpmsw.c url.c ugid.c \
|
2007-11-23 14:11:42 +08:00
|
|
|
rpmio_internal.h rpmlua.h rpmhook.h ugid.h fts.h \
|
2007-11-22 22:06:11 +08:00
|
|
|
rpmstring.c rpmfileutil.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@ \
|
2005-02-17 10:36:37 +08:00
|
|
|
-lpthread
|
2001-09-25 11:03:23 +08:00
|
|
|
|
2007-08-27 22:06:05 +08:00
|
|
|
check_PROGRAMS =
|
2007-08-13 18:30:58 +08:00
|
|
|
|
2007-08-27 22:06:05 +08:00
|
|
|
check_PROGRAMS += tax
|
2004-10-10 01:29:22 +08:00
|
|
|
tax_SOURCES = tax.c
|
|
|
|
tax_LDADD = librpmio.la
|
|
|
|
|
2007-08-27 22:06:05 +08:00
|
|
|
check_PROGRAMS += tdir
|
2007-08-27 18:26:21 +08:00
|
|
|
tdir_SOURCES = tdir.c rpmio_internal.h
|
2007-08-13 18:30:58 +08:00
|
|
|
tdir_LDADD = librpmio.la @WITH_POPT_LIB@
|
2002-02-24 05:24:37 +08:00
|
|
|
|
2007-08-27 22:06:05 +08:00
|
|
|
check_PROGRAMS += tfts
|
2007-08-27 18:26:21 +08:00
|
|
|
tfts_SOURCES = tfts.c rpmio_internal.h
|
2007-08-13 18:30:58 +08:00
|
|
|
tfts_LDADD = librpmio.la @WITH_POPT_LIB@
|
2002-02-25 04:44:36 +08:00
|
|
|
|
2007-08-27 22:06:05 +08:00
|
|
|
check_PROGRAMS += tget
|
2007-08-27 18:26:21 +08:00
|
|
|
tget_SOURCES = tget.c rpmio_internal.h
|
2007-08-13 18:30:58 +08:00
|
|
|
tget_LDADD = librpmio.la @WITH_POPT_LIB@
|
2004-11-06 04:43:10 +08:00
|
|
|
|
2007-08-27 22:06:05 +08:00
|
|
|
check_PROGRAMS += thkp
|
2007-08-27 18:26:21 +08:00
|
|
|
thkp_SOURCES = thkp.c rpmio_internal.h
|
2007-08-13 18:30:58 +08:00
|
|
|
thkp_LDADD = librpmio.la @WITH_POPT_LIB@
|
2004-11-29 05:14:41 +08:00
|
|
|
|
2007-08-27 22:06:05 +08:00
|
|
|
check_PROGRAMS += tglob
|
2007-08-27 18:26:21 +08:00
|
|
|
tglob_SOURCES = tglob.c rpmio_internal.h
|
2007-08-13 18:30:58 +08:00
|
|
|
tglob_LDADD = librpmio.la @WITH_POPT_LIB@
|
2001-09-29 09:27:22 +08:00
|
|
|
|
2007-08-27 22:06:05 +08:00
|
|
|
check_PROGRAMS += tkey
|
2007-08-27 18:26:21 +08:00
|
|
|
tkey_SOURCES = tkey.c rpmio_internal.h
|
2007-08-13 18:30:58 +08:00
|
|
|
tkey_LDADD = librpmio.la @WITH_POPT_LIB@
|
2001-09-29 09:27:22 +08:00
|
|
|
|
2007-08-27 22:06:05 +08:00
|
|
|
check_PROGRAMS += tring
|
2007-08-27 18:26:21 +08:00
|
|
|
tring_SOURCES = tring.c rpmio_internal.h
|
2007-08-13 18:30:58 +08:00
|
|
|
tring_LDADD = librpmio.la @WITH_POPT_LIB@
|
2001-10-21 04:28:56 +08:00
|
|
|
|
2007-08-27 22:06:05 +08:00
|
|
|
check_PROGRAMS += trpmio
|
2002-02-28 23:48:39 +08:00
|
|
|
trpmio_SOURCES = trpmio.c
|
2007-08-13 18:30:58 +08:00
|
|
|
trpmio_LDADD = librpmio.la @WITH_POPT_LIB@
|
2002-02-28 23:48:39 +08:00
|
|
|
|
2007-08-27 22:06:05 +08:00
|
|
|
check_PROGRAMS += tsw
|
2003-03-25 08:22:23 +08:00
|
|
|
tsw_SOURCES = tsw.c
|
2007-09-11 07:00:04 +08:00
|
|
|
tsw_LDADD = librpmio.la
|
2007-10-17 20:31:06 +08:00
|
|
|
|
|
|
|
check_PROGRAMS += tput
|
|
|
|
tput_SOURCES = tput.c
|
|
|
|
tput_LDADD = librpmio.la @WITH_POPT_LIB@
|
2007-11-07 17:41:06 +08:00
|
|
|
|
|
|
|
check_PROGRAMS += tufdio
|
|
|
|
tufdio_SOURCES = tufdio.c
|
|
|
|
tufdio_LDADD = librpmio.la
|