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