1 # Makefile.in generated automatically by automake 1.3 from Makefile.am
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.
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
13 # Makefile for rpmbuild library.
19 top_srcdir = @top_srcdir@
22 exec_prefix = @exec_prefix@
26 libexecdir = @libexecdir@
28 sysconfdir = @sysconfdir@
29 sharedstatedir = @sharedstatedir@
30 localstatedir = @localstatedir@
34 includedir = @includedir@
35 oldincludedir = /usr/include
39 pkgdatadir = $(datadir)/@PACKAGE@
40 pkglibdir = $(libdir)/@PACKAGE@
41 pkgincludedir = $(includedir)/@PACKAGE@
48 AUTOHEADER = @AUTOHEADER@
51 INSTALL_PROGRAM = @INSTALL_PROGRAM@
52 INSTALL_DATA = @INSTALL_DATA@
53 INSTALL_SCRIPT = @INSTALL_SCRIPT@
54 transform = @program_transform_name@
62 host_alias = @host_alias@
68 CATOBJEXT = @CATOBJEXT@
71 DATADIRNAME = @DATADIRNAME@
79 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
81 INSTOBJEXT = @INSTOBJEXT@
85 LDFLAGS_STATIC = @LDFLAGS_STATIC@
96 MKINSTALLDIRS = @MKINSTALLDIRS@
102 ROOT_GROUP = @ROOT_GROUP@
104 RPMCONFIGDIR = @RPMCONFIGDIR@
107 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
112 varprefix = @varprefix@
114 AUTOMAKE_OPTIONS = 1.3 foreign
116 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/lib @INCPATH@
118 include_HEADERS = rpmbuild.h rpmspec.h
119 noinst_HEADERS = buildio.h myftw.h
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
130 LIBRARIES = $(lib_LIBRARIES)
133 DEFS = @DEFS@ -I. -I$(srcdir) -I..
134 CPPFLAGS = @CPPFLAGS@
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
142 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
143 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
144 HEADERS = $(include_HEADERS) $(noinst_HEADERS)
146 DIST_COMMON = Makefile.am Makefile.in TODO
149 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
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)
161 all: Makefile $(LIBRARIES) $(HEADERS)
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
168 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
170 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
173 mostlyclean-libLIBRARIES:
176 -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
178 distclean-libLIBRARIES:
180 maintainer-clean-libLIBRARIES:
182 install-libLIBRARIES: $(lib_LIBRARIES)
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; \
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; \
199 uninstall-libLIBRARIES:
201 list='$(lib_LIBRARIES)'; for p in $$list; do \
202 rm -f $(DESTDIR)$(libdir)/$$p; \
212 -rm -f *.o core *.core
219 maintainer-clean-compile:
221 librpmbuild.a: $(librpmbuild_a_OBJECTS) $(librpmbuild_a_DEPENDENCIES)
223 $(AR) cru librpmbuild.a $(librpmbuild_a_OBJECTS) $(librpmbuild_a_LIBADD)
224 $(RANLIB) librpmbuild.a
226 install-includeHEADERS: $(include_HEADERS)
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; \
235 uninstall-includeHEADERS:
237 list='$(include_HEADERS)'; for p in $$list; do \
238 rm -f $(DESTDIR)$(includedir)/$$p; \
243 ID: $(HEADERS) $(SOURCES) $(LISP)
244 here=`pwd` && cd $(srcdir) \
245 && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
247 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
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)
264 maintainer-clean-tags:
266 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
270 distdir: $(DISTFILES)
271 here=`cd $(top_builddir) && pwd`; \
272 top_distdir=`cd $(top_distdir) && pwd`; \
273 distdir=`cd $(distdir) && pwd`; \
275 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign build/Makefile
276 @for file in $(DISTFILES); do \
278 test -f $(distdir)/$$file \
279 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
280 || cp -p $$d/$$file $(distdir)/$$file; \
283 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
285 -include $(DEP_FILES)
293 maintainer-clean-depend:
297 @echo '$(COMPILE) -c $<'; \
298 $(COMPILE) -Wp,-MD,.deps/$(*F).P -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
311 install-exec: install-libLIBRARIES
314 install-data: install-includeHEADERS
317 install: install-exec install-data all
320 uninstall: uninstall-libLIBRARIES uninstall-includeHEADERS
323 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
325 $(mkinstalldirs) $(DATADIR)$(libdir) $(DATADIR)$(includedir)
329 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
332 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
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)
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
345 clean: clean-libLIBRARIES clean-compile clean-tags clean-depend \
346 clean-generic mostlyclean
348 distclean: distclean-libLIBRARIES distclean-compile distclean-tags \
349 distclean-depend distclean-generic clean
352 maintainer-clean: maintainer-clean-libLIBRARIES \
353 maintainer-clean-compile maintainer-clean-tags \
354 maintainer-clean-depend maintainer-clean-generic \
356 @echo "This command is intended for maintainers to use;"
357 @echo "it deletes files that may require special tools to rebuild."
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
371 include ../Makefile.inc
374 $(COMPILE) -DFINDPROVIDES=\"$(FINDPROVIDES)\" -DFINDREQUIRES=\"$(FINDREQUIRES)\" -o $@ -c $<
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.