and applied it again with minor changes

This commit is contained in:
Дмитрий Левин 2004-01-21 15:15:19 +00:00
parent 4b6e05af60
commit 95b920806f

View File

@ -20,7 +20,8 @@ INCLUDES = \
myLDFLAGS = # @LDFLAGS_STATIC@
myLDADD = $(top_builddir)/lib/librpm.la $(top_builddir)/build/librpmbuild.la
mylibLDADD = $(top_builddir)/lib/librpm.la
myLDADD = $(mylibLDADD) $(top_builddir)/build/librpmbuild.la
rpmbindir = `echo $(bindir) | sed -e s,usr/bin,bin,`
rpmbin_PROGRAMS =
@ -59,19 +60,19 @@ rpmb.o: rpmqv.c
rpmd_SOURCES =
rpmd_LDFLAGS = $(myLDFLAGS)
rpmd_LDADD = rpmd.o $(myLDADD)
rpmd_LDADD = rpmd.o $(mylibLDADD)
rpmd.o: rpmqv.c
$(COMPILE) -DIAM_RPMDB -o $@ -c rpmqv.c
rpmi_SOURCES =
rpmi_LDFLAGS = $(myLDFLAGS)
rpmi_LDADD = rpmi.o $(myLDADD)
rpmi_LDADD = rpmi.o $(mylibLDADD)
rpmi.o: rpmqv.c
$(COMPILE) -DIAM_RPMEIU -o $@ -c rpmqv.c
rpmk_SOURCES =
rpmk_LDFLAGS = $(myLDFLAGS)
rpmk_LDADD = rpmk.o $(myLDADD)
rpmk_LDADD = rpmk.o $(mylibLDADD)
rpmk.o: rpmqv.c
$(COMPILE) -DIAM_RPMK -o $@ -c rpmqv.c
@ -83,7 +84,7 @@ rpmq.o: rpmqv.c
rpm2cpio_SOURCES = rpm2cpio.c
rpm2cpio_LDFLAGS = $(myLDFLAGS)
rpm2cpio_LDADD = $(myLDADD)
rpm2cpio_LDADD = $(mylibLDADD)
$(PROGRAMS): $(myLDADD) @WITH_APIDOCS_TARGET@