source: trunk/third/rpm/Makefile.in @ 19079

Revision 19079, 35.8 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r19078, which included commits to RCS files with non-trunk default branches.
RevLine 
[19078]1# Makefile.in generated by automake 1.6.3 from Makefile.am.
2# @configure_input@
[17930]3
[19078]4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
5# Free Software Foundation, Inc.
[17930]6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
[19078]15@SET_MAKE@
16
[17930]17# Top level Makefile for rpm
18SHELL = @SHELL@
19
20srcdir = @srcdir@
21top_srcdir = @top_srcdir@
22VPATH = @srcdir@
23prefix = @prefix@
24exec_prefix = @exec_prefix@
25
26bindir = @bindir@
27sbindir = @sbindir@
28libexecdir = @libexecdir@
29datadir = @datadir@
30sysconfdir = @sysconfdir@
31sharedstatedir = @sharedstatedir@
32localstatedir = @localstatedir@
33libdir = @libdir@
34infodir = @infodir@
35mandir = @mandir@
36includedir = @includedir@
37oldincludedir = /usr/include
38pkgdatadir = $(datadir)/@PACKAGE@
39pkgincludedir = $(includedir)/@PACKAGE@
40top_builddir = .
41
42ACLOCAL = @ACLOCAL@
43AUTOCONF = @AUTOCONF@
44AUTOMAKE = @AUTOMAKE@
45AUTOHEADER = @AUTOHEADER@
46
[19078]47am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
[17930]48INSTALL = @INSTALL@
[19078]49INSTALL_PROGRAM = @INSTALL_PROGRAM@
[17930]50INSTALL_DATA = @INSTALL_DATA@
[19078]51install_sh_DATA = $(install_sh) -c -m 644
52install_sh_PROGRAM = $(install_sh) -c
53install_sh_SCRIPT = $(install_sh) -c
[17930]54INSTALL_SCRIPT = @INSTALL_SCRIPT@
[19078]55INSTALL_HEADER = $(INSTALL_DATA)
[17930]56transform = @program_transform_name@
57NORMAL_INSTALL = :
58PRE_INSTALL = :
59POST_INSTALL = :
60NORMAL_UNINSTALL = :
61PRE_UNINSTALL = :
62POST_UNINSTALL = :
63build_alias = @build_alias@
64build_triplet = @build@
65host_alias = @host_alias@
66host_triplet = @host@
67target_alias = @target_alias@
68target_triplet = @target@
[19078]69
70EXEEXT = @EXEEXT@
71OBJEXT = @OBJEXT@
72PATH_SEPARATOR = @PATH_SEPARATOR@
73
74pkglibdir = @RPMCONFIGDIR@
75AMTAR = @AMTAR@
[17930]76AR = @AR@
77AS = @AS@
78AWK = @AWK@
79BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
80BZIP2BIN = @BZIP2BIN@
81CATOBJEXT = @CATOBJEXT@
82CC = @CC@
83CPP = @CPP@
84CSCOPE = @CSCOPE@
85CTAGS = @CTAGS@
86CXX = @CXX@
87DATADIRNAME = @DATADIRNAME@
88DBLIBOBJS = @DBLIBOBJS@
89DBLIBSRCS = @DBLIBSRCS@
[19078]90DEPDIR = @DEPDIR@
[17930]91DLLTOOL = @DLLTOOL@
92ECHO = @ECHO@
93FINDPROVIDES = @FINDPROVIDES@
94FINDREQUIRES = @FINDREQUIRES@
95FIXPERMS = @FIXPERMS@
96GENCAT = @GENCAT@
97GLIBC21 = @GLIBC21@
98GMSGFMT = @GMSGFMT@
99GZIPBIN = @GZIPBIN@
[19078]100HAVE_LIB = @HAVE_LIB@
[17930]101INCPATH = @INCPATH@
[19078]102INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
[17930]103INSTOBJEXT = @INSTOBJEXT@
104INTLBISON = @INTLBISON@
105INTLLIBS = @INTLLIBS@
106INTLOBJS = @INTLOBJS@
107INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
[19078]108LDFLAGS_NPTL = @LDFLAGS_NPTL@
[17930]109LDFLAGS_STATIC = @LDFLAGS_STATIC@
[19078]110LIB = @LIB@
[17930]111LIBDIR = @LIBDIR@
112LIBICONV = @LIBICONV@
[19078]113LIBINTL = @LIBINTL@
[17930]114LIBMISC = @LIBMISC@
115LIBRPMALIAS_FILENAME = @LIBRPMALIAS_FILENAME@
116LIBRPMRC_FILENAME = @LIBRPMRC_FILENAME@
117LIBTOOL = @LIBTOOL@
118LN_S = @LN_S@
119LOCALEDIR = @LOCALEDIR@
[19078]120LTLIB = @LTLIB@
121LTLIBICONV = @LTLIBICONV@
122LTLIBINTL = @LTLIBINTL@
[17930]123MACROFILES = @MACROFILES@
[19078]124MARK64 = @MARK64@
[17930]125MKDIR = @MKDIR@
126MKDIR_P = @MKDIR_P@
127MKINSTALLDIRS = @MKINSTALLDIRS@
128OBJDUMP = @OBJDUMP@
129PACKAGE = @PACKAGE@
130PGPBIN = @PGPBIN@
131POSUB = @POSUB@
132RANLIB = @RANLIB@
133ROOT_GROUP = @ROOT_GROUP@
134RPM = @RPM@
135RPMCANONARCH = @RPMCANONARCH@
[19078]136RPMCANONCOLOR = @RPMCANONCOLOR@
[17930]137RPMCANONOS = @RPMCANONOS@
138RPMCANONVENDOR = @RPMCANONVENDOR@
139RPMCONFIGDIR = @RPMCONFIGDIR@
140RPMGID = @RPMGID@
141RPMGROUP = @RPMGROUP@
142RPMUID = @RPMUID@
143RPMUSER = @RPMUSER@
144STRIP = @STRIP@
145SYSCONFIGDIR = @SYSCONFIGDIR@
146U = @U@
147UNZIPBIN = @UNZIPBIN@
148USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
149USE_NLS = @USE_NLS@
[19078]150VENDORRPMRC_FILENAME = @VENDORRPMRC_FILENAME@
[17930]151VERSION = @VERSION@
152WITH_APIDOCS = @WITH_APIDOCS@
153WITH_APIDOCS_TARGET = @WITH_APIDOCS_TARGET@
154WITH_BZIP2 = @WITH_BZIP2@
155WITH_DB_SUBDIR = @WITH_DB_SUBDIR@
[19078]156WITH_ELFUTILS_SUBDIR = @WITH_ELFUTILS_SUBDIR@
[17930]157WITH_INTERNAL_DB = @WITH_INTERNAL_DB@
[19078]158WITH_LIBDWARF_INCLUDE = @WITH_LIBDWARF_INCLUDE@
159WITH_LIBELF_INCLUDE = @WITH_LIBELF_INCLUDE@
160WITH_LIBELF_LIB = @WITH_LIBELF_LIB@
[17930]161WITH_PYTHON_SUBDIR = @WITH_PYTHON_SUBDIR@
162WITH_PYTHON_SUBPACKAGE = @WITH_PYTHON_SUBPACKAGE@
163WITH_PYTHON_VERSION = @WITH_PYTHON_VERSION@
164WITH_ZLIB_INCLUDE = @WITH_ZLIB_INCLUDE@
165WITH_ZLIB_LIB = @WITH_ZLIB_LIB@
166WITH_ZLIB_SUBDIR = @WITH_ZLIB_SUBDIR@
167__CAT = @__CAT@
168__CHGRP = @__CHGRP@
169__CHGRP_RHF = @__CHGRP_RHF@
170__CHMOD = @__CHMOD@
171__CHOWN = @__CHOWN@
172__CHOWN_RHF = @__CHOWN_RHF@
173__CP = @__CP@
174__CPIO = @__CPIO@
175__DOXYGEN = @__DOXYGEN@
176__FILE = @__FILE@
177__GPG = @__GPG@
178__GREP = @__GREP@
179__ID = @__ID@
180__ID_U = @__ID_U@
181__INSTALL = @__INSTALL@
182__LD = @__LD@
183__MAKE = @__MAKE@
184__MKDIR = @__MKDIR@
185__MV = @__MV@
186__NM = @__NM@
187__OBJCOPY = @__OBJCOPY@
188__OBJDUMP = @__OBJDUMP@
189__PATCH = @__PATCH@
190__PERL = @__PERL@
191__PYTHON = @__PYTHON@
192__RM = @__RM@
193__RSH = @__RSH@
194__SED = @__SED@
195__SSH = @__SSH@
196__STRIP = @__STRIP@
197__TAR = @__TAR@
[19078]198am__include = @am__include@
199am__quote = @am__quote@
200install_sh = @install_sh@
[17930]201libdb3 = @libdb3@
202libdb3a = @libdb3a@
203testdir = @testdir@
204tmpdir = @tmpdir@
205varprefix = @varprefix@
206
207AUTOMAKE_OPTIONS = 1.4 foreign
208
[19078]209LINT = splint
210
[17930]211EXTRA_DIST = CHANGES CREDITS Doxyheader GROUPS README.amiga INSTALL \
[19078]212        RPM-GPG-KEY RPM-PGP-KEY BETA-GPG-KEY \
[17930]213        autodeps/none autodeps/*.prov autodeps/*.req autogen.sh \
214        config.site db db3/configure gendiff installplatform platform* \
[19078]215        xmlspec/Makefile xmlspec/*.c xmlspec/*.h \
216        xmlspec/examples/*.sh xmlspec/examples/*.lst \
217        xmlspec/examples/*.xmlspec \
218        po/*.in po/*.po po/rpm.pot \
[17930]219        rpm.magic rpmpopt-$(VERSION) rpmqv.c rpm.c
220
221
[19078]222SUBDIRS = intl po @WITH_ZLIB_SUBDIR@ @WITH_ELFUTILS_SUBDIR@ file @WITH_DB_SUBDIR@ popt beecrypt rpmio rpmdb lib build misc @WITH_PYTHON_SUBDIR@ tools scripts tests doc .
[17930]223
224INCLUDES = \
225        -I$(top_srcdir)/build \
226        -I$(top_srcdir)/lib \
227        -I$(top_srcdir)/rpmdb \
228        -I$(top_srcdir)/rpmio \
229        -I$(top_srcdir)/beecrypt \
230        -I$(top_srcdir)/popt \
[19078]231        @WITH_LIBELF_INCLUDE@ \
[17930]232        @INCPATH@
233
234
[19078]235staticLDFLAGS = @LDFLAGS_STATIC@ @LDFLAGS_NPTL@
[17930]236
[19078]237myLDFLAGS = @WITH_LIBELF_LIB@
[17930]238
239myLDADD = \
240        $(top_builddir)/lib/librpm.la \
241        $(top_builddir)/rpmdb/librpmdb.la \
242        $(top_builddir)/rpmio/librpmio.la \
243        $(top_builddir)/popt/libpopt.la \
244        @WITH_ZLIB_LIB@ \
[19078]245        @INTLLIBS@ \
246        @LIBMISC@
[17930]247
248
249rpmbindir = `echo $(bindir) | sed -e s,usr/bin,bin,`
250rpmbin_PROGRAMS = rpm
251
252bin_PROGRAMS = rpm2cpio
253bin_SCRIPTS = gendiff
254pkglib_PROGRAMS = rpmb rpmd rpmi rpmk rpmq
255pkglib_DATA = rpmrc rpmpopt-$(VERSION) macros
256pkglib_SCRIPTS = find-provides find-requires mkinstalldirs \
257                        config.guess config.sub config.site
258
259
[19078]260noinst_HEADERS = build.h debug.h system.h
[17930]261
262rpm_SOURCES =
[19078]263rpm_LDFLAGS = $(myLDFLAGS)
264rpm_LDADD = rpm.o $(top_builddir)/build/.libs/librpmbuild.a $(myLDADD)
[17930]265
266rpmb_SOURCES = build.c
267rpmb_LDFLAGS = $(myLDFLAGS)
[19078]268rpmb_LDADD = rpmb.o $(top_builddir)/build/librpmbuild.la $(myLDADD)
[17930]269
270rpmd_SOURCES =
271rpmd_LDFLAGS = $(myLDFLAGS)
272rpmd_LDADD = rpmd.o $(myLDADD)
273
274rpmi_SOURCES =
[19078]275rpmi_LDFLAGS = $(myLDFLAGS) $(staticLDFLAGS)
276rpmi_LDADD = rpmi.o $(myLDADD) @WITH_LIBELF_LIB@
[17930]277
278rpmk_SOURCES =
279rpmk_LDFLAGS = $(myLDFLAGS)
280rpmk_LDADD = rpmk.o $(myLDADD)
281
282rpmq_SOURCES =
283rpmq_LDFLAGS = $(myLDFLAGS)
[19078]284rpmq_LDADD = rpmq.o $(top_builddir)/build/librpmbuild.la $(myLDADD)
[17930]285
286rpm2cpio_SOURCES = rpm2cpio.c
287rpm2cpio_LDFLAGS = $(myLDFLAGS)
288rpm2cpio_LDADD = $(myLDADD) @LIBMISC@
289
290CVSTAG = r$(subst .,-,$(VERSION))
291
292pkgsrcdir = $(prefix)/src/$(RPMCANONVENDOR)
[19078]293subdir = .
[17930]294ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
295mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
296CONFIG_HEADER = config.h
[19078]297CONFIG_CLEAN_FILES = Doxyfile rpmrc macros platform rpmpopt rpm.spec \
298        intl/Makefile
299bin_PROGRAMS = rpm2cpio$(EXEEXT)
300pkglib_PROGRAMS = rpmb$(EXEEXT) rpmd$(EXEEXT) rpmi$(EXEEXT) \
301        rpmk$(EXEEXT) rpmq$(EXEEXT)
302rpmbin_PROGRAMS = rpm$(EXEEXT)
303PROGRAMS = $(bin_PROGRAMS) $(pkglib_PROGRAMS) $(rpmbin_PROGRAMS)
[17930]304
[19078]305am_rpm_OBJECTS =
306rpm_OBJECTS = $(am_rpm_OBJECTS)
307rpm_DEPENDENCIES = rpm.o $(top_builddir)/build/.libs/librpmbuild.a \
308        $(top_builddir)/lib/librpm.la $(top_builddir)/rpmdb/librpmdb.la \
309        $(top_builddir)/rpmio/librpmio.la \
310        $(top_builddir)/popt/libpopt.la
311am_rpm2cpio_OBJECTS = rpm2cpio.$(OBJEXT)
312rpm2cpio_OBJECTS = $(am_rpm2cpio_OBJECTS)
313rpm2cpio_DEPENDENCIES = $(top_builddir)/lib/librpm.la \
314        $(top_builddir)/rpmdb/librpmdb.la \
315        $(top_builddir)/rpmio/librpmio.la \
316        $(top_builddir)/popt/libpopt.la
317am_rpmb_OBJECTS = build.$(OBJEXT)
318rpmb_OBJECTS = $(am_rpmb_OBJECTS)
319rpmb_DEPENDENCIES = rpmb.o $(top_builddir)/build/librpmbuild.la \
320        $(top_builddir)/lib/librpm.la $(top_builddir)/rpmdb/librpmdb.la \
321        $(top_builddir)/rpmio/librpmio.la \
322        $(top_builddir)/popt/libpopt.la
323am_rpmd_OBJECTS =
324rpmd_OBJECTS = $(am_rpmd_OBJECTS)
325rpmd_DEPENDENCIES = rpmd.o $(top_builddir)/lib/librpm.la \
326        $(top_builddir)/rpmdb/librpmdb.la \
327        $(top_builddir)/rpmio/librpmio.la \
328        $(top_builddir)/popt/libpopt.la
329am_rpmi_OBJECTS =
330rpmi_OBJECTS = $(am_rpmi_OBJECTS)
331rpmi_DEPENDENCIES = rpmi.o $(top_builddir)/lib/librpm.la \
332        $(top_builddir)/rpmdb/librpmdb.la \
333        $(top_builddir)/rpmio/librpmio.la \
334        $(top_builddir)/popt/libpopt.la
335am_rpmk_OBJECTS =
336rpmk_OBJECTS = $(am_rpmk_OBJECTS)
337rpmk_DEPENDENCIES = rpmk.o $(top_builddir)/lib/librpm.la \
338        $(top_builddir)/rpmdb/librpmdb.la \
339        $(top_builddir)/rpmio/librpmio.la \
340        $(top_builddir)/popt/libpopt.la
341am_rpmq_OBJECTS =
342rpmq_OBJECTS = $(am_rpmq_OBJECTS)
343rpmq_DEPENDENCIES = rpmq.o $(top_builddir)/build/librpmbuild.la \
344        $(top_builddir)/lib/librpm.la $(top_builddir)/rpmdb/librpmdb.la \
345        $(top_builddir)/rpmio/librpmio.la \
346        $(top_builddir)/popt/libpopt.la
347SCRIPTS = $(bin_SCRIPTS) $(pkglib_SCRIPTS)
[17930]348
[19078]349
350DEFS = @DEFS@
351DEFAULT_INCLUDES =  -I. -I$(srcdir) -I.
[17930]352CPPFLAGS = @CPPFLAGS@
353LDFLAGS = @LDFLAGS@
[19078]354LIBS = @LIBS@
355depcomp = $(SHELL) $(top_srcdir)/depcomp
356am__depfiles_maybe = depfiles
357@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/build.Po ./$(DEPDIR)/rpm2cpio.Po
358COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
359        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
360LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
361        $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
362CCLD = $(CC)
363LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
364        $(AM_LDFLAGS) $(LDFLAGS) -o $@
[17930]365CFLAGS = @CFLAGS@
[19078]366DIST_SOURCES = $(rpm_SOURCES) $(rpm2cpio_SOURCES) $(rpmb_SOURCES) \
367        $(rpmd_SOURCES) $(rpmi_SOURCES) $(rpmk_SOURCES) $(rpmq_SOURCES)
368DATA = $(pkglib_DATA)
[17930]369
[19078]370HEADERS = $(noinst_HEADERS)
[17930]371
372
[19078]373RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
374        uninstall-info-recursive all-recursive install-data-recursive \
375        install-exec-recursive installdirs-recursive install-recursive \
376        uninstall-recursive check-recursive installcheck-recursive
377DIST_COMMON = README $(noinst_HEADERS) ABOUT-NLS COPYING Doxyfile.in \
378        INSTALL Makefile.am Makefile.in TODO aclocal.m4 config.guess \
379        config.h.in config.sub configure configure.ac depcomp \
380        install-sh ltconfig ltmain.sh macros.in missing mkinstalldirs \
381        platform.in rpm.spec.in rpmpopt.in rpmrc.in
382DIST_SUBDIRS = $(SUBDIRS)
383SOURCES = $(rpm_SOURCES) $(rpm2cpio_SOURCES) $(rpmb_SOURCES) $(rpmd_SOURCES) $(rpmi_SOURCES) $(rpmk_SOURCES) $(rpmq_SOURCES)
[17930]384
[19078]385all: config.h
386        $(MAKE) $(AM_MAKEFLAGS) all-recursive
[17930]387
388.SUFFIXES:
[19078]389.SUFFIXES: .c .lo .o .obj
[17930]390
[19078]391am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
392 configure.lineno
393$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
394        cd $(top_srcdir) && \
395          $(AUTOMAKE) --foreign  Makefile
396Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
397        cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
[17930]398
[19078]399$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
[17930]400        $(SHELL) ./config.status --recheck
[19078]401$(srcdir)/configure:  $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
[17930]402        cd $(srcdir) && $(AUTOCONF)
403
[19078]404$(ACLOCAL_M4):  configure.ac
405        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
406
407config.h: stamp-h1
[17930]408        @if test ! -f $@; then \
[19078]409          rm -f stamp-h1; \
410          $(MAKE) stamp-h1; \
[17930]411        else :; fi
412
[19078]413stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
414        @rm -f stamp-h1
415        cd $(top_builddir) && $(SHELL) ./config.status config.h
[17930]416
[19078]417$(srcdir)/config.h.in:  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
418        cd $(top_srcdir) && $(AUTOHEADER)
419        touch $(srcdir)/config.h.in
[17930]420
421distclean-hdr:
[19078]422        -rm -f config.h stamp-h1
[17930]423Doxyfile: $(top_builddir)/config.status Doxyfile.in
[19078]424        cd $(top_builddir) && $(SHELL) ./config.status $@
[17930]425rpmrc: $(top_builddir)/config.status rpmrc.in
[19078]426        cd $(top_builddir) && $(SHELL) ./config.status $@
[17930]427macros: $(top_builddir)/config.status macros.in
[19078]428        cd $(top_builddir) && $(SHELL) ./config.status $@
[17930]429platform: $(top_builddir)/config.status platform.in
[19078]430        cd $(top_builddir) && $(SHELL) ./config.status $@
[17930]431rpmpopt: $(top_builddir)/config.status rpmpopt.in
[19078]432        cd $(top_builddir) && $(SHELL) ./config.status $@
[17930]433rpm.spec: $(top_builddir)/config.status rpm.spec.in
[19078]434        cd $(top_builddir) && $(SHELL) ./config.status $@
435intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
436        cd $(top_builddir) && $(SHELL) ./config.status $@
437binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
[17930]438install-binPROGRAMS: $(bin_PROGRAMS)
439        @$(NORMAL_INSTALL)
440        $(mkinstalldirs) $(DESTDIR)$(bindir)
441        @list='$(bin_PROGRAMS)'; for p in $$list; do \
[19078]442          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
443          if test -f $$p \
444             || test -f $$p1 \
445          ; then \
446            f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
447           echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
448           $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
[17930]449          else :; fi; \
450        done
451
452uninstall-binPROGRAMS:
453        @$(NORMAL_UNINSTALL)
[19078]454        @list='$(bin_PROGRAMS)'; for p in $$list; do \
455          f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
456          echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
457          rm -f $(DESTDIR)$(bindir)/$$f; \
[17930]458        done
459
[19078]460clean-binPROGRAMS:
461        @list='$(bin_PROGRAMS)'; for p in $$list; do \
462          f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
463          echo " rm -f $$p $$f"; \
464          rm -f $$p $$f ; \
465        done
466pkglibPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
[17930]467install-pkglibPROGRAMS: $(pkglib_PROGRAMS)
468        @$(NORMAL_INSTALL)
469        $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
470        @list='$(pkglib_PROGRAMS)'; for p in $$list; do \
[19078]471          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
472          if test -f $$p \
473             || test -f $$p1 \
474          ; then \
475            f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
476           echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(pkglibPROGRAMS_INSTALL) $$p $(DESTDIR)$(pkglibdir)/$$f"; \
477           $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(pkglibPROGRAMS_INSTALL) $$p $(DESTDIR)$(pkglibdir)/$$f; \
[17930]478          else :; fi; \
479        done
480
481uninstall-pkglibPROGRAMS:
482        @$(NORMAL_UNINSTALL)
[19078]483        @list='$(pkglib_PROGRAMS)'; for p in $$list; do \
484          f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
485          echo " rm -f $(DESTDIR)$(pkglibdir)/$$f"; \
486          rm -f $(DESTDIR)$(pkglibdir)/$$f; \
[17930]487        done
488
[19078]489clean-pkglibPROGRAMS:
490        @list='$(pkglib_PROGRAMS)'; for p in $$list; do \
491          f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
492          echo " rm -f $$p $$f"; \
493          rm -f $$p $$f ; \
494        done
495rpmbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
[17930]496install-rpmbinPROGRAMS: $(rpmbin_PROGRAMS)
497        @$(NORMAL_INSTALL)
498        $(mkinstalldirs) $(DESTDIR)$(rpmbindir)
499        @list='$(rpmbin_PROGRAMS)'; for p in $$list; do \
[19078]500          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
501          if test -f $$p \
502             || test -f $$p1 \
503          ; then \
504            f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
505           echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(rpmbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(rpmbindir)/$$f"; \
506           $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(rpmbinPROGRAMS_INSTALL) $$p $(DESTDIR)$(rpmbindir)/$$f; \
[17930]507          else :; fi; \
508        done
509
510uninstall-rpmbinPROGRAMS:
511        @$(NORMAL_UNINSTALL)
[19078]512        @list='$(rpmbin_PROGRAMS)'; for p in $$list; do \
513          f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
514          echo " rm -f $(DESTDIR)$(rpmbindir)/$$f"; \
515          rm -f $(DESTDIR)$(rpmbindir)/$$f; \
[17930]516        done
517
[19078]518clean-rpmbinPROGRAMS:
519        @list='$(rpmbin_PROGRAMS)'; for p in $$list; do \
520          f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
521          echo " rm -f $$p $$f"; \
522          rm -f $$p $$f ; \
523        done
524rpm$(EXEEXT): $(rpm_OBJECTS) $(rpm_DEPENDENCIES)
525        @rm -f rpm$(EXEEXT)
526        $(LINK) $(rpm_LDFLAGS) $(rpm_OBJECTS) $(rpm_LDADD) $(LIBS)
527rpm2cpio$(EXEEXT): $(rpm2cpio_OBJECTS) $(rpm2cpio_DEPENDENCIES)
[17930]528        @rm -f rpm2cpio$(EXEEXT)
529        $(LINK) $(rpm2cpio_LDFLAGS) $(rpm2cpio_OBJECTS) $(rpm2cpio_LDADD) $(LIBS)
[19078]530rpmb$(EXEEXT): $(rpmb_OBJECTS) $(rpmb_DEPENDENCIES)
[17930]531        @rm -f rpmb$(EXEEXT)
532        $(LINK) $(rpmb_LDFLAGS) $(rpmb_OBJECTS) $(rpmb_LDADD) $(LIBS)
[19078]533rpmd$(EXEEXT): $(rpmd_OBJECTS) $(rpmd_DEPENDENCIES)
[17930]534        @rm -f rpmd$(EXEEXT)
535        $(LINK) $(rpmd_LDFLAGS) $(rpmd_OBJECTS) $(rpmd_LDADD) $(LIBS)
[19078]536rpmi$(EXEEXT): $(rpmi_OBJECTS) $(rpmi_DEPENDENCIES)
[17930]537        @rm -f rpmi$(EXEEXT)
538        $(LINK) $(rpmi_LDFLAGS) $(rpmi_OBJECTS) $(rpmi_LDADD) $(LIBS)
[19078]539rpmk$(EXEEXT): $(rpmk_OBJECTS) $(rpmk_DEPENDENCIES)
[17930]540        @rm -f rpmk$(EXEEXT)
541        $(LINK) $(rpmk_LDFLAGS) $(rpmk_OBJECTS) $(rpmk_LDADD) $(LIBS)
[19078]542rpmq$(EXEEXT): $(rpmq_OBJECTS) $(rpmq_DEPENDENCIES)
[17930]543        @rm -f rpmq$(EXEEXT)
544        $(LINK) $(rpmq_LDFLAGS) $(rpmq_OBJECTS) $(rpmq_LDADD) $(LIBS)
[19078]545binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
[17930]546install-binSCRIPTS: $(bin_SCRIPTS)
547        @$(NORMAL_INSTALL)
548        $(mkinstalldirs) $(DESTDIR)$(bindir)
549        @list='$(bin_SCRIPTS)'; for p in $$list; do \
[19078]550          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
551          if test -f $$d$$p; then \
552            f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
553            echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
554            $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
555          else :; fi; \
[17930]556        done
557
558uninstall-binSCRIPTS:
559        @$(NORMAL_UNINSTALL)
[19078]560        @list='$(bin_SCRIPTS)'; for p in $$list; do \
561          f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
562          echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
563          rm -f $(DESTDIR)$(bindir)/$$f; \
[17930]564        done
[19078]565pkglibSCRIPT_INSTALL = $(INSTALL_SCRIPT)
[17930]566install-pkglibSCRIPTS: $(pkglib_SCRIPTS)
567        @$(NORMAL_INSTALL)
568        $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
569        @list='$(pkglib_SCRIPTS)'; for p in $$list; do \
[19078]570          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
571          if test -f $$d$$p; then \
572            f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
573            echo " $(pkglibSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(pkglibdir)/$$f"; \
574            $(pkglibSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(pkglibdir)/$$f; \
575          else :; fi; \
[17930]576        done
577
578uninstall-pkglibSCRIPTS:
579        @$(NORMAL_UNINSTALL)
[19078]580        @list='$(pkglib_SCRIPTS)'; for p in $$list; do \
581          f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
582          echo " rm -f $(DESTDIR)$(pkglibdir)/$$f"; \
583          rm -f $(DESTDIR)$(pkglibdir)/$$f; \
[17930]584        done
585
[19078]586mostlyclean-compile:
587        -rm -f *.$(OBJEXT) core *.core
588
589distclean-compile:
590        -rm -f *.tab.c
591
592@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/build.Po@am__quote@
593@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpm2cpio.Po@am__quote@
594
595distclean-depend:
596        -rm -rf ./$(DEPDIR)
597
598.c.o:
599@AMDEP_TRUE@    source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
600@AMDEP_TRUE@    depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
601@AMDEP_TRUE@    $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
602        $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
603
604.c.obj:
605@AMDEP_TRUE@    source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
606@AMDEP_TRUE@    depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
607@AMDEP_TRUE@    $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
608        $(COMPILE) -c `cygpath -w $<`
609
610.c.lo:
611@AMDEP_TRUE@    source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
612@AMDEP_TRUE@    depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
613@AMDEP_TRUE@    $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
614        $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
615CCDEPMODE = @CCDEPMODE@
616
617mostlyclean-libtool:
618        -rm -f *.lo
619
620clean-libtool:
621        -rm -rf .libs _libs
622
623distclean-libtool:
624        -rm -f libtool
625uninstall-info-am:
626pkglibDATA_INSTALL = $(INSTALL_DATA)
[17930]627install-pkglibDATA: $(pkglib_DATA)
628        @$(NORMAL_INSTALL)
629        $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
630        @list='$(pkglib_DATA)'; for p in $$list; do \
[19078]631          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
632          f="`echo $$p | sed -e 's|^.*/||'`"; \
633          echo " $(pkglibDATA_INSTALL) $$d$$p $(DESTDIR)$(pkglibdir)/$$f"; \
634          $(pkglibDATA_INSTALL) $$d$$p $(DESTDIR)$(pkglibdir)/$$f; \
[17930]635        done
636
637uninstall-pkglibDATA:
638        @$(NORMAL_UNINSTALL)
[19078]639        @list='$(pkglib_DATA)'; for p in $$list; do \
640          f="`echo $$p | sed -e 's|^.*/||'`"; \
641          echo " rm -f $(DESTDIR)$(pkglibdir)/$$f"; \
642          rm -f $(DESTDIR)$(pkglibdir)/$$f; \
[17930]643        done
644
645# This directory's subdirectories are mostly independent; you can cd
646# into them and run `make' without going through this Makefile.
647# To change the values of `make' variables: instead of editing Makefiles,
648# (1) if the variable is set in `config.status', edit `config.status'
649#     (which will cause the Makefiles to be regenerated when you run `make');
650# (2) otherwise, pass the desired values on the `make' command line.
[19078]651$(RECURSIVE_TARGETS):
652        @set fnord $$MAKEFLAGS; amf=$$2; \
[17930]653        dot_seen=no; \
654        target=`echo $@ | sed s/-recursive//`; \
655        list='$(SUBDIRS)'; for subdir in $$list; do \
656          echo "Making $$target in $$subdir"; \
657          if test "$$subdir" = "."; then \
658            dot_seen=yes; \
659            local_target="$$target-am"; \
660          else \
661            local_target="$$target"; \
662          fi; \
663          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
664           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
665        done; \
666        if test "$$dot_seen" = "no"; then \
667          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
668        fi; test -z "$$fail"
669
670mostlyclean-recursive clean-recursive distclean-recursive \
671maintainer-clean-recursive:
[19078]672        @set fnord $$MAKEFLAGS; amf=$$2; \
[17930]673        dot_seen=no; \
[19078]674        case "$@" in \
675          distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
676          *) list='$(SUBDIRS)' ;; \
677        esac; \
678        rev=''; for subdir in $$list; do \
679          if test "$$subdir" = "."; then :; else \
680            rev="$$subdir $$rev"; \
681          fi; \
[17930]682        done; \
[19078]683        rev="$$rev ."; \
[17930]684        target=`echo $@ | sed s/-recursive//`; \
685        for subdir in $$rev; do \
686          echo "Making $$target in $$subdir"; \
687          if test "$$subdir" = "."; then \
688            local_target="$$target-am"; \
689          else \
690            local_target="$$target"; \
691          fi; \
692          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
693           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
694        done && test -z "$$fail"
695tags-recursive:
696        list='$(SUBDIRS)'; for subdir in $$list; do \
697          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
698        done
699
[19078]700ETAGS = etags
701ETAGSFLAGS =
702
[17930]703tags: TAGS
704
[19078]705ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
706        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
707        unique=`for i in $$list; do \
708            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
709          done | \
710          $(AWK) '    { files[$$0] = 1; } \
[17930]711               END { for (i in files) print i; }'`; \
[19078]712        mkid -fID $$unique
[17930]713
[19078]714TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
715                $(TAGS_FILES) $(LISP)
[17930]716        tags=; \
717        here=`pwd`; \
718        list='$(SUBDIRS)'; for subdir in $$list; do \
[19078]719          if test "$$subdir" = .; then :; else \
[17930]720            test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
[19078]721          fi; \
[17930]722        done; \
[19078]723        list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
724        unique=`for i in $$list; do \
725            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
726          done | \
727          $(AWK) '    { files[$$0] = 1; } \
[17930]728               END { for (i in files) print i; }'`; \
[19078]729        test -z "$(ETAGS_ARGS)$$tags$$unique" \
730          || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
731             $$tags $$unique
[17930]732
[19078]733GTAGS:
734        here=`$(am__cd) $(top_builddir) && pwd` \
735          && cd $(top_srcdir) \
736          && gtags -i $(GTAGS_ARGS) $$here
[17930]737
738distclean-tags:
[19078]739        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
740DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
[17930]741
[19078]742top_distdir = .
[17930]743distdir = $(PACKAGE)-$(VERSION)
744
[19078]745am__remove_distdir = \
746  { test ! -d $(distdir) \
747    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
748         && rm -fr $(distdir); }; }
749
750GZIP_ENV = --best
751distcleancheck_listfiles = find . -type f -print
752
[17930]753distdir: $(DISTFILES)
[19078]754        $(am__remove_distdir)
[17930]755        mkdir $(distdir)
[19078]756        $(mkinstalldirs) $(distdir)/. $(distdir)/autodeps $(distdir)/db3 $(distdir)/intl $(distdir)/po $(distdir)/scripts $(distdir)/tests $(distdir)/xmlspec $(distdir)/xmlspec/examples
757        @list='$(DISTFILES)'; for file in $$list; do \
758          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
759          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
760          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
761            dir="/$$dir"; \
762            $(mkinstalldirs) "$(distdir)$$dir"; \
763          else \
764            dir=''; \
765          fi; \
[17930]766          if test -d $$d/$$file; then \
[19078]767            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
768              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
769            fi; \
770            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
[17930]771          else \
772            test -f $(distdir)/$$file \
[19078]773            || cp -p $$d/$$file $(distdir)/$$file \
774            || exit 1; \
[17930]775          fi; \
776        done
[19078]777        list='$(SUBDIRS)'; for subdir in $$list; do \
[17930]778          if test "$$subdir" = .; then :; else \
779            test -d $(distdir)/$$subdir \
780            || mkdir $(distdir)/$$subdir \
781            || exit 1; \
[19078]782            (cd $$subdir && \
783              $(MAKE) $(AM_MAKEFLAGS) \
784                top_distdir="$(top_distdir)" \
785                distdir=../$(distdir)/$$subdir \
786                distdir) \
[17930]787              || exit 1; \
788          fi; \
789        done
[19078]790        -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
791          ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
792          ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
793          ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
794        || chmod -R a+r $(distdir)
795dist-gzip: distdir
796        $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
797        $(am__remove_distdir)
[17930]798
[19078]799dist dist-all: distdir
800        $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
801        $(am__remove_distdir)
802
803# This target untars the dist file and tries a VPATH configuration.  Then
804# it guarantees that the distribution is self-contained by making another
805# tarfile.
806distcheck: dist
807        $(am__remove_distdir)
808        GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
809        chmod -R a-w $(distdir); chmod a+w $(distdir)
810        mkdir $(distdir)/=build
811        mkdir $(distdir)/=inst
812        chmod a-w $(distdir)
813        dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
814          && cd $(distdir)/=build \
815          && ../configure --srcdir=.. --prefix=$$dc_install_base \
816            --with-included-gettext \
817            $(DISTCHECK_CONFIGURE_FLAGS) \
818          && $(MAKE) $(AM_MAKEFLAGS) \
819          && $(MAKE) $(AM_MAKEFLAGS) dvi \
820          && $(MAKE) $(AM_MAKEFLAGS) check \
821          && $(MAKE) $(AM_MAKEFLAGS) install \
822          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
823          && $(MAKE) $(AM_MAKEFLAGS) uninstall \
824          && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
825              || { echo "ERROR: files left after uninstall:" ; \
826                   find $$dc_install_base -type f -print ; \
827                   exit 1; } >&2 ) \
828          && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
829          && rm -f $(distdir).tar.gz \
830          && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
831        $(am__remove_distdir)
832        @echo "$(distdir).tar.gz is ready for distribution" | \
833          sed 'h;s/./=/g;p;x;p;x'
834distcleancheck: distclean
835        if test '$(srcdir)' = . ; then \
836          echo "ERROR: distcleancheck can only run from a VPATH build" ; \
837          exit 1 ; \
838        fi
839        test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
840          || { echo "ERROR: files left after distclean:" ; \
841               $(distcleancheck_listfiles) ; \
842               exit 1; } >&2
[17930]843check-am: all-am
844check: check-recursive
[19078]845all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(DATA) $(HEADERS) config.h
846installdirs: installdirs-recursive
847installdirs-am:
848        $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(pkglibdir) $(DESTDIR)$(rpmbindir) $(DESTDIR)$(bindir) $(DESTDIR)$(pkglibdir) $(DESTDIR)$(pkglibdir)
[17930]849
[19078]850install: install-recursive
[17930]851install-exec: install-exec-recursive
852install-data: install-data-recursive
[19078]853uninstall: uninstall-recursive
[17930]854
855install-am: all-am
856        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
[19078]857
858installcheck: installcheck-recursive
[17930]859install-strip:
[19078]860        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
861          INSTALL_STRIP_FLAG=-s \
862          `test -z '$(STRIP)' || \
863            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
[17930]864mostlyclean-generic:
865
866clean-generic:
867
868distclean-generic:
869        -rm -f Makefile $(CONFIG_CLEAN_FILES)
870
871maintainer-clean-generic:
[19078]872        @echo "This command is intended for maintainers to use"
873        @echo "it deletes files that may require special tools to rebuild."
874clean: clean-recursive
[17930]875
[19078]876clean-am: clean-binPROGRAMS clean-generic clean-libtool \
877        clean-pkglibPROGRAMS clean-rpmbinPROGRAMS mostlyclean-am
[17930]878
[19078]879distclean: distclean-recursive
880        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
881distclean-am: clean-am distclean-compile distclean-depend \
882        distclean-generic distclean-hdr distclean-libtool \
883        distclean-tags
[17930]884
[19078]885dvi: dvi-recursive
[17930]886
[19078]887dvi-am:
[17930]888
[19078]889info: info-recursive
[17930]890
[19078]891info-am:
[17930]892
[19078]893install-data-am: install-data-local install-rpmbinPROGRAMS
894
895install-exec-am: install-binPROGRAMS install-binSCRIPTS \
896        install-pkglibDATA install-pkglibPROGRAMS install-pkglibSCRIPTS
897
898install-info: install-info-recursive
899
900install-man:
901
902installcheck-am:
903
[17930]904maintainer-clean: maintainer-clean-recursive
[19078]905        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
906        -rm -rf autom4te.cache
907maintainer-clean-am: distclean-am maintainer-clean-generic
[17930]908
[19078]909mostlyclean: mostlyclean-recursive
[17930]910
[19078]911mostlyclean-am: mostlyclean-compile mostlyclean-generic \
912        mostlyclean-libtool
[17930]913
[19078]914uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
915        uninstall-info-am uninstall-pkglibDATA uninstall-pkglibPROGRAMS \
916        uninstall-pkglibSCRIPTS uninstall-rpmbinPROGRAMS
917
918uninstall-info: uninstall-info-recursive
919
920.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
921        clean-binPROGRAMS clean-generic clean-libtool \
922        clean-pkglibPROGRAMS clean-recursive clean-rpmbinPROGRAMS dist \
923        dist-all dist-gzip distcheck distclean distclean-compile \
924        distclean-depend distclean-generic distclean-hdr \
925        distclean-libtool distclean-recursive distclean-tags \
926        distcleancheck distdir dvi dvi-am dvi-recursive info info-am \
927        info-recursive install install-am install-binPROGRAMS \
928        install-binSCRIPTS install-data install-data-am \
929        install-data-local install-data-recursive install-exec \
930        install-exec-am install-exec-recursive install-info \
931        install-info-am install-info-recursive install-man \
932        install-pkglibDATA install-pkglibPROGRAMS install-pkglibSCRIPTS \
933        install-recursive install-rpmbinPROGRAMS install-strip \
934        installcheck installcheck-am installdirs installdirs-am \
935        installdirs-recursive maintainer-clean maintainer-clean-generic \
936        maintainer-clean-recursive mostlyclean mostlyclean-compile \
937        mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
938        tags tags-recursive uninstall uninstall-am \
939        uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-info-am \
940        uninstall-info-recursive uninstall-pkglibDATA \
941        uninstall-pkglibPROGRAMS uninstall-pkglibSCRIPTS \
942        uninstall-recursive uninstall-rpmbinPROGRAMS
943
944
[17930]945rpmpopt-$(VERSION): rpmpopt
946        cp rpmpopt $@
947rpm.o:  rpmqv.c
948        $(COMPILE) -DIAM_RPMDB -DIAM_RPMEIU -DIAM_RPMK -DIAM_RPMQV -o $@ -c rpmqv.c
949rpmb.o: rpmqv.c
950        $(COMPILE) -DIAM_RPMBT -o $@ -c rpmqv.c
951rpmd.o: rpmqv.c
952        $(COMPILE) -DIAM_RPMDB -o $@ -c rpmqv.c
953rpmi.o: rpmqv.c
954        $(COMPILE) -DIAM_RPMEIU -o $@ -c rpmqv.c
955rpmk.o: rpmqv.c
956        $(COMPILE) -DIAM_RPMK -o $@ -c rpmqv.c
957rpmq.o: rpmqv.c
958        $(COMPILE) -DIAM_RPMQV -o $@ -c rpmqv.c
959
960$(PROGRAMS):            $(myLDADD) @WITH_APIDOCS_TARGET@
961
[19078]962.PHONY: splint
963splint:
964        splint \
965            -load build/rpmbuild.lcd \
966            -load lib/rpmlib.lcd \
967            -load rpmdb/rpmdb.lcd \
968            -load rpmio/rpmio.lcd \
969            -load popt/popt.lcd \
970                $(DEFS) $(INCLUDES) rpmqv.c $(rpmb_SOURCES)
971
972.PHONY: lint
973lint:
974        $(LINT) -Dlint $(DEFS) $(INCLUDES) rpmqv.c $(rpmb_SOURCES) \
[17930]975                `make -s sources -C build` \
976                `make -s sources -C lib` \
977                `make -s sources -C rpmdb` \
978                `make -s sources -C rpmio` \
979                `make -s sources -C beecrypt` \
[19078]980                `make -s sources -C file` \
[17930]981                `make -s sources -C popt`
982
983install-data-local:
984        @$(mkinstalldirs) $(DESTDIR)$(varprefix)/lib/rpm
985        @rm -f $(DESTDIR)$(libdir)/rpmrc
986        @@LN_S@ rpm/rpmrc $(DESTDIR)$(libdir)/rpmrc
987        @rm -f $(DESTDIR)$(libdir)/rpmpopt
988        @@LN_S@ rpm/rpmpopt $(DESTDIR)$(libdir)/rpmpopt
989        @rm -f $(DESTDIR)$(libdir)/rpm/rpmt
990        @@LN_S@ rpmb $(DESTDIR)$(libdir)/rpm/rpmt
991        @rm -f $(DESTDIR)$(libdir)/rpm/rpme
992        @@LN_S@ rpmi $(DESTDIR)$(libdir)/rpm/rpme
993        @rm -f $(DESTDIR)$(libdir)/rpm/rpmu
994        @@LN_S@ rpmi $(DESTDIR)$(libdir)/rpm/rpmu
995        @rm -f $(DESTDIR)$(libdir)/rpm/rpmv
996        @@LN_S@ rpmq $(DESTDIR)$(libdir)/rpm/rpmv
997        rm -f $(DESTDIR)$(bindir)/rpmbuild
998        @LN_S@ ../lib/rpm/rpmb $(DESTDIR)$(bindir)/rpmbuild
999        rm -f $(DESTDIR)$(bindir)/rpmquery
1000        @LN_S@ ../lib/rpm/rpmq $(DESTDIR)$(bindir)/rpmquery
1001        rm -f $(DESTDIR)$(bindir)/rpmverify
1002        @LN_S@ ../lib/rpm/rpmv $(DESTDIR)$(bindir)/rpmverify
1003        rm -f $(DESTDIR)$(bindir)/rpmsign
1004        @LN_S@ ../lib/rpm/rpmk $(DESTDIR)$(bindir)/rpmsign
1005        rm -f $(DESTDIR)$(bindir)/rpmdb ; \
1006        @LN_S@ ../lib/rpm/rpmd $(DESTDIR)$(bindir)/rpmdb ; \
1007        for bf in e i u ; do \
1008            rm -f $(DESTDIR)$(bindir)/rpm$$bf ; \
1009            @LN_S@ ../lib/rpm/rpm$$bf $(DESTDIR)$(bindir)/rpm$$bf ; \
1010        done
1011        @for dir in BUILD RPMS SOURCES SPECS SRPMS ; do\
1012            $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/$$dir;\
1013        done
1014        @case "@host_cpu@" in \
1015        *86)    $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/i386 ;\
1016                $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/i486 ;\
1017                $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/i586 ;\
1018                $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/i686 ;\
1019                $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/athlon ;;\
1020        alpha*) $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/alpha ;\
1021                $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/alphaev6 ;;\
1022        sparc*) $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/sparc ;\
1023                $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/sparcv9 ;\
1024                $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/sparc64 ;;\
1025        ia64*)  $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/ia64 ;;\
1026        s390*)  $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/s390 ;;\
1027        mipsel*) $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/mipsel ;;\
1028        mips*)  $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/mips ;;\
1029        powerpc*) $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/ppc ;\
1030                $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/ppc64 ;;\
1031        *)      $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/@host_cpu@ ;;\
1032        esac
1033        $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/noarch
1034        @case "@host_os@" in \
1035        mint) $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/m68kmint ;;\
1036        solaris*|linux*) \
1037           chmod u+x ./installplatform; DESTDIR="$(DESTDIR)" pkglibdir="$(pkglibdir)" ./installplatform rpmrc macros platform ;; \
1038        esac
1039        @$(mkinstalldirs) $(DESTDIR)/var/tmp
1040
1041.PHONY: setperms
1042setperms:
1043        @for f in $(rpmbin_PROGRAMS) ; do\
1044            $(__CHOWN) ${RPMUSER}.${RPMGROUP} $(DESTDIR)$(rpmbindir)/$$f ;\
1045            $(__CHMOD) g+s $(DESTDIR)$(rpmbindir)/$$f ;\
1046        done
1047        @for f in $(bin_PROGRAMS) ; do\
1048            $(__CHOWN) ${RPMUSER}.${RPMGROUP} $(DESTDIR)$(bindir)/$$f ;\
1049        done
1050        @for f in $(pkglib_PROGRAMS) ; do\
1051            $(__CHOWN) ${RPMUSER}.${RPMGROUP} $(DESTDIR)$(pkglibdir)/$$f ;\
1052            $(__CHMOD) g+s $(DESTDIR)$(pkglibdir)/$$f ;\
1053        done
1054        @for f in $(pkglib_SCRIPTS) ; do\
1055            $(__CHOWN) ${RPMUSER}.${RPMGROUP} $(DESTDIR)$(pkglibdir)/$$f ;\
1056        done
1057        @$(__CHOWN) ${RPMUSER}.${RPMGROUP} $(DESTDIR)$(pkglibdir)
1058        @$(__CHOWN) -R ${RPMUSER}.${RPMGROUP} $(DESTDIR)$(varprefix)/lib/rpm
1059        -@$(__CHMOD) 0664 $(DESTDIR)$(varprefix)/lib/rpm/[A-Z]*
1060        -@$(__CHMOD) 0775 $(DESTDIR)$(varprefix)/lib/rpm
1061        -@$(__CHMOD) 0664 $(DESTDIR)$(varprefix)/lib/rpm/__db.*
1062
1063.PHONY: unsetgid
1064unsetgid:
1065        @for f in $(rpmbin_PROGRAMS) ; do\
1066            $(__CHMOD) g-s $(DESTDIR)$(rpmbindir)/$$f ;\
1067        done
1068        @for f in $(pkglib_PROGRAMS) ; do\
1069            $(__CHMOD) g-s $(DESTDIR)$(pkglibdir)/$$f ;\
1070        done
1071
1072.PHONY: tar
1073tar:
1074        rm -rf /tmp/rpm-$(VERSION)
1075        $(MAKE) DESTDIR=/tmp/rpm-$(VERSION) install
1076        cd /tmp/rpm-$(VERSION) ; tar cvf /tmp/rpm-$(VERSION).tar .
1077
1078.PHONY: noconfig
1079noconfig:
1080        find . -name "Makefile" -exec rm {} \;
1081        rm -f *gz *rpm config.*
1082
1083.PHONY: archive
1084archive:
1085        @cvs -d `cat CVS/Root` diff 2>&1 > /dev/null || { \
1086            echo " " ; \
1087            echo "==> Please resolve differences between the repository and" ; \
1088            echo "==> your rpm check out before tagging." ; \
1089            echo " " ; \
1090            cvs -n up ; \
1091            echo " " ; \
1092            exit 1 ; \
1093        }
1094        @cvs -d `cat CVS/Root` -Q tag -F $(CVSTAG) .
1095        @make dist
1096        @echo " "
1097        @echo "The final archive is ./rpm-$(VERSION).tar.gz."
1098
1099.PHONY: nextsrpm
1100nextsrpm: all archive
1101        @sudo ./rpm -ta rpm-$(VERSION).tar.gz
1102
1103.PHONY: doxygen
[19078]1104doxygen @WITH_APIDOCS_TARGET@: Doxyfile rpmpopt-@VERSION@
[17930]1105        rm -rf $@
1106        mkdir -p $@
1107        - [ X"@__DOXYGEN@" != Xno ] && @__DOXYGEN@
1108
1109ctags:
1110        find . -type f -name "*.[ch]*" | xargs @CTAGS@
1111
1112cscope:
1113        @CSCOPE@ -b -R
1114
1115cref: ctags cscope
1116# Tell versions [3.59,3.63) of GNU make to not export all variables.
1117# Otherwise a system limit (for SysV at least) may be exceeded.
1118.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.