1# Makefile.in generated by automake 1.11.6 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, 2010, 2011 Free Software
6# Foundation, 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@
17
18#
19# Makefile.am - makefile for documentation
20#
21# Copyright (C) 2008-2010, David Beckett http://www.dajobe.org/
22#
23# This file is licensed under the following three licenses as alternatives:
24#   1. GNU Lesser General Public License (LGPL) V2.1 or any newer version
25#   2. GNU General Public License (GPL) V2 or any newer version
26#   3. Apache License, V2.0 or any newer version
27#
28# You may not use this file except in compliance with at least one of
29# the above three licenses.
30#
31# See LICENSE.html or LICENSE.txt at the top of this package for the
32# complete terms and further detail along with the license texts for
33# the licenses in COPYING.LIB, COPYING and LICENSE-2.0.txt respectively.
34
35# -*- mode: makefile -*-
36
37####################################
38# Everything below here is generic #
39####################################
40VPATH = @srcdir@
41am__make_dryrun = \
42  { \
43    am__dry=no; \
44    case $$MAKEFLAGS in \
45      *\\[\ \	]*) \
46        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
47          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
48      *) \
49        for am__flg in $$MAKEFLAGS; do \
50          case $$am__flg in \
51            *=*|--*) ;; \
52            *n*) am__dry=yes; break;; \
53          esac; \
54        done;; \
55    esac; \
56    test $$am__dry = yes; \
57  }
58pkgdatadir = $(datadir)/@PACKAGE@
59pkgincludedir = $(includedir)/@PACKAGE@
60pkglibdir = $(libdir)/@PACKAGE@
61pkglibexecdir = $(libexecdir)/@PACKAGE@
62am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
63install_sh_DATA = $(install_sh) -c -m 644
64install_sh_PROGRAM = $(install_sh) -c
65install_sh_SCRIPT = $(install_sh) -c
66INSTALL_HEADER = $(INSTALL_DATA)
67transform = $(program_transform_name)
68NORMAL_INSTALL = :
69PRE_INSTALL = :
70POST_INSTALL = :
71NORMAL_UNINSTALL = :
72PRE_UNINSTALL = :
73POST_UNINSTALL = :
74build_triplet = @build@
75host_triplet = @host@
76DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
77	$(srcdir)/version.xml.in $(top_srcdir)/gtk-doc.make
78subdir = docs
79ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
80am__aclocal_m4_deps = $(top_srcdir)/build/gtk-doc.m4 \
81	$(top_srcdir)/build/libtool.m4 \
82	$(top_srcdir)/build/ltoptions.m4 \
83	$(top_srcdir)/build/ltsugar.m4 \
84	$(top_srcdir)/build/ltversion.m4 \
85	$(top_srcdir)/build/lt~obsolete.m4 $(top_srcdir)/configure.ac
86am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
87	$(ACLOCAL_M4)
88mkinstalldirs = $(install_sh) -d
89CONFIG_HEADER = $(top_builddir)/src/config.h
90CONFIG_CLEAN_FILES = version.xml
91CONFIG_CLEAN_VPATH_FILES =
92AM_V_GEN = $(am__v_GEN_@AM_V@)
93am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
94am__v_GEN_0 = @echo "  GEN   " $@;
95AM_V_at = $(am__v_at_@AM_V@)
96am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
97am__v_at_0 = @
98SOURCES =
99DIST_SOURCES =
100am__can_run_installinfo = \
101  case $$AM_UPDATE_INFO_DIR in \
102    n|no|NO) false;; \
103    *) (install-info --version) >/dev/null 2>&1;; \
104  esac
105am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
106am__vpath_adj = case $$p in \
107    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
108    *) f=$$p;; \
109  esac;
110am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
111am__install_max = 40
112am__nobase_strip_setup = \
113  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
114am__nobase_strip = \
115  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
116am__nobase_list = $(am__nobase_strip_setup); \
117  for p in $$list; do echo "$$p $$p"; done | \
118  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
119  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
120    if (++n[$$2] == $(am__install_max)) \
121      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
122    END { for (dir in files) print dir, files[dir] }'
123am__base_list = \
124  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
125  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
126am__uninstall_files_from_dir = { \
127  test -z "$$files" \
128    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
129    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
130         $(am__cd) "$$dir" && rm -f $$files; }; \
131  }
132man1dir = $(mandir)/man1
133am__installdirs = "$(DESTDIR)$(man1dir)"
134NROFF = nroff
135MANS = $(man_MANS)
136DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
137ACLOCAL = @ACLOCAL@
138AMTAR = @AMTAR@
139AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
140AR = @AR@
141AUTOCONF = @AUTOCONF@
142AUTOHEADER = @AUTOHEADER@
143AUTOMAKE = @AUTOMAKE@
144AWK = @AWK@
145CC = @CC@
146CCDEPMODE = @CCDEPMODE@
147CFLAGS = @CFLAGS@
148CPP = @CPP@
149CPPFLAGS = @CPPFLAGS@
150CURL_CONFIG = @CURL_CONFIG@
151CYGPATH_W = @CYGPATH_W@
152DEFS = @DEFS@
153DEPDIR = @DEPDIR@
154DLLTOOL = @DLLTOOL@
155DSYMUTIL = @DSYMUTIL@
156DUMPBIN = @DUMPBIN@
157ECHO = @ECHO@
158ECHO_C = @ECHO_C@
159ECHO_N = @ECHO_N@
160ECHO_T = @ECHO_T@
161EGREP = @EGREP@
162EXEEXT = @EXEEXT@
163FGREP = @FGREP@
164FLICKCURL_VERSION_DECIMAL = @FLICKCURL_VERSION_DECIMAL@
165GREP = @GREP@
166GTKDOC_CHECK = @GTKDOC_CHECK@
167GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
168GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
169GTKDOC_MKPDF = @GTKDOC_MKPDF@
170GTKDOC_REBASE = @GTKDOC_REBASE@
171HTML_DIR = @HTML_DIR@
172INSTALL = @INSTALL@
173INSTALL_DATA = @INSTALL_DATA@
174INSTALL_PROGRAM = @INSTALL_PROGRAM@
175INSTALL_SCRIPT = @INSTALL_SCRIPT@
176INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
177LD = @LD@
178LDFLAGS = @LDFLAGS@
179LIBCURL_MIN_VERSION = @LIBCURL_MIN_VERSION@
180LIBFLICKCURL_LIBTOOL_VERSION = @LIBFLICKCURL_LIBTOOL_VERSION@
181LIBOBJS = @LIBOBJS@
182LIBS = @LIBS@
183LIBTOOL = @LIBTOOL@
184LIBXML_MIN_VERSION = @LIBXML_MIN_VERSION@
185LIPO = @LIPO@
186LN_S = @LN_S@
187LTLIBOBJS = @LTLIBOBJS@
188MAINT = @MAINT@
189MAKEINFO = @MAKEINFO@
190MANIFEST_TOOL = @MANIFEST_TOOL@
191MKDIR_P = @MKDIR_P@
192NM = @NM@
193NMEDIT = @NMEDIT@
194OBJDUMP = @OBJDUMP@
195OBJEXT = @OBJEXT@
196OTOOL = @OTOOL@
197OTOOL64 = @OTOOL64@
198PACKAGE = @PACKAGE@
199PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
200PACKAGE_NAME = @PACKAGE_NAME@
201PACKAGE_STRING = @PACKAGE_STRING@
202PACKAGE_TARNAME = @PACKAGE_TARNAME@
203PACKAGE_URL = @PACKAGE_URL@
204PACKAGE_VERSION = @PACKAGE_VERSION@
205PATH_SEPARATOR = @PATH_SEPARATOR@
206PKG_CONFIG = @PKG_CONFIG@
207PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
208PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
209PKG_CONFIG_REQUIRES = @PKG_CONFIG_REQUIRES@
210RANLIB = @RANLIB@
211RAPTOR_CFLAGS = @RAPTOR_CFLAGS@
212RAPTOR_LIBS = @RAPTOR_LIBS@
213RAPTOR_MIN_VERSION = @RAPTOR_MIN_VERSION@
214RECHO = @RECHO@
215SED = @SED@
216SET_MAKE = @SET_MAKE@
217SHELL = @SHELL@
218STANDARD_CFLAGS = @STANDARD_CFLAGS@
219STRIP = @STRIP@
220VERSION = @VERSION@
221XML_CONFIG = @XML_CONFIG@
222abs_builddir = @abs_builddir@
223abs_srcdir = @abs_srcdir@
224abs_top_builddir = @abs_top_builddir@
225abs_top_srcdir = @abs_top_srcdir@
226ac_ct_AR = @ac_ct_AR@
227ac_ct_CC = @ac_ct_CC@
228ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
229am__include = @am__include@
230am__leading_dot = @am__leading_dot@
231am__quote = @am__quote@
232am__tar = @am__tar@
233am__untar = @am__untar@
234bindir = @bindir@
235build = @build@
236build_alias = @build_alias@
237build_cpu = @build_cpu@
238build_os = @build_os@
239build_vendor = @build_vendor@
240builddir = @builddir@
241datadir = @datadir@
242datarootdir = @datarootdir@
243docdir = @docdir@
244dvidir = @dvidir@
245exec_prefix = @exec_prefix@
246host = @host@
247host_alias = @host_alias@
248host_cpu = @host_cpu@
249host_os = @host_os@
250host_vendor = @host_vendor@
251htmldir = @htmldir@
252includedir = @includedir@
253infodir = @infodir@
254install_sh = @install_sh@
255libdir = @libdir@
256libexecdir = @libexecdir@
257localedir = @localedir@
258localstatedir = @localstatedir@
259mandir = @mandir@
260mkdir_p = @mkdir_p@
261oldincludedir = @oldincludedir@
262pdfdir = @pdfdir@
263prefix = @prefix@
264program_transform_name = @program_transform_name@
265psdir = @psdir@
266sbindir = @sbindir@
267sharedstatedir = @sharedstatedir@
268srcdir = @srcdir@
269sysconfdir = @sysconfdir@
270target_alias = @target_alias@
271top_build_prefix = @top_build_prefix@
272top_builddir = @top_builddir@
273top_srcdir = @top_srcdir@
274man_MANS = flickcurl-config.1 flickcurl.1 flickrdf.1
275
276# The name of the module.
277DOC_MODULE = flickcurl
278
279# The top-level SGML file.
280DOC_MAIN_SGML_FILE = flickcurl-docs.xml
281
282# Extra options to supply to gtkdoc-scan
283SCAN_OPTIONS =
284
285# The directory containing the source code. Relative to $(srcdir)
286DOC_SOURCE_DIR = ../src
287
288# Used for dependencies
289HFILE_GLOB = $(top_srcdir)/src/flickcurl.h
290CFILE_GLOB = $(top_srcdir)/src/*.c
291IGNORE_CFILES =
292
293# Headers to ignore
294IGNORE_HFILES = \
295	config.h win32_flickcurl_config.h \
296	flickcurl_internal.h
297
298
299# CFLAGS and LDFLAGS for compiling scan program. Only needed
300# if $(DOC_MODULE).types is non-empty.
301AM_CPPFLAGS =
302GTKDOC_LIBS =
303
304# Extra options to supply to gtkdoc-mkdb
305MKDB_OPTIONS = --sgml-mode --output-format=xml --ignore-files="$(IGNORE_CFILES)"
306
307# Extra options to supply to gtkdoc-mktmpl
308MKTMPL_OPTIONS =
309
310# Non-autogenerated (XML, other) files to be included in $(DOC_MAIN_SGML_FILE)
311content_files = \
312	flickcurl-oauth.xml \
313	flickcurl-authenticate.xml \
314	flickcurl-searching.xml \
315	flickcurl-extras.xml \
316	version.xml \
317	search-photos.c
318
319
320# Images to copy into HTML directory
321HTML_IMAGES = \
322	appgarden-get-your-api-key.png \
323	appgarden-commercial-picker.png \
324	appgarden-tell-us-about-your-app.png \
325	appgarden-new-api-key-secret.png \
326	appgarden-edit-auth-flow.png \
327	appgarden-edit-auth-flow-mobile.png \
328	appgarden-test-app-page.png \
329	appgarden-mobile-auth-page.png
330
331
332# Extra options to supply to gtkdoc-fixref
333FIXXREF_OPTIONS =
334@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
335@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
336@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
337@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
338@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN =
339@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
340
341# We set GPATH here; this gives us semantics for GNU make
342# which are more like other make's VPATH, when it comes to
343# whether a source that is a target of one rule is then
344# searched for in VPATH/GPATH.
345#
346GPATH = $(srcdir)
347TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
348SETUP_FILES = \
349	$(content_files)		\
350	$(DOC_MAIN_SGML_FILE)		\
351	$(DOC_MODULE)-sections.txt	\
352	$(DOC_MODULE)-overrides.txt
353
354EXTRA_DIST = $(HTML_IMAGES) $(SETUP_FILES) $(man_MANS) flickcurl.1.in \
355	version.xml.in
356DOC_STAMPS = setup-build.stamp scan-build.stamp tmpl-build.stamp sgml-build.stamp \
357	html-build.stamp pdf-build.stamp \
358	tmpl.stamp sgml.stamp html.stamp pdf.stamp
359
360SCANOBJ_FILES = \
361	$(DOC_MODULE).args 	 \
362	$(DOC_MODULE).hierarchy  \
363	$(DOC_MODULE).interfaces \
364	$(DOC_MODULE).prerequisites \
365	$(DOC_MODULE).signals
366
367REPORT_FILES = \
368	$(DOC_MODULE)-undocumented.txt \
369	$(DOC_MODULE)-undeclared.txt \
370	$(DOC_MODULE)-unused.txt
371
372CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS)
373@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =
374@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp
375@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =
376@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp
377all: all-am
378
379.SUFFIXES:
380$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps)
381	@for dep in $?; do \
382	  case '$(am__configure_deps)' in \
383	    *$$dep*) \
384	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
385	        && { if test -f $@; then exit 0; else break; fi; }; \
386	      exit 1;; \
387	  esac; \
388	done; \
389	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/Makefile'; \
390	$(am__cd) $(top_srcdir) && \
391	  $(AUTOMAKE) --gnu docs/Makefile
392.PRECIOUS: Makefile
393Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
394	@case '$?' in \
395	  *config.status*) \
396	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
397	  *) \
398	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
399	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
400	esac;
401$(top_srcdir)/gtk-doc.make:
402
403$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
404	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
405
406$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
407	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
408$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
409	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
410$(am__aclocal_m4_deps):
411version.xml: $(top_builddir)/config.status $(srcdir)/version.xml.in
412	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
413
414mostlyclean-libtool:
415	-rm -f *.lo
416
417clean-libtool:
418	-rm -rf .libs _libs
419install-man1: $(man_MANS)
420	@$(NORMAL_INSTALL)
421	@list1=''; \
422	list2='$(man_MANS)'; \
423	test -n "$(man1dir)" \
424	  && test -n "`echo $$list1$$list2`" \
425	  || exit 0; \
426	echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
427	$(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
428	{ for i in $$list1; do echo "$$i"; done;  \
429	if test -n "$$list2"; then \
430	  for i in $$list2; do echo "$$i"; done \
431	    | sed -n '/\.1[a-z]*$$/p'; \
432	fi; \
433	} | while read p; do \
434	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
435	  echo "$$d$$p"; echo "$$p"; \
436	done | \
437	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
438	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
439	sed 'N;N;s,\n, ,g' | { \
440	list=; while read file base inst; do \
441	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
442	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
443	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
444	  fi; \
445	done; \
446	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
447	while read files; do \
448	  test -z "$$files" || { \
449	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
450	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
451	done; }
452
453uninstall-man1:
454	@$(NORMAL_UNINSTALL)
455	@list=''; test -n "$(man1dir)" || exit 0; \
456	files=`{ for i in $$list; do echo "$$i"; done; \
457	l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
458	  sed -n '/\.1[a-z]*$$/p'; \
459	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
460	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
461	dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
462tags: TAGS
463TAGS:
464
465ctags: CTAGS
466CTAGS:
467
468
469distdir: $(DISTFILES)
470	@list='$(MANS)'; if test -n "$$list"; then \
471	  list=`for p in $$list; do \
472	    if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
473	    if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
474	  if test -n "$$list" && \
475	    grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
476	    echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
477	    grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/         /' >&2; \
478	    echo "       to fix them, install help2man, remove and regenerate the man pages;" >&2; \
479	    echo "       typically \`make maintainer-clean' will remove them" >&2; \
480	    exit 1; \
481	  else :; fi; \
482	else :; fi
483	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
484	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
485	list='$(DISTFILES)'; \
486	  dist_files=`for file in $$list; do echo $$file; done | \
487	  sed -e "s|^$$srcdirstrip/||;t" \
488	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
489	case $$dist_files in \
490	  */*) $(MKDIR_P) `echo "$$dist_files" | \
491			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
492			   sort -u` ;; \
493	esac; \
494	for file in $$dist_files; do \
495	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
496	  if test -d $$d/$$file; then \
497	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
498	    if test -d "$(distdir)/$$file"; then \
499	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
500	    fi; \
501	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
502	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
503	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
504	    fi; \
505	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
506	  else \
507	    test -f "$(distdir)/$$file" \
508	    || cp -p $$d/$$file "$(distdir)/$$file" \
509	    || exit 1; \
510	  fi; \
511	done
512	$(MAKE) $(AM_MAKEFLAGS) \
513	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
514	  dist-hook
515check-am: all-am
516check: check-am
517all-am: Makefile $(MANS) all-local
518installdirs:
519	for dir in "$(DESTDIR)$(man1dir)"; do \
520	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
521	done
522install: install-am
523install-exec: install-exec-am
524install-data: install-data-am
525uninstall: uninstall-am
526
527install-am: all-am
528	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
529
530installcheck: installcheck-am
531install-strip:
532	if test -z '$(STRIP)'; then \
533	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
534	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
535	      install; \
536	else \
537	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
538	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
539	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
540	fi
541mostlyclean-generic:
542
543clean-generic:
544	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
545
546distclean-generic:
547	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
548	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
549
550maintainer-clean-generic:
551	@echo "This command is intended for maintainers to use"
552	@echo "it deletes files that may require special tools to rebuild."
553clean: clean-am
554
555clean-am: clean-generic clean-libtool clean-local mostlyclean-am
556
557distclean: distclean-am
558	-rm -f Makefile
559distclean-am: clean-am distclean-generic distclean-local
560
561dvi: dvi-am
562
563dvi-am:
564
565html: html-am
566
567html-am:
568
569info: info-am
570
571info-am:
572
573install-data-am: install-data-local install-man
574
575install-dvi: install-dvi-am
576
577install-dvi-am:
578
579install-exec-am:
580
581install-html: install-html-am
582
583install-html-am:
584
585install-info: install-info-am
586
587install-info-am:
588
589install-man: install-man1
590
591install-pdf: install-pdf-am
592
593install-pdf-am:
594
595install-ps: install-ps-am
596
597install-ps-am:
598
599installcheck-am:
600
601maintainer-clean: maintainer-clean-am
602	-rm -f Makefile
603maintainer-clean-am: distclean-am maintainer-clean-generic \
604	maintainer-clean-local
605
606mostlyclean: mostlyclean-am
607
608mostlyclean-am: mostlyclean-generic mostlyclean-libtool
609
610pdf: pdf-am
611
612pdf-am:
613
614ps: ps-am
615
616ps-am:
617
618uninstall-am: uninstall-local uninstall-man
619
620uninstall-man: uninstall-man1
621
622.MAKE: install-am install-strip
623
624.PHONY: all all-am all-local check check-am clean clean-generic \
625	clean-libtool clean-local dist-hook distclean \
626	distclean-generic distclean-libtool distclean-local distdir \
627	dvi dvi-am html html-am info info-am install install-am \
628	install-data install-data-am install-data-local install-dvi \
629	install-dvi-am install-exec install-exec-am install-html \
630	install-html-am install-info install-info-am install-man \
631	install-man1 install-pdf install-pdf-am install-ps \
632	install-ps-am install-strip installcheck installcheck-am \
633	installdirs maintainer-clean maintainer-clean-generic \
634	maintainer-clean-local mostlyclean mostlyclean-generic \
635	mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
636	uninstall-local uninstall-man uninstall-man1
637
638
639@ENABLE_GTK_DOC_TRUE@all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
640@ENABLE_GTK_DOC_FALSE@all-local:
641
642docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
643
644$(REPORT_FILES): sgml-build.stamp
645
646#### setup ####
647
648setup-build.stamp:
649	-@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
650	    echo '  DOC   Preparing build'; \
651	    files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
652	    if test "x$$files" != "x" ; then \
653	        for file in $$files ; do \
654	            test -f $(abs_srcdir)/$$file && \
655	                cp -pu $(abs_srcdir)/$$file $(abs_builddir)/ || true; \
656	        done; \
657	    fi; \
658	    test -d $(abs_srcdir)/tmpl && \
659	        { cp -rp $(abs_srcdir)/tmpl $(abs_builddir)/; \
660	        chmod -R u+w $(abs_builddir)/tmpl; } \
661	fi
662	@touch setup-build.stamp
663
664#### scan ####
665
666scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
667	@echo '  DOC   Scanning header files'
668	@_source_dir='' ; \
669	for i in $(DOC_SOURCE_DIR) ; do \
670	    _source_dir="$${_source_dir} --source-dir=$$i" ; \
671	done ; \
672	gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
673	@if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
674	    echo "  DOC   Introspecting gobjects"; \
675	    scanobj_options=""; \
676	    gtkdoc-scangobj 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
677	    if test "$(?)" = "0"; then \
678	        if test "x$(V)" = "x1"; then \
679	            scanobj_options="--verbose"; \
680	        fi; \
681	    fi; \
682	    CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \
683	    gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \
684	else \
685	    for i in $(SCANOBJ_FILES) ; do \
686	        test -f $$i || touch $$i ; \
687	    done \
688	fi
689	@touch scan-build.stamp
690
691$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
692	@true
693
694#### templates ####
695
696tmpl-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
697	@echo '  DOC   Rebuilding template files'
698	@gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)
699	@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
700	  if test -w $(abs_srcdir) ; then \
701	    cp -rp $(abs_builddir)/tmpl $(abs_srcdir)/; \
702	  fi \
703	fi
704	@touch tmpl-build.stamp
705
706tmpl.stamp: tmpl-build.stamp
707	@true
708
709$(srcdir)/tmpl/*.sgml:
710	@true
711
712#### xml ####
713
714sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)
715	@echo '  DOC   Building XML'
716	@-chmod -R u+w $(srcdir)
717	@_source_dir='' ; \
718	for i in $(DOC_SOURCE_DIR) ; do \
719	    _source_dir="$${_source_dir} --source-dir=$$i" ; \
720	done ; \
721	gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS)
722	@touch sgml-build.stamp
723
724sgml.stamp: sgml-build.stamp
725	@true
726
727#### html ####
728
729html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
730	@echo '  DOC   Building HTML'
731	@rm -rf html
732	@mkdir html
733	@mkhtml_options=""; \
734	gtkdoc-mkhtml 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
735	if test "$(?)" = "0"; then \
736	  if test "x$(V)" = "x1"; then \
737	    mkhtml_options="$$mkhtml_options --verbose"; \
738	  fi; \
739	fi; \
740	gtkdoc-mkhtml 2>&1 --help | grep  >/dev/null "\-\-path"; \
741	if test "$(?)" = "0"; then \
742	  mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \
743	fi; \
744	cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
745	-@test "x$(HTML_IMAGES)" = "x" || \
746	for file in $(HTML_IMAGES) ; do \
747	  if test -f $(abs_srcdir)/$$file ; then \
748	    cp $(abs_srcdir)/$$file $(abs_builddir)/html; \
749	  fi; \
750	  if test -f $(abs_builddir)/$$file ; then \
751	    cp $(abs_builddir)/$$file $(abs_builddir)/html; \
752	  fi; \
753	done;
754	@echo '  DOC   Fixing cross-references'
755	@gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
756	@touch html-build.stamp
757
758#### pdf ####
759
760pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
761	@echo '  DOC   Building PDF'
762	@rm -f $(DOC_MODULE).pdf
763	@mkpdf_options=""; \
764	gtkdoc-mkpdf 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
765	if test "$(?)" = "0"; then \
766	  if test "x$(V)" = "x1"; then \
767	    mkpdf_options="$$mkpdf_options --verbose"; \
768	  fi; \
769	fi; \
770	if test "x$(HTML_IMAGES)" != "x"; then \
771	  for img in $(HTML_IMAGES); do \
772	    part=`dirname $$img`; \
773	    echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \
774	    if test $$? != 0; then \
775	      mkpdf_options="$$mkpdf_options --imgdir=$$part"; \
776	    fi; \
777	  done; \
778	fi; \
779	gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
780	@touch pdf-build.stamp
781
782##############
783
784clean-local:
785	@rm -f *~ *.bak
786	@rm -rf .libs
787
788distclean-local:
789	@rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
790	    $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
791	@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
792	    rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
793	    rm -rf tmpl; \
794	fi
795
796maintainer-clean-local: clean
797	@rm -rf xml html
798
799install-data-local:
800	@installfiles=`echo $(builddir)/html/*`; \
801	if test "$$installfiles" = '$(builddir)/html/*'; \
802	then echo 1>&2 'Nothing to install' ; \
803	else \
804	  if test -n "$(DOC_MODULE_VERSION)"; then \
805	    installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
806	  else \
807	    installdir="$(DESTDIR)$(TARGET_DIR)"; \
808	  fi; \
809	  $(mkinstalldirs) $${installdir} ; \
810	  for i in $$installfiles; do \
811	    echo ' $(INSTALL_DATA) '$$i ; \
812	    $(INSTALL_DATA) $$i $${installdir}; \
813	  done; \
814	  if test -n "$(DOC_MODULE_VERSION)"; then \
815	    mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
816	      $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
817	  fi; \
818	  $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
819	fi
820
821uninstall-local:
822	@if test -n "$(DOC_MODULE_VERSION)"; then \
823	  installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
824	else \
825	  installdir="$(DESTDIR)$(TARGET_DIR)"; \
826	fi; \
827	rm -rf $${installdir}
828
829#
830# Require gtk-doc when making dist
831#
832@ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
833@ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc:
834@ENABLE_GTK_DOC_FALSE@	@echo "*** gtk-doc must be installed and enabled in order to make dist"
835@ENABLE_GTK_DOC_FALSE@	@false
836
837dist-hook: dist-check-gtkdoc dist-hook-local
838	@mkdir $(distdir)/tmpl
839	@mkdir $(distdir)/html
840	@-cp ./tmpl/*.sgml $(distdir)/tmpl
841	@cp ./html/* $(distdir)/html
842	@-cp ./$(DOC_MODULE).pdf $(distdir)/
843	@-cp ./$(DOC_MODULE).types $(distdir)/
844	@-cp ./$(DOC_MODULE)-sections.txt $(distdir)/
845	@cd $(distdir) && rm -f $(DISTCLEANFILES)
846	@$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
847
848.PHONY : dist-hook-local docs
849
850dist-hook-local: html-build.stamp
851	@file=$(srcdir)/html/style.css; \
852	$(ECHO) "Fixing CSS in $$file"; \
853	$(SED) -e '/position: fixed/d' $$file > $$file.new && \
854	mv $$file.new $$file
855
856@MAINTAINER_MODE_TRUE@search-photos.c: $(srcdir)/../examples/search-photos.c
857@MAINTAINER_MODE_TRUE@	$(SED) -e '1,/^$$/d' $< > $@
858
859@MAINTAINER_MODE_TRUE@flickcurl.1: $(srcdir)/flickcurl.1.in $(top_builddir)/utils/mangen
860@MAINTAINER_MODE_TRUE@	sed -ne '1,/SH COMMANDS/p' $(srcdir)/flickcurl.1.in > flickcurl.1.head && \
861@MAINTAINER_MODE_TRUE@	$(top_builddir)/utils/mangen manpage > flickcurl.1.body && \
862@MAINTAINER_MODE_TRUE@	sed -ne '/SH SEE ALSO/,$$p' $(srcdir)/flickcurl.1.in > flickcurl.1.tail && \
863@MAINTAINER_MODE_TRUE@	cat flickcurl.1.head flickcurl.1.body flickcurl.1.tail > flickcurl.1 && \
864@MAINTAINER_MODE_TRUE@	rm -f flickcurl.1.head flickcurl.1.body flickcurl.1.tail
865
866@MAINTAINER_MODE_TRUE@flickcurl-extras.xml: $(top_builddir)/utils/mangen
867@MAINTAINER_MODE_TRUE@	$(top_builddir)/utils/mangen extras > flickcurl-extras.xml
868
869@MAINTAINER_MODE_TRUE@$(top_builddir)/utils/mangen:
870@MAINTAINER_MODE_TRUE@	cd $(top_builddir)/utils && $(MAKE) mangen
871
872# Tell versions [3.59,3.63) of GNU make to not export all variables.
873# Otherwise a system limit (for SysV at least) may be exceeded.
874.NOEXPORT:
875