Imported Upstream version 1.35.9
[platform/upstream/gobject-introspection.git] / tests / offsets / Makefile.in
1 # Makefile.in generated by automake 1.13.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2012 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__make_dryrun = \
66   { \
67     am__dry=no; \
68     case $$MAKEFLAGS in \
69       *\\[\ \   ]*) \
70         echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
71           | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
72       *) \
73         for am__flg in $$MAKEFLAGS; do \
74           case $$am__flg in \
75             *=*|--*) ;; \
76             *n*) am__dry=yes; break;; \
77           esac; \
78         done;; \
79     esac; \
80     test $$am__dry = yes; \
81   }
82 pkgdatadir = $(datadir)/@PACKAGE@
83 pkgincludedir = $(includedir)/@PACKAGE@
84 pkglibdir = $(libdir)/@PACKAGE@
85 pkglibexecdir = $(libexecdir)/@PACKAGE@
86 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
87 install_sh_DATA = $(install_sh) -c -m 644
88 install_sh_PROGRAM = $(install_sh) -c
89 install_sh_SCRIPT = $(install_sh) -c
90 INSTALL_HEADER = $(INSTALL_DATA)
91 transform = $(program_transform_name)
92 NORMAL_INSTALL = :
93 PRE_INSTALL = :
94 POST_INSTALL = :
95 NORMAL_UNINSTALL = :
96 PRE_UNINSTALL = :
97 POST_UNINSTALL = :
98 build_triplet = @build@
99 host_triplet = @host@
100 DIST_COMMON = $(top_srcdir)/common.mk \
101         $(top_srcdir)/Makefile.introspection $(srcdir)/Makefile.in \
102         $(srcdir)/Makefile.am $(top_srcdir)/build-aux/depcomp
103 check_PROGRAMS = gitestoffsets$(EXEEXT)
104 subdir = tests/offsets
105 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
106 am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
107         $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
108         $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
109         $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/python.m4 \
110         $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
111 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
112         $(ACLOCAL_M4)
113 mkinstalldirs = $(install_sh) -d
114 CONFIG_HEADER = $(top_builddir)/config.h
115 CONFIG_CLEAN_FILES =
116 CONFIG_CLEAN_VPATH_FILES =
117 liboffsets_la_LIBADD =
118 am_liboffsets_la_OBJECTS = liboffsets_la-offsets.lo
119 liboffsets_la_OBJECTS = $(am_liboffsets_la_OBJECTS)
120 AM_V_lt = $(am__v_lt_@AM_V@)
121 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
122 am__v_lt_0 = --silent
123 am__v_lt_1 = 
124 liboffsets_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
125         $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
126         $(liboffsets_la_LDFLAGS) $(LDFLAGS) -o $@
127 nodist_gitestoffsets_OBJECTS = gitestoffsets-gitestoffsets.$(OBJEXT)
128 gitestoffsets_OBJECTS = $(nodist_gitestoffsets_OBJECTS)
129 am__DEPENDENCIES_1 =
130 gitestoffsets_DEPENDENCIES = $(top_builddir)/libgirepository-1.0.la \
131         $(am__DEPENDENCIES_1)
132 AM_V_P = $(am__v_P_@AM_V@)
133 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
134 am__v_P_0 = false
135 am__v_P_1 = :
136 AM_V_GEN = $(am__v_GEN_@AM_V@)
137 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
138 am__v_GEN_0 = @echo "  GEN     " $@;
139 am__v_GEN_1 = 
140 AM_V_at = $(am__v_at_@AM_V@)
141 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
142 am__v_at_0 = @
143 am__v_at_1 = 
144 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
145 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
146 am__depfiles_maybe = depfiles
147 am__mv = mv -f
148 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
149         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
150 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
151         $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
152         $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
153         $(AM_CFLAGS) $(CFLAGS)
154 AM_V_CC = $(am__v_CC_@AM_V@)
155 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
156 am__v_CC_0 = @echo "  CC      " $@;
157 am__v_CC_1 = 
158 CCLD = $(CC)
159 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
160         $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
161         $(AM_LDFLAGS) $(LDFLAGS) -o $@
162 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
163 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
164 am__v_CCLD_0 = @echo "  CCLD    " $@;
165 am__v_CCLD_1 = 
166 SOURCES = $(liboffsets_la_SOURCES) $(nodist_gitestoffsets_SOURCES)
167 DIST_SOURCES = $(liboffsets_la_SOURCES)
168 am__can_run_installinfo = \
169   case $$AM_UPDATE_INFO_DIR in \
170     n|no|NO) false;; \
171     *) (install-info --version) >/dev/null 2>&1;; \
172   esac
173 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
174 # Read a list of newline-separated strings from the standard input,
175 # and print each of them once, without duplicates.  Input order is
176 # *not* preserved.
177 am__uniquify_input = $(AWK) '\
178   BEGIN { nonempty = 0; } \
179   { items[$$0] = 1; nonempty = 1; } \
180   END { if (nonempty) { for (i in items) print i; }; } \
181 '
182 # Make sure the list of sources is unique.  This is necessary because,
183 # e.g., the same source file might be shared among _SOURCES variables
184 # for different programs/libraries.
185 am__define_uniq_tagged_files = \
186   list='$(am__tagged_files)'; \
187   unique=`for i in $$list; do \
188     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
189   done | $(am__uniquify_input)`
190 ETAGS = etags
191 CTAGS = ctags
192 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
193 ACLOCAL = @ACLOCAL@
194 AMTAR = @AMTAR@
195 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
196 AR = @AR@
197 AUTOCONF = @AUTOCONF@
198 AUTOHEADER = @AUTOHEADER@
199 AUTOMAKE = @AUTOMAKE@
200 AWK = @AWK@
201 CAIRO_CFLAGS = @CAIRO_CFLAGS@
202 CAIRO_GIR_PACKAGE = @CAIRO_GIR_PACKAGE@
203 CAIRO_LIBS = @CAIRO_LIBS@
204 CAIRO_SHARED_LIBRARY = @CAIRO_SHARED_LIBRARY@
205 CC = @CC@
206 CCDEPMODE = @CCDEPMODE@
207 CFLAGS = @CFLAGS@
208 CPP = @CPP@
209 CPPFLAGS = @CPPFLAGS@
210 CYGPATH_W = @CYGPATH_W@
211 DEFS = @DEFS@
212 DEPDIR = @DEPDIR@
213 DLLTOOL = @DLLTOOL@
214 DSYMUTIL = @DSYMUTIL@
215 DUMPBIN = @DUMPBIN@
216 ECHO_C = @ECHO_C@
217 ECHO_N = @ECHO_N@
218 ECHO_T = @ECHO_T@
219 EGREP = @EGREP@
220 EXEEXT = @EXEEXT@
221 EXPANDED_BINDIR = @EXPANDED_BINDIR@
222 EXPANDED_DATADIR = @EXPANDED_DATADIR@
223 EXPANDED_LIBDIR = @EXPANDED_LIBDIR@
224 EXPANDED_LIBEXECDIR = @EXPANDED_LIBEXECDIR@
225 EXPANDED_LOCALSTATEDIR = @EXPANDED_LOCALSTATEDIR@
226 EXPANDED_SYSCONFDIR = @EXPANDED_SYSCONFDIR@
227 EXTRA_LINK_FLAGS = @EXTRA_LINK_FLAGS@
228 FFI_CFLAGS = @FFI_CFLAGS@
229 FFI_LIBS = @FFI_LIBS@
230 FFI_PC_CFLAGS = @FFI_PC_CFLAGS@
231 FFI_PC_LIBS = @FFI_PC_LIBS@
232 FFI_PC_PACKAGES = @FFI_PC_PACKAGES@
233 FGREP = @FGREP@
234 GIO_CFLAGS = @GIO_CFLAGS@
235 GIO_LIBS = @GIO_LIBS@
236 GIO_UNIX_CFLAGS = @GIO_UNIX_CFLAGS@
237 GIO_UNIX_LIBS = @GIO_UNIX_LIBS@
238 GIREPO_CFLAGS = @GIREPO_CFLAGS@
239 GIREPO_LIBS = @GIREPO_LIBS@
240 GIR_DIR = @GIR_DIR@
241 GIR_SUFFIX = @GIR_SUFFIX@
242 GLIBSRC = @GLIBSRC@
243 GLIB_CFLAGS = @GLIB_CFLAGS@
244 GLIB_LIBS = @GLIB_LIBS@
245 GMODULE_CFLAGS = @GMODULE_CFLAGS@
246 GMODULE_LIBS = @GMODULE_LIBS@
247 GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
248 GOBJECT_INTROSPECTION_LIBDIR = @GOBJECT_INTROSPECTION_LIBDIR@
249 GOBJECT_LIBS = @GOBJECT_LIBS@
250 GREP = @GREP@
251 GTKDOC_CHECK = @GTKDOC_CHECK@
252 GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
253 GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
254 GTKDOC_MKPDF = @GTKDOC_MKPDF@
255 GTKDOC_REBASE = @GTKDOC_REBASE@
256 HTML_DIR = @HTML_DIR@
257 INSTALL = @INSTALL@
258 INSTALL_DATA = @INSTALL_DATA@
259 INSTALL_PROGRAM = @INSTALL_PROGRAM@
260 INSTALL_SCRIPT = @INSTALL_SCRIPT@
261 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
262 LD = @LD@
263 LDFLAGS = @LDFLAGS@
264 LEX = @LEX@
265 LEXLIB = @LEXLIB@
266 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
267 LIBOBJS = @LIBOBJS@
268 LIBS = @LIBS@
269 LIBTOOL = @LIBTOOL@
270 LIPO = @LIPO@
271 LN_S = @LN_S@
272 LTLIBOBJS = @LTLIBOBJS@
273 MAINT = @MAINT@
274 MAKEINFO = @MAKEINFO@
275 MANIFEST_TOOL = @MANIFEST_TOOL@
276 MKDIR_P = @MKDIR_P@
277 NM = @NM@
278 NMEDIT = @NMEDIT@
279 OBJDUMP = @OBJDUMP@
280 OBJEXT = @OBJEXT@
281 OTOOL = @OTOOL@
282 OTOOL64 = @OTOOL64@
283 PACKAGE = @PACKAGE@
284 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
285 PACKAGE_NAME = @PACKAGE_NAME@
286 PACKAGE_STRING = @PACKAGE_STRING@
287 PACKAGE_TARNAME = @PACKAGE_TARNAME@
288 PACKAGE_URL = @PACKAGE_URL@
289 PACKAGE_VERSION = @PACKAGE_VERSION@
290 PATH_SEPARATOR = @PATH_SEPARATOR@
291 PKG_CONFIG = @PKG_CONFIG@
292 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
293 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
294 POW_LIB = @POW_LIB@
295 PYTHON = @PYTHON@
296 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
297 PYTHON_INCLUDES = @PYTHON_INCLUDES@
298 PYTHON_LIBS = @PYTHON_LIBS@
299 PYTHON_PLATFORM = @PYTHON_PLATFORM@
300 PYTHON_PREFIX = @PYTHON_PREFIX@
301 PYTHON_VERSION = @PYTHON_VERSION@
302 RANLIB = @RANLIB@
303 SCANNER_CFLAGS = @SCANNER_CFLAGS@
304 SCANNER_LIBS = @SCANNER_LIBS@
305 SED = @SED@
306 SET_MAKE = @SET_MAKE@
307 SHELL = @SHELL@
308 STRIP = @STRIP@
309 VERSION = @VERSION@
310 YACC = @YACC@
311 abs_builddir = @abs_builddir@
312 abs_srcdir = @abs_srcdir@
313 abs_top_builddir = @abs_top_builddir@
314 abs_top_srcdir = @abs_top_srcdir@
315 ac_ct_AR = @ac_ct_AR@
316 ac_ct_CC = @ac_ct_CC@
317 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
318 am__include = @am__include@
319 am__leading_dot = @am__leading_dot@
320 am__quote = @am__quote@
321 am__tar = @am__tar@
322 am__untar = @am__untar@
323 bindir = @bindir@
324 build = @build@
325 build_alias = @build_alias@
326 build_cpu = @build_cpu@
327 build_os = @build_os@
328 build_vendor = @build_vendor@
329 builddir = @builddir@
330 datadir = @datadir@
331 datarootdir = @datarootdir@
332 docdir = @docdir@
333 dvidir = @dvidir@
334 exec_prefix = @exec_prefix@
335 host = @host@
336 host_alias = @host_alias@
337 host_cpu = @host_cpu@
338 host_os = @host_os@
339 host_vendor = @host_vendor@
340 htmldir = @htmldir@
341 includedir = @includedir@
342 infodir = @infodir@
343 install_sh = @install_sh@
344 libdir = @libdir@
345 libexecdir = @libexecdir@
346 localedir = @localedir@
347 localstatedir = @localstatedir@
348 mandir = @mandir@
349 mkdir_p = @mkdir_p@
350 oldincludedir = @oldincludedir@
351 pdfdir = @pdfdir@
352 pkgpyexecdir = @pkgpyexecdir@
353 pkgpythondir = @pkgpythondir@
354 prefix = @prefix@
355 program_transform_name = @program_transform_name@
356 psdir = @psdir@
357 pyexecdir = @pyexecdir@
358 pythondir = @pythondir@
359 sbindir = @sbindir@
360 sharedstatedir = @sharedstatedir@
361 srcdir = @srcdir@
362 sysconfdir = @sysconfdir@
363 target_alias = @target_alias@
364 top_build_prefix = @top_build_prefix@
365 top_builddir = @top_builddir@
366 top_srcdir = @top_srcdir@
367 INTROSPECTION_SCANNER = \
368     env PATH=.libs:$(PATH) \
369         LPATH=.libs \
370         CC="$(CC)" \
371         PYTHONPATH=$(top_builddir):$(top_srcdir) \
372         UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \
373         UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) \
374         $(top_builddir)/g-ir-scanner
375
376 INTROSPECTION_SCANNER_ARGS = \
377     --verbose \
378     -I$(top_srcdir) \
379     --add-include-path=$(srcdir) \
380     --add-include-path=$(top_srcdir)/gir \
381     --add-include-path=$(builddir) \
382     --add-include-path=$(top_builddir)
383
384 INTROSPECTION_COMPILER = \
385     env PATH=.libs:$(PATH) \
386         $(top_builddir)/g-ir-compiler$(EXEEXT)
387
388 INTROSPECTION_COMPILER_ARGS = \
389     --includedir=$(srcdir) \
390     --includedir=$(top_srcdir)/gir \
391     --includedir=$(builddir) \
392     --includedir=$(top_builddir)
393
394 INTROSPECTION_DOCTOOL = \
395     env PATH=.libs:$(PATH) \
396         LPATH=.libs \
397         PYTHONPATH=$(top_builddir):$(top_srcdir) \
398         UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \
399         UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) \
400         $(top_builddir)/g-ir-doc-tool
401
402 INTROSPECTION_DOCTOOL_ARGS = \
403     --add-include-path=$(srcdir) \
404     --add-include-path=$(top_srcdir)/gir \
405     --add-include-path=$(builddir) \
406     --add-include-path=$(top_builddir)
407
408
409 # Private functions
410 _gir_name = $(subst /,_,$(subst -,_,$(subst .,_,$(1))))
411
412 # Namespace and Version is either fetched from the gir filename
413 # or the _NAMESPACE/_VERSION variable combo
414 _gir_namespace = $(or $($(_gir_name)_NAMESPACE),$(firstword $(subst -, ,$(notdir $(1)))))
415 _gir_version = $(or $($(_gir_name)_VERSION),$(lastword $(subst -, ,$(1:.gir=))))
416
417 # _PROGRAM is an optional variable which needs it's own --program argument
418 _gir_program = $(if $($(_gir_name)_PROGRAM),--program=$($(_gir_name)_PROGRAM))
419
420 # Variables which provides a list of things
421 _gir_libraries = $(foreach lib,$($(_gir_name)_LIBS),--library=$(lib))
422 _gir_packages = $(foreach pkg,$($(_gir_name)_PACKAGES),--pkg=$(pkg))
423 _gir_includes = $(foreach include,$($(_gir_name)_INCLUDES),--include=$(include))
424 _gir_export_packages = $(foreach pkg,$($(_gir_name)_EXPORT_PACKAGES),--pkg-export=$(pkg))
425
426 # Reuse the LIBTOOL variable from automake if it's set, but
427 # work around MSYS weirdness: When running g-ir-scanner, MSYS changes
428 # a command-line argument --libtool="/bin/sh ../../libtool" into
429 # --libtool=c:/opt/msys/1.0/bin/libtool. So just use sh.exe without path
430 # because we already "know" where the libtool configure produced is.
431 _gir_libtool = $(if $(findstring MINGW32,$(shell uname -s)),--libtool="$(top_builddir)/libtool",$(if $(LIBTOOL),--libtool="$(LIBTOOL)"))
432
433 # Macros for AM_SILENT_RULES prettiness
434 _gir_verbosity = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
435 _gir_silent_scanner_prefix = $(_gir_silent_scanner_prefix_$(V))
436 _gir_silent_scanner_prefix_ = $(_gir_silent_scanner_prefix_$(_gir_verbosity))
437 _gir_silent_scanner_prefix_0 = @echo "  GISCAN $(1)";
438 _gir_silent_scanner_opts = $(_gir_silent_scanner_opts_$(V))
439 _gir_silent_scanner_opts_ = $(_gir_silent_scanner_opts_$(_gir_verbosity))
440 _gir_silent_scanner_opts_0 = --quiet
441 _gir_silent_compiler = $(_gir_silent_compiler_$(V))
442 _gir_silent_compiler_ = $(_gir_silent_compiler_$(_gir_verbosity))
443 _gir_silent_compiler_0 = @echo "  GICOMP $(1)";
444 BUILT_SOURCES = gitestoffsets.c
445 CLEANFILES = Offsets-1.0.gir Offsets-1.0.typelib gitestoffsets.c \
446         offsets.compiled offsets.introspected
447 EXTRA_DIST = gen-gitestoffsets
448 INTROSPECTION_GIRS = Offsets-1.0.gir
449
450 ############################################################
451 check_LTLIBRARIES = liboffsets.la
452 liboffsets_la_SOURCES = \
453         offsets.h       \
454         offsets.c
455
456 liboffsets_la_CPPFLAGS = $(GIREPO_CFLAGS)
457 # dummy rpath to get built dynamically (huh?)
458 liboffsets_la_LDFLAGS = -avoid-version -rpath $(libdir)
459 Offsets_1_0_gir_INCLUDES = GObject-2.0
460 Offsets_1_0_gir_LIBS = liboffsets.la
461 Offsets_1_0_gir_PACKAGES = gobject-2.0
462 Offsets_1_0_gir_FILES = $(srcdir)/offsets.h $(srcdir)/offsets.c
463 Offsets_1_0_gir_SCANNERFLAGS = --warn-all --warn-error
464 nodist_gitestoffsets_SOURCES = gitestoffsets.c
465 gitestoffsets_CPPFLAGS = $(GIREPO_CFLAGS) -I$(top_srcdir)/girepository
466 gitestoffsets_LDADD = $(top_builddir)/libgirepository-1.0.la $(GIREPO_LIBS)
467 all: $(BUILT_SOURCES)
468         $(MAKE) $(AM_MAKEFLAGS) all-am
469
470 .SUFFIXES:
471 .SUFFIXES: .c .lo .o .obj
472 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/common.mk $(top_srcdir)/Makefile.introspection $(am__configure_deps)
473         @for dep in $?; do \
474           case '$(am__configure_deps)' in \
475             *$$dep*) \
476               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
477                 && { if test -f $@; then exit 0; else break; fi; }; \
478               exit 1;; \
479           esac; \
480         done; \
481         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/offsets/Makefile'; \
482         $(am__cd) $(top_srcdir) && \
483           $(AUTOMAKE) --foreign tests/offsets/Makefile
484 .PRECIOUS: Makefile
485 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
486         @case '$?' in \
487           *config.status*) \
488             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
489           *) \
490             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
491             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
492         esac;
493 $(top_srcdir)/common.mk $(top_srcdir)/Makefile.introspection:
494
495 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
496         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
497
498 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
499         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
500 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
501         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
502 $(am__aclocal_m4_deps):
503
504 clean-checkLTLIBRARIES:
505         -test -z "$(check_LTLIBRARIES)" || rm -f $(check_LTLIBRARIES)
506         @list='$(check_LTLIBRARIES)'; \
507         locs=`for p in $$list; do echo $$p; done | \
508               sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
509               sort -u`; \
510         test -z "$$locs" || { \
511           echo rm -f $${locs}; \
512           rm -f $${locs}; \
513         }
514 liboffsets.la: $(liboffsets_la_OBJECTS) $(liboffsets_la_DEPENDENCIES) $(EXTRA_liboffsets_la_DEPENDENCIES) 
515         $(AM_V_CCLD)$(liboffsets_la_LINK)  $(liboffsets_la_OBJECTS) $(liboffsets_la_LIBADD) $(LIBS)
516
517 clean-checkPROGRAMS:
518         @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
519         echo " rm -f" $$list; \
520         rm -f $$list || exit $$?; \
521         test -n "$(EXEEXT)" || exit 0; \
522         list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
523         echo " rm -f" $$list; \
524         rm -f $$list
525 gitestoffsets$(EXEEXT): $(gitestoffsets_OBJECTS) $(gitestoffsets_DEPENDENCIES) $(EXTRA_gitestoffsets_DEPENDENCIES) 
526         @rm -f gitestoffsets$(EXEEXT)
527         $(AM_V_CCLD)$(LINK) $(gitestoffsets_OBJECTS) $(gitestoffsets_LDADD) $(LIBS)
528
529 mostlyclean-compile:
530         -rm -f *.$(OBJEXT)
531
532 distclean-compile:
533         -rm -f *.tab.c
534
535 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gitestoffsets-gitestoffsets.Po@am__quote@
536 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/liboffsets_la-offsets.Plo@am__quote@
537
538 .c.o:
539 @am__fastdepCC_TRUE@    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
540 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
541 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
542 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
543 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
544
545 .c.obj:
546 @am__fastdepCC_TRUE@    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
547 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
548 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
549 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
550 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
551
552 .c.lo:
553 @am__fastdepCC_TRUE@    $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
554 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
555 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
556 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
557 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
558
559 liboffsets_la-offsets.lo: offsets.c
560 @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
561 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/liboffsets_la-offsets.Tpo $(DEPDIR)/liboffsets_la-offsets.Plo
562 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='offsets.c' object='liboffsets_la-offsets.lo' libtool=yes @AMDEPBACKSLASH@
563 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
564 @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
565
566 gitestoffsets-gitestoffsets.o: gitestoffsets.c
567 @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
568 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/gitestoffsets-gitestoffsets.Tpo $(DEPDIR)/gitestoffsets-gitestoffsets.Po
569 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='gitestoffsets.c' object='gitestoffsets-gitestoffsets.o' libtool=no @AMDEPBACKSLASH@
570 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
571 @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
572
573 gitestoffsets-gitestoffsets.obj: gitestoffsets.c
574 @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`
575 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/gitestoffsets-gitestoffsets.Tpo $(DEPDIR)/gitestoffsets-gitestoffsets.Po
576 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='gitestoffsets.c' object='gitestoffsets-gitestoffsets.obj' libtool=no @AMDEPBACKSLASH@
577 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
578 @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`
579
580 mostlyclean-libtool:
581         -rm -f *.lo
582
583 clean-libtool:
584         -rm -rf .libs _libs
585
586 ID: $(am__tagged_files)
587         $(am__define_uniq_tagged_files); mkid -fID $$unique
588 tags: tags-am
589 TAGS: tags
590
591 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
592         set x; \
593         here=`pwd`; \
594         $(am__define_uniq_tagged_files); \
595         shift; \
596         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
597           test -n "$$unique" || unique=$$empty_fix; \
598           if test $$# -gt 0; then \
599             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
600               "$$@" $$unique; \
601           else \
602             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
603               $$unique; \
604           fi; \
605         fi
606 ctags: ctags-am
607
608 CTAGS: ctags
609 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
610         $(am__define_uniq_tagged_files); \
611         test -z "$(CTAGS_ARGS)$$unique" \
612           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
613              $$unique
614
615 GTAGS:
616         here=`$(am__cd) $(top_builddir) && pwd` \
617           && $(am__cd) $(top_srcdir) \
618           && gtags -i $(GTAGS_ARGS) "$$here"
619 cscopelist: cscopelist-am
620
621 cscopelist-am: $(am__tagged_files)
622         list='$(am__tagged_files)'; \
623         case "$(srcdir)" in \
624           [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
625           *) sdir=$(subdir)/$(srcdir) ;; \
626         esac; \
627         for i in $$list; do \
628           if test -f "$$i"; then \
629             echo "$(subdir)/$$i"; \
630           else \
631             echo "$$sdir/$$i"; \
632           fi; \
633         done >> $(top_builddir)/cscope.files
634
635 distclean-tags:
636         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
637
638 distdir: $(DISTFILES)
639         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
640         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
641         list='$(DISTFILES)'; \
642           dist_files=`for file in $$list; do echo $$file; done | \
643           sed -e "s|^$$srcdirstrip/||;t" \
644               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
645         case $$dist_files in \
646           */*) $(MKDIR_P) `echo "$$dist_files" | \
647                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
648                            sort -u` ;; \
649         esac; \
650         for file in $$dist_files; do \
651           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
652           if test -d $$d/$$file; then \
653             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
654             if test -d "$(distdir)/$$file"; then \
655               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
656             fi; \
657             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
658               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
659               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
660             fi; \
661             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
662           else \
663             test -f "$(distdir)/$$file" \
664             || cp -p $$d/$$file "$(distdir)/$$file" \
665             || exit 1; \
666           fi; \
667         done
668 check-am: all-am
669         $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES) $(check_PROGRAMS)
670         $(MAKE) $(AM_MAKEFLAGS) check-local
671 check: $(BUILT_SOURCES)
672         $(MAKE) $(AM_MAKEFLAGS) check-am
673 all-am: Makefile
674 installdirs:
675 install: $(BUILT_SOURCES)
676         $(MAKE) $(AM_MAKEFLAGS) install-am
677 install-exec: install-exec-am
678 install-data: install-data-am
679 uninstall: uninstall-am
680
681 install-am: all-am
682         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
683
684 installcheck: installcheck-am
685 install-strip:
686         if test -z '$(STRIP)'; then \
687           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
688             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
689               install; \
690         else \
691           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
692             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
693             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
694         fi
695 mostlyclean-generic:
696
697 clean-generic:
698         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
699
700 distclean-generic:
701         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
702         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
703
704 maintainer-clean-generic:
705         @echo "This command is intended for maintainers to use"
706         @echo "it deletes files that may require special tools to rebuild."
707         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
708 clean: clean-am
709
710 clean-am: clean-checkLTLIBRARIES clean-checkPROGRAMS clean-generic \
711         clean-libtool mostlyclean-am
712
713 distclean: distclean-am
714         -rm -rf ./$(DEPDIR)
715         -rm -f Makefile
716 distclean-am: clean-am distclean-compile distclean-generic \
717         distclean-tags
718
719 dvi: dvi-am
720
721 dvi-am:
722
723 html: html-am
724
725 html-am:
726
727 info: info-am
728
729 info-am:
730
731 install-data-am:
732
733 install-dvi: install-dvi-am
734
735 install-dvi-am:
736
737 install-exec-am:
738
739 install-html: install-html-am
740
741 install-html-am:
742
743 install-info: install-info-am
744
745 install-info-am:
746
747 install-man:
748
749 install-pdf: install-pdf-am
750
751 install-pdf-am:
752
753 install-ps: install-ps-am
754
755 install-ps-am:
756
757 installcheck-am:
758
759 maintainer-clean: maintainer-clean-am
760         -rm -rf ./$(DEPDIR)
761         -rm -f Makefile
762 maintainer-clean-am: distclean-am maintainer-clean-generic
763
764 mostlyclean: mostlyclean-am
765
766 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
767         mostlyclean-libtool
768
769 pdf: pdf-am
770
771 pdf-am:
772
773 ps: ps-am
774
775 ps-am:
776
777 uninstall-am:
778
779 .MAKE: all check check-am install install-am install-strip
780
781 .PHONY: CTAGS GTAGS TAGS all all-am check check-am check-local clean \
782         clean-checkLTLIBRARIES clean-checkPROGRAMS clean-generic \
783         clean-libtool cscopelist-am ctags ctags-am distclean \
784         distclean-compile distclean-generic distclean-libtool \
785         distclean-tags distdir dvi dvi-am html html-am info info-am \
786         install install-am install-data install-data-am install-dvi \
787         install-dvi-am install-exec install-exec-am install-html \
788         install-html-am install-info install-info-am install-man \
789         install-pdf install-pdf-am install-ps install-ps-am \
790         install-strip installcheck installcheck-am installdirs \
791         maintainer-clean maintainer-clean-generic mostlyclean \
792         mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
793         pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am
794
795
796 # Make sure the required variables are set, these should under normal
797 # circumstances come from introspection.m4
798 $(if $(INTROSPECTION_SCANNER),,$(error Need to define INTROSPECTION_SCANNER))
799 $(if $(INTROSPECTION_COMPILER),,$(error Need to define INTROSPECTION_COMPILER))
800
801 #
802 # Creates a GIR by scanning C headers/sources
803 # $(1) - Name of the gir file (output)
804 #
805 # If output is Gtk-2.0.gir then you should name the variables like
806 # Gtk_2_0_gir_NAMESPACE, Gtk_2_0_gir_VERSION etc.
807 # Required variables:
808 # FILES - C sources and headers which should be scanned
809 #
810 # One of these variables are required:
811 # LIBS - Library where the symbol represented in the gir can be found
812 # PROGRAM - Program where the symbol represented in the gir can be found
813 #
814 # Optional variables
815 # NAMESPACE - Namespace of the gir, first letter capital,
816 #   rest should be lower case, for instance: 'Gtk', 'Clutter', 'ClutterGtk'.
817 #   If not present the namespace will be fetched from the gir filename,
818 #   the part before the first dash. For 'Gtk-2.0', namespace will be 'Gtk'.
819 # VERSION - Version of the gir, if not present, will be fetched from gir
820 # filename, the part after the first dash. For 'Gtk-2.0', version will be '2.0'.
821 # LIBTOOL - Command to invoke libtool, usually set by automake
822 # SCANNERFLAGS - Flags to pass in to the scanner, see g-ir-scanner(1) for a list
823 # CFLAGS - Flags to pass in to the parser when scanning headers
824 # LDFLAGS - Linker flags used by the scanner
825 # PACKAGES - list of pkg-config names which cflags are required to parse
826 #   the headers of this gir
827 # INCLUDES - Gir files to include without the .gir suffix, for instance
828 #   GLib-2.0, Gtk-2.0. This is needed for all libraries which you depend on that
829 #   provides introspection information.
830 # EXPORT_PACKAGES - list of pkg-config names that are provided by this gir.
831 #   By default the names in the PACKAGES variable will be used.
832 #
833
834 define introspection-scanner
835
836 # Basic sanity check, to make sure required variables are set
837 $(if $($(_gir_name)_FILES),,$(error Need to define $(_gir_name)_FILES))
838 $(if $(or $(findstring --header-only,$($(_gir_name)_SCANNERFLAGS)),
839           $($(_gir_name)_LIBS),
840           $($(_gir_name)_PROGRAM)),,
841     $(error Need to define $(_gir_name)_LIBS or $(_gir_name)_PROGRAM))
842
843 # Only dependencies we know are actually filenames goes into _FILES, make
844 # sure these are built before running the scanner. Libraries and programs
845 # needs to be added manually.
846 $(1): $$($(_gir_name)_FILES)
847         @ $(MKDIR_P) $(dir $(1))
848         $(_gir_silent_scanner_prefix) $(INTROSPECTION_SCANNER_ENV) $(INTROSPECTION_SCANNER) $(_gir_silent_scanner_opts) \
849         $(INTROSPECTION_SCANNER_ARGS) \
850           --namespace=$(_gir_namespace) \
851           --nsversion=$(_gir_version) \
852           $(_gir_libtool) \
853           $(_gir_packages) \
854           $(_gir_includes) \
855           $(_gir_export_packages) \
856           $(_gir_program) \
857           $(_gir_libraries) \
858           $($(_gir_name)_SCANNERFLAGS) \
859           --cflags-begin \
860           $($(_gir_name)_CFLAGS) \
861           --cflags-end \
862           $($(_gir_name)_LDFLAGS) \
863           $$^ \
864           --output $(1)
865 endef
866
867 $(foreach gir,$(INTROSPECTION_GIRS),$(eval $(call introspection-scanner,$(gir))))
868
869 #
870 # Compiles a gir into a typelib
871 # $(1): gir filename (input)
872 # $(2): typelib filename (output)
873 #
874 define introspection-compiler
875 $(_gir_silent_compiler) $(INTROSPECTION_COMPILER) $(INTROSPECTION_COMPILER_ARGS) --includedir=. $(1) -o $(2)
876 endef
877
878 # Simple rule to compile a typelib.
879 %.typelib: %.gir
880         $(call introspection-compiler,$<,$@)
881
882 Offsets-1.0.gir: liboffsets.la offsets.h
883
884 gitestoffsets.c: gen-gitestoffsets offsets.h
885         $(AM_V_GEN) $(PYTHON) $(srcdir)/gen-gitestoffsets $(srcdir)/offsets.h > $@ || ( rm -f $@ && false )
886
887 ############################################################
888
889 check-local: Offsets-1.0.typelib
890         GI_TYPELIB_PATH=:$(top_builddir) ./gitestoffsets$(EXEEXT) offsets.compiled offsets.introspected
891         diff -u offsets.compiled offsets.introspected
892
893 # Tell versions [3.59,3.63) of GNU make to not export all variables.
894 # Otherwise a system limit (for SysV at least) may be exceeded.
895 .NOEXPORT: