blob: 2f19956ccc1f5b766cb4d81ee89409aadef570c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# Makefile for rpm tools.
AUTOMAKE_OPTIONS = 1.4 foreign
INCLUDES = -I. \
-I$(top_srcdir) \
-I$(top_srcdir)/build \
-I$(top_srcdir)/lib \
-I$(top_srcdir)/rpmdb \
-I$(top_srcdir)/rpmio \
@WITH_BEECRYPT_INCLUDE@ \
-I$(top_srcdir)/popt \
@WITH_LIBELF_INCLUDE@ \
@WITH_LIBDWARF_INCLUDE@ \
-I$(top_srcdir)/file/src \
@INCPATH@ \
-I/usr/include/libxml2
-I$(top_srcdir)/misc
EXTRA_DIST = rpminject.c rpmsort.c rpmxml.c rpmxp.c rpmxp.h hashtab.h
EXTRA_PROGRAMS = convertdb1 rpminject rpmsort rpmtool rpmxml
LDADD = \
$(top_builddir)/lib/librpm.la \
@INTLLIBS@
staticLDFLAGS = @LDFLAGS_STATIC@ @LDFLAGS_NPTL@
noinst_PROGRAMS = dumpdb
pkgbindir = @RPMCONFIGDIR@
pkgbin_PROGRAMS = debugedit javadeps rpmcache rpmdeps rpmfile
bin_PROGRAMS = rpmgraph
convertdb1_SOURCES = convertdb1.c
debugedit_SOURCES = debugedit.c hashtab.c
debugedit_LDADD = @LDFLAGS_STATIC@ @WITH_LIBELF_LIB@ \
$(top_builddir)/popt/libpopt.la
javadeps_SOURCES = javadeps.c
rpmcache_SOURCES = rpmcache.c
#rpmcache_LDFLAGS = $(staticLDFLAGS)
rpmdeps_SOURCES = rpmdeps.c
rpmdeps_LDADD = $(top_builddir)/build/librpmbuild.la
#rpmdeps_LDFLAGS = $(staticLDFLAGS)
rpmfile.c: $(top_builddir)/file/src/file.c
rm -f $@
ln -s $< $@
rpmfile_SOURCES = rpmfile.c
rpmfile_LDADD = $(top_builddir)/rpmio/librpmio.la
#rpmfile_LDFLAGS = $(staticLDFLAGS)
rpmgraph_SOURCES = rpmgraph.c
#rpmgraph_LDFLAGS = $(staticLDFLAGS)
rpminject_SOURCES = rpminject.c
#rpminject_LDFLAGS = $(staticLDFLAGS)
rpmsort_SOURCES = rpmsort.c
#rpmsort_LDFLAGS = $(staticLDFLAGS)
rpmtool_SOURCES = rpmtool.c rpmxp.c
#rpmtool_LDFLAGS = $(staticLDFLAGS)
rpmtool_LDADD = $(LDADD) -lxml2
rpmxml_SOURCES = rpmxml.c # rpmxp.c
#rpmxml_LDFLAGS = $(staticLDFLAGS)
rpmxml_LDADD = $(LDADD) -lxml2
$(PROGRAMS): $(LDADD)
|