summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-08-09 15:04:18 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-08-09 15:04:18 +0200
commitad2c08036219ded749ac66cf444914721d55b21e (patch)
treec189f7543383b1b4b799680a19265a8c0c216f83
parent2d34243d2c22930b51984ebfa6b1276d0cdb4f46 (diff)
downloadrpm-ad2c08036219ded749ac66cf444914721d55b21e.tar.gz
rpm-ad2c08036219ded749ac66cf444914721d55b21e.tar.bz2
rpm-ad2c08036219ded749ac66cf444914721d55b21e.zip
Bring tdbi and tsql under automake control.
-rw-r--r--rpmdb/Makefile.am14
1 files changed, 9 insertions, 5 deletions
diff --git a/rpmdb/Makefile.am b/rpmdb/Makefile.am
index ff2d2ee21..08bd1f074 100644
--- a/rpmdb/Makefile.am
+++ b/rpmdb/Makefile.am
@@ -188,8 +188,12 @@ sources:
lint:
$(LINT) $(DEFS) $(AM_CPPFLAGS) $(librpmdb_la_SOURCES) $(DBLIBSRCS)
-tdbi: librpmdb.la tdbi.o
- $(LINK) @LDFLAGS_STATIC@ $@.o $< $(mylibpaths) $(mylibs) $(LIBS)
-
-tsql: librpmdb.la tsql.o
- $(LINK) @LDFLAGS_STATIC@ $@.o $< $(mylibpaths) $(mylibs) $(LIBS)
+EXTRA_PROGRAMS += tdbi
+tdbi_SOURCES = tdbi.c
+# tdbi_LDFLAGS = @LDFLAGS_STATIC@
+tdbi_LDADD = $(mylibpaths) $(mylibs)
+
+EXTRA_PROGRAMS += tsql
+tsql_SOURCES = tsql.c
+# tsql_LDFLAGS = @LDFLAGS_STATIC@
+tsql_LDADD = $(mylibpaths) $(mylibs) $(LIBS)