xref: /freebsd/contrib/bc/Makefile.in (revision 1e413cf93298b5b97441a21d9a50fdcd0ee9945e)
1# Makefile.in generated automatically by automake 1.4 from Makefile.am
2
3# Copyright (C) 1994, 1995-8, 1999 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
14SHELL = @SHELL@
15
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18VPATH = @srcdir@
19prefix = @prefix@
20exec_prefix = @exec_prefix@
21
22bindir = @bindir@
23sbindir = @sbindir@
24libexecdir = @libexecdir@
25datadir = @datadir@
26sysconfdir = @sysconfdir@
27sharedstatedir = @sharedstatedir@
28localstatedir = @localstatedir@
29libdir = @libdir@
30infodir = @infodir@
31mandir = @mandir@
32includedir = @includedir@
33oldincludedir = /usr/include
34
35DESTDIR =
36
37pkgdatadir = $(datadir)/@PACKAGE@
38pkglibdir = $(libdir)/@PACKAGE@
39pkgincludedir = $(includedir)/@PACKAGE@
40
41top_builddir = .
42
43ACLOCAL = @ACLOCAL@
44AUTOCONF = @AUTOCONF@
45AUTOMAKE = @AUTOMAKE@
46AUTOHEADER = @AUTOHEADER@
47
48INSTALL = @INSTALL@
49INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50INSTALL_DATA = @INSTALL_DATA@
51INSTALL_SCRIPT = @INSTALL_SCRIPT@
52transform = @program_transform_name@
53
54NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
60CC = @CC@
61LEX = @LEX@
62MAKEINFO = @MAKEINFO@
63PACKAGE = @PACKAGE@
64RANLIB = @RANLIB@
65READLINELIB = @READLINELIB@
66VERSION = @VERSION@
67YACC = @YACC@
68
69SUBDIRS = lib bc dc doc
70
71MAINTAINERCLEANFILES = aclocal.m4 config.h.in configure Makefile.in 			$(distdir).tar.gz h/number.h
72
73ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
74mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
75CONFIG_HEADER = config.h
76CONFIG_CLEAN_FILES =
77DIST_COMMON =  README ./stamp-h.in AUTHORS COPYING COPYING.LIB ChangeLog \
78INSTALL Makefile.am Makefile.in NEWS acconfig.h aclocal.m4 config.h.in \
79configure configure.in install-sh missing mkinstalldirs
80
81
82DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
83
84TAR = tar
85GZIP_ENV = --best
86all: all-redirect
87.SUFFIXES:
88$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
89	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
90
91Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
92	cd $(top_builddir) \
93	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
94
95$(ACLOCAL_M4):  configure.in
96	cd $(srcdir) && $(ACLOCAL)
97
98config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
99	$(SHELL) ./config.status --recheck
100$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
101	cd $(srcdir) && $(AUTOCONF)
102
103config.h: stamp-h
104	@if test ! -f $@; then \
105		rm -f stamp-h; \
106		$(MAKE) stamp-h; \
107	else :; fi
108stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
109	cd $(top_builddir) \
110	  && CONFIG_FILES= CONFIG_HEADERS=config.h \
111	     $(SHELL) ./config.status
112	@echo timestamp > stamp-h 2> /dev/null
113$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
114	@if test ! -f $@; then \
115		rm -f $(srcdir)/stamp-h.in; \
116		$(MAKE) $(srcdir)/stamp-h.in; \
117	else :; fi
118$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
119	cd $(top_srcdir) && $(AUTOHEADER)
120	@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
121
122mostlyclean-hdr:
123
124clean-hdr:
125
126distclean-hdr:
127	-rm -f config.h
128
129maintainer-clean-hdr:
130
131# This directory's subdirectories are mostly independent; you can cd
132# into them and run `make' without going through this Makefile.
133# To change the values of `make' variables: instead of editing Makefiles,
134# (1) if the variable is set in `config.status', edit `config.status'
135#     (which will cause the Makefiles to be regenerated when you run `make');
136# (2) otherwise, pass the desired values on the `make' command line.
137
138@SET_MAKE@
139
140all-recursive install-data-recursive install-exec-recursive \
141installdirs-recursive install-recursive uninstall-recursive  \
142check-recursive installcheck-recursive info-recursive dvi-recursive:
143	@set fnord $(MAKEFLAGS); amf=$$2; \
144	dot_seen=no; \
145	target=`echo $@ | sed s/-recursive//`; \
146	list='$(SUBDIRS)'; for subdir in $$list; do \
147	  echo "Making $$target in $$subdir"; \
148	  if test "$$subdir" = "."; then \
149	    dot_seen=yes; \
150	    local_target="$$target-am"; \
151	  else \
152	    local_target="$$target"; \
153	  fi; \
154	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
155	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
156	done; \
157	if test "$$dot_seen" = "no"; then \
158	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
159	fi; test -z "$$fail"
160
161mostlyclean-recursive clean-recursive distclean-recursive \
162maintainer-clean-recursive:
163	@set fnord $(MAKEFLAGS); amf=$$2; \
164	dot_seen=no; \
165	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
166	  rev="$$subdir $$rev"; \
167	  test "$$subdir" = "." && dot_seen=yes; \
168	done; \
169	test "$$dot_seen" = "no" && rev=". $$rev"; \
170	target=`echo $@ | sed s/-recursive//`; \
171	for subdir in $$rev; do \
172	  echo "Making $$target in $$subdir"; \
173	  if test "$$subdir" = "."; then \
174	    local_target="$$target-am"; \
175	  else \
176	    local_target="$$target"; \
177	  fi; \
178	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
179	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
180	done && test -z "$$fail"
181tags-recursive:
182	list='$(SUBDIRS)'; for subdir in $$list; do \
183	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
184	done
185
186tags: TAGS
187
188ID: $(HEADERS) $(SOURCES) $(LISP)
189	list='$(SOURCES) $(HEADERS)'; \
190	unique=`for i in $$list; do echo $$i; done | \
191	  awk '    { files[$$0] = 1; } \
192	       END { for (i in files) print i; }'`; \
193	here=`pwd` && cd $(srcdir) \
194	  && mkid -f$$here/ID $$unique $(LISP)
195
196TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
197	tags=; \
198	here=`pwd`; \
199	list='$(SUBDIRS)'; for subdir in $$list; do \
200   if test "$$subdir" = .; then :; else \
201	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
202   fi; \
203	done; \
204	list='$(SOURCES) $(HEADERS)'; \
205	unique=`for i in $$list; do echo $$i; done | \
206	  awk '    { files[$$0] = 1; } \
207	       END { for (i in files) print i; }'`; \
208	test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
209	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
210
211mostlyclean-tags:
212
213clean-tags:
214
215distclean-tags:
216	-rm -f TAGS ID
217
218maintainer-clean-tags:
219
220distdir = $(PACKAGE)-$(VERSION)
221top_distdir = $(distdir)
222
223# This target untars the dist file and tries a VPATH configuration.  Then
224# it guarantees that the distribution is self-contained by making another
225# tarfile.
226distcheck: dist
227	-rm -rf $(distdir)
228	GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
229	mkdir $(distdir)/=build
230	mkdir $(distdir)/=inst
231	dc_install_base=`cd $(distdir)/=inst && pwd`; \
232	cd $(distdir)/=build \
233	  && ../configure --srcdir=.. --prefix=$$dc_install_base \
234	  && $(MAKE) $(AM_MAKEFLAGS) \
235	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
236	  && $(MAKE) $(AM_MAKEFLAGS) check \
237	  && $(MAKE) $(AM_MAKEFLAGS) install \
238	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
239	  && $(MAKE) $(AM_MAKEFLAGS) dist
240	-rm -rf $(distdir)
241	@banner="$(distdir).tar.gz is ready for distribution"; \
242	dashes=`echo "$$banner" | sed s/./=/g`; \
243	echo "$$dashes"; \
244	echo "$$banner"; \
245	echo "$$dashes"
246dist: distdir
247	-chmod -R a+r $(distdir)
248	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
249	-rm -rf $(distdir)
250dist-all: distdir
251	-chmod -R a+r $(distdir)
252	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
253	-rm -rf $(distdir)
254distdir: $(DISTFILES)
255	-rm -rf $(distdir)
256	mkdir $(distdir)
257	-chmod 777 $(distdir)
258	@for file in $(DISTFILES); do \
259	  d=$(srcdir); \
260	  if test -d $$d/$$file; then \
261	    cp -pr $$/$$file $(distdir)/$$file; \
262	  else \
263	    test -f $(distdir)/$$file \
264	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
265	    || cp -p $$d/$$file $(distdir)/$$file || :; \
266	  fi; \
267	done
268	for subdir in $(SUBDIRS); do \
269	  if test "$$subdir" = .; then :; else \
270	    test -d $(distdir)/$$subdir \
271	    || mkdir $(distdir)/$$subdir \
272	    || exit 1; \
273	    chmod 777 $(distdir)/$$subdir; \
274	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
275	      || exit 1; \
276	  fi; \
277	done
278	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
279info-am:
280info: info-recursive
281dvi-am:
282dvi: dvi-recursive
283check-am: all-am
284check: check-recursive
285installcheck-am:
286installcheck: installcheck-recursive
287all-recursive-am: config.h
288	$(MAKE) $(AM_MAKEFLAGS) all-recursive
289
290install-exec-am:
291install-exec: install-exec-recursive
292
293install-data-am:
294install-data: install-data-recursive
295
296install-am: all-am
297	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
298install: install-recursive
299uninstall-am:
300uninstall: uninstall-recursive
301all-am: Makefile config.h
302all-redirect: all-recursive-am
303install-strip:
304	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
305installdirs: installdirs-recursive
306installdirs-am:
307
308
309mostlyclean-generic:
310
311clean-generic:
312
313distclean-generic:
314	-rm -f Makefile $(CONFIG_CLEAN_FILES)
315	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
316
317maintainer-clean-generic:
318	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
319mostlyclean-am:  mostlyclean-hdr mostlyclean-tags mostlyclean-generic
320
321mostlyclean: mostlyclean-recursive
322
323clean-am:  clean-hdr clean-tags clean-generic mostlyclean-am
324
325clean: clean-recursive
326
327distclean-am:  distclean-hdr distclean-tags distclean-generic clean-am
328
329distclean: distclean-recursive
330	-rm -f config.status
331
332maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-tags \
333		maintainer-clean-generic distclean-am
334	@echo "This command is intended for maintainers to use;"
335	@echo "it deletes files that may require special tools to rebuild."
336
337maintainer-clean: maintainer-clean-recursive
338	-rm -f config.status
339
340.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
341install-data-recursive uninstall-data-recursive install-exec-recursive \
342uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
343all-recursive check-recursive installcheck-recursive info-recursive \
344dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
345maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
346distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
347dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
348install-exec-am install-exec install-data-am install-data install-am \
349install uninstall-am uninstall all-redirect all-am all installdirs-am \
350installdirs mostlyclean-generic distclean-generic clean-generic \
351maintainer-clean-generic clean mostlyclean distclean maintainer-clean
352
353
354dist-hook:
355	mkdir $(distdir)/h $(distdir)/Examples $(distdir)/Test
356	cp -p $(srcdir)/h/*.h $(distdir)/h
357	cp -p $(srcdir)/Examples/*.b $(distdir)/Examples
358	cp -p $(srcdir)/Test/*.b $(srcdir)/Test/*.bc $(distdir)/Test
359	cp -p $(srcdir)/Test/signum $(srcdir)/Test/timetest $(distdir)/Test
360	cp -p $(srcdir)/lib/testmul.c $(distdir)/lib
361	cp -p $(srcdir)/FAQ $(distdir)
362
363timetest:
364	(cd lib; $(MAKE) specialnumber)
365
366# Tell versions [3.59,3.63) of GNU make to not export all variables.
367# Otherwise a system limit (for SysV at least) may be exceeded.
368.NOEXPORT:
369