Move debugedit from tools/Makefile.am to Makefile.am.

This commit is contained in:
Ralf Corsépius 2007-09-11 09:49:54 +02:00
parent 2ef2ca1f29
commit 8b96f09bb8
2 changed files with 5 additions and 11 deletions

View File

@ -71,10 +71,14 @@ rpm2cpio_SOURCES = rpm2cpio.c debug.h system.h
rpm2cpio_LDADD = lib/librpm.la rpmdb/librpmdb.la rpmio/librpmio.la
rpm2cpio_LDADD += @WITH_LIBELF_LIB@ @WITH_BEECRYPT_LIB@ @WITH_POPT_LIB@ @WITH_ZLIB_LIB@
## Build under same conditions as debugedit
if LIBELF
if LIBDWARF
rpmconfig_SCRIPTS += scripts/find-debuginfo.sh
rpmlibexec_PROGRAMS += debugedit
debugedit_SOURCES = tools/debugedit.c tools/hashtab.c tools/hashtab.h
debugedit_LDADD = @WITH_LIBELF_LIB@ @WITH_BEECRYPT_LIB@ @WITH_POPT_LIB@
endif
endif

View File

@ -28,16 +28,6 @@ rpmlibexec_PROGRAMS =
check_PROGRAMS += convertdb1
convertdb1_SOURCES = convertdb1.c
if LIBELF
if LIBDWARF
rpmlibexec_PROGRAMS += debugedit
debugedit_SOURCES = debugedit.c hashtab.c hashtab.h
debugedit_LDADD = @WITH_LIBELF_LIB@ \
@WITH_BEECRYPT_LIB@ \
@WITH_POPT_LIB@
endif
endif
rpmlibexec_PROGRAMS += javadeps
javadeps_SOURCES = javadeps.c