2002-03-25 23:16:26 +03:00
# Makefile for rpm tools.
AUTOMAKE_OPTIONS = 1.4 foreign
2002-08-03 20:35:14 +04:00
INCLUDES = -I. \
2002-03-25 23:16:26 +03:00
-I$( top_srcdir) /build \
-I$( top_srcdir) /lib \
-I$( top_srcdir) /rpmdb \
-I$( top_srcdir) /rpmio \
@INCPATH@ \
-I$( top_srcdir) /misc
EXTRA_DIST = rpmchecksig.c
EXTRA_PROGRAMS = rpminject rpmsort
#myLDFLAGS= -L$(top_builddir)/build -L$(top_builddir)/lib \
2002-03-26 00:51:30 +03:00
# -L$(top_builddir)/rpmio
2002-03-25 23:16:26 +03:00
2002-08-03 20:35:14 +04:00
LDADD = \
2002-03-25 23:16:26 +03:00
$( top_builddir) /build/librpmbuild.la \
$( top_builddir) /lib/librpm.la \
$( top_builddir) /rpmdb/librpmdb.la \
$( top_builddir) /rpmio/librpmio.la \
2002-12-09 17:05:00 +03:00
@LIBINTL@
2002-03-25 23:16:26 +03:00
noinst_PROGRAMS = \
dump dumpdb rpmarchive rpmheader rpmlead rpmsignature
pkgbindir = @RPMCONFIGDIR@
2002-03-26 00:51:30 +03:00
pkgbin_PROGRAMS = javadeps filesize relative pdeath_execute
2002-03-25 23:16:26 +03:00
rpmsort_SOURCES = rpmsort.c
rpmsort_LDFLAGS = @LDFLAGS_STATIC@
javadeps_SOURCES = javadeps.c
2002-03-26 00:51:30 +03:00
filesize_SOURCES = filesize.c
2003-05-05 15:00:27 +04:00
filesize_LDADD =
filesize_DEPENDENCIES =
2002-03-26 00:51:30 +03:00
relative_SOURCES = relative.c
2003-05-05 15:00:27 +04:00
relative_LDADD =
relative_DEPENDENCIES =
2002-03-26 00:51:30 +03:00
pdeath_execute_SOURCES = pdeath_execute.c
2003-05-05 15:00:27 +04:00
pdeath_execute_LDADD =
pdeath_execute_DEPENDENCIES =
2002-03-26 00:51:30 +03:00
2002-08-03 20:35:14 +04:00
$(PROGRAMS) : $( LDADD )
2002-03-25 23:16:26 +03:00
gnash.o : gnash .c
$( COMPILE) -o $@ -c gnash.c
gnash : gnash .o
$( LINK) -all-static -o $@ gnash.o $( LDADD)