1 # Makefile.in generated by automake 1.15 from Makefile.am.
4 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 # Copyright 2009-2010 Johan Dahlin
20 # This file defines variables that are compatible with
21 # Makefile.introspection, but for use within the gobject-introspection
26 # Copyright 2009-2010 Johan Dahlin
28 # This file is free software; the author(s) gives unlimited
29 # permission to copy and/or distribute it, with or without
30 # modifications, as long as this notice is preserved.
34 # INTROSPECTION_GIRS - List of GIRS that should be generated
35 # INTROSPECTION_SCANNER - Command to invoke scanner, normally set by
36 # GOBJECT_INTROSPECTION_REQUIRE/CHECK() in introspection.m4
37 # INTROSPECTION_SCANNER_ARGS - Additional args to pass in to the scanner
38 # INTROSPECTION_SCANNER_ENV - Environment variables to set before running
40 # INTROSPECTION_COMPILER - Command to invoke compiler, normally set by
41 # GOBJECT_INTROSPECTION_REQUIRE/CHECK() in introspection.m4
42 # INTROSPECTION_COMPILER_ARGS - Additional args to pass in to the compiler
46 # Add this to configure.ac:
47 # -Wno-portability to AM_INIT_AUTOMAKE
48 # GOBJECT_INTROSPECTION_CHECK([0.6.7])
50 # Add this to Makefile.am where your library/program is built:
51 # include $(INTROSPECTION_MAKEFILE)
52 # INTROSPECTION_GIRS = YourLib-1.0.gir
53 # YourLib-1.0.gir: libyourlib.la
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)
66 if test -z '$(MAKELEVEL)'; then \
68 elif test -n '$(MAKE_HOST)'; then \
70 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
76 am__make_running_with_option = \
77 case $${target_option-} in \
79 *) echo "am__make_running_with_option: internal error: invalid" \
80 "target option '$${target_option-}' specified" >&2; \
84 sane_makeflags=$$MAKEFLAGS; \
85 if $(am__is_gnu_make); then \
86 sane_makeflags=$$MFLAGS; \
91 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
92 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
98 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
100 for flg in $$sane_makeflags; do \
101 test $$skip_next = yes && { skip_next=no; continue; }; \
103 *=*|--*) continue;; \
104 -*I) strip_trailopt 'I'; skip_next=yes;; \
105 -*I?*) strip_trailopt 'I';; \
106 -*O) strip_trailopt 'O'; skip_next=yes;; \
107 -*O?*) strip_trailopt 'O';; \
108 -*l) strip_trailopt 'l'; skip_next=yes;; \
109 -*l?*) strip_trailopt 'l';; \
110 -[dEDm]) skip_next=yes;; \
111 -[JT]) skip_next=yes;; \
114 *$$target_option*) has_opt=yes; break;; \
118 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
119 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
120 pkgdatadir = $(datadir)/@PACKAGE@
121 pkgincludedir = $(includedir)/@PACKAGE@
122 pkglibdir = $(libdir)/@PACKAGE@
123 pkglibexecdir = $(libexecdir)/@PACKAGE@
124 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
125 install_sh_DATA = $(install_sh) -c -m 644
126 install_sh_PROGRAM = $(install_sh) -c
127 install_sh_SCRIPT = $(install_sh) -c
128 INSTALL_HEADER = $(INSTALL_DATA)
129 transform = $(program_transform_name)
136 build_triplet = @build@
137 host_triplet = @host@
138 EXTRA_PROGRAMS = gitestoffsets$(EXEEXT)
139 TESTS = gitestoffsets$(EXEEXT)
140 subdir = tests/offsets
141 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
142 am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
143 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
144 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
145 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/python.m4 \
146 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
147 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
149 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
150 mkinstalldirs = $(install_sh) -d
151 CONFIG_HEADER = $(top_builddir)/config.h
153 CONFIG_CLEAN_VPATH_FILES =
154 liboffsets_la_LIBADD =
155 am_liboffsets_la_OBJECTS = liboffsets_la-offsets.lo
156 liboffsets_la_OBJECTS = $(am_liboffsets_la_OBJECTS)
157 AM_V_lt = $(am__v_lt_@AM_V@)
158 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
159 am__v_lt_0 = --silent
161 liboffsets_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
162 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
163 $(liboffsets_la_LDFLAGS) $(LDFLAGS) -o $@
164 nodist_gitestoffsets_OBJECTS = gitestoffsets-gitestoffsets.$(OBJEXT)
165 gitestoffsets_OBJECTS = $(nodist_gitestoffsets_OBJECTS)
167 gitestoffsets_DEPENDENCIES = $(top_builddir)/libgirepository-1.0.la \
168 $(am__DEPENDENCIES_1)
169 AM_V_P = $(am__v_P_@AM_V@)
170 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
173 AM_V_GEN = $(am__v_GEN_@AM_V@)
174 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
175 am__v_GEN_0 = @echo " GEN " $@;
177 AM_V_at = $(am__v_at_@AM_V@)
178 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
181 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
182 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
183 am__depfiles_maybe = depfiles
185 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
186 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
187 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
188 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
189 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
190 $(AM_CFLAGS) $(CFLAGS)
191 AM_V_CC = $(am__v_CC_@AM_V@)
192 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
193 am__v_CC_0 = @echo " CC " $@;
196 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
197 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
198 $(AM_LDFLAGS) $(LDFLAGS) -o $@
199 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
200 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
201 am__v_CCLD_0 = @echo " CCLD " $@;
203 SOURCES = $(liboffsets_la_SOURCES) $(nodist_gitestoffsets_SOURCES)
204 DIST_SOURCES = $(liboffsets_la_SOURCES)
205 am__can_run_installinfo = \
206 case $$AM_UPDATE_INFO_DIR in \
208 *) (install-info --version) >/dev/null 2>&1;; \
210 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
211 # Read a list of newline-separated strings from the standard input,
212 # and print each of them once, without duplicates. Input order is
214 am__uniquify_input = $(AWK) '\
215 BEGIN { nonempty = 0; } \
216 { items[$$0] = 1; nonempty = 1; } \
217 END { if (nonempty) { for (i in items) print i; }; } \
219 # Make sure the list of sources is unique. This is necessary because,
220 # e.g., the same source file might be shared among _SOURCES variables
221 # for different programs/libraries.
222 am__define_uniq_tagged_files = \
223 list='$(am__tagged_files)'; \
224 unique=`for i in $$list; do \
225 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
226 done | $(am__uniquify_input)`
229 am__tty_colors_dummy = \
230 mgn= red= grn= lgn= blu= brg= std=; \
233 $(am__tty_colors_dummy); \
234 if test "X$(AM_COLOR_TESTS)" = Xno; then \
235 am__color_tests=no; \
236 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
237 am__color_tests=yes; \
238 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
239 am__color_tests=yes; \
241 if test $$am__color_tests = yes; then \
251 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
252 am__vpath_adj = case $$p in \
253 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
256 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
258 am__nobase_strip_setup = \
259 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
261 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
262 am__nobase_list = $(am__nobase_strip_setup); \
263 for p in $$list; do echo "$$p $$p"; done | \
264 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
265 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
266 if (++n[$$2] == $(am__install_max)) \
267 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
268 END { for (dir in files) print dir, files[dir] }'
270 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
271 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
272 am__uninstall_files_from_dir = { \
274 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
275 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
276 $(am__cd) "$$dir" && rm -f $$files; }; \
278 am__recheck_rx = ^[ ]*:recheck:[ ]*
279 am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
280 am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
281 # A command that, given a newline-separated list of test names on the
282 # standard input, print the name of the tests that are to be re-run
283 # upon "make recheck".
284 am__list_recheck_tests = $(AWK) '{ \
286 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
290 if ((getline line2 < ($$0 ".log")) < 0) \
294 else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
299 else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
306 close ($$0 ".trs"); \
307 close ($$0 ".log"); \
309 # A command that, given a newline-separated list of test names on the
310 # standard input, create the global log from their .trs and .log files.
311 am__create_global_log = $(AWK) ' \
312 function fatal(msg) \
314 print "fatal: making $@: " msg | "cat >&2"; \
317 function rst_section(header) \
320 len = length(header); \
321 for (i = 1; i <= len; i = i + 1) \
326 copy_in_global_log = 1; \
327 global_test_result = "RUN"; \
328 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
331 fatal("failed to read from " $$0 ".trs"); \
332 if (line ~ /$(am__global_test_result_rx)/) \
334 sub("$(am__global_test_result_rx)", "", line); \
335 sub("[ ]*$$", "", line); \
336 global_test_result = line; \
338 else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
339 copy_in_global_log = 0; \
341 if (copy_in_global_log) \
343 rst_section(global_test_result ": " $$0); \
344 while ((rc = (getline line < ($$0 ".log"))) != 0) \
347 fatal("failed to read from " $$0 ".log"); \
352 close ($$0 ".trs"); \
353 close ($$0 ".log"); \
355 # Restructured Text title.
356 am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
357 # Solaris 10 'make', and several other traditional 'make' implementations,
358 # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
359 # by disabling -e (using the XSI extension "set +e") if it's set.
360 am__sh_e_setup = case $$- in *e*) set +e;; esac
361 # Default flags passed to test drivers.
362 am__common_driver_flags = \
363 --color-tests "$$am__color_tests" \
364 --enable-hard-errors "$$am__enable_hard_errors" \
365 --expect-failure "$$am__expect_failure"
366 # To be inserted before the command running the test. Creates the
367 # directory for the log if needed. Stores in $dir the directory
368 # containing $f, in $tst the test, in $log the log. Executes the
369 # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
370 # passes TESTS_ENVIRONMENT. Set up options for the wrapper that
371 # will run the test scripts (or their associated LOG_COMPILER, if
375 $(am__vpath_adj_setup) $(am__vpath_adj) \
377 srcdir=$(srcdir); export srcdir; \
379 */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
382 test "x$$am__odir" = x"." || test -d "$$am__odir" \
383 || $(MKDIR_P) "$$am__odir" || exit $$?; \
384 if test -f "./$$f"; then dir=./; \
385 elif test -f "$$f"; then dir=; \
386 else dir="$(srcdir)/"; fi; \
387 tst=$$dir$$f; log='$@'; \
388 if test -n '$(DISABLE_HARD_ERRORS)'; then \
389 am__enable_hard_errors=no; \
391 am__enable_hard_errors=yes; \
393 case " $(XFAIL_TESTS) " in \
394 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
395 am__expect_failure=yes;; \
397 am__expect_failure=no;; \
399 $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
400 # A shell command to get the names of the tests scripts with any registered
401 # extension removed (i.e., equivalently, the names of the test logs, with
402 # the '.log' extension removed). The result is saved in the shell variable
403 # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
404 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
405 # since that might cause problem with VPATH rewrites for suffix-less tests.
406 # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
407 am__set_TESTS_bases = \
408 bases='$(TEST_LOGS)'; \
409 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
411 RECHECK_LOGS = $(TEST_LOGS)
412 AM_RECURSIVE_TARGETS = check recheck
413 TEST_SUITE_LOG = test-suite.log
414 TEST_EXTENSIONS = @EXEEXT@ .test
415 LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
416 LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
422 *) b=`echo '$@' | sed 's/\.log$$//'`; \
427 am__test_logs1 = $(TESTS:=.log)
428 am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
429 TEST_LOGS = $(am__test_logs2:.test.log=.log)
430 TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
431 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
433 am__DIST_COMMON = $(srcdir)/Makefile.in \
434 $(top_srcdir)/Makefile.introspection \
435 $(top_srcdir)/build-aux/depcomp \
436 $(top_srcdir)/build-aux/test-driver $(top_srcdir)/common.mk
437 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
440 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
442 AUTOCONF = @AUTOCONF@
443 AUTOHEADER = @AUTOHEADER@
444 AUTOMAKE = @AUTOMAKE@
446 CAIRO_CFLAGS = @CAIRO_CFLAGS@
447 CAIRO_GIR_PACKAGE = @CAIRO_GIR_PACKAGE@
448 CAIRO_LIBS = @CAIRO_LIBS@
449 CAIRO_SHARED_LIBRARY = @CAIRO_SHARED_LIBRARY@
451 CCDEPMODE = @CCDEPMODE@
454 CPPFLAGS = @CPPFLAGS@
455 CYGPATH_W = @CYGPATH_W@
459 DSYMUTIL = @DSYMUTIL@
466 EXPANDED_BINDIR = @EXPANDED_BINDIR@
467 EXPANDED_DATADIR = @EXPANDED_DATADIR@
468 EXPANDED_LIBDIR = @EXPANDED_LIBDIR@
469 EXPANDED_LIBEXECDIR = @EXPANDED_LIBEXECDIR@
470 EXPANDED_LOCALSTATEDIR = @EXPANDED_LOCALSTATEDIR@
471 EXPANDED_SYSCONFDIR = @EXPANDED_SYSCONFDIR@
472 EXTRA_LINK_FLAGS = @EXTRA_LINK_FLAGS@
473 FFI_CFLAGS = @FFI_CFLAGS@
474 FFI_LIBS = @FFI_LIBS@
475 FFI_PC_CFLAGS = @FFI_PC_CFLAGS@
476 FFI_PC_LIBS = @FFI_PC_LIBS@
477 FFI_PC_PACKAGES = @FFI_PC_PACKAGES@
479 GIO_CFLAGS = @GIO_CFLAGS@
480 GIO_LIBS = @GIO_LIBS@
481 GIO_UNIX_CFLAGS = @GIO_UNIX_CFLAGS@
482 GIO_UNIX_LIBS = @GIO_UNIX_LIBS@
483 GIREPO_CFLAGS = @GIREPO_CFLAGS@
484 GIREPO_LIBS = @GIREPO_LIBS@
486 GIR_SUFFIX = @GIR_SUFFIX@
487 GI_HIDDEN_VISIBILITY_CFLAGS = @GI_HIDDEN_VISIBILITY_CFLAGS@
488 GI_VERSION = @GI_VERSION@
490 GLIB_CFLAGS = @GLIB_CFLAGS@
491 GLIB_LIBS = @GLIB_LIBS@
492 GMODULE_CFLAGS = @GMODULE_CFLAGS@
493 GMODULE_LIBS = @GMODULE_LIBS@
494 GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
495 GOBJECT_INTROSPECTION_LIBDIR = @GOBJECT_INTROSPECTION_LIBDIR@
496 GOBJECT_LIBS = @GOBJECT_LIBS@
498 GTKDOC_CHECK = @GTKDOC_CHECK@
499 GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
500 GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
501 GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
502 GTKDOC_MKPDF = @GTKDOC_MKPDF@
503 GTKDOC_REBASE = @GTKDOC_REBASE@
504 HTML_DIR = @HTML_DIR@
506 INSTALL_DATA = @INSTALL_DATA@
507 INSTALL_PROGRAM = @INSTALL_PROGRAM@
508 INSTALL_SCRIPT = @INSTALL_SCRIPT@
509 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
514 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
520 LTLIBOBJS = @LTLIBOBJS@
521 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
523 MAKEINFO = @MAKEINFO@
524 MANIFEST_TOOL = @MANIFEST_TOOL@
533 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
534 PACKAGE_NAME = @PACKAGE_NAME@
535 PACKAGE_STRING = @PACKAGE_STRING@
536 PACKAGE_TARNAME = @PACKAGE_TARNAME@
537 PACKAGE_URL = @PACKAGE_URL@
538 PACKAGE_VERSION = @PACKAGE_VERSION@
539 PATH_SEPARATOR = @PATH_SEPARATOR@
540 PKG_CONFIG = @PKG_CONFIG@
541 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
542 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
545 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
546 PYTHON_INCLUDES = @PYTHON_INCLUDES@
547 PYTHON_LIBS = @PYTHON_LIBS@
548 PYTHON_PLATFORM = @PYTHON_PLATFORM@
549 PYTHON_PREFIX = @PYTHON_PREFIX@
550 PYTHON_VERSION = @PYTHON_VERSION@
552 SCANNER_CFLAGS = @SCANNER_CFLAGS@
553 SCANNER_LIBS = @SCANNER_LIBS@
555 SET_MAKE = @SET_MAKE@
560 abs_builddir = @abs_builddir@
561 abs_srcdir = @abs_srcdir@
562 abs_top_builddir = @abs_top_builddir@
563 abs_top_srcdir = @abs_top_srcdir@
564 ac_ct_AR = @ac_ct_AR@
565 ac_ct_CC = @ac_ct_CC@
566 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
567 am__include = @am__include@
568 am__leading_dot = @am__leading_dot@
569 am__quote = @am__quote@
571 am__untar = @am__untar@
574 build_alias = @build_alias@
575 build_cpu = @build_cpu@
576 build_os = @build_os@
577 build_vendor = @build_vendor@
578 builddir = @builddir@
580 datarootdir = @datarootdir@
583 exec_prefix = @exec_prefix@
585 host_alias = @host_alias@
586 host_cpu = @host_cpu@
588 host_vendor = @host_vendor@
590 includedir = @includedir@
592 install_sh = @install_sh@
594 libexecdir = @libexecdir@
595 localedir = @localedir@
596 localstatedir = @localstatedir@
599 oldincludedir = @oldincludedir@
601 pkgpyexecdir = @pkgpyexecdir@
602 pkgpythondir = @pkgpythondir@
604 program_transform_name = @program_transform_name@
606 pyexecdir = @pyexecdir@
607 pythondir = @pythondir@
609 sharedstatedir = @sharedstatedir@
611 sysconfdir = @sysconfdir@
612 target_alias = @target_alias@
613 top_build_prefix = @top_build_prefix@
614 top_builddir = @top_builddir@
615 top_srcdir = @top_srcdir@
616 INTROSPECTION_SCANNER = \
617 env PATH=".libs:$(PATH)" \
620 PYTHONPATH=$(top_builddir):$(top_srcdir) \
621 UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \
622 UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) \
623 $(top_builddir)/g-ir-scanner
625 INTROSPECTION_SCANNER_ARGS = \
628 --add-include-path=$(srcdir) \
629 --add-include-path=$(top_srcdir)/gir \
630 --add-include-path=$(builddir) \
631 --add-include-path=$(top_builddir) \
632 --add-include-path=$(top_builddir)/gir
635 # GI_CROSS_LAUNCHER is the command to use for executing g-ir-compiler.
636 # Normally will be undefined but can be set (e.g. to wine or qemu)
637 # when cross-compiling
638 INTROSPECTION_COMPILER = \
639 env PATH=".libs:$(PATH)" \
640 $(GI_CROSS_LAUNCHER) \
641 $(top_builddir)/g-ir-compiler$(EXEEXT)
643 INTROSPECTION_COMPILER_ARGS = \
644 --includedir=$(srcdir) \
645 --includedir=$(top_srcdir)/gir \
646 --includedir=$(builddir) \
647 --includedir=$(top_builddir) \
648 --includedir=$(top_builddir)/gir
650 INTROSPECTION_DOCTOOL = \
651 env PATH=".libs:$(PATH)" \
653 PYTHONPATH=$(top_builddir):$(top_srcdir) \
654 UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \
655 UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) \
656 $(top_builddir)/g-ir-doc-tool
658 INTROSPECTION_DOCTOOL_ARGS = \
659 --add-include-path=$(srcdir) \
660 --add-include-path=$(top_srcdir)/gir \
661 --add-include-path=$(builddir) \
662 --add-include-path=$(top_builddir) \
663 --add-include-path=$(top_builddir)/gir
667 _gir_name = $(subst /,_,$(subst -,_,$(subst .,_,$(1))))
669 # Namespace and Version is either fetched from the gir filename
670 # or the _NAMESPACE/_VERSION variable combo
671 _gir_namespace = $(or $($(_gir_name)_NAMESPACE),$(firstword $(subst -, ,$(notdir $(1)))))
672 _gir_version = $(or $($(_gir_name)_VERSION),$(lastword $(subst -, ,$(1:.gir=))))
674 # _PROGRAM is an optional variable which needs it's own --program argument
675 _gir_program = $(if $($(_gir_name)_PROGRAM),--program=$($(_gir_name)_PROGRAM))
677 # Variables which provides a list of things
678 _gir_libraries = $(foreach lib,$($(_gir_name)_LIBS),--library=$(lib))
679 _gir_packages = $(foreach pkg,$($(_gir_name)_PACKAGES),--pkg=$(pkg))
680 _gir_includes = $(foreach include,$($(_gir_name)_INCLUDES),--include=$(include))
681 _gir_export_packages = $(foreach pkg,$($(_gir_name)_EXPORT_PACKAGES),--pkg-export=$(pkg))
683 # Reuse the LIBTOOL variable from automake if it's set, but
684 # work around MSYS weirdness: When running g-ir-scanner, MSYS changes
685 # a command-line argument --libtool="/bin/sh ../../libtool" into
686 # --libtool=c:/opt/msys/1.0/bin/libtool. So just use sh.exe without path
687 # because we already "know" where the libtool configure produced is.
688 _gir_libtool = $(if $(findstring MINGW,$(shell uname -s)),--libtool="$(top_builddir)/libtool",$(if $(LIBTOOL),--libtool="$(LIBTOOL)"))
690 # Macros for AM_SILENT_RULES prettiness
691 _gir_verbosity = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
692 _gir_silent_scanner_prefix = $(_gir_silent_scanner_prefix_$(V))
693 _gir_silent_scanner_prefix_ = $(_gir_silent_scanner_prefix_$(_gir_verbosity))
694 _gir_silent_scanner_prefix_0 = @echo " GISCAN $(1)";
695 _gir_silent_scanner_opts = $(_gir_silent_scanner_opts_$(V))
696 _gir_silent_scanner_opts_ = $(_gir_silent_scanner_opts_$(_gir_verbosity))
697 _gir_silent_scanner_opts_0 = --quiet
698 _gir_silent_compiler = $(_gir_silent_compiler_$(V))
699 _gir_silent_compiler_ = $(_gir_silent_compiler_$(_gir_verbosity))
700 _gir_silent_compiler_0 = @echo " GICOMP $(1)";
701 _gir_default_scanner_env = CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)"
702 BUILT_SOURCES = gitestoffsets.c
703 CLEANFILES = Offsets-1.0.gir Offsets-1.0.typelib liboffsets.la \
704 gitestoffsets.c $(EXTRA_PROGRAMS) offsets.compiled \
706 EXTRA_DIST = gen-gitestoffsets
707 INTROSPECTION_GIRS = Offsets-1.0.gir
709 ############################################################
710 EXTRA_LTLIBRARIES = liboffsets.la
711 liboffsets_la_SOURCES = \
715 liboffsets_la_CPPFLAGS = $(GIREPO_CFLAGS) $(GI_HIDDEN_VISIBILITY_CFLAGS) -I$(top_srcdir)/tests
716 # dummy rpath to get built dynamically (huh?)
717 liboffsets_la_LDFLAGS = -avoid-version -rpath $(libdir)
718 Offsets_1_0_gir_INCLUDES = GObject-2.0
719 Offsets_1_0_gir_LIBS = liboffsets.la
720 Offsets_1_0_gir_PACKAGES = gobject-2.0
721 Offsets_1_0_gir_FILES = $(srcdir)/offsets.h $(srcdir)/offsets.c
722 Offsets_1_0_gir_SCANNERFLAGS = $(INTROSPECTION_SCANNER_ARGS) --warn-all --warn-error -I$(top_srcdir)/tests
723 nodist_gitestoffsets_SOURCES = gitestoffsets.c
724 gitestoffsets_CPPFLAGS = $(GIREPO_CFLAGS) -I$(top_srcdir)/girepository -I$(top_srcdir)/tests
725 gitestoffsets_LDADD = $(top_builddir)/libgirepository-1.0.la $(GIREPO_LIBS)
726 LOG_COMPILER = env GI_TYPELIB_PATH=:$(top_builddir) ./gitestoffsets$(EXEEXT) offsets.compiled offsets.introspected && \
727 diff -u offsets.compiled offsets.introspected && echo
729 all: $(BUILT_SOURCES)
730 $(MAKE) $(AM_MAKEFLAGS) all-am
733 .SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs
734 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/common.mk $(top_srcdir)/Makefile.introspection $(am__configure_deps)
736 case '$(am__configure_deps)' in \
738 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
739 && { if test -f $@; then exit 0; else break; fi; }; \
743 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/offsets/Makefile'; \
744 $(am__cd) $(top_srcdir) && \
745 $(AUTOMAKE) --foreign tests/offsets/Makefile
746 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
749 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
751 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
752 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
754 $(top_srcdir)/common.mk $(top_srcdir)/Makefile.introspection $(am__empty):
756 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
757 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
759 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
760 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
761 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
762 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
763 $(am__aclocal_m4_deps):
765 liboffsets.la: $(liboffsets_la_OBJECTS) $(liboffsets_la_DEPENDENCIES) $(EXTRA_liboffsets_la_DEPENDENCIES)
766 $(AM_V_CCLD)$(liboffsets_la_LINK) $(liboffsets_la_OBJECTS) $(liboffsets_la_LIBADD) $(LIBS)
768 gitestoffsets$(EXEEXT): $(gitestoffsets_OBJECTS) $(gitestoffsets_DEPENDENCIES) $(EXTRA_gitestoffsets_DEPENDENCIES)
769 @rm -f gitestoffsets$(EXEEXT)
770 $(AM_V_CCLD)$(LINK) $(gitestoffsets_OBJECTS) $(gitestoffsets_LDADD) $(LIBS)
778 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gitestoffsets-gitestoffsets.Po@am__quote@
779 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/liboffsets_la-offsets.Plo@am__quote@
782 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
783 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
784 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
785 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
786 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
789 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
790 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
791 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
792 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
793 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
796 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
797 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
798 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
799 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
800 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
802 liboffsets_la-offsets.lo: offsets.c
803 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liboffsets_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT liboffsets_la-offsets.lo -MD -MP -MF $(DEPDIR)/liboffsets_la-offsets.Tpo -c -o liboffsets_la-offsets.lo `test -f 'offsets.c' || echo '$(srcdir)/'`offsets.c
804 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/liboffsets_la-offsets.Tpo $(DEPDIR)/liboffsets_la-offsets.Plo
805 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='offsets.c' object='liboffsets_la-offsets.lo' libtool=yes @AMDEPBACKSLASH@
806 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
807 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liboffsets_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o liboffsets_la-offsets.lo `test -f 'offsets.c' || echo '$(srcdir)/'`offsets.c
809 gitestoffsets-gitestoffsets.o: gitestoffsets.c
810 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gitestoffsets_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gitestoffsets-gitestoffsets.o -MD -MP -MF $(DEPDIR)/gitestoffsets-gitestoffsets.Tpo -c -o gitestoffsets-gitestoffsets.o `test -f 'gitestoffsets.c' || echo '$(srcdir)/'`gitestoffsets.c
811 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gitestoffsets-gitestoffsets.Tpo $(DEPDIR)/gitestoffsets-gitestoffsets.Po
812 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gitestoffsets.c' object='gitestoffsets-gitestoffsets.o' libtool=no @AMDEPBACKSLASH@
813 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
814 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gitestoffsets_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gitestoffsets-gitestoffsets.o `test -f 'gitestoffsets.c' || echo '$(srcdir)/'`gitestoffsets.c
816 gitestoffsets-gitestoffsets.obj: gitestoffsets.c
817 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gitestoffsets_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gitestoffsets-gitestoffsets.obj -MD -MP -MF $(DEPDIR)/gitestoffsets-gitestoffsets.Tpo -c -o gitestoffsets-gitestoffsets.obj `if test -f 'gitestoffsets.c'; then $(CYGPATH_W) 'gitestoffsets.c'; else $(CYGPATH_W) '$(srcdir)/gitestoffsets.c'; fi`
818 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gitestoffsets-gitestoffsets.Tpo $(DEPDIR)/gitestoffsets-gitestoffsets.Po
819 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gitestoffsets.c' object='gitestoffsets-gitestoffsets.obj' libtool=no @AMDEPBACKSLASH@
820 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
821 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gitestoffsets_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gitestoffsets-gitestoffsets.obj `if test -f 'gitestoffsets.c'; then $(CYGPATH_W) 'gitestoffsets.c'; else $(CYGPATH_W) '$(srcdir)/gitestoffsets.c'; fi`
829 ID: $(am__tagged_files)
830 $(am__define_uniq_tagged_files); mkid -fID $$unique
834 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
837 $(am__define_uniq_tagged_files); \
839 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
840 test -n "$$unique" || unique=$$empty_fix; \
841 if test $$# -gt 0; then \
842 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
845 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
852 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
853 $(am__define_uniq_tagged_files); \
854 test -z "$(CTAGS_ARGS)$$unique" \
855 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
859 here=`$(am__cd) $(top_builddir) && pwd` \
860 && $(am__cd) $(top_srcdir) \
861 && gtags -i $(GTAGS_ARGS) "$$here"
862 cscopelist: cscopelist-am
864 cscopelist-am: $(am__tagged_files)
865 list='$(am__tagged_files)'; \
866 case "$(srcdir)" in \
867 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
868 *) sdir=$(subdir)/$(srcdir) ;; \
870 for i in $$list; do \
871 if test -f "$$i"; then \
872 echo "$(subdir)/$$i"; \
876 done >> $(top_builddir)/cscope.files
879 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
881 # Recover from deleted '.trs' file; this should ensure that
882 # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
883 # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
884 # to avoid problems with "make -n".
887 $(MAKE) $(AM_MAKEFLAGS) $<
889 # Leading 'am--fnord' is there to ensure the list of targets does not
890 # expand to empty, as could happen e.g. with make check TESTS=''.
891 am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
895 $(TEST_SUITE_LOG): $(TEST_LOGS)
896 @$(am__set_TESTS_bases); \
897 am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
898 redo_bases=`for i in $$bases; do \
899 am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
901 if test -n "$$redo_bases"; then \
902 redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
903 redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
904 if $(am__make_dryrun); then :; else \
905 rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
908 if test -n "$$am__remaking_logs"; then \
909 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
910 "recursion detected" >&2; \
911 elif test -n "$$redo_logs"; then \
912 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
914 if $(am__make_dryrun); then :; else \
916 errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
917 for i in $$redo_bases; do \
918 test -f $$i.trs && test -r $$i.trs \
919 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
920 test -f $$i.log && test -r $$i.log \
921 || { echo "$$errmsg $$i.log" >&2; st=1; }; \
923 test $$st -eq 0 || exit 1; \
925 @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
927 results=`for b in $$bases; do echo $$b.trs; done`; \
928 test -n "$$results" || results=/dev/null; \
929 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
930 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
931 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
932 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
933 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
934 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
935 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
936 if test `expr $$fail + $$xpass + $$error` -eq 0; then \
941 br='==================='; br=$$br$$br$$br$$br; \
944 if test x"$$1" = x"--maybe-color"; then \
945 maybe_colorize=yes; \
946 elif test x"$$1" = x"--no-color"; then \
949 echo "$@: invalid 'result_count' usage" >&2; exit 4; \
952 desc=$$1 count=$$2; \
953 if test $$maybe_colorize = yes && test $$count -gt 0; then \
954 color_start=$$3 color_end=$$std; \
956 color_start= color_end=; \
958 echo "$${color_start}# $$desc $$count$${color_end}"; \
960 create_testsuite_report () \
962 result_count $$1 "TOTAL:" $$all "$$brg"; \
963 result_count $$1 "PASS: " $$pass "$$grn"; \
964 result_count $$1 "SKIP: " $$skip "$$blu"; \
965 result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
966 result_count $$1 "FAIL: " $$fail "$$red"; \
967 result_count $$1 "XPASS:" $$xpass "$$red"; \
968 result_count $$1 "ERROR:" $$error "$$mgn"; \
971 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
973 create_testsuite_report --no-color; \
975 echo ".. contents:: :depth: 2"; \
977 for b in $$bases; do echo $$b; done \
978 | $(am__create_global_log); \
979 } >$(TEST_SUITE_LOG).tmp || exit 1; \
980 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
985 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
987 echo "$${col}$$br$${std}"; \
988 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
989 echo "$${col}$$br$${std}"; \
990 create_testsuite_report --maybe-color; \
991 echo "$$col$$br$$std"; \
992 if $$success; then :; else \
993 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
994 if test -n "$(PACKAGE_BUGREPORT)"; then \
995 echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
997 echo "$$col$$br$$std"; \
1002 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
1003 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
1004 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1005 @set +e; $(am__set_TESTS_bases); \
1006 log_list=`for i in $$bases; do echo $$i.log; done`; \
1007 trs_list=`for i in $$bases; do echo $$i.trs; done`; \
1008 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
1009 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
1012 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1013 @set +e; $(am__set_TESTS_bases); \
1014 bases=`for i in $$bases; do echo $$i; done \
1015 | $(am__list_recheck_tests)` || exit 1; \
1016 log_list=`for i in $$bases; do echo $$i.log; done`; \
1017 log_list=`echo $$log_list`; \
1018 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
1019 am__force_recheck=am--force-recheck \
1020 TEST_LOGS="$$log_list"; \
1022 gitestoffsets.log: gitestoffsets$(EXEEXT)
1023 @p='gitestoffsets$(EXEEXT)'; \
1024 b='gitestoffsets'; \
1025 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1026 --log-file $$b.log --trs-file $$b.trs \
1027 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1028 "$$tst" $(AM_TESTS_FD_REDIRECT)
1032 $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1033 --log-file $$b.log --trs-file $$b.trs \
1034 $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1035 "$$tst" $(AM_TESTS_FD_REDIRECT)
1036 @am__EXEEXT_TRUE@.test$(EXEEXT).log:
1037 @am__EXEEXT_TRUE@ @p='$<'; \
1038 @am__EXEEXT_TRUE@ $(am__set_b); \
1039 @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1040 @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
1041 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1042 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
1044 distdir: $(DISTFILES)
1045 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1046 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1047 list='$(DISTFILES)'; \
1048 dist_files=`for file in $$list; do echo $$file; done | \
1049 sed -e "s|^$$srcdirstrip/||;t" \
1050 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1051 case $$dist_files in \
1052 */*) $(MKDIR_P) `echo "$$dist_files" | \
1053 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1056 for file in $$dist_files; do \
1057 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1058 if test -d $$d/$$file; then \
1059 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1060 if test -d "$(distdir)/$$file"; then \
1061 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1063 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1064 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1065 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1067 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1069 test -f "$(distdir)/$$file" \
1070 || cp -p $$d/$$file "$(distdir)/$$file" \
1075 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1076 check: $(BUILT_SOURCES)
1077 $(MAKE) $(AM_MAKEFLAGS) check-am
1080 install: $(BUILT_SOURCES)
1081 $(MAKE) $(AM_MAKEFLAGS) install-am
1082 install-exec: install-exec-am
1083 install-data: install-data-am
1084 uninstall: uninstall-am
1087 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1089 installcheck: installcheck-am
1091 if test -z '$(STRIP)'; then \
1092 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1093 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1096 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1097 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1098 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1100 mostlyclean-generic:
1101 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1102 -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
1103 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1106 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1109 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1110 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1112 maintainer-clean-generic:
1113 @echo "This command is intended for maintainers to use"
1114 @echo "it deletes files that may require special tools to rebuild."
1115 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1118 clean-am: clean-generic clean-libtool mostlyclean-am
1120 distclean: distclean-am
1123 distclean-am: clean-am distclean-compile distclean-generic \
1140 install-dvi: install-dvi-am
1146 install-html: install-html-am
1150 install-info: install-info-am
1156 install-pdf: install-pdf-am
1160 install-ps: install-ps-am
1166 maintainer-clean: maintainer-clean-am
1169 maintainer-clean-am: distclean-am maintainer-clean-generic
1171 mostlyclean: mostlyclean-am
1173 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1186 .MAKE: all check check-am install install-am install-strip
1188 .PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
1189 clean-generic clean-libtool cscopelist-am ctags ctags-am \
1190 distclean distclean-compile distclean-generic \
1191 distclean-libtool distclean-tags distdir dvi dvi-am html \
1192 html-am info info-am install install-am install-data \
1193 install-data-am install-dvi install-dvi-am install-exec \
1194 install-exec-am install-html install-html-am install-info \
1195 install-info-am install-man install-pdf install-pdf-am \
1196 install-ps install-ps-am install-strip installcheck \
1197 installcheck-am installdirs maintainer-clean \
1198 maintainer-clean-generic mostlyclean mostlyclean-compile \
1199 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1200 recheck tags tags-am uninstall uninstall-am
1205 # Make sure the required variables are set, these should under normal
1206 # circumstances come from introspection.m4
1207 $(if $(INTROSPECTION_SCANNER),,$(error Need to define INTROSPECTION_SCANNER))
1208 $(if $(INTROSPECTION_COMPILER),,$(error Need to define INTROSPECTION_COMPILER))
1211 # Creates a GIR by scanning C headers/sources
1212 # $(1) - Name of the gir file (output)
1214 # If output is Gtk-2.0.gir then you should name the variables like
1215 # Gtk_2_0_gir_NAMESPACE, Gtk_2_0_gir_VERSION etc.
1216 # Required variables:
1217 # FILES - C sources and headers which should be scanned
1219 # One of these variables are required:
1220 # LIBS - Library where the symbol represented in the gir can be found
1221 # PROGRAM - Program where the symbol represented in the gir can be found
1223 # Optional variables
1224 # NAMESPACE - Namespace of the gir, first letter capital,
1225 # rest should be lower case, for instance: 'Gtk', 'Clutter', 'ClutterGtk'.
1226 # If not present the namespace will be fetched from the gir filename,
1227 # the part before the first dash. For 'Gtk-2.0', namespace will be 'Gtk'.
1228 # VERSION - Version of the gir, if not present, will be fetched from gir
1229 # filename, the part after the first dash. For 'Gtk-2.0', version will be '2.0'.
1230 # LIBTOOL - Command to invoke libtool, usually set by automake
1231 # SCANNERFLAGS - Flags to pass in to the scanner, see g-ir-scanner(1) for a list
1232 # CFLAGS - Flags to pass in to the parser when scanning headers
1233 # LDFLAGS - Linker flags used by the scanner
1234 # PACKAGES - list of pkg-config names which cflags are required to parse
1235 # the headers of this gir
1236 # INCLUDES - Gir files to include without the .gir suffix, for instance
1237 # GLib-2.0, Gtk-2.0. This is needed for all libraries which you depend on that
1238 # provides introspection information.
1239 # EXPORT_PACKAGES - list of pkg-config names that are provided by this gir.
1240 # By default the names in the PACKAGES variable will be used.
1243 define introspection-scanner
1245 # Basic sanity check, to make sure required variables are set
1246 $(if $($(_gir_name)_FILES),,$(error Need to define $(_gir_name)_FILES))
1247 $(if $(or $(findstring --header-only,$($(_gir_name)_SCANNERFLAGS)),
1248 $($(_gir_name)_LIBS),
1249 $($(_gir_name)_PROGRAM)),,
1250 $(error Need to define $(_gir_name)_LIBS or $(_gir_name)_PROGRAM))
1252 # Only dependencies we know are actually filenames goes into _FILES, make
1253 # sure these are built before running the scanner. Libraries and programs
1254 # needs to be added manually.
1255 $(1): $$($(_gir_name)_FILES)
1256 @ $(MKDIR_P) $(dir $(1))
1257 $(_gir_silent_scanner_prefix) $(_gir_default_scanner_env) $(INTROSPECTION_SCANNER_ENV) $(INTROSPECTION_SCANNER) $(_gir_silent_scanner_opts) \
1258 $(INTROSPECTION_SCANNER_ARGS) \
1259 --namespace=$(_gir_namespace) \
1260 --nsversion=$(_gir_version) \
1264 $(_gir_export_packages) \
1267 $($(_gir_name)_SCANNERFLAGS) \
1269 $($(_gir_name)_CFLAGS) \
1271 $($(_gir_name)_LDFLAGS) \
1276 $(foreach gir,$(INTROSPECTION_GIRS),$(eval $(call introspection-scanner,$(gir))))
1279 # Compiles a gir into a typelib
1280 # $(1): gir filename (input)
1281 # $(2): typelib filename (output)
1283 define introspection-compiler
1284 $(_gir_silent_compiler) $(INTROSPECTION_COMPILER) $(INTROSPECTION_COMPILER_ARGS) --includedir=. $(1) -o $(2)
1287 # Simple rule to compile a typelib.
1289 $(call introspection-compiler,$<,$@)
1291 Offsets-1.0.gir: liboffsets.la offsets.h
1293 gitestoffsets.c: gen-gitestoffsets offsets.h Offsets-1.0.typelib
1294 $(AM_V_GEN) $(PYTHON) $(srcdir)/gen-gitestoffsets $(srcdir)/offsets.h > $@ || ( rm -f $@ && false )
1296 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1297 # Otherwise a system limit (for SysV at least) may be exceeded.