1# Makefile.in generated by automake 1.11 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@
17
18# -*- mode: makefile -*-
19
20####################################
21# Everything below here is generic #
22####################################
23VPATH = @srcdir@
24pkgdatadir = $(datadir)/@PACKAGE@
25pkgincludedir = $(includedir)/@PACKAGE@
26pkglibdir = $(libdir)/@PACKAGE@
27pkglibexecdir = $(libexecdir)/@PACKAGE@
28am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
29install_sh_DATA = $(install_sh) -c -m 644
30install_sh_PROGRAM = $(install_sh) -c
31install_sh_SCRIPT = $(install_sh) -c
32INSTALL_HEADER = $(INSTALL_DATA)
33transform = $(program_transform_name)
34NORMAL_INSTALL = :
35PRE_INSTALL = :
36POST_INSTALL = :
37NORMAL_UNINSTALL = :
38PRE_UNINSTALL = :
39POST_UNINSTALL = :
40build_triplet = @build@
41host_triplet = @host@
42DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
43	$(top_srcdir)/gtk-doc.make
44subdir = doc
45ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
46am__aclocal_m4_deps = $(top_srcdir)/m4/ac_libtool_tags.m4 \
47	$(top_srcdir)/m4/as-compiler-flag.m4 \
48	$(top_srcdir)/m4/as-gcc-inline-assembly.m4 \
49	$(top_srcdir)/m4/as-host-defines.m4 \
50	$(top_srcdir)/m4/as-intrinsics.m4 $(top_srcdir)/m4/as-nano.m4 \
51	$(top_srcdir)/m4/as-unaligned-access.m4 \
52	$(top_srcdir)/m4/ax_create_stdint_h.m4 \
53	$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/libtool.m4 \
54	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
55	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
56	$(top_srcdir)/m4/pkg.m4 $(top_srcdir)/configure.ac
57am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
58	$(ACLOCAL_M4)
59mkinstalldirs = $(install_sh) -d
60CONFIG_HEADER = $(top_builddir)/config.h
61CONFIG_CLEAN_FILES =
62CONFIG_CLEAN_VPATH_FILES =
63SOURCES =
64DIST_SOURCES =
65DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
66ACLOCAL = @ACLOCAL@
67ALTIVEC_CFLAGS = @ALTIVEC_CFLAGS@
68AMTAR = @AMTAR@
69AR = @AR@
70AS = @AS@
71AUTOCONF = @AUTOCONF@
72AUTOHEADER = @AUTOHEADER@
73AUTOMAKE = @AUTOMAKE@
74AWK = @AWK@
75CC = @CC@
76CCAS = @CCAS@
77CCASDEPMODE = @CCASDEPMODE@
78CCASFLAGS = @CCASFLAGS@
79CCDEPMODE = @CCDEPMODE@
80CFLAGS = @CFLAGS@
81CPP = @CPP@
82CPPFLAGS = @CPPFLAGS@
83CYGPATH_W = @CYGPATH_W@
84DEFS = @DEFS@
85DEPDIR = @DEPDIR@
86DLLTOOL = @DLLTOOL@
87DSYMUTIL = @DSYMUTIL@
88DUMPBIN = @DUMPBIN@
89ECHO_C = @ECHO_C@
90ECHO_N = @ECHO_N@
91ECHO_T = @ECHO_T@
92EGREP = @EGREP@
93EXEEXT = @EXEEXT@
94FGREP = @FGREP@
95GLIB_CFLAGS = @GLIB_CFLAGS@
96GLIB_LIBS = @GLIB_LIBS@
97GREP = @GREP@
98GTKDOC_CHECK = @GTKDOC_CHECK@
99HTML_DIR = @HTML_DIR@
100INSTALL = @INSTALL@
101INSTALL_DATA = @INSTALL_DATA@
102INSTALL_PROGRAM = @INSTALL_PROGRAM@
103INSTALL_SCRIPT = @INSTALL_SCRIPT@
104INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
105LD = @LD@
106LDFLAGS = @LDFLAGS@
107LIBM = @LIBM@
108LIBOBJS = @LIBOBJS@
109LIBOIL_CFLAGS = @LIBOIL_CFLAGS@
110LIBOIL_LIBS = @LIBOIL_LIBS@
111LIBOIL_LIBVERSION = @LIBOIL_LIBVERSION@
112LIBOIL_MAJORMINOR = @LIBOIL_MAJORMINOR@
113LIBOIL_OLD_MAJORMINOR = @LIBOIL_OLD_MAJORMINOR@
114LIBOIL_OPT_CFLAGS = @LIBOIL_OPT_CFLAGS@
115LIBRT = @LIBRT@
116LIBS = @LIBS@
117LIBTOOL = @LIBTOOL@
118LIPO = @LIPO@
119LN_S = @LN_S@
120LTLIBOBJS = @LTLIBOBJS@
121MAINT = @MAINT@
122MAKEINFO = @MAKEINFO@
123MKDIR_P = @MKDIR_P@
124MMX_CFLAGS = @MMX_CFLAGS@
125NANO = @NANO@
126NM = @NM@
127NMEDIT = @NMEDIT@
128OBJDUMP = @OBJDUMP@
129OBJEXT = @OBJEXT@
130OTOOL = @OTOOL@
131OTOOL64 = @OTOOL64@
132PACKAGE = @PACKAGE@
133PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
134PACKAGE_NAME = @PACKAGE_NAME@
135PACKAGE_STRING = @PACKAGE_STRING@
136PACKAGE_TARNAME = @PACKAGE_TARNAME@
137PACKAGE_URL = @PACKAGE_URL@
138PACKAGE_VERSION = @PACKAGE_VERSION@
139PATH_SEPARATOR = @PATH_SEPARATOR@
140PKG_CONFIG = @PKG_CONFIG@
141RANLIB = @RANLIB@
142SED = @SED@
143SET_MAKE = @SET_MAKE@
144SHELL = @SHELL@
145SSE2_CFLAGS = @SSE2_CFLAGS@
146SSE3_CFLAGS = @SSE3_CFLAGS@
147SSE_CFLAGS = @SSE_CFLAGS@
148STRIP = @STRIP@
149VERSION = @VERSION@
150VFP_CFLAGS = @VFP_CFLAGS@
151_3DNOWEXT_CFLAGS = @_3DNOWEXT_CFLAGS@
152_3DNOW_CFLAGS = @_3DNOW_CFLAGS@
153abs_builddir = @abs_builddir@
154abs_srcdir = @abs_srcdir@
155abs_top_builddir = @abs_top_builddir@
156abs_top_srcdir = @abs_top_srcdir@
157ac_ct_CC = @ac_ct_CC@
158ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
159am__include = @am__include@
160am__leading_dot = @am__leading_dot@
161am__quote = @am__quote@
162am__tar = @am__tar@
163am__untar = @am__untar@
164bindir = @bindir@
165build = @build@
166build_alias = @build_alias@
167build_cpu = @build_cpu@
168build_os = @build_os@
169build_vendor = @build_vendor@
170builddir = @builddir@
171datadir = @datadir@
172datarootdir = @datarootdir@
173docdir = @docdir@
174dvidir = @dvidir@
175exec_prefix = @exec_prefix@
176host = @host@
177host_alias = @host_alias@
178host_cpu = @host_cpu@
179host_os = @host_os@
180host_vendor = @host_vendor@
181htmldir = @htmldir@
182includedir = @includedir@
183infodir = @infodir@
184install_sh = @install_sh@
185libdir = @libdir@
186libexecdir = @libexecdir@
187localedir = @localedir@
188localstatedir = @localstatedir@
189lt_ECHO = @lt_ECHO@
190mandir = @mandir@
191mkdir_p = @mkdir_p@
192oldincludedir = @oldincludedir@
193pdfdir = @pdfdir@
194pkgconfigdir = @pkgconfigdir@
195prefix = @prefix@
196program_transform_name = @program_transform_name@
197psdir = @psdir@
198sbindir = @sbindir@
199sharedstatedir = @sharedstatedir@
200srcdir = @srcdir@
201sys_symbol_underscore = @sys_symbol_underscore@
202sysconfdir = @sysconfdir@
203target_alias = @target_alias@
204top_build_prefix = @top_build_prefix@
205top_builddir = @top_builddir@
206top_srcdir = @top_srcdir@
207
208# We require automake 1.6 at least.
209AUTOMAKE_OPTIONS = 1.6
210
211# This is a blank Makefile.am for using gtk-doc.
212# Copy this to your project's API docs directory and modify the variables to
213# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
214# of using the various options.
215
216# The name of the module, e.g. 'glib'.
217DOC_MODULE = liboil
218
219# The top-level SGML file. You can change this if you want to.
220DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml
221
222# The directory containing the source code. Relative to $(srcdir).
223# gtk-doc will search all .c & .h files beneath here for inline comments
224# documenting the functions and macros.
225# e.g. DOC_SOURCE_DIR=../../../gtk
226DOC_SOURCE_DIR = ../liboil
227
228# Extra options to pass to gtkdoc-scangobj. Not normally needed.
229SCANGOBJ_OPTIONS =
230
231# Extra options to supply to gtkdoc-scan.
232# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
233SCAN_OPTIONS =
234
235# Extra options to supply to gtkdoc-mkdb.
236# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
237MKDB_OPTIONS = --sgml-mode --output-format=xml
238
239# Extra options to supply to gtkdoc-fixref. Not normally needed.
240# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
241FIXXREF_OPTIONS =
242
243# Used for dependencies. The docs will be rebuilt if any of these change.
244# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
245# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
246HFILE_GLOB = $(top_srcdir)/liboil/*.h
247CFILE_GLOB = $(top_srcdir)/liboil/*.c
248
249# Header files to ignore when scanning.
250# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
251IGNORE_HFILES = liboilfuncs.h fbmmx.h fbpict.h liboil-stdint.h
252
253# Images to copy into HTML directory.
254# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
255HTML_IMAGES =
256
257# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
258# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
259content_files =
260
261# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
262# Only needed if you are using gtkdoc-scangobj to dynamically query widget
263# signals and properties.
264# e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
265# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
266INCLUDES =
267GTKDOC_LIBS =
268@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)
269@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)
270@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS)
271@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS)
272
273# We set GPATH here; this gives us semantics for GNU make
274# which are more like other make's VPATH, when it comes to
275# whether a source that is a target of one rule is then
276# searched for in VPATH/GPATH.
277#
278GPATH = $(srcdir)
279TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
280
281# This includes the standard gtk-doc make rules, copied by gtkdocize.
282
283# Other files to distribute
284# e.g. EXTRA_DIST += version.xml.in
285EXTRA_DIST = $(content_files) $(HTML_IMAGES) $(DOC_MAIN_SGML_FILE) \
286	$(DOC_MODULE).types $(DOC_MODULE)-sections.txt \
287	$(DOC_MODULE)-overrides.txt
288DOC_STAMPS = scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \
289	   $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp
290
291SCANOBJ_FILES = \
292	$(DOC_MODULE).args 	 \
293	$(DOC_MODULE).hierarchy  \
294	$(DOC_MODULE).interfaces \
295	$(DOC_MODULE).prerequisites \
296	$(DOC_MODULE).signals
297
298CLEANFILES = $(SCANOBJ_FILES) $(DOC_MODULE)-unused.txt $(DOC_STAMPS)
299all: all-am
300
301.SUFFIXES:
302$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps)
303	@for dep in $?; do \
304	  case '$(am__configure_deps)' in \
305	    *$$dep*) \
306	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
307	        && { if test -f $@; then exit 0; else break; fi; }; \
308	      exit 1;; \
309	  esac; \
310	done; \
311	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
312	$(am__cd) $(top_srcdir) && \
313	  $(AUTOMAKE) --gnu doc/Makefile
314.PRECIOUS: Makefile
315Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
316	@case '$?' in \
317	  *config.status*) \
318	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
319	  *) \
320	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
321	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
322	esac;
323
324$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
325	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
326
327$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
328	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
329$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
330	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
331$(am__aclocal_m4_deps):
332
333mostlyclean-libtool:
334	-rm -f *.lo
335
336clean-libtool:
337	-rm -rf .libs _libs
338tags: TAGS
339TAGS:
340
341ctags: CTAGS
342CTAGS:
343
344
345distdir: $(DISTFILES)
346	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
347	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
348	list='$(DISTFILES)'; \
349	  dist_files=`for file in $$list; do echo $$file; done | \
350	  sed -e "s|^$$srcdirstrip/||;t" \
351	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
352	case $$dist_files in \
353	  */*) $(MKDIR_P) `echo "$$dist_files" | \
354			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
355			   sort -u` ;; \
356	esac; \
357	for file in $$dist_files; do \
358	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
359	  if test -d $$d/$$file; then \
360	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
361	    if test -d "$(distdir)/$$file"; then \
362	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
363	    fi; \
364	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
365	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
366	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
367	    fi; \
368	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
369	  else \
370	    test -f "$(distdir)/$$file" \
371	    || cp -p $$d/$$file "$(distdir)/$$file" \
372	    || exit 1; \
373	  fi; \
374	done
375	$(MAKE) $(AM_MAKEFLAGS) \
376	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
377	  dist-hook
378check-am: all-am
379check: check-am
380all-am: Makefile all-local
381installdirs:
382install: install-am
383install-exec: install-exec-am
384install-data: install-data-am
385uninstall: uninstall-am
386
387install-am: all-am
388	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
389
390installcheck: installcheck-am
391install-strip:
392	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
393	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
394	  `test -z '$(STRIP)' || \
395	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
396mostlyclean-generic:
397
398clean-generic:
399	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
400
401distclean-generic:
402	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
403	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
404
405maintainer-clean-generic:
406	@echo "This command is intended for maintainers to use"
407	@echo "it deletes files that may require special tools to rebuild."
408clean: clean-am
409
410clean-am: clean-generic clean-libtool clean-local mostlyclean-am
411
412distclean: distclean-am
413	-rm -f Makefile
414distclean-am: clean-am distclean-generic
415
416dvi: dvi-am
417
418dvi-am:
419
420html: html-am
421
422html-am:
423
424info: info-am
425
426info-am:
427
428install-data-am: install-data-local
429
430install-dvi: install-dvi-am
431
432install-dvi-am:
433
434install-exec-am:
435
436install-html: install-html-am
437
438install-html-am:
439
440install-info: install-info-am
441
442install-info-am:
443
444install-man:
445
446install-pdf: install-pdf-am
447
448install-pdf-am:
449
450install-ps: install-ps-am
451
452install-ps-am:
453
454installcheck-am:
455
456maintainer-clean: maintainer-clean-am
457	-rm -f Makefile
458maintainer-clean-am: distclean-am maintainer-clean-generic \
459	maintainer-clean-local
460
461mostlyclean: mostlyclean-am
462
463mostlyclean-am: mostlyclean-generic mostlyclean-libtool
464
465pdf: pdf-am
466
467pdf-am:
468
469ps: ps-am
470
471ps-am:
472
473uninstall-am: uninstall-local
474
475.MAKE: install-am install-strip
476
477.PHONY: all all-am all-local check check-am clean clean-generic \
478	clean-libtool clean-local dist-hook distclean \
479	distclean-generic distclean-libtool distdir dvi dvi-am html \
480	html-am info info-am install install-am install-data \
481	install-data-am install-data-local install-dvi install-dvi-am \
482	install-exec install-exec-am install-html install-html-am \
483	install-info install-info-am install-man install-pdf \
484	install-pdf-am install-ps install-ps-am install-strip \
485	installcheck installcheck-am installdirs maintainer-clean \
486	maintainer-clean-generic maintainer-clean-local mostlyclean \
487	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
488	uninstall uninstall-am uninstall-local
489
490
491@ENABLE_GTK_DOC_TRUE@all-local: html-build.stamp
492
493#### scan ####
494
495@ENABLE_GTK_DOC_TRUE@scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
496@ENABLE_GTK_DOC_TRUE@	@echo '*** Scanning header files ***'
497@ENABLE_GTK_DOC_TRUE@	@-chmod -R u+w $(srcdir)
498@ENABLE_GTK_DOC_TRUE@	if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null ; then \
499@ENABLE_GTK_DOC_TRUE@	    CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \
500@ENABLE_GTK_DOC_TRUE@	else \
501@ENABLE_GTK_DOC_TRUE@	    cd $(srcdir) ; \
502@ENABLE_GTK_DOC_TRUE@	    for i in $(SCANOBJ_FILES) ; do \
503@ENABLE_GTK_DOC_TRUE@               test -f $$i || touch $$i ; \
504@ENABLE_GTK_DOC_TRUE@	    done \
505@ENABLE_GTK_DOC_TRUE@	fi
506@ENABLE_GTK_DOC_TRUE@	cd $(srcdir) && \
507@ENABLE_GTK_DOC_TRUE@	  gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES)
508@ENABLE_GTK_DOC_TRUE@	touch scan-build.stamp
509
510@ENABLE_GTK_DOC_TRUE@$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES): scan-build.stamp
511@ENABLE_GTK_DOC_TRUE@	@true
512
513#### templates ####
514
515@ENABLE_GTK_DOC_TRUE@tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
516@ENABLE_GTK_DOC_TRUE@	@echo '*** Rebuilding template files ***'
517@ENABLE_GTK_DOC_TRUE@	@-chmod -R u+w $(srcdir)
518@ENABLE_GTK_DOC_TRUE@	cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE)
519@ENABLE_GTK_DOC_TRUE@	touch tmpl-build.stamp
520
521@ENABLE_GTK_DOC_TRUE@tmpl.stamp: tmpl-build.stamp
522@ENABLE_GTK_DOC_TRUE@	@true
523
524#### xml ####
525
526@ENABLE_GTK_DOC_TRUE@sgml-build.stamp: tmpl.stamp $(CFILE_GLOB) $(srcdir)/tmpl/*.sgml
527@ENABLE_GTK_DOC_TRUE@	@echo '*** Building XML ***'
528@ENABLE_GTK_DOC_TRUE@	@-chmod -R u+w $(srcdir)
529@ENABLE_GTK_DOC_TRUE@	cd $(srcdir) && \
530@ENABLE_GTK_DOC_TRUE@	gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml $(MKDB_OPTIONS)
531@ENABLE_GTK_DOC_TRUE@	touch sgml-build.stamp
532
533@ENABLE_GTK_DOC_TRUE@sgml.stamp: sgml-build.stamp
534@ENABLE_GTK_DOC_TRUE@	@true
535
536#### html ####
537
538@ENABLE_GTK_DOC_TRUE@html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
539@ENABLE_GTK_DOC_TRUE@	@echo '*** Building HTML ***'
540@ENABLE_GTK_DOC_TRUE@	@-chmod -R u+w $(srcdir)
541@ENABLE_GTK_DOC_TRUE@	rm -rf $(srcdir)/html
542@ENABLE_GTK_DOC_TRUE@	mkdir $(srcdir)/html
543@ENABLE_GTK_DOC_TRUE@	cd $(srcdir)/html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
544@ENABLE_GTK_DOC_TRUE@	test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html )
545@ENABLE_GTK_DOC_TRUE@	@echo '-- Fixing Crossreferences'
546@ENABLE_GTK_DOC_TRUE@	cd $(srcdir) && gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
547@ENABLE_GTK_DOC_TRUE@	touch html-build.stamp
548@ENABLE_GTK_DOC_FALSE@all-local:
549
550##############
551
552clean-local:
553	rm -f *~ *.bak
554	rm -rf .libs
555
556maintainer-clean-local: clean
557	cd $(srcdir) && rm -rf xml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
558
559install-data-local:
560	installfiles=`echo $(srcdir)/html/*`; \
561	if test "$$installfiles" = '$(srcdir)/html/*'; \
562	then echo '-- Nothing to install' ; \
563	else \
564	  $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR); \
565	  for i in $$installfiles; do \
566	    echo '-- Installing '$$i ; \
567	    $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
568	  done; \
569	  echo '-- Installing $(srcdir)/html/index.sgml' ; \
570	  $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \
571	fi
572
573uninstall-local:
574	rm -f $(DESTDIR)$(TARGET_DIR)/*
575
576#
577# Require gtk-doc when making dist
578#
579@ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
580@ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc:
581@ENABLE_GTK_DOC_FALSE@	@echo "*** gtk-doc must be installed and enabled in order to make dist"
582@ENABLE_GTK_DOC_FALSE@	@false
583
584dist-hook: dist-check-gtkdoc dist-hook-local
585	mkdir $(distdir)/tmpl
586	mkdir $(distdir)/xml
587	mkdir $(distdir)/html
588	-cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl
589	-cp $(srcdir)/xml/*.xml $(distdir)/xml
590	-cp $(srcdir)/html/* $(distdir)/html
591
592.PHONY : dist-hook-local
593
594sync:
595	cd html && rsync -a . freedesktop.org:/srv/liboil.freedesktop.org/www/documentation/
596
597# Tell versions [3.59,3.63) of GNU make to not export all variables.
598# Otherwise a system limit (for SysV at least) may be exceeded.
599.NOEXPORT:
600