1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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.
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
19 # Copyright 2009-2010 Johan Dahlin
21 # This file defines variables that are compatible with
22 # Makefile.introspection, but for use within the gobject-introspection
27 # Copyright 2009-2010 Johan Dahlin
29 # This file is free software; the author(s) gives unlimited
30 # permission to copy and/or distribute it, with or without
31 # modifications, as long as this notice is preserved.
35 # INTROSPECTION_GIRS - List of GIRS that should be generated
36 # INTROSPECTION_SCANNER - Command to invoke scanner, normally set by
37 # GOBJECT_INTROSPECTION_REQUIRE/CHECK() in introspection.m4
38 # INTROSPECTION_SCANNER_ARGS - Additional args to pass in to the scanner
39 # INTROSPECTION_SCANNER_ENV - Environment variables to set before running
41 # INTROSPECTION_COMPILER - Command to invoke compiler, normally set by
42 # GOBJECT_INTROSPECTION_REQUIRE/CHECK() in introspection.m4
43 # INTROSPECTION_COMPILER_ARGS - Additional args to pass in to the compiler
47 # Add this to configure.ac:
48 # -Wno-portability to AM_INIT_AUTOMAKE
49 # GOBJECT_INTROSPECTION_CHECK([0.6.7])
51 # Add this to Makefile.am where your library/program is built:
52 # include $(INTROSPECTION_MAKEFILE)
53 # INTROSPECTION_GIRS = YourLib-1.0.gir
54 # YourLib_1_0_gir_NAMESPACE = YourLib
55 # YourLib_1_0_gir_VERSION = 1.0
56 # YourLib_1_0_gir_LIBS = libyourlib.la
57 # YourLib_1_0_gir_FILES = $(libyourlib_1_0_SOURCES)
58 # girdir = $(datadir)/gir-1.0
59 # dist_gir_DATA = YourLib-1.0.gir
60 # typelibdir = $(libdir)/girepository-1.0
61 # typelib_DATA = YourLib-1.0.typelib
62 # CLEANFILES = $(dist_gir_DATA) $(typelib_DATA)
65 pkgdatadir = $(datadir)/@PACKAGE@
66 pkgincludedir = $(includedir)/@PACKAGE@
67 pkglibdir = $(libdir)/@PACKAGE@
68 pkglibexecdir = $(libexecdir)/@PACKAGE@
69 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
70 install_sh_DATA = $(install_sh) -c -m 644
71 install_sh_PROGRAM = $(install_sh) -c
72 install_sh_SCRIPT = $(install_sh) -c
73 INSTALL_HEADER = $(INSTALL_DATA)
74 transform = $(program_transform_name)
81 build_triplet = @build@
83 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
84 $(top_srcdir)/Makefile.introspection $(top_srcdir)/common.mk
85 subdir = tests/doctool
86 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
87 am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
88 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
89 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
90 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/python.m4 \
91 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
92 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
94 mkinstalldirs = $(install_sh) -d
95 CONFIG_HEADER = $(top_builddir)/config.h
97 CONFIG_CLEAN_VPATH_FILES =
98 libdocexamples_la_LIBADD =
99 am_libdocexamples_la_OBJECTS = doc-examples-obj.lo
100 libdocexamples_la_OBJECTS = $(am_libdocexamples_la_OBJECTS)
101 AM_V_lt = $(am__v_lt_$(V))
102 am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
103 am__v_lt_0 = --silent
104 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
105 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
106 am__depfiles_maybe = depfiles
108 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
109 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
110 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
111 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
112 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
113 $(AM_CFLAGS) $(CFLAGS)
114 AM_V_CC = $(am__v_CC_$(V))
115 am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
116 am__v_CC_0 = @echo " CC " $@;
117 AM_V_at = $(am__v_at_$(V))
118 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
121 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
122 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
123 $(AM_LDFLAGS) $(LDFLAGS) -o $@
124 AM_V_CCLD = $(am__v_CCLD_$(V))
125 am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
126 am__v_CCLD_0 = @echo " CCLD " $@;
127 AM_V_GEN = $(am__v_GEN_$(V))
128 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
129 am__v_GEN_0 = @echo " GEN " $@;
130 SOURCES = $(libdocexamples_la_SOURCES)
131 DIST_SOURCES = $(libdocexamples_la_SOURCES)
134 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
137 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
139 AUTOCONF = @AUTOCONF@
140 AUTOHEADER = @AUTOHEADER@
141 AUTOMAKE = @AUTOMAKE@
143 CAIRO_CFLAGS = @CAIRO_CFLAGS@
144 CAIRO_GIR_PACKAGE = @CAIRO_GIR_PACKAGE@
145 CAIRO_GOBJECT_CFLAGS = @CAIRO_GOBJECT_CFLAGS@
146 CAIRO_GOBJECT_LIBS = @CAIRO_GOBJECT_LIBS@
147 CAIRO_LIBS = @CAIRO_LIBS@
148 CAIRO_SHARED_LIBRARY = @CAIRO_SHARED_LIBRARY@
150 CCDEPMODE = @CCDEPMODE@
153 CPPFLAGS = @CPPFLAGS@
154 CYGPATH_W = @CYGPATH_W@
158 DSYMUTIL = @DSYMUTIL@
165 EXPANDED_BINDIR = @EXPANDED_BINDIR@
166 EXPANDED_DATADIR = @EXPANDED_DATADIR@
167 EXPANDED_LIBDIR = @EXPANDED_LIBDIR@
168 EXPANDED_LIBEXECDIR = @EXPANDED_LIBEXECDIR@
169 EXPANDED_LOCALSTATEDIR = @EXPANDED_LOCALSTATEDIR@
170 EXPANDED_SYSCONFDIR = @EXPANDED_SYSCONFDIR@
171 FFI_CFLAGS = @FFI_CFLAGS@
172 FFI_LIBS = @FFI_LIBS@
173 FFI_PC_CFLAGS = @FFI_PC_CFLAGS@
174 FFI_PC_LIBS = @FFI_PC_LIBS@
175 FFI_PC_PACKAGES = @FFI_PC_PACKAGES@
177 GIO_CFLAGS = @GIO_CFLAGS@
178 GIO_LIBS = @GIO_LIBS@
179 GIO_UNIX_CFLAGS = @GIO_UNIX_CFLAGS@
180 GIO_UNIX_LIBS = @GIO_UNIX_LIBS@
181 GIREPO_CFLAGS = @GIREPO_CFLAGS@
182 GIREPO_LIBS = @GIREPO_LIBS@
184 GIR_SUFFIX = @GIR_SUFFIX@
186 GLIB_CFLAGS = @GLIB_CFLAGS@
187 GLIB_LIBS = @GLIB_LIBS@
188 GMODULE_CFLAGS = @GMODULE_CFLAGS@
189 GMODULE_LIBS = @GMODULE_LIBS@
190 GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
191 GOBJECT_INTROSPECTION_LIBDIR = @GOBJECT_INTROSPECTION_LIBDIR@
192 GOBJECT_LIBS = @GOBJECT_LIBS@
194 GTKDOC_CHECK = @GTKDOC_CHECK@
195 GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
196 GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
197 GTKDOC_MKPDF = @GTKDOC_MKPDF@
198 GTKDOC_REBASE = @GTKDOC_REBASE@
199 HTML_DIR = @HTML_DIR@
201 INSTALL_DATA = @INSTALL_DATA@
202 INSTALL_PROGRAM = @INSTALL_PROGRAM@
203 INSTALL_SCRIPT = @INSTALL_SCRIPT@
204 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
209 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
211 LIBS = $(GOBJECT_LIBS)
215 LTLIBOBJS = @LTLIBOBJS@
217 MAKEINFO = @MAKEINFO@
218 MANIFEST_TOOL = @MANIFEST_TOOL@
227 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
228 PACKAGE_NAME = @PACKAGE_NAME@
229 PACKAGE_STRING = @PACKAGE_STRING@
230 PACKAGE_TARNAME = @PACKAGE_TARNAME@
231 PACKAGE_URL = @PACKAGE_URL@
232 PACKAGE_VERSION = @PACKAGE_VERSION@
233 PATH_SEPARATOR = @PATH_SEPARATOR@
234 PKG_CONFIG = @PKG_CONFIG@
235 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
236 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
239 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
240 PYTHON_INCLUDES = @PYTHON_INCLUDES@
241 PYTHON_LIBS = @PYTHON_LIBS@
242 PYTHON_LIB_LOC = @PYTHON_LIB_LOC@
243 PYTHON_PLATFORM = @PYTHON_PLATFORM@
244 PYTHON_PREFIX = @PYTHON_PREFIX@
245 PYTHON_VERSION = @PYTHON_VERSION@
247 SCANNER_CFLAGS = @SCANNER_CFLAGS@
248 SCANNER_LIBS = @SCANNER_LIBS@
250 SET_MAKE = @SET_MAKE@
255 abs_builddir = @abs_builddir@
256 abs_srcdir = @abs_srcdir@
257 abs_top_builddir = @abs_top_builddir@
258 abs_top_srcdir = @abs_top_srcdir@
259 ac_ct_AR = @ac_ct_AR@
260 ac_ct_CC = @ac_ct_CC@
261 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
262 am__include = @am__include@
263 am__leading_dot = @am__leading_dot@
264 am__quote = @am__quote@
266 am__untar = @am__untar@
269 build_alias = @build_alias@
270 build_cpu = @build_cpu@
271 build_os = @build_os@
272 build_vendor = @build_vendor@
273 builddir = @builddir@
275 datarootdir = @datarootdir@
278 exec_prefix = @exec_prefix@
280 host_alias = @host_alias@
281 host_cpu = @host_cpu@
283 host_vendor = @host_vendor@
285 includedir = @includedir@
287 install_sh = @install_sh@
289 libexecdir = @libexecdir@
290 localedir = @localedir@
291 localstatedir = @localstatedir@
294 oldincludedir = @oldincludedir@
296 pkgpyexecdir = @pkgpyexecdir@
297 pkgpythondir = @pkgpythondir@
299 program_transform_name = @program_transform_name@
301 pyexecdir = @pyexecdir@
302 pythondir = @pythondir@
304 sharedstatedir = @sharedstatedir@
306 sysconfdir = @sysconfdir@
307 target_alias = @target_alias@
308 top_build_prefix = @top_build_prefix@
309 top_builddir = @top_builddir@
310 top_srcdir = @top_srcdir@
311 INTROSPECTION_SCANNER = \
312 env PATH=.libs:$(PATH) \
314 PYTHONPATH=$(top_builddir):$(top_srcdir) \
315 UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \
316 UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) \
317 $(top_builddir)/g-ir-scanner
319 INTROSPECTION_SCANNER_ARGS = --verbose -I$(top_srcdir) \
320 --add-include-path=$(srcdir) \
321 --add-include-path=$(top_srcdir)/gir \
322 --add-include-path=$(builddir) \
323 --add-include-path=$(top_builddir) --warn-all --warn-error -I.
324 INTROSPECTION_COMPILER = \
325 env PATH=.libs:$(PATH) \
326 $(top_builddir)/g-ir-compiler$(EXEEXT)
328 INTROSPECTION_COMPILER_ARGS = \
329 --includedir=$(srcdir) \
330 --includedir=$(top_srcdir)/gir \
331 --includedir=$(builddir) \
332 --includedir=$(top_builddir)
334 INTROSPECTION_DOCTOOL = \
335 env PATH=.libs:$(PATH) \
337 PYTHONPATH=$(top_builddir):$(top_srcdir) \
338 UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \
339 UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) \
340 $(top_builddir)/g-ir-doc-tool
344 _gir_name = $(subst /,_,$(subst -,_,$(subst .,_,$(1))))
346 # Namespace and Version is either fetched from the gir filename
347 # or the _NAMESPACE/_VERSION variable combo
348 _gir_namespace = $(or $($(_gir_name)_NAMESPACE),$(firstword $(subst -, ,$(notdir $(1)))))
349 _gir_version = $(or $($(_gir_name)_VERSION),$(lastword $(subst -, ,$(1:.gir=))))
351 # _PROGRAM is an optional variable which needs it's own --program argument
352 _gir_program = $(if $($(_gir_name)_PROGRAM),--program=$($(_gir_name)_PROGRAM))
354 # Variables which provides a list of things
355 _gir_libraries = $(foreach lib,$($(_gir_name)_LIBS),--library=$(lib))
356 _gir_packages = $(foreach pkg,$($(_gir_name)_PACKAGES),--pkg=$(pkg))
357 _gir_includes = $(foreach include,$($(_gir_name)_INCLUDES),--include=$(include))
358 _gir_export_packages = $(foreach pkg,$($(_gir_name)_EXPORT_PACKAGES),--pkg-export=$(pkg))
360 # Reuse the LIBTOOL variable from automake if it's set, but
361 # work around MSYS weirdness: When running g-ir-scanner, MSYS changes
362 # a command-line argument --libtool="/bin/sh ../../libtool" into
363 # --libtool=c:/opt/msys/1.0/bin/libtool. So just use sh.exe without path
364 # because we already "know" where the libtool configure produced is.
365 _gir_libtool = $(if $(findstring MINGW32,$(shell uname -s)),--libtool="$(top_builddir)/libtool",$(if $(LIBTOOL),--libtool="$(LIBTOOL)"))
367 # Macros for AM_SILENT_RULES prettiness
368 _gir_verbosity = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
369 _gir_silent_scanner_prefix = $(_gir_silent_scanner_prefix_$(V))
370 _gir_silent_scanner_prefix_ = $(_gir_silent_scanner_prefix_$(_gir_verbosity))
371 _gir_silent_scanner_prefix_0 = @echo " GISCAN $(1)";
372 _gir_silent_scanner_opts = $(_gir_silent_scanner_opts_$(V))
373 _gir_silent_scanner_opts_ = $(_gir_silent_scanner_opts_$(_gir_verbosity))
374 _gir_silent_scanner_opts_0 = --quiet
375 _gir_silent_compiler = $(_gir_silent_compiler_$(V))
376 _gir_silent_compiler_ = $(_gir_silent_compiler_$(_gir_verbosity))
377 _gir_silent_compiler_0 = @echo " GICOMP $(1)";
378 check_LTLIBRARIES = \
381 AM_CFLAGS = $(GOBJECT_CFLAGS)
382 libdocexamples_la_SOURCES = $(srcdir)/doc-examples-obj.c $(srcdir)/doc-examples-obj.h
383 #DocExamples_1_0_gir_SCANNERFLAGS = --c-include="regress.h"
384 GIRS = DocExamples-1.0.gir
385 TYPELIBS = $(GIRS:.gir=.typelib)
386 INTROSPECTION_GIRS = $(GIRS)
387 CHECK_TARGETS = $(GIRS:.gir=-C.page.check) $(GIRS:.gir=-Python.page.check)
388 MALLARD_DIRS = $(GIRS:.gir=-C) $(GIRS:.gir=-Python)
389 EXPECTED_MALLARD_DIRS = $(MALLARD_DIRS:=-expected)
390 CLEANFILES = $(TYPELIBS) $(GIRS)
391 BUILT_SOURCES = $(MALLARD_DIRS)
392 EXTRA_DIST = $(EXPECTED_MALLARD_DIRS)
393 DocExamples_1_0_gir_LIBS = libdocexamples.la
394 DocExamples_1_0_gir_INCLUDES = cairo-1.0 Gio-2.0
395 DocExamples_1_0_gir_FILES = $(libdocexamples_la_SOURCES)
396 all: $(BUILT_SOURCES)
397 $(MAKE) $(AM_MAKEFLAGS) all-am
400 .SUFFIXES: .c .lo .o .obj
401 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/common.mk $(top_srcdir)/Makefile.introspection $(am__configure_deps)
403 case '$(am__configure_deps)' in \
405 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
406 && { if test -f $@; then exit 0; else break; fi; }; \
410 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/doctool/Makefile'; \
411 $(am__cd) $(top_srcdir) && \
412 $(AUTOMAKE) --foreign tests/doctool/Makefile
414 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
417 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
419 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
420 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
423 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
424 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
426 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
427 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
428 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
429 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
430 $(am__aclocal_m4_deps):
432 clean-checkLTLIBRARIES:
433 -test -z "$(check_LTLIBRARIES)" || rm -f $(check_LTLIBRARIES)
434 @list='$(check_LTLIBRARIES)'; for p in $$list; do \
435 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
436 test "$$dir" != "$$p" || dir=.; \
437 echo "rm -f \"$${dir}/so_locations\""; \
438 rm -f "$${dir}/so_locations"; \
440 libdocexamples.la: $(libdocexamples_la_OBJECTS) $(libdocexamples_la_DEPENDENCIES)
441 $(AM_V_CCLD)$(LINK) $(libdocexamples_la_OBJECTS) $(libdocexamples_la_LIBADD) $(LIBS)
449 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/doc-examples-obj.Plo@am__quote@
452 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
453 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
454 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
455 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
456 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
457 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
460 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
461 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
462 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
463 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
464 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
465 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
468 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
469 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
470 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
471 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
472 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
473 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
475 doc-examples-obj.lo: $(srcdir)/doc-examples-obj.c
476 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT doc-examples-obj.lo -MD -MP -MF $(DEPDIR)/doc-examples-obj.Tpo -c -o doc-examples-obj.lo `test -f '$(srcdir)/doc-examples-obj.c' || echo '$(srcdir)/'`$(srcdir)/doc-examples-obj.c
477 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/doc-examples-obj.Tpo $(DEPDIR)/doc-examples-obj.Plo
478 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
479 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(srcdir)/doc-examples-obj.c' object='doc-examples-obj.lo' libtool=yes @AMDEPBACKSLASH@
480 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
481 @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o doc-examples-obj.lo `test -f '$(srcdir)/doc-examples-obj.c' || echo '$(srcdir)/'`$(srcdir)/doc-examples-obj.c
489 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
490 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
491 unique=`for i in $$list; do \
492 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
494 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
495 END { if (nonempty) { for (i in files) print i; }; }'`; \
499 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
500 $(TAGS_FILES) $(LISP)
503 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
504 unique=`for i in $$list; do \
505 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
507 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
508 END { if (nonempty) { for (i in files) print i; }; }'`; \
510 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
511 test -n "$$unique" || unique=$$empty_fix; \
512 if test $$# -gt 0; then \
513 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
516 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
521 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
522 $(TAGS_FILES) $(LISP)
523 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
524 unique=`for i in $$list; do \
525 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
527 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
528 END { if (nonempty) { for (i in files) print i; }; }'`; \
529 test -z "$(CTAGS_ARGS)$$unique" \
530 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
534 here=`$(am__cd) $(top_builddir) && pwd` \
535 && $(am__cd) $(top_srcdir) \
536 && gtags -i $(GTAGS_ARGS) "$$here"
539 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
541 distdir: $(DISTFILES)
542 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
543 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
544 list='$(DISTFILES)'; \
545 dist_files=`for file in $$list; do echo $$file; done | \
546 sed -e "s|^$$srcdirstrip/||;t" \
547 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
548 case $$dist_files in \
549 */*) $(MKDIR_P) `echo "$$dist_files" | \
550 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
553 for file in $$dist_files; do \
554 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
555 if test -d $$d/$$file; then \
556 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
557 if test -d "$(distdir)/$$file"; then \
558 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
560 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
561 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
562 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
564 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
566 test -f "$(distdir)/$$file" \
567 || cp -p $$d/$$file "$(distdir)/$$file" \
572 $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES)
573 $(MAKE) $(AM_MAKEFLAGS) check-local
574 check: $(BUILT_SOURCES)
575 $(MAKE) $(AM_MAKEFLAGS) check-am
578 install: $(BUILT_SOURCES)
579 $(MAKE) $(AM_MAKEFLAGS) install-am
580 install-exec: install-exec-am
581 install-data: install-data-am
582 uninstall: uninstall-am
585 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
587 installcheck: installcheck-am
589 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
590 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
591 `test -z '$(STRIP)' || \
592 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
596 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
599 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
600 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
602 maintainer-clean-generic:
603 @echo "This command is intended for maintainers to use"
604 @echo "it deletes files that may require special tools to rebuild."
605 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
608 clean-am: clean-checkLTLIBRARIES clean-generic clean-libtool \
609 clean-local mostlyclean-am
611 distclean: distclean-am
614 distclean-am: clean-am distclean-compile distclean-generic \
631 install-dvi: install-dvi-am
637 install-html: install-html-am
641 install-info: install-info-am
647 install-pdf: install-pdf-am
651 install-ps: install-ps-am
657 maintainer-clean: maintainer-clean-am
660 maintainer-clean-am: distclean-am maintainer-clean-generic
662 mostlyclean: mostlyclean-am
664 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
677 .MAKE: all check check-am install install-am install-strip
679 .PHONY: CTAGS GTAGS all all-am check check-am check-local clean \
680 clean-checkLTLIBRARIES clean-generic clean-libtool clean-local \
681 ctags distclean distclean-compile distclean-generic \
682 distclean-libtool distclean-tags distdir dvi dvi-am html \
683 html-am info info-am install install-am install-data \
684 install-data-am install-dvi install-dvi-am install-exec \
685 install-exec-am install-html install-html-am install-info \
686 install-info-am install-man install-pdf install-pdf-am \
687 install-ps install-ps-am install-strip installcheck \
688 installcheck-am installdirs maintainer-clean \
689 maintainer-clean-generic mostlyclean mostlyclean-compile \
690 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
691 tags uninstall uninstall-am
694 # Make sure the required variables are set, these should under normal
695 # circumstances come from introspection.m4
696 $(if $(INTROSPECTION_SCANNER),,$(error Need to define INTROSPECTION_SCANNER))
697 $(if $(INTROSPECTION_COMPILER),,$(error Need to define INTROSPECTION_COMPILER))
700 # Creates a GIR by scanning C headers/sources
701 # $(1) - Name of the gir file (output)
703 # If output is Gtk-2.0.gir then you should name the variables like
704 # Gtk_2_0_gir_NAMESPACE, Gtk_2_0_gir_VERSION etc.
705 # Required variables:
706 # FILES - C sources and headers which should be scanned
708 # One of these variables are required:
709 # LIBS - Library where the symbol represented in the gir can be found
710 # PROGRAM - Program where the symbol represented in the gir can be found
713 # NAMESPACE - Namespace of the gir, first letter capital,
714 # rest should be lower case, for instance: 'Gtk', 'Clutter', 'ClutterGtk'.
715 # If not present the namespace will be fetched from the gir filename,
716 # the part before the first dash. For 'Gtk-2.0', namespace will be 'Gtk'.
717 # VERSION - Version of the gir, if not present, will be fetched from gir
718 # filename, the part after the first dash. For 'Gtk-2.0', version will be '2.0'.
719 # LIBTOOL - Command to invoke libtool, usually set by automake
720 # SCANNERFLAGS - Flags to pass in to the scanner, see g-ir-scanner(1) for a list
721 # CFLAGS - Flags to pass in to the parser when scanning headers
722 # LDFLAGS - Linker flags used by the scanner
723 # PACKAGES - list of pkg-config names which cflags are required to parse
724 # the headers of this gir
725 # INCLUDES - Gir files to include without the .gir suffix, for instance
726 # GLib-2.0, Gtk-2.0. This is needed for all libraries which you depend on that
727 # provides introspection information.
728 # EXPORT_PACKAGES - list of pkg-config names that are provided by this gir.
729 # By default the names in the PACKAGES variable will be used.
732 define introspection-scanner
734 # Basic sanity check, to make sure required variables are set
735 $(if $($(_gir_name)_FILES),,$(error Need to define $(_gir_name)_FILES))
736 $(if $(or $(findstring --header-only,$($(_gir_name)_SCANNERFLAGS)),
737 $($(_gir_name)_LIBS),
738 $($(_gir_name)_PROGRAM)),,
739 $(error Need to define $(_gir_name)_LIBS or $(_gir_name)_PROGRAM))
741 # Only dependencies we know are actually filenames goes into _FILES, make
742 # sure these are built before running the scanner. Libraries and programs
743 # needs to be added manually.
744 $(1): $$($(_gir_name)_FILES)
745 @ $(MKDIR_P) $(dir $(1))
746 $(_gir_silent_scanner_prefix) $(INTROSPECTION_SCANNER_ENV) $(INTROSPECTION_SCANNER) $(_gir_silent_scanner_opts) \
747 $(INTROSPECTION_SCANNER_ARGS) \
748 --namespace=$(_gir_namespace) \
749 --nsversion=$(_gir_version) \
753 $(_gir_export_packages) \
756 $($(_gir_name)_SCANNERFLAGS) \
757 $($(_gir_name)_CFLAGS) \
758 $($(_gir_name)_LDFLAGS) \
763 $(foreach gir,$(INTROSPECTION_GIRS),$(eval $(call introspection-scanner,$(gir))))
766 # Compiles a gir into a typelib
767 # $(1): gir filename (input)
768 # $(2): typelib filename (output)
770 define introspection-compiler
771 $(_gir_silent_compiler) $(INTROSPECTION_COMPILER) $(INTROSPECTION_COMPILER_ARGS) --includedir=. $(1) -o $(2)
774 # Simple rule to compile a typelib.
776 $(call introspection-compiler,$<,$@)
778 DocExamples-1.0.gir: $(top_builddir)/Gio-2.0.gir libdocexamples.la
781 mkdir $*-C ; rm $*-C/*.page ; $(INTROSPECTION_DOCTOOL) --language C $*.gir -o $*-C/ && echo " GEN $*-C/index.page"
784 mkdir $*-Python ; rm $*-Python/*.page ; $(INTROSPECTION_DOCTOOL) --language Python $*.gir -o $*-Python/ && echo " GEN $*-Python/index.page"
787 @diff -u -U 10 $(srcdir)/$*-C-expected $*-C && echo " TEST $*-C" && rm -rf $*-C
789 %-Python.page.check: %-Python
790 @diff -u -U 10 $(srcdir)/$*-Python-expected $*-Python && echo " TEST $*-Python" && rm -rf $*-Python
792 check-local: $(CHECK_TARGETS) $(TYPELIBS)
794 @rm -rf $(MALLARD_DIRS)
796 # Tell versions [3.59,3.63) of GNU make to not export all variables.
797 # Otherwise a system limit (for SysV at least) may be exceeded.