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