Imported Upstream version 1.49.1
[platform/upstream/gobject-introspection.git] / tests / offsets / Makefile.in
1 # Makefile.in generated by automake 1.15 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
5
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.
9
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
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 # -*- Mode: make -*-
18 # Copyright 2009-2010 Johan Dahlin
19 #
20 # This file defines variables that are compatible with
21 # Makefile.introspection, but for use within the gobject-introspection
22 # module itself.
23 #
24
25 # -*- Mode: make -*-
26 # Copyright 2009-2010 Johan Dahlin
27 #
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.
31 #
32 # * Input variables:
33 #
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
39 #      the scanner
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
43 #
44 # * Simple tutorial
45 #
46 # Add this to configure.ac:
47 #   -Wno-portability to AM_INIT_AUTOMAKE
48 #   GOBJECT_INTROSPECTION_CHECK([0.6.7])
49 #
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)
63 #
64 VPATH = @srcdir@
65 am__is_gnu_make = { \
66   if test -z '$(MAKELEVEL)'; then \
67     false; \
68   elif test -n '$(MAKE_HOST)'; then \
69     true; \
70   elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
71     true; \
72   else \
73     false; \
74   fi; \
75 }
76 am__make_running_with_option = \
77   case $${target_option-} in \
78       ?) ;; \
79       *) echo "am__make_running_with_option: internal error: invalid" \
80               "target option '$${target_option-}' specified" >&2; \
81          exit 1;; \
82   esac; \
83   has_opt=no; \
84   sane_makeflags=$$MAKEFLAGS; \
85   if $(am__is_gnu_make); then \
86     sane_makeflags=$$MFLAGS; \
87   else \
88     case $$MAKEFLAGS in \
89       *\\[\ \   ]*) \
90         bs=\\; \
91         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
92           | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
93     esac; \
94   fi; \
95   skip_next=no; \
96   strip_trailopt () \
97   { \
98     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
99   }; \
100   for flg in $$sane_makeflags; do \
101     test $$skip_next = yes && { skip_next=no; continue; }; \
102     case $$flg in \
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;; \
112     esac; \
113     case $$flg in \
114       *$$target_option*) has_opt=yes; break;; \
115     esac; \
116   done; \
117   test $$has_opt = yes
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)
130 NORMAL_INSTALL = :
131 PRE_INSTALL = :
132 POST_INSTALL = :
133 NORMAL_UNINSTALL = :
134 PRE_UNINSTALL = :
135 POST_UNINSTALL = :
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) \
148         $(ACLOCAL_M4)
149 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
150 mkinstalldirs = $(install_sh) -d
151 CONFIG_HEADER = $(top_builddir)/config.h
152 CONFIG_CLEAN_FILES =
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
160 am__v_lt_1 = 
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)
166 am__DEPENDENCIES_1 =
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@)
171 am__v_P_0 = false
172 am__v_P_1 = :
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     " $@;
176 am__v_GEN_1 = 
177 AM_V_at = $(am__v_at_@AM_V@)
178 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
179 am__v_at_0 = @
180 am__v_at_1 = 
181 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
182 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
183 am__depfiles_maybe = depfiles
184 am__mv = mv -f
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      " $@;
194 am__v_CC_1 = 
195 CCLD = $(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    " $@;
202 am__v_CCLD_1 = 
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 \
207     n|no|NO) false;; \
208     *) (install-info --version) >/dev/null 2>&1;; \
209   esac
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
213 # *not* preserved.
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; }; } \
218 '
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)`
227 ETAGS = etags
228 CTAGS = ctags
229 am__tty_colors_dummy = \
230   mgn= red= grn= lgn= blu= brg= std=; \
231   am__color_tests=no
232 am__tty_colors = { \
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; \
240   fi; \
241   if test $$am__color_tests = yes; then \
242     red='\e[0;31m'; \
243     grn='\e[0;32m'; \
244     lgn='\e[1;32m'; \
245     blu='\e[1;34m'; \
246     mgn='\e[0;35m'; \
247     brg='\e[1m'; \
248     std='\e[m'; \
249   fi; \
250 }
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/||"`;; \
254     *) f=$$p;; \
255   esac;
256 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
257 am__install_max = 40
258 am__nobase_strip_setup = \
259   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
260 am__nobase_strip = \
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] }'
269 am__base_list = \
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 = { \
273   test -z "$$files" \
274     || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
275     || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
276          $(am__cd) "$$dir" && rm -f $$files; }; \
277   }
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) '{ \
285   recheck = 1; \
286   while ((rc = (getline line < ($$0 ".trs"))) != 0) \
287     { \
288       if (rc < 0) \
289         { \
290           if ((getline line2 < ($$0 ".log")) < 0) \
291             recheck = 0; \
292           break; \
293         } \
294       else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
295         { \
296           recheck = 0; \
297           break; \
298         } \
299       else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
300         { \
301           break; \
302         } \
303     }; \
304   if (recheck) \
305     print $$0; \
306   close ($$0 ".trs"); \
307   close ($$0 ".log"); \
308 }'
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) \
313 { \
314   print "fatal: making $@: " msg | "cat >&2"; \
315   exit 1; \
316 } \
317 function rst_section(header) \
318 { \
319   print header; \
320   len = length(header); \
321   for (i = 1; i <= len; i = i + 1) \
322     printf "="; \
323   printf "\n\n"; \
324 } \
325 { \
326   copy_in_global_log = 1; \
327   global_test_result = "RUN"; \
328   while ((rc = (getline line < ($$0 ".trs"))) != 0) \
329     { \
330       if (rc < 0) \
331          fatal("failed to read from " $$0 ".trs"); \
332       if (line ~ /$(am__global_test_result_rx)/) \
333         { \
334           sub("$(am__global_test_result_rx)", "", line); \
335           sub("[        ]*$$", "", line); \
336           global_test_result = line; \
337         } \
338       else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
339         copy_in_global_log = 0; \
340     }; \
341   if (copy_in_global_log) \
342     { \
343       rst_section(global_test_result ": " $$0); \
344       while ((rc = (getline line < ($$0 ".log"))) != 0) \
345       { \
346         if (rc < 0) \
347           fatal("failed to read from " $$0 ".log"); \
348         print line; \
349       }; \
350       printf "\n"; \
351     }; \
352   close ($$0 ".trs"); \
353   close ($$0 ".log"); \
354 }'
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
372 # thy have one).
373 am__check_pre = \
374 $(am__sh_e_setup);                                      \
375 $(am__vpath_adj_setup) $(am__vpath_adj)                 \
376 $(am__tty_colors);                                      \
377 srcdir=$(srcdir); export srcdir;                        \
378 case "$@" in                                            \
379   */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;;    \
380     *) am__odir=.;;                                     \
381 esac;                                                   \
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;                            \
390 else                                                    \
391   am__enable_hard_errors=yes;                           \
392 fi;                                                     \
393 case " $(XFAIL_TESTS) " in                              \
394   *[\ \ ]$$f[\ \        ]* | *[\ \      ]$$dir$$f[\ \   ]*) \
395     am__expect_failure=yes;;                            \
396   *)                                                    \
397     am__expect_failure=no;;                             \
398 esac;                                                   \
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$$//'`; \
410   bases=`echo $$bases`
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)
417 am__set_b = \
418   case '$@' in \
419     */*) \
420       case '$*' in \
421         */*) b='$*';; \
422           *) b=`echo '$@' | sed 's/\.log$$//'`; \
423        esac;; \
424     *) \
425       b='$*';; \
426   esac
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) \
432         $(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)
438 ACLOCAL = @ACLOCAL@
439 AMTAR = @AMTAR@
440 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
441 AR = @AR@
442 AUTOCONF = @AUTOCONF@
443 AUTOHEADER = @AUTOHEADER@
444 AUTOMAKE = @AUTOMAKE@
445 AWK = @AWK@
446 CAIRO_CFLAGS = @CAIRO_CFLAGS@
447 CAIRO_GIR_PACKAGE = @CAIRO_GIR_PACKAGE@
448 CAIRO_LIBS = @CAIRO_LIBS@
449 CAIRO_SHARED_LIBRARY = @CAIRO_SHARED_LIBRARY@
450 CC = @CC@
451 CCDEPMODE = @CCDEPMODE@
452 CFLAGS = @CFLAGS@
453 CPP = @CPP@
454 CPPFLAGS = @CPPFLAGS@
455 CYGPATH_W = @CYGPATH_W@
456 DEFS = @DEFS@
457 DEPDIR = @DEPDIR@
458 DLLTOOL = @DLLTOOL@
459 DSYMUTIL = @DSYMUTIL@
460 DUMPBIN = @DUMPBIN@
461 ECHO_C = @ECHO_C@
462 ECHO_N = @ECHO_N@
463 ECHO_T = @ECHO_T@
464 EGREP = @EGREP@
465 EXEEXT = @EXEEXT@
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@
478 FGREP = @FGREP@
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@
485 GIR_DIR = @GIR_DIR@
486 GIR_SUFFIX = @GIR_SUFFIX@
487 GI_HIDDEN_VISIBILITY_CFLAGS = @GI_HIDDEN_VISIBILITY_CFLAGS@
488 GI_VERSION = @GI_VERSION@
489 GLIBSRC = @GLIBSRC@
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@
497 GREP = @GREP@
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@
505 INSTALL = @INSTALL@
506 INSTALL_DATA = @INSTALL_DATA@
507 INSTALL_PROGRAM = @INSTALL_PROGRAM@
508 INSTALL_SCRIPT = @INSTALL_SCRIPT@
509 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
510 LD = @LD@
511 LDFLAGS = @LDFLAGS@
512 LEX = @LEX@
513 LEXLIB = @LEXLIB@
514 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
515 LIBOBJS = @LIBOBJS@
516 LIBS = @LIBS@
517 LIBTOOL = @LIBTOOL@
518 LIPO = @LIPO@
519 LN_S = @LN_S@
520 LTLIBOBJS = @LTLIBOBJS@
521 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
522 MAINT = @MAINT@
523 MAKEINFO = @MAKEINFO@
524 MANIFEST_TOOL = @MANIFEST_TOOL@
525 MKDIR_P = @MKDIR_P@
526 NM = @NM@
527 NMEDIT = @NMEDIT@
528 OBJDUMP = @OBJDUMP@
529 OBJEXT = @OBJEXT@
530 OTOOL = @OTOOL@
531 OTOOL64 = @OTOOL64@
532 PACKAGE = @PACKAGE@
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@
543 POW_LIB = @POW_LIB@
544 PYTHON = @PYTHON@
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@
551 RANLIB = @RANLIB@
552 SCANNER_CFLAGS = @SCANNER_CFLAGS@
553 SCANNER_LIBS = @SCANNER_LIBS@
554 SED = @SED@
555 SET_MAKE = @SET_MAKE@
556 SHELL = @SHELL@
557 STRIP = @STRIP@
558 VERSION = @VERSION@
559 YACC = @YACC@
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@
570 am__tar = @am__tar@
571 am__untar = @am__untar@
572 bindir = @bindir@
573 build = @build@
574 build_alias = @build_alias@
575 build_cpu = @build_cpu@
576 build_os = @build_os@
577 build_vendor = @build_vendor@
578 builddir = @builddir@
579 datadir = @datadir@
580 datarootdir = @datarootdir@
581 docdir = @docdir@
582 dvidir = @dvidir@
583 exec_prefix = @exec_prefix@
584 host = @host@
585 host_alias = @host_alias@
586 host_cpu = @host_cpu@
587 host_os = @host_os@
588 host_vendor = @host_vendor@
589 htmldir = @htmldir@
590 includedir = @includedir@
591 infodir = @infodir@
592 install_sh = @install_sh@
593 libdir = @libdir@
594 libexecdir = @libexecdir@
595 localedir = @localedir@
596 localstatedir = @localstatedir@
597 mandir = @mandir@
598 mkdir_p = @mkdir_p@
599 oldincludedir = @oldincludedir@
600 pdfdir = @pdfdir@
601 pkgpyexecdir = @pkgpyexecdir@
602 pkgpythondir = @pkgpythondir@
603 prefix = @prefix@
604 program_transform_name = @program_transform_name@
605 psdir = @psdir@
606 pyexecdir = @pyexecdir@
607 pythondir = @pythondir@
608 sbindir = @sbindir@
609 sharedstatedir = @sharedstatedir@
610 srcdir = @srcdir@
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)" \
618         LPATH=.libs \
619         CC="$(CC)" \
620         PYTHONPATH=$(top_builddir):$(top_srcdir) \
621         UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \
622         UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) \
623         $(top_builddir)/g-ir-scanner
624
625 INTROSPECTION_SCANNER_ARGS = \
626     --verbose \
627     -I$(top_srcdir) \
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
633
634
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)
642
643 INTROSPECTION_COMPILER_ARGS = \
644     --includedir=$(srcdir) \
645     --includedir=$(top_srcdir)/gir \
646     --includedir=$(builddir) \
647     --includedir=$(top_builddir) \
648     --includedir=$(top_builddir)/gir
649
650 INTROSPECTION_DOCTOOL = \
651     env PATH=".libs:$(PATH)" \
652         LPATH=.libs \
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
657
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
664
665
666 # Private functions
667 _gir_name = $(subst /,_,$(subst -,_,$(subst .,_,$(1))))
668
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=))))
673
674 # _PROGRAM is an optional variable which needs it's own --program argument
675 _gir_program = $(if $($(_gir_name)_PROGRAM),--program=$($(_gir_name)_PROGRAM))
676
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))
682
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)"))
689
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 \
705         offsets.introspected
706 EXTRA_DIST = gen-gitestoffsets
707 INTROSPECTION_GIRS = Offsets-1.0.gir
708
709 ############################################################
710 EXTRA_LTLIBRARIES = liboffsets.la
711 liboffsets_la_SOURCES = \
712         offsets.h       \
713         offsets.c
714
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
728
729 all: $(BUILT_SOURCES)
730         $(MAKE) $(AM_MAKEFLAGS) all-am
731
732 .SUFFIXES:
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)
735         @for dep in $?; do \
736           case '$(am__configure_deps)' in \
737             *$$dep*) \
738               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
739                 && { if test -f $@; then exit 0; else break; fi; }; \
740               exit 1;; \
741           esac; \
742         done; \
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
747         @case '$?' in \
748           *config.status*) \
749             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
750           *) \
751             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
752             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
753         esac;
754 $(top_srcdir)/common.mk $(top_srcdir)/Makefile.introspection $(am__empty):
755
756 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
757         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
758
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):
764
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)
767
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)
771
772 mostlyclean-compile:
773         -rm -f *.$(OBJEXT)
774
775 distclean-compile:
776         -rm -f *.tab.c
777
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@
780
781 .c.o:
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 $@ $<
787
788 .c.obj:
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) '$<'`
794
795 .c.lo:
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 $@ $<
801
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
808
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
815
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`
822
823 mostlyclean-libtool:
824         -rm -f *.lo
825
826 clean-libtool:
827         -rm -rf .libs _libs
828
829 ID: $(am__tagged_files)
830         $(am__define_uniq_tagged_files); mkid -fID $$unique
831 tags: tags-am
832 TAGS: tags
833
834 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
835         set x; \
836         here=`pwd`; \
837         $(am__define_uniq_tagged_files); \
838         shift; \
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) \
843               "$$@" $$unique; \
844           else \
845             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
846               $$unique; \
847           fi; \
848         fi
849 ctags: ctags-am
850
851 CTAGS: ctags
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) \
856              $$unique
857
858 GTAGS:
859         here=`$(am__cd) $(top_builddir) && pwd` \
860           && $(am__cd) $(top_srcdir) \
861           && gtags -i $(GTAGS_ARGS) "$$here"
862 cscopelist: cscopelist-am
863
864 cscopelist-am: $(am__tagged_files)
865         list='$(am__tagged_files)'; \
866         case "$(srcdir)" in \
867           [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
868           *) sdir=$(subdir)/$(srcdir) ;; \
869         esac; \
870         for i in $$list; do \
871           if test -f "$$i"; then \
872             echo "$(subdir)/$$i"; \
873           else \
874             echo "$$sdir/$$i"; \
875           fi; \
876         done >> $(top_builddir)/cscope.files
877
878 distclean-tags:
879         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
880
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".
885 .log.trs:
886         rm -f $< $@
887         $(MAKE) $(AM_MAKEFLAGS) $<
888
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)
892 am--force-recheck:
893         @:
894
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; \
900                     done`; \
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; \
906           fi; \
907         fi; \
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; \
913         fi; \
914         if $(am__make_dryrun); then :; else \
915           st=0;  \
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; }; \
922           done; \
923           test $$st -eq 0 || exit 1; \
924         fi
925         @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
926         ws='[   ]'; \
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 \
937           success=true; \
938         else \
939           success=false; \
940         fi; \
941         br='==================='; br=$$br$$br$$br$$br; \
942         result_count () \
943         { \
944             if test x"$$1" = x"--maybe-color"; then \
945               maybe_colorize=yes; \
946             elif test x"$$1" = x"--no-color"; then \
947               maybe_colorize=no; \
948             else \
949               echo "$@: invalid 'result_count' usage" >&2; exit 4; \
950             fi; \
951             shift; \
952             desc=$$1 count=$$2; \
953             if test $$maybe_colorize = yes && test $$count -gt 0; then \
954               color_start=$$3 color_end=$$std; \
955             else \
956               color_start= color_end=; \
957             fi; \
958             echo "$${color_start}# $$desc $$count$${color_end}"; \
959         }; \
960         create_testsuite_report () \
961         { \
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"; \
969         }; \
970         {                                                               \
971           echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" |       \
972             $(am__rst_title);                                           \
973           create_testsuite_report --no-color;                           \
974           echo;                                                         \
975           echo ".. contents:: :depth: 2";                               \
976           echo;                                                         \
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);                     \
981         if $$success; then                                              \
982           col="$$grn";                                                  \
983          else                                                           \
984           col="$$red";                                                  \
985           test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG);               \
986         fi;                                                             \
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}"; \
996           fi;                                                           \
997           echo "$$col$$br$$std";                                        \
998         fi;                                                             \
999         $$success || exit 1
1000
1001 check-TESTS:
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"; \
1010         exit $$?;
1011 recheck: all 
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"; \
1021         exit $$?
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)
1029 .test.log:
1030         @p='$<'; \
1031         $(am__set_b); \
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)
1043
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,/[^/]*$$,,' | \
1054                            sort -u` ;; \
1055         esac; \
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 {} \;; \
1062             fi; \
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 {} \;; \
1066             fi; \
1067             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1068           else \
1069             test -f "$(distdir)/$$file" \
1070             || cp -p $$d/$$file "$(distdir)/$$file" \
1071             || exit 1; \
1072           fi; \
1073         done
1074 check-am: all-am
1075         $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1076 check: $(BUILT_SOURCES)
1077         $(MAKE) $(AM_MAKEFLAGS) check-am
1078 all-am: Makefile
1079 installdirs:
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
1085
1086 install-am: all-am
1087         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1088
1089 installcheck: installcheck-am
1090 install-strip:
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 \
1094               install; \
1095         else \
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; \
1099         fi
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)
1104
1105 clean-generic:
1106         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1107
1108 distclean-generic:
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)
1111
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)
1116 clean: clean-am
1117
1118 clean-am: clean-generic clean-libtool mostlyclean-am
1119
1120 distclean: distclean-am
1121         -rm -rf ./$(DEPDIR)
1122         -rm -f Makefile
1123 distclean-am: clean-am distclean-compile distclean-generic \
1124         distclean-tags
1125
1126 dvi: dvi-am
1127
1128 dvi-am:
1129
1130 html: html-am
1131
1132 html-am:
1133
1134 info: info-am
1135
1136 info-am:
1137
1138 install-data-am:
1139
1140 install-dvi: install-dvi-am
1141
1142 install-dvi-am:
1143
1144 install-exec-am:
1145
1146 install-html: install-html-am
1147
1148 install-html-am:
1149
1150 install-info: install-info-am
1151
1152 install-info-am:
1153
1154 install-man:
1155
1156 install-pdf: install-pdf-am
1157
1158 install-pdf-am:
1159
1160 install-ps: install-ps-am
1161
1162 install-ps-am:
1163
1164 installcheck-am:
1165
1166 maintainer-clean: maintainer-clean-am
1167         -rm -rf ./$(DEPDIR)
1168         -rm -f Makefile
1169 maintainer-clean-am: distclean-am maintainer-clean-generic
1170
1171 mostlyclean: mostlyclean-am
1172
1173 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1174         mostlyclean-libtool
1175
1176 pdf: pdf-am
1177
1178 pdf-am:
1179
1180 ps: ps-am
1181
1182 ps-am:
1183
1184 uninstall-am:
1185
1186 .MAKE: all check check-am install install-am install-strip
1187
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
1201
1202 .PRECIOUS: Makefile
1203
1204
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))
1209
1210 #
1211 # Creates a GIR by scanning C headers/sources
1212 # $(1) - Name of the gir file (output)
1213 #
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
1218 #
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
1222 #
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.
1241 #
1242
1243 define introspection-scanner
1244
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))
1251
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) \
1261           $(_gir_libtool) \
1262           $(_gir_packages) \
1263           $(_gir_includes) \
1264           $(_gir_export_packages) \
1265           $(_gir_program) \
1266           $(_gir_libraries) \
1267           $($(_gir_name)_SCANNERFLAGS) \
1268           --cflags-begin \
1269           $($(_gir_name)_CFLAGS) \
1270           --cflags-end \
1271           $($(_gir_name)_LDFLAGS) \
1272           $$^ \
1273           --output $(1)
1274 endef
1275
1276 $(foreach gir,$(INTROSPECTION_GIRS),$(eval $(call introspection-scanner,$(gir))))
1277
1278 #
1279 # Compiles a gir into a typelib
1280 # $(1): gir filename (input)
1281 # $(2): typelib filename (output)
1282 #
1283 define introspection-compiler
1284 $(_gir_silent_compiler) $(INTROSPECTION_COMPILER) $(INTROSPECTION_COMPILER_ARGS) --includedir=. $(1) -o $(2)
1285 endef
1286
1287 # Simple rule to compile a typelib.
1288 %.typelib: %.gir
1289         $(call introspection-compiler,$<,$@)
1290
1291 Offsets-1.0.gir: liboffsets.la offsets.h
1292
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 )
1295
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.
1298 .NOEXPORT: