1# Makefile.in generated by automake 1.11.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
6# Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17VPATH = @srcdir@
18pkgdatadir = $(datadir)/@PACKAGE@
19pkgincludedir = $(includedir)/@PACKAGE@
20pkglibdir = $(libdir)/@PACKAGE@
21pkglibexecdir = $(libexecdir)/@PACKAGE@
22am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23install_sh_DATA = $(install_sh) -c -m 644
24install_sh_PROGRAM = $(install_sh) -c
25install_sh_SCRIPT = $(install_sh) -c
26INSTALL_HEADER = $(INSTALL_DATA)
27transform = $(program_transform_name)
28NORMAL_INSTALL = :
29PRE_INSTALL = :
30POST_INSTALL = :
31NORMAL_UNINSTALL = :
32PRE_UNINSTALL = :
33POST_UNINSTALL = :
34build_triplet = @build@
35host_triplet = @host@
36target_triplet = @target@
37subdir = .
38DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
39	$(srcdir)/Makefile.in $(srcdir)/config.h.in \
40	$(srcdir)/tuxmath.spec.in $(srcdir)/tuxmath_preview.spec.in \
41	$(top_srcdir)/configure $(top_srcdir)/nsis/tuxmath.nsi.in \
42	ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS config.guess \
43	config.rpath config.sub depcomp install-sh missing
44ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
45am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
46	$(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
47	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
48	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \
49	$(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
50	$(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
51am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
52	$(ACLOCAL_M4)
53am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
54 configure.lineno config.status.lineno
55mkinstalldirs = $(install_sh) -d
56CONFIG_HEADER = config.h
57CONFIG_CLEAN_FILES = tuxmath.spec tuxmath_preview.spec \
58	nsis/tuxmath.nsi
59CONFIG_CLEAN_VPATH_FILES =
60SOURCES =
61DIST_SOURCES =
62RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
63	html-recursive info-recursive install-data-recursive \
64	install-dvi-recursive install-exec-recursive \
65	install-html-recursive install-info-recursive \
66	install-pdf-recursive install-ps-recursive install-recursive \
67	installcheck-recursive installdirs-recursive pdf-recursive \
68	ps-recursive uninstall-recursive
69RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
70  distclean-recursive maintainer-clean-recursive
71AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
72	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
73	distdir dist dist-all distcheck
74ETAGS = etags
75CTAGS = ctags
76DIST_SUBDIRS = $(SUBDIRS)
77DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
78distdir = $(PACKAGE)-$(VERSION)
79top_distdir = $(distdir)
80am__remove_distdir = \
81  { test ! -d "$(distdir)" \
82    || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
83         && rm -fr "$(distdir)"; }; }
84am__relativize = \
85  dir0=`pwd`; \
86  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
87  sed_rest='s,^[^/]*/*,,'; \
88  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
89  sed_butlast='s,/*[^/]*$$,,'; \
90  while test -n "$$dir1"; do \
91    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
92    if test "$$first" != "."; then \
93      if test "$$first" = ".."; then \
94        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
95        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
96      else \
97        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
98        if test "$$first2" = "$$first"; then \
99          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
100        else \
101          dir2="../$$dir2"; \
102        fi; \
103        dir0="$$dir0"/"$$first"; \
104      fi; \
105    fi; \
106    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
107  done; \
108  reldir="$$dir2"
109DIST_ARCHIVES = $(distdir).tar.gz
110GZIP_ENV = --best
111distuninstallcheck_listfiles = find . -type f -print
112distcleancheck_listfiles = find . -type f -print
113ACLOCAL = @ACLOCAL@
114ALLOCA = @ALLOCA@
115AMTAR = @AMTAR@
116AUTOCONF = @AUTOCONF@
117AUTOHEADER = @AUTOHEADER@
118AUTOMAKE = @AUTOMAKE@
119AWK = @AWK@
120CAIRO_CFLAGS = @CAIRO_CFLAGS@
121CAIRO_LIBS = @CAIRO_LIBS@
122CC = @CC@
123CCDEPMODE = @CCDEPMODE@
124CFLAGS = @CFLAGS@
125CPP = @CPP@
126CPPFLAGS = @CPPFLAGS@
127CXX = @CXX@
128CXXDEPMODE = @CXXDEPMODE@
129CXXFLAGS = @CXXFLAGS@
130CYGPATH_W = @CYGPATH_W@
131DEFS = @DEFS@
132DEPDIR = @DEPDIR@
133ECHO_C = @ECHO_C@
134ECHO_N = @ECHO_N@
135ECHO_T = @ECHO_T@
136EGREP = @EGREP@
137EXEEXT = @EXEEXT@
138GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
139GMSGFMT = @GMSGFMT@
140GMSGFMT_015 = @GMSGFMT_015@
141GREP = @GREP@
142INSTALL = @INSTALL@
143INSTALL_DATA = @INSTALL_DATA@
144INSTALL_PROGRAM = @INSTALL_PROGRAM@
145INSTALL_SCRIPT = @INSTALL_SCRIPT@
146INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
147INTLLIBS = @INTLLIBS@
148INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
149LDFLAGS = @LDFLAGS@
150LIBICONV = @LIBICONV@
151LIBINTL = @LIBINTL@
152LIBOBJS = @LIBOBJS@
153LIBS = @LIBS@
154LTLIBICONV = @LTLIBICONV@
155LTLIBINTL = @LTLIBINTL@
156LTLIBOBJS = @LTLIBOBJS@
157MAKEINFO = @MAKEINFO@
158MINGW32_PACKAGE_DATA_DIR = @MINGW32_PACKAGE_DATA_DIR@
159MKDIR_P = @MKDIR_P@
160MSGFMT = @MSGFMT@
161MSGFMT_015 = @MSGFMT_015@
162MSGMERGE = @MSGMERGE@
163NAME_VERSION = @NAME_VERSION@
164NSIS = @NSIS@
165NSI_DLL_DIR = @NSI_DLL_DIR@
166NSI_INSTALL_DIR = @NSI_INSTALL_DIR@
167OBJEXT = @OBJEXT@
168PACKAGE = @PACKAGE@
169PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
170PACKAGE_NAME = @PACKAGE_NAME@
171PACKAGE_STRING = @PACKAGE_STRING@
172PACKAGE_TARNAME = @PACKAGE_TARNAME@
173PACKAGE_URL = @PACKAGE_URL@
174PACKAGE_VERSION = @PACKAGE_VERSION@
175PATH_SEPARATOR = @PATH_SEPARATOR@
176PKG_CONFIG = @PKG_CONFIG@
177PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
178PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
179POSUB = @POSUB@
180POW_LIB = @POW_LIB@
181RANLIB = @RANLIB@
182RSVG_CFLAGS = @RSVG_CFLAGS@
183RSVG_LIBS = @RSVG_LIBS@
184SDL_CFLAGS = @SDL_CFLAGS@
185SDL_CONFIG = @SDL_CONFIG@
186SDL_IMAGE_CFLAGS = @SDL_IMAGE_CFLAGS@
187SDL_IMAGE_LIBS = @SDL_IMAGE_LIBS@
188SDL_LIBS = @SDL_LIBS@
189SDL_MIXER_CFLAGS = @SDL_MIXER_CFLAGS@
190SDL_MIXER_LIBS = @SDL_MIXER_LIBS@
191SDL_NET_CFLAGS = @SDL_NET_CFLAGS@
192SDL_NET_LIBS = @SDL_NET_LIBS@
193SET_MAKE = @SET_MAKE@
194SHELL = @SHELL@
195STRIP = @STRIP@
196T4K_COMMON_CFLAGS = @T4K_COMMON_CFLAGS@
197T4K_COMMON_LIBS = @T4K_COMMON_LIBS@
198U2D = @U2D@
199USE_NLS = @USE_NLS@
200VERSION = @VERSION@
201WINDRES = @WINDRES@
202XGETTEXT = @XGETTEXT@
203XGETTEXT_015 = @XGETTEXT_015@
204XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
205XML2_CFLAGS = @XML2_CFLAGS@
206XML2_LIBS = @XML2_LIBS@
207YACC = @YACC@
208YFLAGS = @YFLAGS@
209abs_builddir = @abs_builddir@
210abs_srcdir = @abs_srcdir@
211abs_top_builddir = @abs_top_builddir@
212abs_top_srcdir = @abs_top_srcdir@
213ac_ct_CC = @ac_ct_CC@
214ac_ct_CXX = @ac_ct_CXX@
215am__include = @am__include@
216am__leading_dot = @am__leading_dot@
217am__quote = @am__quote@
218am__tar = @am__tar@
219am__untar = @am__untar@
220bindir = @bindir@
221build = @build@
222build_alias = @build_alias@
223build_cpu = @build_cpu@
224build_os = @build_os@
225build_vendor = @build_vendor@
226builddir = @builddir@
227datadir = @datadir@
228datarootdir = @datarootdir@
229docdir = @docdir@
230dvidir = @dvidir@
231exec_prefix = @exec_prefix@
232host = @host@
233host_alias = @host_alias@
234host_cpu = @host_cpu@
235host_os = @host_os@
236host_vendor = @host_vendor@
237htmldir = @htmldir@
238includedir = @includedir@
239infodir = @infodir@
240install_sh = @install_sh@
241libdir = @libdir@
242libexecdir = @libexecdir@
243localedir = @localedir@
244localstatedir = @localstatedir@
245mandir = @mandir@
246mkdir_p = @mkdir_p@
247oldincludedir = @oldincludedir@
248pdfdir = @pdfdir@
249prefix = @prefix@
250program_transform_name = @program_transform_name@
251psdir = @psdir@
252sbindir = @sbindir@
253sharedstatedir = @sharedstatedir@
254srcdir = @srcdir@
255sysconfdir = @sysconfdir@
256target = @target@
257target_alias = @target_alias@
258target_cpu = @target_cpu@
259target_os = @target_os@
260target_vendor = @target_vendor@
261top_build_prefix = @top_build_prefix@
262top_builddir = @top_builddir@
263top_srcdir = @top_srcdir@
264SUBDIRS = data	\
265	po	\
266	src
267
268ACLOCAL_AMFLAGS = -I m4
269EXTRA_DIST = t4k_common.mk \
270	tuxmath.spec \
271	tuxmath.desktop \
272	config.rpath \
273	m4/ChangeLog \
274	Info.plist \
275	CMakeLists.txt \
276        cmake-modules/ConfigureChecks.cmake \
277        cmake-modules/ConfigureChecksIntl.cmake \
278        cmake-modules/FindIconv.cmake \
279        cmake-modules/FindMSGFMT.cmake \
280        cmake-modules/FindSDL_gfx.cmake \
281        cmake-modules/FindSDL_Pango.cmake \
282        cmake-modules/FindTux4Kids-common.cmake \
283        cmake-modules/T4K_Sugar.cmake \
284        po/CMakeLists.txt \
285	config.h.cmake \
286	buildw32/cross-configure.sh \
287	buildw32/cross-make.sh \
288	buildw32/setup_mingw-cross-env.sh \
289	buildw32/tmwin.sh \
290	buildw32/t4k_common.mk
291
292NSI_TEMP_INSTALL_DIR = $(abs_top_builddir)/_instw32
293data_fonts = 'AndikaDesRevG.ttf'
294all: config.h
295	$(MAKE) $(AM_MAKEFLAGS) all-recursive
296
297.SUFFIXES:
298am--refresh:
299	@:
300$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
301	@for dep in $?; do \
302	  case '$(am__configure_deps)' in \
303	    *$$dep*) \
304	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
305	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
306		&& exit 0; \
307	      exit 1;; \
308	  esac; \
309	done; \
310	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
311	$(am__cd) $(top_srcdir) && \
312	  $(AUTOMAKE) --foreign Makefile
313.PRECIOUS: Makefile
314Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
315	@case '$?' in \
316	  *config.status*) \
317	    echo ' $(SHELL) ./config.status'; \
318	    $(SHELL) ./config.status;; \
319	  *) \
320	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
321	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
322	esac;
323
324$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
325	$(SHELL) ./config.status --recheck
326
327$(top_srcdir)/configure:  $(am__configure_deps)
328	$(am__cd) $(srcdir) && $(AUTOCONF)
329$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
330	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
331$(am__aclocal_m4_deps):
332
333config.h: stamp-h1
334	@if test ! -f $@; then \
335	  rm -f stamp-h1; \
336	  $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
337	else :; fi
338
339stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
340	@rm -f stamp-h1
341	cd $(top_builddir) && $(SHELL) ./config.status config.h
342$(srcdir)/config.h.in:  $(am__configure_deps)
343	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
344	rm -f stamp-h1
345	touch $@
346
347distclean-hdr:
348	-rm -f config.h stamp-h1
349tuxmath.spec: $(top_builddir)/config.status $(srcdir)/tuxmath.spec.in
350	cd $(top_builddir) && $(SHELL) ./config.status $@
351tuxmath_preview.spec: $(top_builddir)/config.status $(srcdir)/tuxmath_preview.spec.in
352	cd $(top_builddir) && $(SHELL) ./config.status $@
353nsis/tuxmath.nsi: $(top_builddir)/config.status $(top_srcdir)/nsis/tuxmath.nsi.in
354	cd $(top_builddir) && $(SHELL) ./config.status $@
355
356# This directory's subdirectories are mostly independent; you can cd
357# into them and run `make' without going through this Makefile.
358# To change the values of `make' variables: instead of editing Makefiles,
359# (1) if the variable is set in `config.status', edit `config.status'
360#     (which will cause the Makefiles to be regenerated when you run `make');
361# (2) otherwise, pass the desired values on the `make' command line.
362$(RECURSIVE_TARGETS):
363	@fail= failcom='exit 1'; \
364	for f in x $$MAKEFLAGS; do \
365	  case $$f in \
366	    *=* | --[!k]*);; \
367	    *k*) failcom='fail=yes';; \
368	  esac; \
369	done; \
370	dot_seen=no; \
371	target=`echo $@ | sed s/-recursive//`; \
372	list='$(SUBDIRS)'; for subdir in $$list; do \
373	  echo "Making $$target in $$subdir"; \
374	  if test "$$subdir" = "."; then \
375	    dot_seen=yes; \
376	    local_target="$$target-am"; \
377	  else \
378	    local_target="$$target"; \
379	  fi; \
380	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
381	  || eval $$failcom; \
382	done; \
383	if test "$$dot_seen" = "no"; then \
384	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
385	fi; test -z "$$fail"
386
387$(RECURSIVE_CLEAN_TARGETS):
388	@fail= failcom='exit 1'; \
389	for f in x $$MAKEFLAGS; do \
390	  case $$f in \
391	    *=* | --[!k]*);; \
392	    *k*) failcom='fail=yes';; \
393	  esac; \
394	done; \
395	dot_seen=no; \
396	case "$@" in \
397	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
398	  *) list='$(SUBDIRS)' ;; \
399	esac; \
400	rev=''; for subdir in $$list; do \
401	  if test "$$subdir" = "."; then :; else \
402	    rev="$$subdir $$rev"; \
403	  fi; \
404	done; \
405	rev="$$rev ."; \
406	target=`echo $@ | sed s/-recursive//`; \
407	for subdir in $$rev; do \
408	  echo "Making $$target in $$subdir"; \
409	  if test "$$subdir" = "."; then \
410	    local_target="$$target-am"; \
411	  else \
412	    local_target="$$target"; \
413	  fi; \
414	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
415	  || eval $$failcom; \
416	done && test -z "$$fail"
417tags-recursive:
418	list='$(SUBDIRS)'; for subdir in $$list; do \
419	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
420	done
421ctags-recursive:
422	list='$(SUBDIRS)'; for subdir in $$list; do \
423	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
424	done
425
426ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
427	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
428	unique=`for i in $$list; do \
429	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
430	  done | \
431	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
432	      END { if (nonempty) { for (i in files) print i; }; }'`; \
433	mkid -fID $$unique
434tags: TAGS
435
436TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
437		$(TAGS_FILES) $(LISP)
438	set x; \
439	here=`pwd`; \
440	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
441	  include_option=--etags-include; \
442	  empty_fix=.; \
443	else \
444	  include_option=--include; \
445	  empty_fix=; \
446	fi; \
447	list='$(SUBDIRS)'; for subdir in $$list; do \
448	  if test "$$subdir" = .; then :; else \
449	    test ! -f $$subdir/TAGS || \
450	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
451	  fi; \
452	done; \
453	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
454	unique=`for i in $$list; do \
455	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
456	  done | \
457	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
458	      END { if (nonempty) { for (i in files) print i; }; }'`; \
459	shift; \
460	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
461	  test -n "$$unique" || unique=$$empty_fix; \
462	  if test $$# -gt 0; then \
463	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
464	      "$$@" $$unique; \
465	  else \
466	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
467	      $$unique; \
468	  fi; \
469	fi
470ctags: CTAGS
471CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
472		$(TAGS_FILES) $(LISP)
473	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
474	unique=`for i in $$list; do \
475	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
476	  done | \
477	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
478	      END { if (nonempty) { for (i in files) print i; }; }'`; \
479	test -z "$(CTAGS_ARGS)$$unique" \
480	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
481	     $$unique
482
483GTAGS:
484	here=`$(am__cd) $(top_builddir) && pwd` \
485	  && $(am__cd) $(top_srcdir) \
486	  && gtags -i $(GTAGS_ARGS) "$$here"
487
488distclean-tags:
489	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
490
491distdir: $(DISTFILES)
492	$(am__remove_distdir)
493	test -d "$(distdir)" || mkdir "$(distdir)"
494	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
495	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
496	list='$(DISTFILES)'; \
497	  dist_files=`for file in $$list; do echo $$file; done | \
498	  sed -e "s|^$$srcdirstrip/||;t" \
499	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
500	case $$dist_files in \
501	  */*) $(MKDIR_P) `echo "$$dist_files" | \
502			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
503			   sort -u` ;; \
504	esac; \
505	for file in $$dist_files; do \
506	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
507	  if test -d $$d/$$file; then \
508	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
509	    if test -d "$(distdir)/$$file"; then \
510	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
511	    fi; \
512	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
513	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
514	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
515	    fi; \
516	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
517	  else \
518	    test -f "$(distdir)/$$file" \
519	    || cp -p $$d/$$file "$(distdir)/$$file" \
520	    || exit 1; \
521	  fi; \
522	done
523	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
524	  if test "$$subdir" = .; then :; else \
525	    test -d "$(distdir)/$$subdir" \
526	    || $(MKDIR_P) "$(distdir)/$$subdir" \
527	    || exit 1; \
528	  fi; \
529	done
530	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
531	  if test "$$subdir" = .; then :; else \
532	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
533	    $(am__relativize); \
534	    new_distdir=$$reldir; \
535	    dir1=$$subdir; dir2="$(top_distdir)"; \
536	    $(am__relativize); \
537	    new_top_distdir=$$reldir; \
538	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
539	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
540	    ($(am__cd) $$subdir && \
541	      $(MAKE) $(AM_MAKEFLAGS) \
542	        top_distdir="$$new_top_distdir" \
543	        distdir="$$new_distdir" \
544		am__remove_distdir=: \
545		am__skip_length_check=: \
546		am__skip_mode_fix=: \
547	        distdir) \
548	      || exit 1; \
549	  fi; \
550	done
551	-test -n "$(am__skip_mode_fix)" \
552	|| find "$(distdir)" -type d ! -perm -755 \
553		-exec chmod u+rwx,go+rx {} \; -o \
554	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
555	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
556	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
557	|| chmod -R a+r "$(distdir)"
558dist-gzip: distdir
559	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
560	$(am__remove_distdir)
561
562dist-bzip2: distdir
563	tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
564	$(am__remove_distdir)
565
566dist-lzma: distdir
567	tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
568	$(am__remove_distdir)
569
570dist-xz: distdir
571	tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
572	$(am__remove_distdir)
573
574dist-tarZ: distdir
575	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
576	$(am__remove_distdir)
577
578dist-shar: distdir
579	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
580	$(am__remove_distdir)
581
582dist-zip: distdir
583	-rm -f $(distdir).zip
584	zip -rq $(distdir).zip $(distdir)
585	$(am__remove_distdir)
586
587dist dist-all: distdir
588	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
589	$(am__remove_distdir)
590
591# This target untars the dist file and tries a VPATH configuration.  Then
592# it guarantees that the distribution is self-contained by making another
593# tarfile.
594distcheck: dist
595	case '$(DIST_ARCHIVES)' in \
596	*.tar.gz*) \
597	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
598	*.tar.bz2*) \
599	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
600	*.tar.lzma*) \
601	  lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
602	*.tar.xz*) \
603	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
604	*.tar.Z*) \
605	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
606	*.shar.gz*) \
607	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
608	*.zip*) \
609	  unzip $(distdir).zip ;;\
610	esac
611	chmod -R a-w $(distdir); chmod a+w $(distdir)
612	mkdir $(distdir)/_build
613	mkdir $(distdir)/_inst
614	chmod a-w $(distdir)
615	test -d $(distdir)/_build || exit 0; \
616	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
617	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
618	  && am__cwd=`pwd` \
619	  && $(am__cd) $(distdir)/_build \
620	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
621	    $(DISTCHECK_CONFIGURE_FLAGS) \
622	  && $(MAKE) $(AM_MAKEFLAGS) \
623	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
624	  && $(MAKE) $(AM_MAKEFLAGS) check \
625	  && $(MAKE) $(AM_MAKEFLAGS) install \
626	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
627	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
628	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
629	        distuninstallcheck \
630	  && chmod -R a-w "$$dc_install_base" \
631	  && ({ \
632	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
633	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
634	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
635	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
636	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
637	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
638	  && rm -rf "$$dc_destdir" \
639	  && $(MAKE) $(AM_MAKEFLAGS) dist \
640	  && rm -rf $(DIST_ARCHIVES) \
641	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
642	  && cd "$$am__cwd" \
643	  || exit 1
644	$(am__remove_distdir)
645	@(echo "$(distdir) archives ready for distribution: "; \
646	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
647	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
648distuninstallcheck:
649	@$(am__cd) '$(distuninstallcheck_dir)' \
650	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
651	   || { echo "ERROR: files left after uninstall:" ; \
652	        if test -n "$(DESTDIR)"; then \
653	          echo "  (check DESTDIR support)"; \
654	        fi ; \
655	        $(distuninstallcheck_listfiles) ; \
656	        exit 1; } >&2
657distcleancheck: distclean
658	@if test '$(srcdir)' = . ; then \
659	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
660	  exit 1 ; \
661	fi
662	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
663	  || { echo "ERROR: files left in build directory after distclean:" ; \
664	       $(distcleancheck_listfiles) ; \
665	       exit 1; } >&2
666check-am: all-am
667check: check-recursive
668all-am: Makefile config.h
669installdirs: installdirs-recursive
670installdirs-am:
671install: install-recursive
672install-exec: install-exec-recursive
673install-data: install-data-recursive
674uninstall: uninstall-recursive
675
676install-am: all-am
677	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
678
679installcheck: installcheck-recursive
680install-strip:
681	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
682	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
683	  `test -z '$(STRIP)' || \
684	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
685mostlyclean-generic:
686
687clean-generic:
688
689distclean-generic:
690	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
691	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
692
693maintainer-clean-generic:
694	@echo "This command is intended for maintainers to use"
695	@echo "it deletes files that may require special tools to rebuild."
696clean: clean-recursive
697
698clean-am: clean-generic clean-local mostlyclean-am
699
700distclean: distclean-recursive
701	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
702	-rm -f Makefile
703distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
704
705dvi: dvi-recursive
706
707dvi-am:
708
709html: html-recursive
710
711html-am:
712
713info: info-recursive
714
715info-am:
716
717install-data-am:
718
719install-dvi: install-dvi-recursive
720
721install-dvi-am:
722
723install-exec-am:
724
725install-html: install-html-recursive
726
727install-html-am:
728
729install-info: install-info-recursive
730
731install-info-am:
732
733install-man:
734
735install-pdf: install-pdf-recursive
736
737install-pdf-am:
738
739install-ps: install-ps-recursive
740
741install-ps-am:
742
743installcheck-am:
744
745maintainer-clean: maintainer-clean-recursive
746	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
747	-rm -rf $(top_srcdir)/autom4te.cache
748	-rm -f Makefile
749maintainer-clean-am: distclean-am maintainer-clean-generic
750
751mostlyclean: mostlyclean-recursive
752
753mostlyclean-am: mostlyclean-generic
754
755pdf: pdf-recursive
756
757pdf-am:
758
759ps: ps-recursive
760
761ps-am:
762
763uninstall-am:
764
765.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
766	ctags-recursive install-am install-strip tags-recursive
767
768.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
769	all all-am am--refresh check check-am clean clean-generic \
770	clean-local ctags ctags-recursive dist dist-all dist-bzip2 \
771	dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
772	distcheck distclean distclean-generic distclean-hdr \
773	distclean-tags distcleancheck distdir distuninstallcheck dvi \
774	dvi-am html html-am info info-am install install-am \
775	install-data install-data-am install-dvi install-dvi-am \
776	install-exec install-exec-am install-html install-html-am \
777	install-info install-info-am install-man install-pdf \
778	install-pdf-am install-ps install-ps-am install-strip \
779	installcheck installcheck-am installdirs installdirs-am \
780	maintainer-clean maintainer-clean-generic mostlyclean \
781	mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
782	uninstall uninstall-am
783
784dist_with_fonts:
785	$(MAKE) $(AM_MAKEFLAGS) distdir=$(PACKAGE)_w_fonts-$(VERSION) \
786           dist_fonts=$(data_fonts) dist
787dist_with_fonts_bzip2:
788	$(MAKE) $(AM_MAKEFLAGS) distdir=$(PACKAGE)_w_fonts-$(VERSION) \
789           dist_fonts=$(data_fonts) dist-bzip2
790
791install-nsi-local: all
792	$(INSTALL) -d $(NSI_TEMP_INSTALL_DIR)
793	$(MAKE) $(AM_MAKEFLAGS) DESTDIR=$(NSI_TEMP_INSTALL_DIR) install
794	$(INSTALL) -d $(top_builddir)/$(NSI_INSTALL_DIR)/data;
795	(cd $(NSI_TEMP_INSTALL_DIR)/$(pkgdatadir); \
796           tar cf -  * ) \
797           | ( cd $(top_builddir)/$(NSI_INSTALL_DIR)/data; \
798           tar xf -)
799	$(INSTALL) -d $(top_builddir)/$(NSI_INSTALL_DIR)/doc;
800	(cd $(NSI_TEMP_INSTALL_DIR)/$(docdir); \
801           tar cf -  * ) \
802           | ( cd $(top_builddir)/$(NSI_INSTALL_DIR)/doc; \
803           tar xf -)
804	$(INSTALL) -d $(top_builddir)/$(NSI_INSTALL_DIR)/locale;
805	(cd $(NSI_TEMP_INSTALL_DIR)/$(localedir); \
806           tar cf -  * ) \
807           | ( cd $(top_builddir)/$(NSI_INSTALL_DIR)/locale; \
808           tar xf -)
809	(cd $(NSI_TEMP_INSTALL_DIR)/$(bindir); \
810           mv *TuxMath.exe TuxMath.exe; \
811           tar cf - TuxMath.exe  ) \
812           | ( cd $(top_builddir)/$(NSI_INSTALL_DIR); \
813           tar xf -)
814	$(MAKE) $(AM_MAKEFLAGS) DESTDIR=$(NSI_TEMP_INSTALL_DIR) uninstall
815	rm -rf $(NSI_TEMP_INSTALL_DIR)
816	(cd $(top_builddir)/$(NSI_INSTALL_DIR)/doc; \
817	FILES=`find . -type f`; \
818	for file in $$FILES; do \
819	    echo "Processing "$$file; \
820	    $(U2D) $$file; \
821	    mv $$file $$file".txt"; \
822	done)
823
824	(cd $(top_builddir)/$(NSI_INSTALL_DIR)/data/missions; \
825	FILES=`find . -type f`; \
826	for file in $$FILES; do \
827	    echo "Processing "$$file; \
828	    $(U2D) $$file; \
829	    mv $$file $$file".txt"; \
830	done)
831
832#	-cp $(NSI_DLL_DIR)/*.dll $(top_builddir)/$(NSI_INSTALL_DIR);
833
834	(cd $(prefix)/share/t4k_common; \
835	   tar cf - * ) \
836           | ( cd $(top_builddir)/$(NSI_INSTALL_DIR)/data; \
837           tar xf -)
838	echo 'fontconfig files: ' $(sysconfdir)/fonts
839
840	$(INSTALL) -d $(top_builddir)/$(NSI_INSTALL_DIR)/fonts;
841	(cd $(sysconfdir)/fonts; \
842           tar cf -  * ) \
843           | ( cd $(top_builddir)/$(NSI_INSTALL_DIR)/fonts; \
844           tar xf -)
845
846install-nsi-am: install-nsi-local
847
848nsis:
849
850	if test "x$(U2D)" = "x"; then \
851	  echo "\nWarning - unix2dos (or todos) program not found!"; \
852          echo "It is needed to convert text files to Windows format."; \
853          echo "Without this program, user documention will be in Unix" ; \
854          echo "format, which will not display correctly with common"; \
855          echo "Windows text editors such as Notepad\n"; \
856	fi
857
858	if test "x$(NSIS)" = "x"; then \
859	  echo "\nError - makensis program not found!"; \
860          echo "It is needed to build the NSIS executable installer for Windows."; \
861          echo "Install it from your distribution's repository, or" ; \
862          echo "download it from: http://nsis.sourceforge.net/Download\n"; \
863	else \
864	$(MAKE) $(AM_MAKEFLAGS) install-nsi-local; \
865	  $(NSIS) -NOCD nsis/tuxmath.nsi; \
866	fi
867
868clean-local:
869	@$(NORMAL_CLEAN)
870	if test -d $(NSI_INSTALL_DIR); then \
871	  rm -fr $(NSI_INSTALL_DIR); \
872	fi
873	if test -e tuxmath-@VERSION@-win32-installer.exe; then \
874	  rm tuxmath-@VERSION@-win32-installer.exe; \
875	fi
876
877.PHONY: nsis
878
879# Tell versions [3.59,3.63) of GNU make to not export all variables.
880# Otherwise a system limit (for SysV at least) may be exceeded.
881.NOEXPORT:
882