diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-10-04 13:33:18 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-10-04 14:31:55 +0300 |
commit | e8a1f5da3e86a6c07f87c577ddfd2a1c2cc0b2aa (patch) | |
tree | b4b561d94cb046f651044d725b8da172ffc3afca /Makefile.am | |
parent | e188767e3ee75e9417e361e1d005195c3efa0b99 (diff) | |
download | librpm-tizen-e8a1f5da3e86a6c07f87c577ddfd2a1c2cc0b2aa.tar.gz librpm-tizen-e8a1f5da3e86a6c07f87c577ddfd2a1c2cc0b2aa.tar.bz2 librpm-tizen-e8a1f5da3e86a6c07f87c577ddfd2a1c2cc0b2aa.zip |
Lift specfile query out of main rpm(query) into separate binary
- Avoids having to link /bin/rpm with librpmbuild and everything it
might bring in (eg libmagic) which are not needed for core operation.
- Minimally preserve backwards compatibility with popt exec alias
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 9ff6d3cae..907c721ec 100644 --- a/Makefile.am +++ b/Makefile.am @@ -88,7 +88,7 @@ pkginclude_HEADERS += build/rpmspec.h rpmbindir = `echo $(bindir) | $(SED) -e s,usr/bin,bin,` rpmbin_PROGRAMS = rpm -bin_PROGRAMS = rpm2cpio rpmbuild rpmdb rpmkeys rpmsign +bin_PROGRAMS = rpm2cpio rpmbuild rpmdb rpmkeys rpmsign rpmspec rpmlibexec_PROGRAMS = rpmconfig_SCRIPTS = find-provides find-requires mkinstalldirs \ @@ -105,7 +105,7 @@ libcliutils_la_LIBADD += @WITH_POPT_LIB@ rpm_SOURCES = rpmqv.c debug.h system.h rpm_CPPFLAGS = $(AM_CPPFLAGS) -DIAM_RPMEIU -DIAM_RPMQV rpm_LDADD = libcliutils.la -rpm_LDADD += build/librpmbuild.la lib/librpm.la rpmio/librpmio.la +rpm_LDADD += lib/librpm.la rpmio/librpmio.la rpm_LDADD += @WITH_NSS_LIB@ @WITH_POPT_LIB@ @WITH_ZLIB_LIB@ rpmdb_SOURCES = rpmdb.c debug.h system.h @@ -132,6 +132,12 @@ rpmbuild_LDADD = libcliutils.la rpmbuild_LDADD += build/librpmbuild.la lib/librpm.la rpmio/librpmio.la rpmbuild_LDADD += @WITH_NSS_LIB@ @WITH_POPT_LIB@ @WITH_ZLIB_LIB@ +rpmspec_SOURCES = rpmspec.c debug.h system.h +rpmspec_CPPFLAGS = $(AM_CPPFLAGS) +rpmspec_LDADD = libcliutils.la +rpmspec_LDADD += build/librpmbuild.la lib/librpm.la rpmio/librpmio.la +rpmspec_LDADD += @WITH_NSS_LIB@ @WITH_POPT_LIB@ @WITH_ZLIB_LIB@ + rpm2cpio_SOURCES = rpm2cpio.c debug.h system.h rpm2cpio_LDADD = lib/librpm.la rpmio/librpmio.la rpm2cpio_LDADD += @WITH_NSS_LIB@ @WITH_POPT_LIB@ @WITH_ZLIB_LIB@ |