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@
72 FINDPROVIDES = @FINDPROVIDES@
73 FINDREQUIRES = @FINDREQUIRES@
81 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
83 INSTOBJEXT = @INSTOBJEXT@
87 LDFLAGS_STATIC = @LDFLAGS_STATIC@
91 LIBRPMALIAS_FILENAME = @LIBRPMALIAS_FILENAME@
92 LIBRPMRC_FILENAME = @LIBRPMRC_FILENAME@
95 MACROFILES = @MACROFILES@
101 MKINSTALLDIRS = @MKINSTALLDIRS@
107 ROOT_GROUP = @ROOT_GROUP@
109 RPMCONFIGDIR = @RPMCONFIGDIR@
112 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
118 varprefix = @varprefix@
120 AUTOMAKE_OPTIONS = 1.3 foreign
122 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/lib @INCPATH@
124 include_HEADERS = rpmbuild.h rpmspec.h
125 noinst_HEADERS = buildio.h myftw.h
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
136 LIBRARIES = $(lib_LIBRARIES)
139 DEFS = @DEFS@ -I. -I$(srcdir) -I..
140 CPPFLAGS = @CPPFLAGS@
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
148 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
149 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
150 HEADERS = $(include_HEADERS) $(noinst_HEADERS)
152 DIST_COMMON = Makefile.am Makefile.in TODO
155 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
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)
167 all: Makefile $(LIBRARIES) $(HEADERS)
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
174 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
176 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
179 mostlyclean-libLIBRARIES:
182 -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
184 distclean-libLIBRARIES:
186 maintainer-clean-libLIBRARIES:
188 install-libLIBRARIES: $(lib_LIBRARIES)
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; \
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; \
205 uninstall-libLIBRARIES:
207 list='$(lib_LIBRARIES)'; for p in $$list; do \
208 rm -f $(DESTDIR)$(libdir)/$$p; \
218 -rm -f *.o core *.core
225 maintainer-clean-compile:
227 librpmbuild.a: $(librpmbuild_a_OBJECTS) $(librpmbuild_a_DEPENDENCIES)
229 $(AR) cru librpmbuild.a $(librpmbuild_a_OBJECTS) $(librpmbuild_a_LIBADD)
230 $(RANLIB) librpmbuild.a
232 install-includeHEADERS: $(include_HEADERS)
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; \
241 uninstall-includeHEADERS:
243 list='$(include_HEADERS)'; for p in $$list; do \
244 rm -f $(DESTDIR)$(includedir)/$$p; \
249 ID: $(HEADERS) $(SOURCES) $(LISP)
250 here=`pwd` && cd $(srcdir) \
251 && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
253 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
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)
270 maintainer-clean-tags:
272 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
276 distdir: $(DISTFILES)
277 here=`cd $(top_builddir) && pwd`; \
278 top_distdir=`cd $(top_distdir) && pwd`; \
279 distdir=`cd $(distdir) && pwd`; \
281 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign build/Makefile
282 @for file in $(DISTFILES); do \
284 test -f $(distdir)/$$file \
285 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
286 || cp -p $$d/$$file $(distdir)/$$file; \
289 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
291 -include $(DEP_FILES)
299 maintainer-clean-depend:
303 @echo '$(COMPILE) -c $<'; \
304 $(COMPILE) -Wp,-MD,.deps/$(*F).P -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
317 install-exec: install-libLIBRARIES
320 install-data: install-includeHEADERS
323 install: install-exec install-data all
326 uninstall: uninstall-libLIBRARIES uninstall-includeHEADERS
329 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
331 $(mkinstalldirs) $(DATADIR)$(libdir) $(DATADIR)$(includedir)
335 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
338 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
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)
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
351 clean: clean-libLIBRARIES clean-compile clean-tags clean-depend \
352 clean-generic mostlyclean
354 distclean: distclean-libLIBRARIES distclean-compile distclean-tags \
355 distclean-depend distclean-generic clean
358 maintainer-clean: maintainer-clean-libLIBRARIES \
359 maintainer-clean-compile maintainer-clean-tags \
360 maintainer-clean-depend maintainer-clean-generic \
362 @echo "This command is intended for maintainers to use;"
363 @echo "it deletes files that may require special tools to rebuild."
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
377 include ../Makefile.inc
380 $(COMPILE) -DFINDPROVIDES=\"$(FINDPROVIDES)\" -DFINDREQUIRES=\"$(FINDREQUIRES)\" -o $@ -c $<
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.