1 # Makefile.in generated by automake 1.13.1 from Makefile.am.
4 # Copyright (C) 1994-2012 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 # Copyright 2009-2010 Johan Dahlin
20 # This file defines variables that are compatible with
21 # Makefile.introspection, but for use within the gobject-introspection
26 # Copyright 2009-2010 Johan Dahlin
28 # This file is free software; the author(s) gives unlimited
29 # permission to copy and/or distribute it, with or without
30 # modifications, as long as this notice is preserved.
34 # INTROSPECTION_GIRS - List of GIRS that should be generated
35 # INTROSPECTION_SCANNER - Command to invoke scanner, normally set by
36 # GOBJECT_INTROSPECTION_REQUIRE/CHECK() in introspection.m4
37 # INTROSPECTION_SCANNER_ARGS - Additional args to pass in to the scanner
38 # INTROSPECTION_SCANNER_ENV - Environment variables to set before running
40 # INTROSPECTION_COMPILER - Command to invoke compiler, normally set by
41 # GOBJECT_INTROSPECTION_REQUIRE/CHECK() in introspection.m4
42 # INTROSPECTION_COMPILER_ARGS - Additional args to pass in to the compiler
46 # Add this to configure.ac:
47 # -Wno-portability to AM_INIT_AUTOMAKE
48 # GOBJECT_INTROSPECTION_CHECK([0.6.7])
50 # Add this to Makefile.am where your library/program is built:
51 # include $(INTROSPECTION_MAKEFILE)
52 # INTROSPECTION_GIRS = YourLib-1.0.gir
53 # YourLib-1.0.gir: libyourlib.la
54 # YourLib_1_0_gir_NAMESPACE = YourLib
55 # YourLib_1_0_gir_VERSION = 1.0
56 # YourLib_1_0_gir_LIBS = libyourlib.la
57 # YourLib_1_0_gir_FILES = $(libyourlib_1_0_SOURCES)
58 # girdir = $(datadir)/gir-1.0
59 # dist_gir_DATA = YourLib-1.0.gir
60 # typelibdir = $(libdir)/girepository-1.0
61 # typelib_DATA = YourLib-1.0.typelib
62 # CLEANFILES = $(dist_gir_DATA) $(typelib_DATA)
70 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
71 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
73 for am__flg in $$MAKEFLAGS; do \
76 *n*) am__dry=yes; break;; \
80 test $$am__dry = yes; \
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)
98 build_triplet = @build@
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) \
113 mkinstalldirs = $(install_sh) -d
114 CONFIG_HEADER = $(top_builddir)/config.h
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
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)
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@)
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 " $@;
140 AM_V_at = $(am__v_at_@AM_V@)
141 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
144 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
145 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
146 am__depfiles_maybe = depfiles
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 " $@;
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 " $@;
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 \
171 *) (install-info --version) >/dev/null 2>&1;; \
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
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; }; } \
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)`
192 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
195 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
197 AUTOCONF = @AUTOCONF@
198 AUTOHEADER = @AUTOHEADER@
199 AUTOMAKE = @AUTOMAKE@
201 CAIRO_CFLAGS = @CAIRO_CFLAGS@
202 CAIRO_GIR_PACKAGE = @CAIRO_GIR_PACKAGE@
203 CAIRO_LIBS = @CAIRO_LIBS@
204 CAIRO_SHARED_LIBRARY = @CAIRO_SHARED_LIBRARY@
206 CCDEPMODE = @CCDEPMODE@
209 CPPFLAGS = @CPPFLAGS@
210 CYGPATH_W = @CYGPATH_W@
214 DSYMUTIL = @DSYMUTIL@
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@
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@
241 GIR_SUFFIX = @GIR_SUFFIX@
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@
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@
258 INSTALL_DATA = @INSTALL_DATA@
259 INSTALL_PROGRAM = @INSTALL_PROGRAM@
260 INSTALL_SCRIPT = @INSTALL_SCRIPT@
261 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
266 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
272 LTLIBOBJS = @LTLIBOBJS@
274 MAKEINFO = @MAKEINFO@
275 MANIFEST_TOOL = @MANIFEST_TOOL@
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@
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@
303 SCANNER_CFLAGS = @SCANNER_CFLAGS@
304 SCANNER_LIBS = @SCANNER_LIBS@
306 SET_MAKE = @SET_MAKE@
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@
322 am__untar = @am__untar@
325 build_alias = @build_alias@
326 build_cpu = @build_cpu@
327 build_os = @build_os@
328 build_vendor = @build_vendor@
329 builddir = @builddir@
331 datarootdir = @datarootdir@
334 exec_prefix = @exec_prefix@
336 host_alias = @host_alias@
337 host_cpu = @host_cpu@
339 host_vendor = @host_vendor@
341 includedir = @includedir@
343 install_sh = @install_sh@
345 libexecdir = @libexecdir@
346 localedir = @localedir@
347 localstatedir = @localstatedir@
350 oldincludedir = @oldincludedir@
352 pkgpyexecdir = @pkgpyexecdir@
353 pkgpythondir = @pkgpythondir@
355 program_transform_name = @program_transform_name@
357 pyexecdir = @pyexecdir@
358 pythondir = @pythondir@
360 sharedstatedir = @sharedstatedir@
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) \
371 PYTHONPATH=$(top_builddir):$(top_srcdir) \
372 UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \
373 UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) \
374 $(top_builddir)/g-ir-scanner
376 INTROSPECTION_SCANNER_ARGS = \
379 --add-include-path=$(srcdir) \
380 --add-include-path=$(top_srcdir)/gir \
381 --add-include-path=$(builddir) \
382 --add-include-path=$(top_builddir)
384 INTROSPECTION_COMPILER = \
385 env PATH=.libs:$(PATH) \
386 $(top_builddir)/g-ir-compiler$(EXEEXT)
388 INTROSPECTION_COMPILER_ARGS = \
389 --includedir=$(srcdir) \
390 --includedir=$(top_srcdir)/gir \
391 --includedir=$(builddir) \
392 --includedir=$(top_builddir)
394 INTROSPECTION_DOCTOOL = \
395 env PATH=.libs:$(PATH) \
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
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)
410 _gir_name = $(subst /,_,$(subst -,_,$(subst .,_,$(1))))
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=))))
417 # _PROGRAM is an optional variable which needs it's own --program argument
418 _gir_program = $(if $($(_gir_name)_PROGRAM),--program=$($(_gir_name)_PROGRAM))
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))
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)"))
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
450 ############################################################
451 check_LTLIBRARIES = liboffsets.la
452 liboffsets_la_SOURCES = \
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
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)
474 case '$(am__configure_deps)' in \
476 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
477 && { if test -f $@; then exit 0; else break; fi; }; \
481 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/offsets/Makefile'; \
482 $(am__cd) $(top_srcdir) && \
483 $(AUTOMAKE) --foreign tests/offsets/Makefile
485 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
488 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
490 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
491 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
493 $(top_srcdir)/common.mk $(top_srcdir)/Makefile.introspection:
495 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
496 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
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):
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|' | \
510 test -z "$$locs" || { \
511 echo rm -f $${locs}; \
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)
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; \
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)
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@
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 $<
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) '$<'`
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 $@ $<
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
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
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`
586 ID: $(am__tagged_files)
587 $(am__define_uniq_tagged_files); mkid -fID $$unique
591 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
594 $(am__define_uniq_tagged_files); \
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) \
602 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
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) \
616 here=`$(am__cd) $(top_builddir) && pwd` \
617 && $(am__cd) $(top_srcdir) \
618 && gtags -i $(GTAGS_ARGS) "$$here"
619 cscopelist: cscopelist-am
621 cscopelist-am: $(am__tagged_files)
622 list='$(am__tagged_files)'; \
623 case "$(srcdir)" in \
624 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
625 *) sdir=$(subdir)/$(srcdir) ;; \
627 for i in $$list; do \
628 if test -f "$$i"; then \
629 echo "$(subdir)/$$i"; \
633 done >> $(top_builddir)/cscope.files
636 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
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,/[^/]*$$,,' | \
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 {} \;; \
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 {} \;; \
661 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
663 test -f "$(distdir)/$$file" \
664 || cp -p $$d/$$file "$(distdir)/$$file" \
669 $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES) $(check_PROGRAMS)
670 $(MAKE) $(AM_MAKEFLAGS) check-local
671 check: $(BUILT_SOURCES)
672 $(MAKE) $(AM_MAKEFLAGS) check-am
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
682 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
684 installcheck: installcheck-am
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 \
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; \
698 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
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)
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)
710 clean-am: clean-checkLTLIBRARIES clean-checkPROGRAMS clean-generic \
711 clean-libtool mostlyclean-am
713 distclean: distclean-am
716 distclean-am: clean-am distclean-compile distclean-generic \
733 install-dvi: install-dvi-am
739 install-html: install-html-am
743 install-info: install-info-am
749 install-pdf: install-pdf-am
753 install-ps: install-ps-am
759 maintainer-clean: maintainer-clean-am
762 maintainer-clean-am: distclean-am maintainer-clean-generic
764 mostlyclean: mostlyclean-am
766 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
779 .MAKE: all check check-am install install-am install-strip
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
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))
802 # Creates a GIR by scanning C headers/sources
803 # $(1) - Name of the gir file (output)
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
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
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.
834 define introspection-scanner
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))
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) \
855 $(_gir_export_packages) \
858 $($(_gir_name)_SCANNERFLAGS) \
860 $($(_gir_name)_CFLAGS) \
862 $($(_gir_name)_LDFLAGS) \
867 $(foreach gir,$(INTROSPECTION_GIRS),$(eval $(call introspection-scanner,$(gir))))
870 # Compiles a gir into a typelib
871 # $(1): gir filename (input)
872 # $(2): typelib filename (output)
874 define introspection-compiler
875 $(_gir_silent_compiler) $(INTROSPECTION_COMPILER) $(INTROSPECTION_COMPILER_ARGS) --includedir=. $(1) -o $(2)
878 # Simple rule to compile a typelib.
880 $(call introspection-compiler,$<,$@)
882 Offsets-1.0.gir: liboffsets.la offsets.h
884 gitestoffsets.c: gen-gitestoffsets offsets.h
885 $(AM_V_GEN) $(PYTHON) $(srcdir)/gen-gitestoffsets $(srcdir)/offsets.h > $@ || ( rm -f $@ && false )
887 ############################################################
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
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.