First attempt at "make check".
[platform/upstream/rpm.git] / build / Makefile.in
1 # Makefile.in generated automatically by automake 1.3 from Makefile.am
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998 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 # Makefile for rpmbuild library.
14
15
16 SHELL = /bin/sh
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 DISTDIR =
38
39 pkgdatadir = $(datadir)/@PACKAGE@
40 pkglibdir = $(libdir)/@PACKAGE@
41 pkgincludedir = $(includedir)/@PACKAGE@
42
43 top_builddir = ..
44
45 ACLOCAL = @ACLOCAL@
46 AUTOCONF = @AUTOCONF@
47 AUTOMAKE = @AUTOMAKE@
48 AUTOHEADER = @AUTOHEADER@
49
50 INSTALL = @INSTALL@
51 INSTALL_PROGRAM = @INSTALL_PROGRAM@
52 INSTALL_DATA = @INSTALL_DATA@
53 INSTALL_SCRIPT = @INSTALL_SCRIPT@
54 transform = @program_transform_name@
55
56 NORMAL_INSTALL = :
57 PRE_INSTALL = :
58 POST_INSTALL = :
59 NORMAL_UNINSTALL = :
60 PRE_UNINSTALL = :
61 POST_UNINSTALL = :
62 host_alias = @host_alias@
63 host_triplet = @host@
64 AR = @AR@
65 AWK = @AWK@
66 BZIP2BIN = @BZIP2BIN@
67 CATALOGS = @CATALOGS@
68 CATOBJEXT = @CATOBJEXT@
69 CC = @CC@
70 CPP = @CPP@
71 DATADIRNAME = @DATADIRNAME@
72 FINDPROVIDES = @FINDPROVIDES@
73 FINDREQUIRES = @FINDREQUIRES@
74 FIXPERMS = @FIXPERMS@
75 GENCAT = @GENCAT@
76 GMOFILES = @GMOFILES@
77 GMSGFMT = @GMSGFMT@
78 GT_NO = @GT_NO@
79 GT_YES = @GT_YES@
80 GZIPBIN = @GZIPBIN@
81 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
82 INCPATH = @INCPATH@
83 INSTOBJEXT = @INSTOBJEXT@
84 INTLDEPS = @INTLDEPS@
85 INTLLIBS = @INTLLIBS@
86 INTLOBJS = @INTLOBJS@
87 LDFLAGS_STATIC = @LDFLAGS_STATIC@
88 LIBDL = @LIBDL@
89 LIBMISC = @LIBMISC@
90 LIBOBJS = @LIBOBJS@
91 LIBRPMALIAS_FILENAME = @LIBRPMALIAS_FILENAME@
92 LIBRPMRC_FILENAME = @LIBRPMRC_FILENAME@
93 LIBS = @LIBS@
94 LN_S = @LN_S@
95 MACROFILES = @MACROFILES@
96 MAKEINFO = @MAKEINFO@
97 MISCDIR = @MISCDIR@
98 MISCPATH = @MISCPATH@
99 MKDIR = @MKDIR@
100 MKDIR_P = @MKDIR_P@
101 MKINSTALLDIRS = @MKINSTALLDIRS@
102 MSGFMT = @MSGFMT@
103 PACKAGE = @PACKAGE@
104 POFILES = @POFILES@
105 POSUB = @POSUB@
106 RANLIB = @RANLIB@
107 ROOT_GROUP = @ROOT_GROUP@
108 RPM = @RPM@
109 RPMCONFIGDIR = @RPMCONFIGDIR@
110 TARGET = @TARGET@
111 U = @U@
112 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
113 USE_NLS = @USE_NLS@
114 VERSION = @VERSION@
115 l = @l@
116 testdir = @testdir@
117 tmpdir = @tmpdir@
118 varprefix = @varprefix@
119
120 AUTOMAKE_OPTIONS = 1.3 foreign
121
122 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/lib @INCPATH@
123
124 include_HEADERS = rpmbuild.h rpmspec.h
125 noinst_HEADERS = buildio.h myftw.h
126
127 lib_LIBRARIES = librpmbuild.a
128 librpmbuild_a_SOURCES = \
129         build.c expression.c files.c misc.c myftw.c names.c pack.c \
130         parseBuildInstallClean.c parseChangelog.c parseDescription.c \
131         parseFiles.c parsePreamble.c parsePrep.c parseReqs.c parseScript.c \
132         parseSpec.c reqprov.c spec.c
133 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
134 CONFIG_HEADER = ../config.h
135 CONFIG_CLEAN_FILES = 
136 LIBRARIES =  $(lib_LIBRARIES)
137
138
139 DEFS = @DEFS@ -I. -I$(srcdir) -I..
140 CPPFLAGS = @CPPFLAGS@
141 LDFLAGS = @LDFLAGS@
142 librpmbuild_a_LIBADD = 
143 librpmbuild_a_OBJECTS =  build.o expression.o files.o misc.o myftw.o \
144 names.o pack.o parseBuildInstallClean.o parseChangelog.o \
145 parseDescription.o parseFiles.o parsePreamble.o parsePrep.o parseReqs.o \
146 parseScript.o parseSpec.o reqprov.o spec.o
147 CFLAGS = @CFLAGS@
148 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
149 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
150 HEADERS =  $(include_HEADERS) $(noinst_HEADERS)
151
152 DIST_COMMON =  Makefile.am Makefile.in TODO
153
154
155 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
156
157 TAR = tar
158 GZIP = --best
159 DEP_FILES =  .deps/build.P .deps/expression.P .deps/files.P .deps/misc.P \
160 .deps/myftw.P .deps/names.P .deps/pack.P .deps/parseBuildInstallClean.P \
161 .deps/parseChangelog.P .deps/parseDescription.P .deps/parseFiles.P \
162 .deps/parsePreamble.P .deps/parsePrep.P .deps/parseReqs.P \
163 .deps/parseScript.P .deps/parseSpec.P .deps/reqprov.P .deps/spec.P
164 SOURCES = $(librpmbuild_a_SOURCES)
165 OBJECTS = $(librpmbuild_a_OBJECTS)
166
167 all: Makefile $(LIBRARIES) $(HEADERS)
168
169 .SUFFIXES:
170 .SUFFIXES: .S .c .o .s
171 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
172         cd $(top_srcdir) && $(AUTOMAKE) --foreign build/Makefile
173
174 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
175         cd $(top_builddir) \
176           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
177
178
179 mostlyclean-libLIBRARIES:
180
181 clean-libLIBRARIES:
182         -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
183
184 distclean-libLIBRARIES:
185
186 maintainer-clean-libLIBRARIES:
187
188 install-libLIBRARIES: $(lib_LIBRARIES)
189         @$(NORMAL_INSTALL)
190         $(mkinstalldirs) $(DESTDIR)$(libdir)
191         list='$(lib_LIBRARIES)'; for p in $$list; do \
192           if test -f $$p; then \
193             echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \
194             $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \
195           else :; fi; \
196         done
197         @$(POST_INSTALL)
198         @list='$(lib_LIBRARIES)'; for p in $$list; do \
199           if test -f $$p; then \
200             echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \
201             $(RANLIB) $(DESTDIR)$(libdir)/$$p; \
202           else :; fi; \
203         done
204
205 uninstall-libLIBRARIES:
206         @$(NORMAL_UNINSTALL)
207         list='$(lib_LIBRARIES)'; for p in $$list; do \
208           rm -f $(DESTDIR)$(libdir)/$$p; \
209         done
210
211 .s.o:
212         $(COMPILE) -c $<
213
214 .S.o:
215         $(COMPILE) -c $<
216
217 mostlyclean-compile:
218         -rm -f *.o core *.core
219
220 clean-compile:
221
222 distclean-compile:
223         -rm -f *.tab.c
224
225 maintainer-clean-compile:
226
227 librpmbuild.a: $(librpmbuild_a_OBJECTS) $(librpmbuild_a_DEPENDENCIES)
228         -rm -f librpmbuild.a
229         $(AR) cru librpmbuild.a $(librpmbuild_a_OBJECTS) $(librpmbuild_a_LIBADD)
230         $(RANLIB) librpmbuild.a
231
232 install-includeHEADERS: $(include_HEADERS)
233         @$(NORMAL_INSTALL)
234         $(mkinstalldirs) $(DESTDIR)$(includedir)
235         @list='$(include_HEADERS)'; for p in $$list; do \
236           if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
237           echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
238           $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
239         done
240
241 uninstall-includeHEADERS:
242         @$(NORMAL_UNINSTALL)
243         list='$(include_HEADERS)'; for p in $$list; do \
244           rm -f $(DESTDIR)$(includedir)/$$p; \
245         done
246
247 tags: TAGS
248
249 ID: $(HEADERS) $(SOURCES) $(LISP)
250         here=`pwd` && cd $(srcdir) \
251           && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
252
253 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
254         tags=; \
255         here=`pwd`; \
256         list='$(SOURCES) $(HEADERS)'; \
257         unique=`for i in $$list; do echo $$i; done | \
258           awk '    { files[$$0] = 1; } \
259                END { for (i in files) print i; }'`; \
260         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
261           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
262
263 mostlyclean-tags:
264
265 clean-tags:
266
267 distclean-tags:
268         -rm -f TAGS ID
269
270 maintainer-clean-tags:
271
272 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
273
274 subdir = build
275
276 distdir: $(DISTFILES)
277         here=`cd $(top_builddir) && pwd`; \
278         top_distdir=`cd $(top_distdir) && pwd`; \
279         distdir=`cd $(distdir) && pwd`; \
280         cd $(top_srcdir) \
281           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign build/Makefile
282         @for file in $(DISTFILES); do \
283           d=$(srcdir); \
284           test -f $(distdir)/$$file \
285           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
286           || cp -p $$d/$$file $(distdir)/$$file; \
287         done
288
289 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
290
291 -include $(DEP_FILES)
292
293 mostlyclean-depend:
294
295 clean-depend:
296
297 distclean-depend:
298
299 maintainer-clean-depend:
300         -rm -rf .deps
301
302 %.o: %.c
303         @echo '$(COMPILE) -c $<'; \
304         $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
305
306 %.lo: %.c
307         @echo '$(LTCOMPILE) -c $<'; \
308         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
309         @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
310           < .deps/$(*F).p > .deps/$(*F).P
311         @-rm -f .deps/$(*F).p
312 info:
313 dvi:
314 check: all
315         $(MAKE)
316 installcheck:
317 install-exec: install-libLIBRARIES
318         @$(NORMAL_INSTALL)
319
320 install-data: install-includeHEADERS
321         @$(NORMAL_INSTALL)
322
323 install: install-exec install-data all
324         @:
325
326 uninstall: uninstall-libLIBRARIES uninstall-includeHEADERS
327
328 install-strip:
329         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
330 installdirs:
331         $(mkinstalldirs)  $(DATADIR)$(libdir) $(DATADIR)$(includedir)
332
333
334 mostlyclean-generic:
335         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
336
337 clean-generic:
338         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
339
340 distclean-generic:
341         -rm -f Makefile $(DISTCLEANFILES)
342         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
343         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
344
345 maintainer-clean-generic:
346         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
347         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
348 mostlyclean:  mostlyclean-libLIBRARIES mostlyclean-compile \
349                 mostlyclean-tags mostlyclean-depend mostlyclean-generic
350
351 clean:  clean-libLIBRARIES clean-compile clean-tags clean-depend \
352                 clean-generic mostlyclean
353
354 distclean:  distclean-libLIBRARIES distclean-compile distclean-tags \
355                 distclean-depend distclean-generic clean
356         -rm -f config.status
357
358 maintainer-clean:  maintainer-clean-libLIBRARIES \
359                 maintainer-clean-compile maintainer-clean-tags \
360                 maintainer-clean-depend maintainer-clean-generic \
361                 distclean
362         @echo "This command is intended for maintainers to use;"
363         @echo "it deletes files that may require special tools to rebuild."
364
365 .PHONY: mostlyclean-libLIBRARIES distclean-libLIBRARIES \
366 clean-libLIBRARIES maintainer-clean-libLIBRARIES uninstall-libLIBRARIES \
367 install-libLIBRARIES mostlyclean-compile distclean-compile \
368 clean-compile maintainer-clean-compile uninstall-includeHEADERS \
369 install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
370 maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
371 clean-depend maintainer-clean-depend info dvi installcheck install-exec \
372 install-data install uninstall all installdirs mostlyclean-generic \
373 distclean-generic clean-generic maintainer-clean-generic clean \
374 mostlyclean distclean maintainer-clean
375
376
377 include ../Makefile.inc
378
379 files.o: files.c
380         $(COMPILE) -DFINDPROVIDES=\"$(FINDPROVIDES)\" -DFINDREQUIRES=\"$(FINDREQUIRES)\" -o $@ -c $<
381
382 # Tell versions [3.59,3.63) of GNU make to not export all variables.
383 # Otherwise a system limit (for SysV at least) may be exceeded.
384 .NOEXPORT: