diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-29 10:06:13 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-29 10:06:16 +0900 |
commit | 62bc0b42f11c530aaae6b6079df426cb0b9513c6 (patch) | |
tree | 233d6633a88174dd66ba27a0e4b676ceffdb466f /gobject | |
parent | 266ddefe85a96e1c0fe3d9ecf0be60321a2a9621 (diff) | |
download | glib-62bc0b42f11c530aaae6b6079df426cb0b9513c6.tar.gz glib-62bc0b42f11c530aaae6b6079df426cb0b9513c6.tar.bz2 glib-62bc0b42f11c530aaae6b6079df426cb0b9513c6.zip |
Imported Upstream version 2.53.1
Change-Id: Ib0e6300c6063e8d638e99eb22b58ddebf7768e79
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'gobject')
-rw-r--r-- | gobject/.gitignore | 9 | ||||
-rw-r--r-- | gobject/Makefile.in | 2376 | ||||
-rw-r--r-- | gobject/gbinding.c | 2 | ||||
-rw-r--r-- | gobject/gboxed.c | 6 | ||||
-rw-r--r-- | gobject/genums.c | 127 | ||||
-rw-r--r-- | gobject/genums.h | 6 | ||||
-rw-r--r-- | gobject/gmarshal.strings | 22 | ||||
-rw-r--r-- | gobject/gobject.c | 419 | ||||
-rw-r--r-- | gobject/gobject.h | 17 | ||||
-rw-r--r-- | gobject/gobject.rc | 30 | ||||
-rw-r--r-- | gobject/gparam.h | 2 | ||||
-rw-r--r-- | gobject/gvaluetransform.c | 18 | ||||
-rw-r--r-- | gobject/makefile.msc | 83 | ||||
-rw-r--r-- | gobject/tests/.gitignore | 18 | ||||
-rw-r--r-- | gobject/tests/Makefile.in | 1743 | ||||
-rw-r--r-- | gobject/tests/binding.c | 4 | ||||
-rw-r--r-- | gobject/tests/dynamictests.c | 2 | ||||
-rw-r--r-- | gobject/tests/enums.c | 44 | ||||
-rw-r--r-- | gobject/tests/param.c | 6 | ||||
-rw-r--r-- | gobject/tests/properties.c | 242 | ||||
-rw-r--r-- | gobject/tests/threadtests.c | 23 |
21 files changed, 764 insertions, 4435 deletions
diff --git a/gobject/.gitignore b/gobject/.gitignore new file mode 100644 index 000000000..6ecf1fbfe --- /dev/null +++ b/gobject/.gitignore @@ -0,0 +1,9 @@ +glib-genmarshal +glib-mkenums +gmarshal.strings +gobject-query +testgobject +libgobject-gdb.py +makefile.msc +gobject_probes.h +gobject-public-headers.txt diff --git a/gobject/Makefile.in b/gobject/Makefile.in deleted file mode 100644 index a680ca73b..000000000 --- a/gobject/Makefile.in +++ /dev/null @@ -1,2376 +0,0 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994-2014 Free Software Foundation, Inc. - -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# GLIB - Library of useful C routines - -# Author: Fan, Chun-wei -# Common Autotools file used to generate Visual Studio 2008+ -# Projects from their templates - -# This autotools file, from GLib, can be used in other projects -# that have Visual Studio build support. - -# * Input variables: -# -# MSVCPROJS - List of Projects that should be generated -# -# * Simple tutorial -# -# Add this to Makefile.am where your library/program is built: -# include <this Makefile.msvcproj> -# MSVCPROJS = YourProject (can be multiple projects in a single srcdir) -# YourProject_FILES = $(libyourlib_1_0_SOURCES) -# YourProject_EXCLUDES = ... # list of sources to exclude, separated by '|', wildcards allowed; use random unsed value if none -# (the following 3 lines if headers need to be installed) -# YourProject_HEADERS_DIR = $(libyourlibincludedir) -# YourProject_HEADERS_INST = $(libyourlib_1_0_HEADERS) -# YourProject_HEADERS_EXCLUDES = ... # <list of headers to exclude from installation, separated by '|', wildcards allowed; use random unsed value if none> -# -# dist-hook: \ # (or add to it if it is already there, note the vs9 items will also call the vs10 items in the process) -# $(top_builddir)/win32/vs9/YourProject.vcproj \ -# $(top_builddir)/win32/vs9/YourProject.headers # if headers need to be installed -# -# --or, if Visual Studio 2013 or later is required-- -# dist-hook: \ # (or add to it if it is already there, this does -not- call other vs items in the process) -# $(top_builddir)/win32/vs12/YourProject.vcxproj \ -# $(top_builddir)/win32/vs12/YourProject.vs12.headers # if headers need to be installed - -# Private functions - - - - - -VPATH = @srcdir@ -am__is_gnu_make = { \ - if test -z '$(MAKELEVEL)'; then \ - false; \ - elif test -n '$(MAKE_HOST)'; then \ - true; \ - elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ - true; \ - else \ - false; \ - fi; \ -} -am__make_running_with_option = \ - case $${target_option-} in \ - ?) ;; \ - *) echo "am__make_running_with_option: internal error: invalid" \ - "target option '$${target_option-}' specified" >&2; \ - exit 1;; \ - esac; \ - has_opt=no; \ - sane_makeflags=$$MAKEFLAGS; \ - if $(am__is_gnu_make); then \ - sane_makeflags=$$MFLAGS; \ - else \ - case $$MAKEFLAGS in \ - *\\[\ \ ]*) \ - bs=\\; \ - sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ - | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ - esac; \ - fi; \ - skip_next=no; \ - strip_trailopt () \ - { \ - flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ - }; \ - for flg in $$sane_makeflags; do \ - test $$skip_next = yes && { skip_next=no; continue; }; \ - case $$flg in \ - *=*|--*) continue;; \ - -*I) strip_trailopt 'I'; skip_next=yes;; \ - -*I?*) strip_trailopt 'I';; \ - -*O) strip_trailopt 'O'; skip_next=yes;; \ - -*O?*) strip_trailopt 'O';; \ - -*l) strip_trailopt 'l'; skip_next=yes;; \ - -*l?*) strip_trailopt 'l';; \ - -[dEDm]) skip_next=yes;; \ - -[JT]) skip_next=yes;; \ - esac; \ - case $$flg in \ - *$$target_option*) has_opt=yes; break;; \ - esac; \ - done; \ - test $$has_opt = yes -am__make_dryrun = (target_option=n; $(am__make_running_with_option)) -am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -installed_test_PROGRAMS = $(am__EXEEXT_1) -noinst_PROGRAMS = $(am__EXEEXT_3) -check_PROGRAMS = $(am__EXEEXT_2) -TESTS = $(am__EXEEXT_1) -@OS_WIN32_TRUE@am__append_1 = $(test_programs) $(test_scripts) $(uninstalled_test_programs) $(uninstalled_test_scripts) \ -@OS_WIN32_TRUE@ $(dist_test_scripts) $(dist_uninstalled_test_scripts) - -@ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__append_2 = $(all_test_ltlibs) -@ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__append_3 = $(all_test_programs) -@ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__append_4 = $(all_test_scripts) -@ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__append_5 = $(all_test_data) -@ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__append_6 = $(all_test_ltlibs) -@ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__append_7 = $(all_test_programs) -@ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__append_8 = $(all_test_scripts) -@ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__append_9 = $(all_test_data) -@ENABLE_INSTALLED_TESTS_TRUE@am__append_10 = $(test_programs) $(installed_test_programs) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(test_extra_programs) $(installed_test_extra_programs) - -@ENABLE_INSTALLED_TESTS_TRUE@am__append_11 = $(test_scripts) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(installed_test_scripts) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(test_extra_scripts) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(test_installed_extra_scripts) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_test_scripts) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_test_extra_scripts) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_installed_test_scripts) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_installed_test_extra_scripts) -@ENABLE_INSTALLED_TESTS_TRUE@am__append_12 = $(test_data) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(installed_test_data) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_test_data) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_installed_test_data) -@ENABLE_INSTALLED_TESTS_TRUE@am__append_13 = $(test_ltlibraries) $(installed_test_ltlibraries) -@ENABLE_INSTALLED_TESTS_TRUE@am__append_14 = $(installed_test_meta_DATA) -@MS_LIB_AVAILABLE_TRUE@@OS_WIN32_AND_DLL_COMPILATION_TRUE@am__append_15 = gobject-2.0.lib -@ENABLE_DTRACE_TRUE@am__append_16 = gobject_probes.h gobject_probes.lo -@ENABLE_DTRACE_TRUE@am__append_17 = gobject_probes.h -@ENABLE_DTRACE_TRUE@am__append_18 = gobject_probes.lo -@ENABLE_SYSTEMTAP_TRUE@am__append_19 = $(tapset_DATA) -bin_PROGRAMS = gobject-query$(EXEEXT) glib-genmarshal$(EXEEXT) -subdir = gobject -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4macros/attributes.m4 \ - $(top_srcdir)/m4macros/glibtests.m4 \ - $(top_srcdir)/m4macros/gtk-doc.m4 \ - $(top_srcdir)/m4macros/libtool.m4 \ - $(top_srcdir)/m4macros/ltoptions.m4 \ - $(top_srcdir)/m4macros/ltsugar.m4 \ - $(top_srcdir)/m4macros/ltversion.m4 \ - $(top_srcdir)/m4macros/lt~obsolete.m4 \ - $(top_srcdir)/acinclude.m4 $(top_srcdir)/acglib.m4 \ - $(top_srcdir)/glib/libcharset/codeset.m4 \ - $(top_srcdir)/glib/libcharset/glibc21.m4 \ - $(top_srcdir)/m4macros/glib-gettext.m4 \ - $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -DIST_COMMON = $(srcdir)/Makefile.am $(dist_gdb_DATA) \ - $(libgobjectinclude_HEADERS) $(am__DIST_COMMON) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = glib-mkenums makefile.msc gobject.rc -CONFIG_CLEAN_VPATH_FILES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__uninstall_files_from_dir = { \ - test -z "$$files" \ - || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ - || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ - $(am__cd) "$$dir" && rm -f $$files; }; \ - } -am__installdirs = "$(DESTDIR)$(installed_testdir)" \ - "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \ - "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(bindir)" \ - "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(gdbdir)" \ - "$(DESTDIR)$(installed_test_metadir)" \ - "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(tapsetdir)" \ - "$(DESTDIR)$(libgobjectincludedir)" -LTLIBRARIES = $(installed_test_LTLIBRARIES) $(lib_LTLIBRARIES) \ - $(noinst_LTLIBRARIES) -am__DEPENDENCIES_1 = -am__objects_1 = libgobject_2_0_la-gatomicarray.lo \ - libgobject_2_0_la-gbinding.lo libgobject_2_0_la-gboxed.lo \ - libgobject_2_0_la-gclosure.lo libgobject_2_0_la-genums.lo \ - libgobject_2_0_la-gmarshal.lo libgobject_2_0_la-gobject.lo \ - libgobject_2_0_la-gparam.lo libgobject_2_0_la-gparamspecs.lo \ - libgobject_2_0_la-gsignal.lo \ - libgobject_2_0_la-gsourceclosure.lo libgobject_2_0_la-gtype.lo \ - libgobject_2_0_la-gtypemodule.lo \ - libgobject_2_0_la-gtypeplugin.lo libgobject_2_0_la-gvalue.lo \ - libgobject_2_0_la-gvaluearray.lo \ - libgobject_2_0_la-gvaluetransform.lo \ - libgobject_2_0_la-gvaluetypes.lo -am__objects_2 = $(am__objects_1) -am_libgobject_2_0_la_OBJECTS = $(am__objects_2) -libgobject_2_0_la_OBJECTS = $(am_libgobject_2_0_la_OBJECTS) -AM_V_lt = $(am__v_lt_@AM_V@) -am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) -am__v_lt_0 = --silent -am__v_lt_1 = -libgobject_2_0_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ - $(libgobject_2_0_la_CFLAGS) $(CFLAGS) \ - $(libgobject_2_0_la_LDFLAGS) $(LDFLAGS) -o $@ -am__EXEEXT_1 = -@ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__EXEEXT_2 = $(am__EXEEXT_1) -@ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__EXEEXT_3 = $(am__EXEEXT_1) -PROGRAMS = $(bin_PROGRAMS) $(installed_test_PROGRAMS) \ - $(noinst_PROGRAMS) -am_glib_genmarshal_OBJECTS = glib-genmarshal.$(OBJEXT) -glib_genmarshal_OBJECTS = $(am_glib_genmarshal_OBJECTS) -glib_genmarshal_DEPENDENCIES = $(libglib) -am_gobject_query_OBJECTS = gobject-query.$(OBJEXT) -gobject_query_OBJECTS = $(am_gobject_query_OBJECTS) -gobject_query_DEPENDENCIES = $(progs_LDADD) -SCRIPTS = $(bin_SCRIPTS) $(installed_test_SCRIPTS) $(noinst_SCRIPTS) -AM_V_P = $(am__v_P_@AM_V@) -am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) -am__v_P_0 = false -am__v_P_1 = : -AM_V_GEN = $(am__v_GEN_@AM_V@) -am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) -am__v_GEN_0 = @echo " GEN " $@; -am__v_GEN_1 = -AM_V_at = $(am__v_at_@AM_V@) -am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) -am__v_at_0 = @ -am__v_at_1 = -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -am__mv = mv -f -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CFLAGS) $(CFLAGS) -AM_V_CC = $(am__v_CC_@AM_V@) -am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) -am__v_CC_0 = @echo " CC " $@; -am__v_CC_1 = -CCLD = $(CC) -LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -AM_V_CCLD = $(am__v_CCLD_@AM_V@) -am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) -am__v_CCLD_0 = @echo " CCLD " $@; -am__v_CCLD_1 = -SOURCES = $(libgobject_2_0_la_SOURCES) $(glib_genmarshal_SOURCES) \ - $(gobject_query_SOURCES) -DIST_SOURCES = $(libgobject_2_0_la_SOURCES) $(glib_genmarshal_SOURCES) \ - $(gobject_query_SOURCES) -RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ - ctags-recursive dvi-recursive html-recursive info-recursive \ - install-data-recursive install-dvi-recursive \ - install-exec-recursive install-html-recursive \ - install-info-recursive install-pdf-recursive \ - install-ps-recursive install-recursive installcheck-recursive \ - installdirs-recursive pdf-recursive ps-recursive \ - tags-recursive uninstall-recursive -am__can_run_installinfo = \ - case $$AM_UPDATE_INFO_DIR in \ - n|no|NO) false;; \ - *) (install-info --version) >/dev/null 2>&1;; \ - esac -DATA = $(dist_gdb_DATA) $(installed_test_meta_DATA) \ - $(nobase_installed_test_DATA) $(noinst_DATA) $(tapset_DATA) -HEADERS = $(libgobjectinclude_HEADERS) -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ - distclean-recursive maintainer-clean-recursive -am__recursive_targets = \ - $(RECURSIVE_TARGETS) \ - $(RECURSIVE_CLEAN_TARGETS) \ - $(am__extra_recursive_targets) -AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ - check recheck distdir -am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) -# Read a list of newline-separated strings from the standard input, -# and print each of them once, without duplicates. Input order is -# *not* preserved. -am__uniquify_input = $(AWK) '\ - BEGIN { nonempty = 0; } \ - { items[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in items) print i; }; } \ -' -# Make sure the list of sources is unique. This is necessary because, -# e.g., the same source file might be shared among _SOURCES variables -# for different programs/libraries. -am__define_uniq_tagged_files = \ - list='$(am__tagged_files)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags -am__tty_colors_dummy = \ - mgn= red= grn= lgn= blu= brg= std=; \ - am__color_tests=no -am__tty_colors = { \ - $(am__tty_colors_dummy); \ - if test "X$(AM_COLOR_TESTS)" = Xno; then \ - am__color_tests=no; \ - elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ - am__color_tests=yes; \ - elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ - am__color_tests=yes; \ - fi; \ - if test $$am__color_tests = yes; then \ - red='[0;31m'; \ - grn='[0;32m'; \ - lgn='[1;32m'; \ - blu='[1;34m'; \ - mgn='[0;35m'; \ - brg='[1m'; \ - std='[m'; \ - fi; \ -} -am__recheck_rx = ^[ ]*:recheck:[ ]* -am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* -am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* -# A command that, given a newline-separated list of test names on the -# standard input, print the name of the tests that are to be re-run -# upon "make recheck". -am__list_recheck_tests = $(AWK) '{ \ - recheck = 1; \ - while ((rc = (getline line < ($$0 ".trs"))) != 0) \ - { \ - if (rc < 0) \ - { \ - if ((getline line2 < ($$0 ".log")) < 0) \ - recheck = 0; \ - break; \ - } \ - else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ - { \ - recheck = 0; \ - break; \ - } \ - else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ - { \ - break; \ - } \ - }; \ - if (recheck) \ - print $$0; \ - close ($$0 ".trs"); \ - close ($$0 ".log"); \ -}' -# A command that, given a newline-separated list of test names on the -# standard input, create the global log from their .trs and .log files. -am__create_global_log = $(AWK) ' \ -function fatal(msg) \ -{ \ - print "fatal: making $@: " msg | "cat >&2"; \ - exit 1; \ -} \ -function rst_section(header) \ -{ \ - print header; \ - len = length(header); \ - for (i = 1; i <= len; i = i + 1) \ - printf "="; \ - printf "\n\n"; \ -} \ -{ \ - copy_in_global_log = 1; \ - global_test_result = "RUN"; \ - while ((rc = (getline line < ($$0 ".trs"))) != 0) \ - { \ - if (rc < 0) \ - fatal("failed to read from " $$0 ".trs"); \ - if (line ~ /$(am__global_test_result_rx)/) \ - { \ - sub("$(am__global_test_result_rx)", "", line); \ - sub("[ ]*$$", "", line); \ - global_test_result = line; \ - } \ - else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ - copy_in_global_log = 0; \ - }; \ - if (copy_in_global_log) \ - { \ - rst_section(global_test_result ": " $$0); \ - while ((rc = (getline line < ($$0 ".log"))) != 0) \ - { \ - if (rc < 0) \ - fatal("failed to read from " $$0 ".log"); \ - print line; \ - }; \ - printf "\n"; \ - }; \ - close ($$0 ".trs"); \ - close ($$0 ".log"); \ -}' -# Restructured Text title. -am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } -# Solaris 10 'make', and several other traditional 'make' implementations, -# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it -# by disabling -e (using the XSI extension "set +e") if it's set. -am__sh_e_setup = case $$- in *e*) set +e;; esac -# Default flags passed to test drivers. -am__common_driver_flags = \ - --color-tests "$$am__color_tests" \ - --enable-hard-errors "$$am__enable_hard_errors" \ - --expect-failure "$$am__expect_failure" -# To be inserted before the command running the test. Creates the -# directory for the log if needed. Stores in $dir the directory -# containing $f, in $tst the test, in $log the log. Executes the -# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and -# passes TESTS_ENVIRONMENT. Set up options for the wrapper that -# will run the test scripts (or their associated LOG_COMPILER, if -# thy have one). -am__check_pre = \ -$(am__sh_e_setup); \ -$(am__vpath_adj_setup) $(am__vpath_adj) \ -$(am__tty_colors); \ -srcdir=$(srcdir); export srcdir; \ -case "$@" in \ - */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ - *) am__odir=.;; \ -esac; \ -test "x$$am__odir" = x"." || test -d "$$am__odir" \ - || $(MKDIR_P) "$$am__odir" || exit $$?; \ -if test -f "./$$f"; then dir=./; \ -elif test -f "$$f"; then dir=; \ -else dir="$(srcdir)/"; fi; \ -tst=$$dir$$f; log='$@'; \ -if test -n '$(DISABLE_HARD_ERRORS)'; then \ - am__enable_hard_errors=no; \ -else \ - am__enable_hard_errors=yes; \ -fi; \ -case " $(XFAIL_TESTS) " in \ - *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ - am__expect_failure=yes;; \ - *) \ - am__expect_failure=no;; \ -esac; \ -$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) -# A shell command to get the names of the tests scripts with any registered -# extension removed (i.e., equivalently, the names of the test logs, with -# the '.log' extension removed). The result is saved in the shell variable -# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, -# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", -# since that might cause problem with VPATH rewrites for suffix-less tests. -# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. -am__set_TESTS_bases = \ - bases='$(TEST_LOGS)'; \ - bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ - bases=`echo $$bases` -RECHECK_LOGS = $(TEST_LOGS) -TEST_SUITE_LOG = test-suite.log -TEST_EXTENSIONS = @EXEEXT@ .test -am__test_logs1 = $(TESTS:=.log) -am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) -TEST_LOGS = $(am__test_logs2:.test.log=.log) -TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver -TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ - $(TEST_LOG_FLAGS) -am__set_b = \ - case '$@' in \ - */*) \ - case '$*' in \ - */*) b='$*';; \ - *) b=`echo '$@' | sed 's/\.log$$//'`; \ - esac;; \ - *) \ - b='$*';; \ - esac -DIST_SUBDIRS = $(SUBDIRS) -am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/glib-mkenums.in \ - $(srcdir)/gobject.rc.in $(srcdir)/makefile.msc.in \ - $(top_srcdir)/depcomp $(top_srcdir)/glib.mk \ - $(top_srcdir)/test-driver \ - $(top_srcdir)/win32/Makefile.msvcproj ChangeLog -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -am__relativize = \ - dir0=`pwd`; \ - sed_first='s,^\([^/]*\)/.*$$,\1,'; \ - sed_rest='s,^[^/]*/*,,'; \ - sed_last='s,^.*/\([^/]*\)$$,\1,'; \ - sed_butlast='s,/*[^/]*$$,,'; \ - while test -n "$$dir1"; do \ - first=`echo "$$dir1" | sed -e "$$sed_first"`; \ - if test "$$first" != "."; then \ - if test "$$first" = ".."; then \ - dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ - dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ - else \ - first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ - if test "$$first2" = "$$first"; then \ - dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ - else \ - dir2="../$$dir2"; \ - fi; \ - dir0="$$dir0"/"$$first"; \ - fi; \ - fi; \ - dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ - done; \ - reldir="$$dir2" -ABS_TAPSET_DIR = @ABS_TAPSET_DIR@ -ACLOCAL = @ACLOCAL@ -ALLOCA = @ALLOCA@ -AMTAR = @AMTAR@ -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CARBON_LIBS = @CARBON_LIBS@ -CATALOGS = @CATALOGS@ -CATOBJEXT = @CATOBJEXT@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -COCOA_LIBS = @COCOA_LIBS@ -CONFIG_STATUS_DEPENDENCIES = @CONFIG_STATUS_DEPENDENCIES@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DATADIRNAME = @DATADIRNAME@ -DBUS1_CFLAGS = @DBUS1_CFLAGS@ -DBUS1_LIBS = @DBUS1_LIBS@ -DBUS_DAEMON = @DBUS_DAEMON@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -DTRACE = @DTRACE@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FAM_LIBS = @FAM_LIBS@ -FGREP = @FGREP@ -GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ -GIO = @GIO@ -GIO_MODULE_DIR = @GIO_MODULE_DIR@ -GLIBC21 = @GLIBC21@ -GLIB_BINARY_AGE = @GLIB_BINARY_AGE@ -GLIB_DEBUG_FLAGS = @GLIB_DEBUG_FLAGS@ -GLIB_EXTRA_CFLAGS = @GLIB_EXTRA_CFLAGS@ -GLIB_HIDDEN_VISIBILITY_CFLAGS = @GLIB_HIDDEN_VISIBILITY_CFLAGS@ -GLIB_INTERFACE_AGE = @GLIB_INTERFACE_AGE@ -GLIB_LINK_FLAGS = @GLIB_LINK_FLAGS@ -GLIB_MAJOR_VERSION = @GLIB_MAJOR_VERSION@ -GLIB_MICRO_VERSION = @GLIB_MICRO_VERSION@ -GLIB_MINOR_VERSION = @GLIB_MINOR_VERSION@ -GLIB_RUNTIME_LIBDIR = @GLIB_RUNTIME_LIBDIR@ -GLIB_VERSION = @GLIB_VERSION@ -GLIB_WARN_CFLAGS = @GLIB_WARN_CFLAGS@ -GLIB_WIN32_STATIC_COMPILATION_DEFINE = @GLIB_WIN32_STATIC_COMPILATION_DEFINE@ -GMOFILES = @GMOFILES@ -GMSGFMT = @GMSGFMT@ -GREP = @GREP@ -GSPAWN = @GSPAWN@ -GTHREAD_COMPILE_IMPL_DEFINES = @GTHREAD_COMPILE_IMPL_DEFINES@ -GTKDOC_CHECK = @GTKDOC_CHECK@ -GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@ -GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ -GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ -GTKDOC_MKPDF = @GTKDOC_MKPDF@ -GTKDOC_REBASE = @GTKDOC_REBASE@ -G_LIBS_EXTRA = @G_LIBS_EXTRA@ -G_MODULE_BROKEN_RTLD_GLOBAL = @G_MODULE_BROKEN_RTLD_GLOBAL@ -G_MODULE_HAVE_DLERROR = @G_MODULE_HAVE_DLERROR@ -G_MODULE_IMPL = @G_MODULE_IMPL@ -G_MODULE_LDFLAGS = @G_MODULE_LDFLAGS@ -G_MODULE_LIBS = @G_MODULE_LIBS@ -G_MODULE_LIBS_EXTRA = @G_MODULE_LIBS_EXTRA@ -G_MODULE_NEED_USCORE = @G_MODULE_NEED_USCORE@ -G_MODULE_PLUGIN_LIBS = @G_MODULE_PLUGIN_LIBS@ -G_MODULE_SUPPORTED = @G_MODULE_SUPPORTED@ -G_THREAD_CFLAGS = @G_THREAD_CFLAGS@ -G_THREAD_LIBS = @G_THREAD_LIBS@ -G_THREAD_LIBS_EXTRA = @G_THREAD_LIBS_EXTRA@ -G_THREAD_LIBS_FOR_GTHREAD = @G_THREAD_LIBS_FOR_GTHREAD@ -HTML_DIR = @HTML_DIR@ -ICONV_LIBS = @ICONV_LIBS@ -INDENT = @INDENT@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -INSTOBJEXT = @INSTOBJEXT@ -INTLLIBS = @INTLLIBS@ -INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LIBELF_CFLAGS = @LIBELF_CFLAGS@ -LIBELF_LIBS = @LIBELF_LIBS@ -LIBFFI_CFLAGS = @LIBFFI_CFLAGS@ -LIBFFI_LIBS = @LIBFFI_LIBS@ -LIBMOUNT_CFLAGS = @LIBMOUNT_CFLAGS@ -LIBMOUNT_LIBS = @LIBMOUNT_LIBS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIB_EXE_MACHINE_FLAG = @LIB_EXE_MACHINE_FLAG@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -LTP = @LTP@ -LTP_GENHTML = @LTP_GENHTML@ -LT_AGE = @LT_AGE@ -LT_CURRENT = @LT_CURRENT@ -LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@ -LT_RELEASE = @LT_RELEASE@ -LT_REVISION = @LT_REVISION@ -LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MANIFEST_TOOL = @MANIFEST_TOOL@ -MKDIR_P = @MKDIR_P@ -MKINSTALLDIRS = @MKINSTALLDIRS@ -MSGFMT = @MSGFMT@ -MSGFMT_OPTS = @MSGFMT_OPTS@ -NAMESER_COMPAT_INCLUDE = @NAMESER_COMPAT_INCLUDE@ -NETWORK_LIBS = @NETWORK_LIBS@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PCRE_CFLAGS = @PCRE_CFLAGS@ -PCRE_LIBS = @PCRE_LIBS@ -PCRE_REQUIRES = @PCRE_REQUIRES@ -PCRE_WARN_CFLAGS = @PCRE_WARN_CFLAGS@ -PERL = @PERL@ -PERL_PATH = @PERL_PATH@ -PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ -PLATFORMDEP = @PLATFORMDEP@ -POFILES = @POFILES@ -POSUB = @POSUB@ -PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ -PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ -PYTHON = @PYTHON@ -PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ -PYTHON_PLATFORM = @PYTHON_PLATFORM@ -PYTHON_PREFIX = @PYTHON_PREFIX@ -PYTHON_VERSION = @PYTHON_VERSION@ -RANLIB = @RANLIB@ -REBUILD = @REBUILD@ -SED = @SED@ -SELINUX_LIBS = @SELINUX_LIBS@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -SHTOOL = @SHTOOL@ -STRIP = @STRIP@ -USE_NLS = @USE_NLS@ -VERSION = @VERSION@ -WINDRES = @WINDRES@ -WSPIAPI_INCLUDE = @WSPIAPI_INCLUDE@ -XATTR_LIBS = @XATTR_LIBS@ -XGETTEXT = @XGETTEXT@ -XMLCATALOG = @XMLCATALOG@ -XML_CATALOG_FILE = @XML_CATALOG_FILE@ -XSLTPROC = @XSLTPROC@ -ZLIB_CFLAGS = @ZLIB_CFLAGS@ -ZLIB_LIBS = @ZLIB_LIBS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_AR = @ac_ct_AR@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -config_h_INCLUDES = @config_h_INCLUDES@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -gio_INCLUDES = @gio_INCLUDES@ -glib_INCLUDES = @glib_INCLUDES@ -gmodule_INCLUDES = @gmodule_INCLUDES@ -gobject_INCLUDES = @gobject_INCLUDES@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -installed_test_metadir = @installed_test_metadir@ -installed_testdir = @installed_testdir@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -ms_librarian = @ms_librarian@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -pkgpyexecdir = @pkgpyexecdir@ -pkgpythondir = @pkgpythondir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -pyexecdir = @pyexecdir@ -pythondir = @pythondir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ - -#GTESTER = gtester # for non-GLIB packages -#GTESTER_REPORT = gtester-report # for non-GLIB packages -GTESTER = $(top_builddir)/glib/gtester # for the GLIB package -GTESTER_REPORT = $(top_builddir)/glib/gtester-report # for the GLIB package -NULL = - -# initialize variables for unconditional += appending -BUILT_SOURCES = $(am__append_16) -BUILT_EXTRA_DIST = makefile.msc gobject.rc -CLEANFILES = *.log *.trs $(am__append_14) $(am__append_17) \ - $(am__append_19) gobject-public-headers.txt $(gen_sources) \ - libgobject-gdb.py -DISTCLEANFILES = -MAINTAINERCLEANFILES = - -# -# auxillary files -# -EXTRA_DIST = $(all_dist_test_scripts) $(all_dist_test_data) \ - gobject.stp.in $(gobject_private_h_sources) \ - $(gobject_extra_sources) marshal-genstrings.pl makefile.msc.in \ - gobject.rc.in libgobject-gdb.py.in glib-mkenums.in - -# We support a fairly large range of possible variables. It is expected that all types of files in a test suite -# will belong in exactly one of the following variables. -# -# First, we support the usual automake suffixes, but in lowercase, with the customary meaning: -# -# test_programs, test_scripts, test_data, test_ltlibraries -# -# The above are used to list files that are involved in both uninstalled and installed testing. The -# test_programs and test_scripts are taken to be actual testcases and will be run as part of the test suite. -# Note that _data is always used with the nobase_ automake variable name to ensure that installed test data is -# installed in the same way as it appears in the package layout. -# -# In order to mark a particular file as being only for one type of testing, use 'installed' or 'uninstalled', -# like so: -# -# installed_test_programs, uninstalled_test_programs -# installed_test_scripts, uninstalled_test_scripts -# installed_test_data, uninstalled_test_data -# installed_test_ltlibraries, uninstalled_test_ltlibraries -# -# Additionally, we support 'extra' infixes for programs and scripts. This is used for support programs/scripts -# that should not themselves be run as testcases (but exist to be used from other testcases): -# -# test_extra_programs, installed_test_extra_programs, uninstalled_test_extra_programs -# test_extra_scripts, installed_test_extra_scripts, uninstalled_test_extra_scripts -# -# Additionally, for _scripts and _data, we support the customary dist_ prefix so that the named script or data -# file automatically end up in the tarball. -# -# dist_test_scripts, dist_test_data, dist_test_extra_scripts -# dist_installed_test_scripts, dist_installed_test_data, dist_installed_test_extra_scripts -# dist_uninstalled_test_scripts, dist_uninstalled_test_data, dist_uninstalled_test_extra_scripts -# -# Note that no file is automatically disted unless it appears in one of the dist_ variables. This follows the -# standard automake convention of not disting programs scripts or data by default. -# -# test_programs, test_scripts, uninstalled_test_programs and uninstalled_test_scripts (as well as their disted -# variants) will be run as part of the in-tree 'make check'. These are all assumed to be runnable under -# gtester. That's a bit strange for scripts, but it's possible. - -# we use test -z "$(TEST_PROGS)" above, so make sure we have no extra whitespace... -TEST_PROGS = $(strip $(test_programs) $(test_scripts) \ - $(uninstalled_test_programs) $(uninstalled_test_scripts) \ - $(dist_test_scripts) $(dist_uninstalled_test_scripts)) -installed_test_LTLIBRARIES = $(am__append_13) -installed_test_SCRIPTS = $(am__append_11) -nobase_installed_test_DATA = $(am__append_12) -noinst_LTLIBRARIES = $(am__append_2) -noinst_SCRIPTS = $(am__append_4) -noinst_DATA = $(am__append_5) $(am__append_15) -check_LTLIBRARIES = $(am__append_6) -check_SCRIPTS = $(am__append_8) -check_DATA = $(am__append_9) - -# Note: build even the installed-only targets during 'make check' to ensure that they still work. -# We need to do a bit of trickery here and manage disting via EXTRA_DIST instead of using dist_ prefixes to -# prevent automake from mistreating gmake functions like $(wildcard ...) and $(addprefix ...) as if they were -# filenames, including removing duplicate instances of the opening part before the space, eg. '$(addprefix'. -all_test_programs = $(test_programs) $(uninstalled_test_programs) $(installed_test_programs) \ - $(test_extra_programs) $(uninstalled_test_extra_programs) $(installed_test_extra_programs) - -all_test_scripts = $(test_scripts) $(uninstalled_test_scripts) \ - $(installed_test_scripts) $(test_extra_scripts) \ - $(uninstalled_test_extra_scripts) \ - $(installed_test_extra_scripts) $(all_dist_test_scripts) -all_dist_test_scripts = $(dist_test_scripts) $(dist_uninstalled_test_scripts) $(dist_installed_test_scripts) \ - $(dist_test_extra_scripts) $(dist_uninstalled_test_extra_scripts) $(dist_installed_test_extra_scripts) - -all_test_data = $(test_data) $(uninstalled_test_data) \ - $(installed_test_data) $(all_dist_test_data) -all_dist_test_data = $(dist_test_data) $(dist_uninstalled_test_data) $(dist_installed_test_data) -all_test_ltlibs = $(test_ltlibraries) $(uninstalled_test_ltlibraries) $(installed_test_ltlibraries) -@ENABLE_INSTALLED_TESTS_TRUE@installed_testcases = $(test_programs) $(installed_test_programs) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(test_scripts) $(installed_test_scripts) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_test_scripts) $(dist_installed_test_scripts) - -@ENABLE_INSTALLED_TESTS_TRUE@installed_test_meta_DATA = $(installed_testcases:=.test) - -# GObject - GLib Type, Object, Parameter and Signal Library -# Copyright (C) 1997,98,99,2000 Tim Janik and Red Hat, Inc. -# -SUBDIRS = . tests -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"GLib-GObject\" \ - $(glib_INCLUDES) \ - $(GLIB_DEBUG_FLAGS) \ - -DGOBJECT_COMPILATION - -AM_CFLAGS = $(GLIB_WARN_CFLAGS) -libglib = $(top_builddir)/glib/libglib-2.0.la - -# libraries to compile and install -lib_LTLIBRARIES = libgobject-2.0.la -@MS_LIB_AVAILABLE_TRUE@@OS_WIN32_AND_DLL_COMPILATION_TRUE@install_ms_lib_cmd = $(INSTALL) gobject-2.0.lib $(DESTDIR)$(libdir) -@MS_LIB_AVAILABLE_TRUE@@OS_WIN32_AND_DLL_COMPILATION_TRUE@uninstall_ms_lib_cmd = -rm $(DESTDIR)$(libdir)/gobject-2.0.lib -@PLATFORM_WIN32_TRUE@no_undefined = -no-undefined -@OS_WIN32_AND_DLL_COMPILATION_TRUE@gobject_win32_res = gobject-win32-res.o -@OS_WIN32_AND_DLL_COMPILATION_TRUE@gobject_win32_res_ldflag = -Wl,$(gobject_win32_res) -libgobjectincludedir = $(includedir)/glib-2.0/gobject -libgobject_2_0_la_LDFLAGS = $(GLIB_LINK_FLAGS) \ - $(gobject_win32_res_ldflag) \ - -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ - -export-dynamic $(no_undefined) - -libgobject_2_0_la_CFLAGS = $(AM_CFLAGS) $(LIBFFI_CFLAGS) $(GLIB_HIDDEN_VISIBILITY_CFLAGS) -libgobject_2_0_la_LIBADD = $(libglib) $(LIBFFI_LIBS) $(am__append_18) -libgobject_2_0_la_DEPENDENCIES = $(gobject_win32_res) - -# -# setup source file variables -# -# GObject library header files for public installation -gobject_public_h_sources = \ - gobject-autocleanups.h \ - glib-types.h \ - gbinding.h \ - gboxed.h \ - gclosure.h \ - genums.h \ - gmarshal.h \ - gobject.h \ - gparam.h \ - gparamspecs.h \ - gsignal.h \ - gsourceclosure.h \ - gtype.h \ - gtypemodule.h \ - gtypeplugin.h \ - gvalue.h \ - gvaluearray.h \ - gvaluecollector.h \ - gvaluetypes.h \ - gobjectnotifyqueue.c - - -# GObject library header files that don't get installed -gobject_private_h_sources = \ - gatomicarray.h \ - gtype-private.h - - -# GObject library C sources to build the library from -gobject_c_sources = \ - gobject_probes.d \ - gatomicarray.c \ - gbinding.c \ - gboxed.c \ - gclosure.c \ - genums.c \ - gmarshal.c \ - gobject.c \ - gobject_trace.h \ - gparam.c \ - gparamspecs.c \ - gsignal.c \ - gsourceclosure.c \ - gtype.c \ - gtypemodule.c \ - gtypeplugin.c \ - gvalue.c \ - gvaluearray.c \ - gvaluetransform.c \ - gvaluetypes.c - -tapsetdir = @ABS_TAPSET_DIR@ -@ENABLE_SYSTEMTAP_TRUE@tapset_DATA = libgobject-2.0.so.0.@LT_CURRENT@.@LT_REVISION@.stp - -# non-header sources (headers should be specified in the above variables) -# that don't serve as direct make target sources, i.e. they don't have -# their own .lo rules and don't get publically installed -gobject_extra_sources = \ - gmarshal.list \ - gmarshal.strings - - -# -# setup GObject library sources and their dependancies -# -gobject_target_headers = $(gobject_public_h_sources) -gobject_target_sources = $(gobject_c_sources) -EXTRA_HEADERS = - -# -# rules to generate built sources -# -# setup autogeneration dependancies -gen_sources = xgen-gmh xgen-gmc xgen-gms - -# target platform: -libgobjectinclude_HEADERS = $(gobject_target_headers) -libgobject_2_0_la_SOURCES = $(gobject_target_sources) -bin_SCRIPTS = glib-mkenums -# source files -gobject_query_SOURCES = gobject-query.c -glib_genmarshal_SOURCES = glib-genmarshal.c -# link programs against libgobject -progs_LDADD = ./libgobject-2.0.la $(libglib) -glib_genmarshal_LDADD = $(libglib) -gobject_query_LDADD = $(progs_LDADD) - -# ------ MSVC Project File Generation ------ -MSVCPROJS = gobject -gobject_FILES = $(libgobject_2_0_la_SOURCES) -gobject_EXCLUDES = dummy -gobject_HEADERS_DIR = $(libgobjectincludedir) -gobject_HEADERS_INST = $(gobject_public_h_sources) -gobject_HEADERS_EXCLUDES = dummy -_proj_name = $(subst /,_,$(subst -,_,$(subst .,_,$(1)))) -_proj_path_raw := $(subst $(abs_top_srcdir),,$(abs_srcdir)) -_proj_path = $(subst /,\\,$(_proj_path_raw)) -_proj_subdir_int = $(subst \\\\,\\,\\$(_proj_path)\\) -_proj_subdir = $(subst \\.\\,\\,$(_proj_subdir_int)) -_proj_files_raw = $(subst /,\\,$($(_proj_name)_FILES)) -_proj_files = $(subst $(srcdir)\\,,$(subst $(builddir)\\,,$(subst $(top_builddir)\\$(_proj_path)\\,\\,$(_proj_files_raw)))) -_proj_filters = $($(_proj_name)_EXCLUDES) -_proj_headers_raw = $(subst /,\\,$($(_proj_name)_HEADERS_INST)) -_proj_headers = $(subst $(srcdir)\\,,$(subst $(builddir)\\,,$(subst $(top_builddir)\\$(_proj_path)\\,\\,$(_proj_headers_raw)))) -_proj_headers_excludes = $($(_proj_name)_HEADERS_EXCLUDES) -_headers_dest_posix = $(subst $(includedir),,$($(_proj_name)_HEADERS_DIR)) -_headers_destdir = $(subst /,\\,$(_headers_dest_posix)) - -# install gdb scripts -gdbdir = $(datadir)/glib-2.0/gdb -dist_gdb_DATA = gobject_gdb.py -@HAVE_GLIB_RUNTIME_LIBDIR_FALSE@ABS_GLIB_RUNTIME_LIBDIR = $(libdir) -@HAVE_GLIB_RUNTIME_LIBDIR_TRUE@ABS_GLIB_RUNTIME_LIBDIR = $(realpath $(libdir)/$(GLIB_RUNTIME_LIBDIR)) -all: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) all-recursive - -.SUFFIXES: -.SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/glib.mk $(top_srcdir)/win32/Makefile.msvcproj $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gobject/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnu gobject/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; -$(top_srcdir)/glib.mk $(top_srcdir)/win32/Makefile.msvcproj $(am__empty): - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): -glib-mkenums: $(top_builddir)/config.status $(srcdir)/glib-mkenums.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ -makefile.msc: $(top_builddir)/config.status $(srcdir)/makefile.msc.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ -gobject.rc: $(top_builddir)/config.status $(srcdir)/gobject.rc.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ - -clean-checkLTLIBRARIES: - -test -z "$(check_LTLIBRARIES)" || rm -f $(check_LTLIBRARIES) - @list='$(check_LTLIBRARIES)'; \ - locs=`for p in $$list; do echo $$p; done | \ - sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ - sort -u`; \ - test -z "$$locs" || { \ - echo rm -f $${locs}; \ - rm -f $${locs}; \ - } - -install-installed_testLTLIBRARIES: $(installed_test_LTLIBRARIES) - @$(NORMAL_INSTALL) - @list='$(installed_test_LTLIBRARIES)'; test -n "$(installed_testdir)" || list=; \ - list2=; for p in $$list; do \ - if test -f $$p; then \ - list2="$$list2 $$p"; \ - else :; fi; \ - done; \ - test -z "$$list2" || { \ - echo " $(MKDIR_P) '$(DESTDIR)$(installed_testdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(installed_testdir)" || exit 1; \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(installed_testdir)'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(installed_testdir)"; \ - } - -uninstall-installed_testLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(installed_test_LTLIBRARIES)'; test -n "$(installed_testdir)" || list=; \ - for p in $$list; do \ - $(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(installed_testdir)/$$f'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(installed_testdir)/$$f"; \ - done - -clean-installed_testLTLIBRARIES: - -test -z "$(installed_test_LTLIBRARIES)" || rm -f $(installed_test_LTLIBRARIES) - @list='$(installed_test_LTLIBRARIES)'; \ - locs=`for p in $$list; do echo $$p; done | \ - sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ - sort -u`; \ - test -z "$$locs" || { \ - echo rm -f $${locs}; \ - rm -f $${locs}; \ - } - -install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ - list2=; for p in $$list; do \ - if test -f $$p; then \ - list2="$$list2 $$p"; \ - else :; fi; \ - done; \ - test -z "$$list2" || { \ - echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ - } - -uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ - for p in $$list; do \ - $(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ - done - -clean-libLTLIBRARIES: - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) - @list='$(lib_LTLIBRARIES)'; \ - locs=`for p in $$list; do echo $$p; done | \ - sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ - sort -u`; \ - test -z "$$locs" || { \ - echo rm -f $${locs}; \ - rm -f $${locs}; \ - } - -clean-noinstLTLIBRARIES: - -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) - @list='$(noinst_LTLIBRARIES)'; \ - locs=`for p in $$list; do echo $$p; done | \ - sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ - sort -u`; \ - test -z "$$locs" || { \ - echo rm -f $${locs}; \ - rm -f $${locs}; \ - } - -libgobject-2.0.la: $(libgobject_2_0_la_OBJECTS) $(libgobject_2_0_la_DEPENDENCIES) $(EXTRA_libgobject_2_0_la_DEPENDENCIES) - $(AM_V_CCLD)$(libgobject_2_0_la_LINK) -rpath $(libdir) $(libgobject_2_0_la_OBJECTS) $(libgobject_2_0_la_LIBADD) $(LIBS) -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ - fi; \ - for p in $$list; do echo "$$p $$p"; done | \ - sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p \ - || test -f $$p1 \ - ; then echo "$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n;h' \ - -e 's|.*|.|' \ - -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ - sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) files[d] = files[d] " " $$1; \ - else { print "f", $$3 "/" $$4, $$1; } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' \ - `; \ - test -n "$$list" || exit 0; \ - echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(bindir)" && rm -f $$files - -clean-binPROGRAMS: - @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list - -clean-checkPROGRAMS: - @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list -install-installed_testPROGRAMS: $(installed_test_PROGRAMS) - @$(NORMAL_INSTALL) - @list='$(installed_test_PROGRAMS)'; test -n "$(installed_testdir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(installed_testdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(installed_testdir)" || exit 1; \ - fi; \ - for p in $$list; do echo "$$p $$p"; done | \ - sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p \ - || test -f $$p1 \ - ; then echo "$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n;h' \ - -e 's|.*|.|' \ - -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ - sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) files[d] = files[d] " " $$1; \ - else { print "f", $$3 "/" $$4, $$1; } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(installed_testdir)$$dir'"; \ - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(installed_testdir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-installed_testPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(installed_test_PROGRAMS)'; test -n "$(installed_testdir)" || list=; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' \ - `; \ - test -n "$$list" || exit 0; \ - echo " ( cd '$(DESTDIR)$(installed_testdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(installed_testdir)" && rm -f $$files - -clean-installed_testPROGRAMS: - @list='$(installed_test_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list - -clean-noinstPROGRAMS: - @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list - -glib-genmarshal$(EXEEXT): $(glib_genmarshal_OBJECTS) $(glib_genmarshal_DEPENDENCIES) $(EXTRA_glib_genmarshal_DEPENDENCIES) - @rm -f glib-genmarshal$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(glib_genmarshal_OBJECTS) $(glib_genmarshal_LDADD) $(LIBS) - -gobject-query$(EXEEXT): $(gobject_query_OBJECTS) $(gobject_query_DEPENDENCIES) $(EXTRA_gobject_query_DEPENDENCIES) - @rm -f gobject-query$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(gobject_query_OBJECTS) $(gobject_query_LDADD) $(LIBS) -install-binSCRIPTS: $(bin_SCRIPTS) - @$(NORMAL_INSTALL) - @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n' \ - -e 'h;s|.*|.|' \ - -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) { files[d] = files[d] " " $$1; \ - if (++n[d] == $(am__install_max)) { \ - print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ - else { print "f", d "/" $$4, $$1 } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ - $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-binSCRIPTS: - @$(NORMAL_UNINSTALL) - @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 's,.*/,,;$(transform)'`; \ - dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) -install-installed_testSCRIPTS: $(installed_test_SCRIPTS) - @$(NORMAL_INSTALL) - @list='$(installed_test_SCRIPTS)'; test -n "$(installed_testdir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(installed_testdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(installed_testdir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n' \ - -e 'h;s|.*|.|' \ - -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) { files[d] = files[d] " " $$1; \ - if (++n[d] == $(am__install_max)) { \ - print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ - else { print "f", d "/" $$4, $$1 } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(installed_testdir)$$dir'"; \ - $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(installed_testdir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-installed_testSCRIPTS: - @$(NORMAL_UNINSTALL) - @list='$(installed_test_SCRIPTS)'; test -n "$(installed_testdir)" || exit 0; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 's,.*/,,;$(transform)'`; \ - dir='$(DESTDIR)$(installed_testdir)'; $(am__uninstall_files_from_dir) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/glib-genmarshal.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gobject-query.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgobject_2_0_la-gatomicarray.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgobject_2_0_la-gbinding.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgobject_2_0_la-gboxed.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgobject_2_0_la-gclosure.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgobject_2_0_la-genums.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgobject_2_0_la-gmarshal.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgobject_2_0_la-gobject.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgobject_2_0_la-gparam.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgobject_2_0_la-gparamspecs.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgobject_2_0_la-gsignal.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgobject_2_0_la-gsourceclosure.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgobject_2_0_la-gtype.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgobject_2_0_la-gtypemodule.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgobject_2_0_la-gtypeplugin.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgobject_2_0_la-gvalue.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgobject_2_0_la-gvaluearray.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgobject_2_0_la-gvaluetransform.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgobject_2_0_la-gvaluetypes.Plo@am__quote@ - -.c.o: -@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< - -.c.obj: -@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.c.lo: -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< - -libgobject_2_0_la-gatomicarray.lo: gatomicarray.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -MT libgobject_2_0_la-gatomicarray.lo -MD -MP -MF $(DEPDIR)/libgobject_2_0_la-gatomicarray.Tpo -c -o libgobject_2_0_la-gatomicarray.lo `test -f 'gatomicarray.c' || echo '$(srcdir)/'`gatomicarray.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgobject_2_0_la-gatomicarray.Tpo $(DEPDIR)/libgobject_2_0_la-gatomicarray.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gatomicarray.c' object='libgobject_2_0_la-gatomicarray.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -c -o libgobject_2_0_la-gatomicarray.lo `test -f 'gatomicarray.c' || echo '$(srcdir)/'`gatomicarray.c - -libgobject_2_0_la-gbinding.lo: gbinding.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -MT libgobject_2_0_la-gbinding.lo -MD -MP -MF $(DEPDIR)/libgobject_2_0_la-gbinding.Tpo -c -o libgobject_2_0_la-gbinding.lo `test -f 'gbinding.c' || echo '$(srcdir)/'`gbinding.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgobject_2_0_la-gbinding.Tpo $(DEPDIR)/libgobject_2_0_la-gbinding.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gbinding.c' object='libgobject_2_0_la-gbinding.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -c -o libgobject_2_0_la-gbinding.lo `test -f 'gbinding.c' || echo '$(srcdir)/'`gbinding.c - -libgobject_2_0_la-gboxed.lo: gboxed.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -MT libgobject_2_0_la-gboxed.lo -MD -MP -MF $(DEPDIR)/libgobject_2_0_la-gboxed.Tpo -c -o libgobject_2_0_la-gboxed.lo `test -f 'gboxed.c' || echo '$(srcdir)/'`gboxed.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgobject_2_0_la-gboxed.Tpo $(DEPDIR)/libgobject_2_0_la-gboxed.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gboxed.c' object='libgobject_2_0_la-gboxed.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -c -o libgobject_2_0_la-gboxed.lo `test -f 'gboxed.c' || echo '$(srcdir)/'`gboxed.c - -libgobject_2_0_la-gclosure.lo: gclosure.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -MT libgobject_2_0_la-gclosure.lo -MD -MP -MF $(DEPDIR)/libgobject_2_0_la-gclosure.Tpo -c -o libgobject_2_0_la-gclosure.lo `test -f 'gclosure.c' || echo '$(srcdir)/'`gclosure.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgobject_2_0_la-gclosure.Tpo $(DEPDIR)/libgobject_2_0_la-gclosure.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gclosure.c' object='libgobject_2_0_la-gclosure.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -c -o libgobject_2_0_la-gclosure.lo `test -f 'gclosure.c' || echo '$(srcdir)/'`gclosure.c - -libgobject_2_0_la-genums.lo: genums.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -MT libgobject_2_0_la-genums.lo -MD -MP -MF $(DEPDIR)/libgobject_2_0_la-genums.Tpo -c -o libgobject_2_0_la-genums.lo `test -f 'genums.c' || echo '$(srcdir)/'`genums.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgobject_2_0_la-genums.Tpo $(DEPDIR)/libgobject_2_0_la-genums.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='genums.c' object='libgobject_2_0_la-genums.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -c -o libgobject_2_0_la-genums.lo `test -f 'genums.c' || echo '$(srcdir)/'`genums.c - -libgobject_2_0_la-gmarshal.lo: gmarshal.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -MT libgobject_2_0_la-gmarshal.lo -MD -MP -MF $(DEPDIR)/libgobject_2_0_la-gmarshal.Tpo -c -o libgobject_2_0_la-gmarshal.lo `test -f 'gmarshal.c' || echo '$(srcdir)/'`gmarshal.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgobject_2_0_la-gmarshal.Tpo $(DEPDIR)/libgobject_2_0_la-gmarshal.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gmarshal.c' object='libgobject_2_0_la-gmarshal.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -c -o libgobject_2_0_la-gmarshal.lo `test -f 'gmarshal.c' || echo '$(srcdir)/'`gmarshal.c - -libgobject_2_0_la-gobject.lo: gobject.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -MT libgobject_2_0_la-gobject.lo -MD -MP -MF $(DEPDIR)/libgobject_2_0_la-gobject.Tpo -c -o libgobject_2_0_la-gobject.lo `test -f 'gobject.c' || echo '$(srcdir)/'`gobject.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgobject_2_0_la-gobject.Tpo $(DEPDIR)/libgobject_2_0_la-gobject.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gobject.c' object='libgobject_2_0_la-gobject.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -c -o libgobject_2_0_la-gobject.lo `test -f 'gobject.c' || echo '$(srcdir)/'`gobject.c - -libgobject_2_0_la-gparam.lo: gparam.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -MT libgobject_2_0_la-gparam.lo -MD -MP -MF $(DEPDIR)/libgobject_2_0_la-gparam.Tpo -c -o libgobject_2_0_la-gparam.lo `test -f 'gparam.c' || echo '$(srcdir)/'`gparam.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgobject_2_0_la-gparam.Tpo $(DEPDIR)/libgobject_2_0_la-gparam.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gparam.c' object='libgobject_2_0_la-gparam.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -c -o libgobject_2_0_la-gparam.lo `test -f 'gparam.c' || echo '$(srcdir)/'`gparam.c - -libgobject_2_0_la-gparamspecs.lo: gparamspecs.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -MT libgobject_2_0_la-gparamspecs.lo -MD -MP -MF $(DEPDIR)/libgobject_2_0_la-gparamspecs.Tpo -c -o libgobject_2_0_la-gparamspecs.lo `test -f 'gparamspecs.c' || echo '$(srcdir)/'`gparamspecs.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgobject_2_0_la-gparamspecs.Tpo $(DEPDIR)/libgobject_2_0_la-gparamspecs.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gparamspecs.c' object='libgobject_2_0_la-gparamspecs.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -c -o libgobject_2_0_la-gparamspecs.lo `test -f 'gparamspecs.c' || echo '$(srcdir)/'`gparamspecs.c - -libgobject_2_0_la-gsignal.lo: gsignal.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -MT libgobject_2_0_la-gsignal.lo -MD -MP -MF $(DEPDIR)/libgobject_2_0_la-gsignal.Tpo -c -o libgobject_2_0_la-gsignal.lo `test -f 'gsignal.c' || echo '$(srcdir)/'`gsignal.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgobject_2_0_la-gsignal.Tpo $(DEPDIR)/libgobject_2_0_la-gsignal.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gsignal.c' object='libgobject_2_0_la-gsignal.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -c -o libgobject_2_0_la-gsignal.lo `test -f 'gsignal.c' || echo '$(srcdir)/'`gsignal.c - -libgobject_2_0_la-gsourceclosure.lo: gsourceclosure.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -MT libgobject_2_0_la-gsourceclosure.lo -MD -MP -MF $(DEPDIR)/libgobject_2_0_la-gsourceclosure.Tpo -c -o libgobject_2_0_la-gsourceclosure.lo `test -f 'gsourceclosure.c' || echo '$(srcdir)/'`gsourceclosure.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgobject_2_0_la-gsourceclosure.Tpo $(DEPDIR)/libgobject_2_0_la-gsourceclosure.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gsourceclosure.c' object='libgobject_2_0_la-gsourceclosure.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -c -o libgobject_2_0_la-gsourceclosure.lo `test -f 'gsourceclosure.c' || echo '$(srcdir)/'`gsourceclosure.c - -libgobject_2_0_la-gtype.lo: gtype.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -MT libgobject_2_0_la-gtype.lo -MD -MP -MF $(DEPDIR)/libgobject_2_0_la-gtype.Tpo -c -o libgobject_2_0_la-gtype.lo `test -f 'gtype.c' || echo '$(srcdir)/'`gtype.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgobject_2_0_la-gtype.Tpo $(DEPDIR)/libgobject_2_0_la-gtype.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gtype.c' object='libgobject_2_0_la-gtype.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -c -o libgobject_2_0_la-gtype.lo `test -f 'gtype.c' || echo '$(srcdir)/'`gtype.c - -libgobject_2_0_la-gtypemodule.lo: gtypemodule.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -MT libgobject_2_0_la-gtypemodule.lo -MD -MP -MF $(DEPDIR)/libgobject_2_0_la-gtypemodule.Tpo -c -o libgobject_2_0_la-gtypemodule.lo `test -f 'gtypemodule.c' || echo '$(srcdir)/'`gtypemodule.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgobject_2_0_la-gtypemodule.Tpo $(DEPDIR)/libgobject_2_0_la-gtypemodule.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gtypemodule.c' object='libgobject_2_0_la-gtypemodule.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -c -o libgobject_2_0_la-gtypemodule.lo `test -f 'gtypemodule.c' || echo '$(srcdir)/'`gtypemodule.c - -libgobject_2_0_la-gtypeplugin.lo: gtypeplugin.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -MT libgobject_2_0_la-gtypeplugin.lo -MD -MP -MF $(DEPDIR)/libgobject_2_0_la-gtypeplugin.Tpo -c -o libgobject_2_0_la-gtypeplugin.lo `test -f 'gtypeplugin.c' || echo '$(srcdir)/'`gtypeplugin.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgobject_2_0_la-gtypeplugin.Tpo $(DEPDIR)/libgobject_2_0_la-gtypeplugin.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gtypeplugin.c' object='libgobject_2_0_la-gtypeplugin.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -c -o libgobject_2_0_la-gtypeplugin.lo `test -f 'gtypeplugin.c' || echo '$(srcdir)/'`gtypeplugin.c - -libgobject_2_0_la-gvalue.lo: gvalue.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -MT libgobject_2_0_la-gvalue.lo -MD -MP -MF $(DEPDIR)/libgobject_2_0_la-gvalue.Tpo -c -o libgobject_2_0_la-gvalue.lo `test -f 'gvalue.c' || echo '$(srcdir)/'`gvalue.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgobject_2_0_la-gvalue.Tpo $(DEPDIR)/libgobject_2_0_la-gvalue.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gvalue.c' object='libgobject_2_0_la-gvalue.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -c -o libgobject_2_0_la-gvalue.lo `test -f 'gvalue.c' || echo '$(srcdir)/'`gvalue.c - -libgobject_2_0_la-gvaluearray.lo: gvaluearray.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -MT libgobject_2_0_la-gvaluearray.lo -MD -MP -MF $(DEPDIR)/libgobject_2_0_la-gvaluearray.Tpo -c -o libgobject_2_0_la-gvaluearray.lo `test -f 'gvaluearray.c' || echo '$(srcdir)/'`gvaluearray.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgobject_2_0_la-gvaluearray.Tpo $(DEPDIR)/libgobject_2_0_la-gvaluearray.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gvaluearray.c' object='libgobject_2_0_la-gvaluearray.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -c -o libgobject_2_0_la-gvaluearray.lo `test -f 'gvaluearray.c' || echo '$(srcdir)/'`gvaluearray.c - -libgobject_2_0_la-gvaluetransform.lo: gvaluetransform.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -MT libgobject_2_0_la-gvaluetransform.lo -MD -MP -MF $(DEPDIR)/libgobject_2_0_la-gvaluetransform.Tpo -c -o libgobject_2_0_la-gvaluetransform.lo `test -f 'gvaluetransform.c' || echo '$(srcdir)/'`gvaluetransform.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgobject_2_0_la-gvaluetransform.Tpo $(DEPDIR)/libgobject_2_0_la-gvaluetransform.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gvaluetransform.c' object='libgobject_2_0_la-gvaluetransform.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -c -o libgobject_2_0_la-gvaluetransform.lo `test -f 'gvaluetransform.c' || echo '$(srcdir)/'`gvaluetransform.c - -libgobject_2_0_la-gvaluetypes.lo: gvaluetypes.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -MT libgobject_2_0_la-gvaluetypes.lo -MD -MP -MF $(DEPDIR)/libgobject_2_0_la-gvaluetypes.Tpo -c -o libgobject_2_0_la-gvaluetypes.lo `test -f 'gvaluetypes.c' || echo '$(srcdir)/'`gvaluetypes.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgobject_2_0_la-gvaluetypes.Tpo $(DEPDIR)/libgobject_2_0_la-gvaluetypes.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gvaluetypes.c' object='libgobject_2_0_la-gvaluetypes.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libgobject_2_0_la_CFLAGS) $(CFLAGS) -c -o libgobject_2_0_la-gvaluetypes.lo `test -f 'gvaluetypes.c' || echo '$(srcdir)/'`gvaluetypes.c - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-dist_gdbDATA: $(dist_gdb_DATA) - @$(NORMAL_INSTALL) - @list='$(dist_gdb_DATA)'; test -n "$(gdbdir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(gdbdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(gdbdir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(gdbdir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(gdbdir)" || exit $$?; \ - done - -uninstall-dist_gdbDATA: - @$(NORMAL_UNINSTALL) - @list='$(dist_gdb_DATA)'; test -n "$(gdbdir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - dir='$(DESTDIR)$(gdbdir)'; $(am__uninstall_files_from_dir) -install-installed_test_metaDATA: $(installed_test_meta_DATA) - @$(NORMAL_INSTALL) - @list='$(installed_test_meta_DATA)'; test -n "$(installed_test_metadir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(installed_test_metadir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(installed_test_metadir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(installed_test_metadir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(installed_test_metadir)" || exit $$?; \ - done - -uninstall-installed_test_metaDATA: - @$(NORMAL_UNINSTALL) - @list='$(installed_test_meta_DATA)'; test -n "$(installed_test_metadir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - dir='$(DESTDIR)$(installed_test_metadir)'; $(am__uninstall_files_from_dir) -install-nobase_installed_testDATA: $(nobase_installed_test_DATA) - @$(NORMAL_INSTALL) - @list='$(nobase_installed_test_DATA)'; test -n "$(installed_testdir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(installed_testdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(installed_testdir)" || exit 1; \ - fi; \ - $(am__nobase_list) | while read dir files; do \ - xfiles=; for file in $$files; do \ - if test -f "$$file"; then xfiles="$$xfiles $$file"; \ - else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \ - test -z "$$xfiles" || { \ - test "x$$dir" = x. || { \ - echo " $(MKDIR_P) '$(DESTDIR)$(installed_testdir)/$$dir'"; \ - $(MKDIR_P) "$(DESTDIR)$(installed_testdir)/$$dir"; }; \ - echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(installed_testdir)/$$dir'"; \ - $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(installed_testdir)/$$dir" || exit $$?; }; \ - done - -uninstall-nobase_installed_testDATA: - @$(NORMAL_UNINSTALL) - @list='$(nobase_installed_test_DATA)'; test -n "$(installed_testdir)" || list=; \ - $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \ - dir='$(DESTDIR)$(installed_testdir)'; $(am__uninstall_files_from_dir) -install-tapsetDATA: $(tapset_DATA) - @$(NORMAL_INSTALL) - @list='$(tapset_DATA)'; test -n "$(tapsetdir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(tapsetdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(tapsetdir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(tapsetdir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(tapsetdir)" || exit $$?; \ - done - -uninstall-tapsetDATA: - @$(NORMAL_UNINSTALL) - @list='$(tapset_DATA)'; test -n "$(tapsetdir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - dir='$(DESTDIR)$(tapsetdir)'; $(am__uninstall_files_from_dir) -install-libgobjectincludeHEADERS: $(libgobjectinclude_HEADERS) - @$(NORMAL_INSTALL) - @list='$(libgobjectinclude_HEADERS)'; test -n "$(libgobjectincludedir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(libgobjectincludedir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(libgobjectincludedir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libgobjectincludedir)'"; \ - $(INSTALL_HEADER) $$files "$(DESTDIR)$(libgobjectincludedir)" || exit $$?; \ - done - -uninstall-libgobjectincludeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(libgobjectinclude_HEADERS)'; test -n "$(libgobjectincludedir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - dir='$(DESTDIR)$(libgobjectincludedir)'; $(am__uninstall_files_from_dir) - -# This directory's subdirectories are mostly independent; you can cd -# into them and run 'make' without going through this Makefile. -# To change the values of 'make' variables: instead of editing Makefiles, -# (1) if the variable is set in 'config.status', edit 'config.status' -# (which will cause the Makefiles to be regenerated when you run 'make'); -# (2) otherwise, pass the desired values on the 'make' command line. -$(am__recursive_targets): - @fail=; \ - if $(am__make_keepgoing); then \ - failcom='fail=yes'; \ - else \ - failcom='exit 1'; \ - fi; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -ID: $(am__tagged_files) - $(am__define_uniq_tagged_files); mkid -fID $$unique -tags: tags-recursive -TAGS: tags - -tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) - set x; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - $(am__define_uniq_tagged_files); \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: ctags-recursive - -CTAGS: ctags -ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) - $(am__define_uniq_tagged_files); \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" -cscopelist: cscopelist-recursive - -cscopelist-am: $(am__tagged_files) - list='$(am__tagged_files)'; \ - case "$(srcdir)" in \ - [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ - *) sdir=$(subdir)/$(srcdir) ;; \ - esac; \ - for i in $$list; do \ - if test -f "$$i"; then \ - echo "$(subdir)/$$i"; \ - else \ - echo "$$sdir/$$i"; \ - fi; \ - done >> $(top_builddir)/cscope.files - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -# Recover from deleted '.trs' file; this should ensure that -# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create -# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells -# to avoid problems with "make -n". -.log.trs: - rm -f $< $@ - $(MAKE) $(AM_MAKEFLAGS) $< - -# Leading 'am--fnord' is there to ensure the list of targets does not -# expand to empty, as could happen e.g. with make check TESTS=''. -am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) -am--force-recheck: - @: - -$(TEST_SUITE_LOG): $(TEST_LOGS) - @$(am__set_TESTS_bases); \ - am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ - redo_bases=`for i in $$bases; do \ - am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ - done`; \ - if test -n "$$redo_bases"; then \ - redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ - redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ - if $(am__make_dryrun); then :; else \ - rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ - fi; \ - fi; \ - if test -n "$$am__remaking_logs"; then \ - echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ - "recursion detected" >&2; \ - elif test -n "$$redo_logs"; then \ - am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ - fi; \ - if $(am__make_dryrun); then :; else \ - st=0; \ - errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ - for i in $$redo_bases; do \ - test -f $$i.trs && test -r $$i.trs \ - || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ - test -f $$i.log && test -r $$i.log \ - || { echo "$$errmsg $$i.log" >&2; st=1; }; \ - done; \ - test $$st -eq 0 || exit 1; \ - fi - @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ - ws='[ ]'; \ - results=`for b in $$bases; do echo $$b.trs; done`; \ - test -n "$$results" || results=/dev/null; \ - all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ - pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ - fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ - skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ - xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ - xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ - error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ - if test `expr $$fail + $$xpass + $$error` -eq 0; then \ - success=true; \ - else \ - success=false; \ - fi; \ - br='==================='; br=$$br$$br$$br$$br; \ - result_count () \ - { \ - if test x"$$1" = x"--maybe-color"; then \ - maybe_colorize=yes; \ - elif test x"$$1" = x"--no-color"; then \ - maybe_colorize=no; \ - else \ - echo "$@: invalid 'result_count' usage" >&2; exit 4; \ - fi; \ - shift; \ - desc=$$1 count=$$2; \ - if test $$maybe_colorize = yes && test $$count -gt 0; then \ - color_start=$$3 color_end=$$std; \ - else \ - color_start= color_end=; \ - fi; \ - echo "$${color_start}# $$desc $$count$${color_end}"; \ - }; \ - create_testsuite_report () \ - { \ - result_count $$1 "TOTAL:" $$all "$$brg"; \ - result_count $$1 "PASS: " $$pass "$$grn"; \ - result_count $$1 "SKIP: " $$skip "$$blu"; \ - result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ - result_count $$1 "FAIL: " $$fail "$$red"; \ - result_count $$1 "XPASS:" $$xpass "$$red"; \ - result_count $$1 "ERROR:" $$error "$$mgn"; \ - }; \ - { \ - echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ - $(am__rst_title); \ - create_testsuite_report --no-color; \ - echo; \ - echo ".. contents:: :depth: 2"; \ - echo; \ - for b in $$bases; do echo $$b; done \ - | $(am__create_global_log); \ - } >$(TEST_SUITE_LOG).tmp || exit 1; \ - mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ - if $$success; then \ - col="$$grn"; \ - else \ - col="$$red"; \ - test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ - fi; \ - echo "$${col}$$br$${std}"; \ - echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \ - echo "$${col}$$br$${std}"; \ - create_testsuite_report --maybe-color; \ - echo "$$col$$br$$std"; \ - if $$success; then :; else \ - echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \ - if test -n "$(PACKAGE_BUGREPORT)"; then \ - echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \ - fi; \ - echo "$$col$$br$$std"; \ - fi; \ - $$success || exit 1 - -check-TESTS: - @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list - @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list - @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) - @set +e; $(am__set_TESTS_bases); \ - log_list=`for i in $$bases; do echo $$i.log; done`; \ - trs_list=`for i in $$bases; do echo $$i.trs; done`; \ - log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ - $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ - exit $$?; -recheck: all $(check_LTLIBRARIES) $(check_PROGRAMS) $(check_SCRIPTS) $(check_DATA) - @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) - @set +e; $(am__set_TESTS_bases); \ - bases=`for i in $$bases; do echo $$i; done \ - | $(am__list_recheck_tests)` || exit 1; \ - log_list=`for i in $$bases; do echo $$i.log; done`; \ - log_list=`echo $$log_list`; \ - $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ - am__force_recheck=am--force-recheck \ - TEST_LOGS="$$log_list"; \ - exit $$? -.test.log: - @p='$<'; \ - $(am__set_b); \ - $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -@am__EXEEXT_TRUE@.test$(EXEEXT).log: -@am__EXEEXT_TRUE@ @p='$<'; \ -@am__EXEEXT_TRUE@ $(am__set_b); \ -@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ -@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ -@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ -@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - $(am__make_dryrun) \ - || test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ - $(am__relativize); \ - new_distdir=$$reldir; \ - dir1=$$subdir; dir2="$(top_distdir)"; \ - $(am__relativize); \ - new_top_distdir=$$reldir; \ - echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ - echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ - ($(am__cd) $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$new_top_distdir" \ - distdir="$$new_distdir" \ - am__remove_distdir=: \ - am__skip_length_check=: \ - am__skip_mode_fix=: \ - distdir) \ - || exit 1; \ - fi; \ - done - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$(top_distdir)" distdir="$(distdir)" \ - dist-hook -check-am: all-am - $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES) $(check_PROGRAMS) \ - $(check_SCRIPTS) $(check_DATA) - $(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local -check: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) check-recursive -all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) \ - $(HEADERS) all-local -install-binPROGRAMS: install-libLTLIBRARIES - -installdirs: installdirs-recursive -installdirs-am: - for dir in "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(gdbdir)" "$(DESTDIR)$(installed_test_metadir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(tapsetdir)" "$(DESTDIR)$(libgobjectincludedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - if test -z '$(STRIP)'; then \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - install; \ - else \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ - fi -mostlyclean-generic: - -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) - -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) - -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) -clean: clean-recursive - -clean-am: clean-binPROGRAMS clean-checkLTLIBRARIES clean-checkPROGRAMS \ - clean-generic clean-installed_testLTLIBRARIES \ - clean-installed_testPROGRAMS clean-libLTLIBRARIES \ - clean-libtool clean-noinstLTLIBRARIES clean-noinstPROGRAMS \ - mostlyclean-am - -distclean: distclean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-local distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -html-am: - -info: info-recursive - -info-am: - -install-data-am: install-data-local install-dist_gdbDATA \ - install-installed_testLTLIBRARIES \ - install-installed_testPROGRAMS install-installed_testSCRIPTS \ - install-installed_test_metaDATA \ - install-libgobjectincludeHEADERS \ - install-nobase_installed_testDATA install-tapsetDATA - @$(NORMAL_INSTALL) - $(MAKE) $(AM_MAKEFLAGS) install-data-hook -install-dvi: install-dvi-recursive - -install-dvi-am: - -install-exec-am: install-binPROGRAMS install-binSCRIPTS \ - install-libLTLIBRARIES - -install-html: install-html-recursive - -install-html-am: - -install-info: install-info-recursive - -install-info-am: - -install-man: - -install-pdf: install-pdf-recursive - -install-pdf-am: - -install-ps: install-ps-recursive - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \ - uninstall-dist_gdbDATA uninstall-installed_testLTLIBRARIES \ - uninstall-installed_testPROGRAMS \ - uninstall-installed_testSCRIPTS \ - uninstall-installed_test_metaDATA uninstall-libLTLIBRARIES \ - uninstall-libgobjectincludeHEADERS uninstall-local \ - uninstall-nobase_installed_testDATA uninstall-tapsetDATA - -.MAKE: $(am__recursive_targets) all check check-am install install-am \ - install-data-am install-strip - -.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am all-local \ - check check-TESTS check-am check-local clean clean-binPROGRAMS \ - clean-checkLTLIBRARIES clean-checkPROGRAMS clean-generic \ - clean-installed_testLTLIBRARIES clean-installed_testPROGRAMS \ - clean-libLTLIBRARIES clean-libtool clean-noinstLTLIBRARIES \ - clean-noinstPROGRAMS cscopelist-am ctags ctags-am dist-hook \ - distclean distclean-compile distclean-generic \ - distclean-libtool distclean-local distclean-tags distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-binPROGRAMS install-binSCRIPTS install-data \ - install-data-am install-data-hook install-data-local \ - install-dist_gdbDATA install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-installed_testLTLIBRARIES \ - install-installed_testPROGRAMS install-installed_testSCRIPTS \ - install-installed_test_metaDATA install-libLTLIBRARIES \ - install-libgobjectincludeHEADERS install-man \ - install-nobase_installed_testDATA install-pdf install-pdf-am \ - install-ps install-ps-am install-strip install-tapsetDATA \ - installcheck installcheck-am installdirs installdirs-am \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ - pdf pdf-am ps ps-am recheck tags tags-am uninstall \ - uninstall-am uninstall-binPROGRAMS uninstall-binSCRIPTS \ - uninstall-dist_gdbDATA uninstall-installed_testLTLIBRARIES \ - uninstall-installed_testPROGRAMS \ - uninstall-installed_testSCRIPTS \ - uninstall-installed_test_metaDATA uninstall-libLTLIBRARIES \ - uninstall-libgobjectincludeHEADERS uninstall-local \ - uninstall-nobase_installed_testDATA uninstall-tapsetDATA - -.PRECIOUS: Makefile - - -# test-nonrecursive: run tests only in cwd -@OS_UNIX_TRUE@test-nonrecursive: ${TEST_PROGS} -@OS_UNIX_TRUE@ @test -z "${TEST_PROGS}" || G_TEST_SRCDIR="$(abs_srcdir)" G_TEST_BUILDDIR="$(abs_builddir)" G_DEBUG=gc-friendly MALLOC_CHECK_=2 MALLOC_PERTURB_=$$(($${RANDOM:-256} % 256)) ${GTESTER} --verbose ${TEST_PROGS} -@OS_UNIX_FALSE@test-nonrecursive: - -.PHONY: test-nonrecursive - -.PHONY: lcov genlcov lcov-clean -# use recursive makes in order to ignore errors during check -lcov: - -$(MAKE) $(AM_MAKEFLAGS) -k check - $(MAKE) $(AM_MAKEFLAGS) genlcov - -# we have to massage the lcov.info file slightly to hide the effect of libtool -# placing the objects files in the .libs/ directory separate from the *.c -# we also have to delete tests/.libs/libmoduletestplugin_*.gcda -genlcov: - $(AM_V_GEN) rm -f $(top_builddir)/tests/.libs/libmoduletestplugin_*.gcda; \ - $(LTP) --quiet --directory $(top_builddir) --capture --output-file glib-lcov.info --test-name GLIB_PERF --no-checksum --compat-libtool --ignore-errors source; \ - $(LTP) --quiet --output-file glib-lcov.info --remove glib-lcov.info docs/reference/\* /tmp/\* gio/tests/gdbus-object-manager-example/\* ; \ - LANG=C $(LTP_GENHTML) --quiet --prefix $(top_builddir) --output-directory glib-lcov --title "GLib Code Coverage" --legend --frames --show-details glib-lcov.info --ignore-errors source - @echo "file://$(abs_top_builddir)/glib-lcov/index.html" - -lcov-clean: - if test -n "$(LTP)"; then \ - $(LTP) --quiet --directory $(top_builddir) -z; \ - fi - -# run tests in cwd as part of make check -check-local: test-nonrecursive - -@ENABLE_INSTALLED_TESTS_TRUE@%.test: %$(EXEEXT) Makefile -@ENABLE_INSTALLED_TESTS_TRUE@ $(AM_V_GEN) (echo '[Test]' > $@.tmp; \ -@ENABLE_INSTALLED_TESTS_TRUE@ echo 'Type=session' >> $@.tmp; \ -@ENABLE_INSTALLED_TESTS_TRUE@ echo 'Exec=$(installed_testdir)/$(notdir $<)' >> $@.tmp; \ -@ENABLE_INSTALLED_TESTS_TRUE@ mv $@.tmp $@) - -install-ms-lib: - $(install_ms_lib_cmd) - -uninstall-ms-lib: - $(uninstall_ms_lib_cmd) - -@ENABLE_DTRACE_TRUE@gobject_probes.h: gobject_probes.d -@ENABLE_DTRACE_TRUE@ $(AM_V_GEN) $(DTRACE) -C -h -s $< -o $@.tmp -@ENABLE_DTRACE_TRUE@ @$(SED) \ -@ENABLE_DTRACE_TRUE@ -e "s,define STAP_HAS_SEMAPHORES 1,undef STAP_HAS_SEMAPHORES," \ -@ENABLE_DTRACE_TRUE@ -e "s,define _SDT_HAS_SEMAPHORES 1,undef _SDT_HAS_SEMAPHORES," \ -@ENABLE_DTRACE_TRUE@ < $@.tmp > $@ && rm -f $@.tmp - -@ENABLE_DTRACE_TRUE@gobject_probes.lo: gobject_probes.d -@ENABLE_DTRACE_TRUE@ $(AM_V_GEN) $(LIBTOOL) --mode=compile $(AM_V_lt) --tag=CC $(DTRACE) -G -s $< -o $@ - -@ENABLE_SYSTEMTAP_TRUE@$(tapset_DATA): gobject.stp.in Makefile -@ENABLE_SYSTEMTAP_TRUE@ $(AM_V_GEN)$(SED) \ -@ENABLE_SYSTEMTAP_TRUE@ -e 's|[@]ABS_GLIB_RUNTIME_LIBDIR[@]|$(ABS_GLIB_RUNTIME_LIBDIR)|g' \ -@ENABLE_SYSTEMTAP_TRUE@ -e 's|[@]LT_CURRENT[@]|$(LT_CURRENT)|g' \ -@ENABLE_SYSTEMTAP_TRUE@ -e 's|[@]LT_REVISION[@]|$(LT_REVISION)|g' \ -@ENABLE_SYSTEMTAP_TRUE@ $< > $@ - -# This is read by gobject-introspection/misc/ and gtk-doc -gobject-public-headers.txt: Makefile - $(AM_V_GEN) echo $(gobject_public_h_sources) > $@.tmp && mv $@.tmp $@ - -all-local: gobject-public-headers.txt - -# normal autogeneration rules -# all autogenerated files need to be generated in the srcdir, -# so old versions get remade and are not confused with newer -# versions in the build dir. thus a development setup requires -# srcdir to be writable, passing --disable-rebuilds to -# ../configure will supress all autogeneration rules. - -gmarshal.strings: @REBUILD@ $(srcdir)/gmarshal.list - $(AM_V_GEN) grep '^[A-Z]' $(srcdir)/gmarshal.list \ - | $(SED) -e 's/^/"g_cclosure_marshal_/' -e 's/:/__/' -e 's/,/_/g' -e 's/$$/",/' > xgen-gms \ - && cp xgen-gms gmarshal.strings \ - && rm -f xgen-gms xgen-gms~ - -glib-genmarshal.o: gmarshal.strings - -gobject-win32-res.o: gobject.rc - $(AM_V_GEN) $(WINDRES) gobject.rc $@ - -gobject.def: libgobject-2.0.la - $(AM_V_GEN) dumpbin.exe -exports .libs/libgobject-2.0-0.dll | awk 'BEGIN { print "EXPORTS" } / +[[:digit:]]+ +[[:xdigit:]]+ +[[:xdigit:]]+/{ print $$4 }' > gobject.def.tmp && mv gobject.def.tmp gobject.def - -gobject-2.0.lib: libgobject-2.0.la gobject.def - $(AM_V_GEN) lib.exe -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgobject-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:$(builddir)/gobject.def -out:$@ - -# -# Creates Visual Studio 2008/2010 projects from items passed in from autotools files -# $(1) - Base Name of the MSVC project files (outputs) -# - -define msvcproj-builder - -$(top_builddir)/win32/vs10/$(1).vcxproj: $(top_builddir)/win32/vs9/$(1).vcproj -$(top_builddir)/win32/vs10/$(1).vcxproj.filters: $(top_builddir)/win32/vs9/$(1).vcproj -$(1).sourcefiles: $(top_builddir)/win32/vs9/$(1).vcproj -$(1).vs10.sourcefiles: $(top_builddir)/win32/vs9/$(1).vcproj -$(1).vs10.sourcefiles.filters: $(top_builddir)/win32/vs9/$(1).vcproj - -$(top_builddir)/win32/vs9/$(1).vcproj: Makefile - -$(RM) $(top_builddir)/win32/vs9/$(1).vcproj - -$(RM) $(top_builddir)/win32/vs10/$(1).vcxproj - -$(RM) $(top_builddir)/win32/vs10/$(1).vcxproj.filters - -$(RM) $(top_builddir)/win32/vs11/$(1).vcxproj - -$(RM) $(top_builddir)/win32/vs11/$(1).vcxproj.filters - -$(RM) $(top_builddir)/win32/vs12/$(1).vcxproj - -$(RM) $(top_builddir)/win32/vs12/$(1).vcxproj.filters - -$(RM) $(top_builddir)/win32/vs14/$(1).vcxproj - -$(RM) $(top_builddir)/win32/vs14/$(1).vcxproj.filters - - for F in $(_proj_files); do \ - case $$$$F in \ - $(_proj_filters)) \ - ;; \ - *.c|*.cpp|*.cc|*.cxx) \ - echo ' <File RelativePath="..\..'$(_proj_subdir)$$$$F'" />' >>$(1).sourcefiles && \ - echo ' <ClCompile Include="..\..'$(_proj_subdir)$$$$F'" />' >>$(1).vs10.sourcefiles && \ - echo ' <ClCompile Include="..\..'$(_proj_subdir)$$$$F'"><Filter>Source Files</Filter></ClCompile>' >>$(1).vs10.sourcefiles.filters \ - ;; \ - esac; \ - done - - $(CPP) -P - <$(top_srcdir)/win32/vs9/$(1).vcprojin >$(top_builddir)/win32/vs9/$(1).vcproj - $(CPP) -P - <$(top_srcdir)/win32/vs10/$(1).vcxprojin >$(top_builddir)/win32/vs10/$(1).vcxproj - $(CPP) -P - <$(top_srcdir)/win32/vs10/$(1).vcxproj.filtersin >$(top_builddir)/win32/vs10/$(1).vcxproj.filters - $(RM) $(1).sourcefiles - $(RM) $(1).vs10.sourcefiles - $(RM) $(1).vs10.sourcefiles.filters - -$(top_builddir)/win32/vs10/$(1).vs10.headers: $(top_builddir)/win32/vs9/$(1).headers - -$(top_builddir)/win32/vs9/$(1).headers: Makefile - -$(RM) $(top_builddir)/win32/vs9/$(1).headers - -$(RM) $(top_builddir)/win32/vs10/$(1).vs10.headers - - for F in $(_proj_headers); do \ - case $$$$F in \ - $(_proj_headers_excludes)) \ - ;; \ - *.h|*.hpp|*.hh|*.hxx) \ - echo 'copy ..\..'$(_proj_subdir)$$$$F' $$$$(CopyDir)\include'$(_headers_destdir)'\'$$$$F'
' >>$(top_builddir)/win32/vs9/$(1).headers && \ - echo 'copy ..\..'$(_proj_subdir)$$$$F' $$$$(CopyDir)\include'$(_headers_destdir)'\'$$$$F >>$(top_builddir)/win32/vs10/$(1).vs10.headers \ - ;; \ - esac; \ - done - -$(top_builddir)/win32/vs12/$(1).vcxproj.filters: $(top_builddir)/win32/vs12/$(1).vcxproj - -$(top_builddir)/win32/vs12/$(1).vcxproj: Makefile - -$(RM) $(top_builddir)/win32/vs14/$(1).vcxproj - -$(RM) $(top_builddir)/win32/vs14/$(1).vcxproj.filters - - for F in $(_proj_files); do \ - case $$$$F in \ - $(_proj_filters)) \ - ;; \ - *.c|*.cpp|*.cc|*.cxx) \ - echo ' <ClCompile Include="..\..'$(_proj_subdir)$$$$F'" />' >>$(1).vs12.sourcefiles && \ - echo ' <ClCompile Include="..\..'$(_proj_subdir)$$$$F'"><Filter>Source Files</Filter></ClCompile>' >>$(1).vs12.sourcefiles.filters \ - ;; \ - esac; \ - done - - $(CPP) -P - <$(top_srcdir)/win32/vs12/$(1).vcxprojin >$(top_builddir)/win32/vs12/$(1).vcxproj - $(CPP) -P - <$(top_srcdir)/win32/vs12/$(1).vcxproj.filtersin >$(top_builddir)/win32/vs12/$(1).vcxproj.filters - $(RM) $(1).vs12.sourcefiles - $(RM) $(1).vs12.sourcefiles.filters - -$(top_builddir)/win32/vs12/$(1).vs12.headers: Makefile - -$(RM) $(top_builddir)/win32/vs12/$(1).vs12.headers - - for F in $(_proj_headers); do \ - case $$$$F in \ - $(_proj_headers_excludes)) \ - ;; \ - *.h|*.hpp|*.hh|*.hxx) \ - echo 'copy ..\..'$(_proj_subdir)$$$$F' $$$$(CopyDir)\include'$(_headers_destdir)'\'$$$$F >>$(top_builddir)/win32/vs12/$(1).vs12.headers \ - ;; \ - esac; \ - done - -endef - -$(foreach proj,$(MSVCPROJS),$(eval $(call msvcproj-builder,$(proj)))) - -dist-hook: $(BUILT_EXTRA_DIST) $(top_builddir)/win32/vs9/gobject.vcproj $(top_builddir)/win32/vs9/gobject.headers - files='$(BUILT_EXTRA_DIST)'; \ - for f in $$files; do \ - if test -f $$f; then d=.; else d=$(srcdir); fi; \ - cp $$d/$$f $(distdir) || exit 1; done - -install-data-local: install-ms-lib - -uninstall-local: uninstall-ms-lib uninstall-gdb - -distclean-local: - if test $(srcdir) = .; then :; else \ - rm -f $(BUILT_EXTRA_DIST); \ - fi - -libgobject-gdb.py: libgobject-gdb.py.in - $(AM_V_GEN) $(SED) -e "s|\@datadir\@|$(datadir)|" $(srcdir)/libgobject-gdb.py.in > $(builddir)/libgobject-gdb.py - -uninstall-gdb: - -rm -r $(DESTDIR)$(datadir)/gdb - -install-data-hook: libgobject-gdb.py - mkdir -p $(DESTDIR)$(datadir)/gdb/auto-load/$(ABS_GLIB_RUNTIME_LIBDIR) - $(INSTALL) $(builddir)/libgobject-gdb.py $(DESTDIR)$(datadir)/gdb/auto-load/$(ABS_GLIB_RUNTIME_LIBDIR)/libgobject-2.0.so.0.$(LT_CURRENT).$(LT_REVISION)-gdb.py -@HAVE_GLIB_RUNTIME_LIBDIR_TRUE@ mkdir -p $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR) -@HAVE_GLIB_RUNTIME_LIBDIR_TRUE@ mv $(DESTDIR)$(libdir)/libgobject-2.0.so.0 $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR) -@HAVE_GLIB_RUNTIME_LIBDIR_TRUE@ mv $(DESTDIR)$(libdir)/libgobject-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR) -@HAVE_GLIB_RUNTIME_LIBDIR_TRUE@ rm -f $(DESTDIR)$(libdir)/libgobject-2.0.so -@HAVE_GLIB_RUNTIME_LIBDIR_TRUE@ ln -s $(GLIB_RUNTIME_LIBDIR)/libgobject-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/libgobject-2.0.so - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/gobject/gbinding.c b/gobject/gbinding.c index 31c3418ea..d477ffd85 100644 --- a/gobject/gbinding.c +++ b/gobject/gbinding.c @@ -193,7 +193,7 @@ enum static guint gobject_notify_signal_id; -G_DEFINE_TYPE (GBinding, g_binding, G_TYPE_OBJECT); +G_DEFINE_TYPE (GBinding, g_binding, G_TYPE_OBJECT) /* the basic assumption is that if either the source or the target * goes away then the binding does not exist any more and it should diff --git a/gobject/gboxed.c b/gobject/gboxed.c index a9010434a..17719f2de 100644 --- a/gobject/gboxed.c +++ b/gobject/gboxed.c @@ -137,7 +137,7 @@ G_DEFINE_BOXED_TYPE (GHashTable, g_hash_table, g_hash_table_ref, g_hash_table_un G_DEFINE_BOXED_TYPE (GArray, g_array, g_array_ref, g_array_unref) G_DEFINE_BOXED_TYPE (GPtrArray, g_ptr_array,g_ptr_array_ref, g_ptr_array_unref) G_DEFINE_BOXED_TYPE (GByteArray, g_byte_array, g_byte_array_ref, g_byte_array_unref) -G_DEFINE_BOXED_TYPE (GBytes, g_bytes, g_bytes_ref, g_bytes_unref); +G_DEFINE_BOXED_TYPE (GBytes, g_bytes, g_bytes_ref, g_bytes_unref) G_DEFINE_BOXED_TYPE (GRegex, g_regex, g_regex_ref, g_regex_unref) G_DEFINE_BOXED_TYPE (GMatchInfo, g_match_info, g_match_info_ref, g_match_info_unref) @@ -151,8 +151,8 @@ G_DEFINE_BOXED_TYPE (GVariantDict, g_variant_dict, g_variant_dict_ref, g_variant G_DEFINE_BOXED_TYPE (GError, g_error, g_error_copy, g_error_free) -G_DEFINE_BOXED_TYPE (GDateTime, g_date_time, g_date_time_ref, g_date_time_unref); -G_DEFINE_BOXED_TYPE (GTimeZone, g_time_zone, g_time_zone_ref, g_time_zone_unref); +G_DEFINE_BOXED_TYPE (GDateTime, g_date_time, g_date_time_ref, g_date_time_unref) +G_DEFINE_BOXED_TYPE (GTimeZone, g_time_zone, g_time_zone_ref, g_time_zone_unref) G_DEFINE_BOXED_TYPE (GKeyFile, g_key_file, g_key_file_ref, g_key_file_unref) G_DEFINE_BOXED_TYPE (GMappedFile, g_mapped_file, g_mapped_file_ref, g_mapped_file_unref) diff --git a/gobject/genums.c b/gobject/genums.c index a4f22c98a..469f79806 100644 --- a/gobject/genums.c +++ b/gobject/genums.c @@ -567,6 +567,133 @@ g_flags_get_first_value (GFlagsClass *flags_class, } /** + * g_enum_to_string: + * @g_enum_type: the type identifier of a #GEnumClass type + * @value: the value + * + * Pretty-prints @value in the form of the enum’s name. + * + * This is intended to be used for debugging purposes. The format of the output + * may change in the future. + * + * Returns: (transfer full): a newly-allocated text string + * + * Since: 2.54 + */ +gchar * +g_enum_to_string (GType g_enum_type, + gint value) +{ + gchar *result; + GEnumClass *enum_class; + GEnumValue *enum_value; + + g_return_val_if_fail (G_TYPE_IS_ENUM (g_enum_type), NULL); + + enum_class = g_type_class_ref (g_enum_type); + + /* Already warned */ + if (enum_class == NULL) + return g_strdup_printf ("%d", value); + + enum_value = g_enum_get_value (enum_class, value); + + if (enum_value == NULL) + result = g_strdup_printf ("%d", value); + else + result = g_strdup (enum_value->value_name); + + g_type_class_unref (enum_class); + return result; +} + +/* + * g_flags_get_value_string: + * @flags_class: a #GFlagsClass + * @value: the value + * + * Pretty-prints @value in the form of the flag names separated by ` | ` and + * sorted. Any extra bits will be shown at the end as a hexadecimal number. + * + * This is intended to be used for debugging purposes. The format of the output + * may change in the future. + * + * Returns: (transfer full): a newly-allocated text string + * + * Since: 2.54 + */ +static gchar * +g_flags_get_value_string (GFlagsClass *flags_class, + guint value) +{ + GString *str; + GFlagsValue *flags_value; + + g_return_val_if_fail (G_IS_FLAGS_CLASS (flags_class), NULL); + + str = g_string_new (NULL); + + while ((str->len == 0 || value != 0) && + (flags_value = g_flags_get_first_value (flags_class, value)) != NULL) + { + if (str->len > 0) + g_string_append (str, " | "); + + g_string_append (str, flags_value->value_name); + + value &= ~flags_value->value; + } + + /* Show the extra bits */ + if (value != 0 || str->len == 0) + { + if (str->len > 0) + g_string_append (str, " | "); + + g_string_append_printf (str, "0x%x", value); + } + + return g_string_free (str, FALSE); +} + +/** + * g_flags_to_string: + * @flags_type: the type identifier of a #GFlagsClass type + * @value: the value + * + * Pretty-prints @value in the form of the flag names separated by ` | ` and + * sorted. Any extra bits will be shown at the end as a hexadecimal number. + * + * This is intended to be used for debugging purposes. The format of the output + * may change in the future. + * + * Returns: (transfer full): a newly-allocated text string + * + * Since: 2.54 + */ +gchar * +g_flags_to_string (GType flags_type, + guint value) +{ + gchar *result; + GFlagsClass *flags_class; + + g_return_val_if_fail (G_TYPE_IS_FLAGS (flags_type), NULL); + + flags_class = g_type_class_ref (flags_type); + + /* Already warned */ + if (flags_class == NULL) + return NULL; + + result = g_flags_get_value_string (flags_class, value); + + g_type_class_unref (flags_class); + return result; +} + + +/** * g_value_set_enum: * @value: a valid #GValue whose type is derived from %G_TYPE_ENUM * @v_enum: enum value to be set diff --git a/gobject/genums.h b/gobject/genums.h index 15c9d81fd..109d79809 100644 --- a/gobject/genums.h +++ b/gobject/genums.h @@ -233,6 +233,12 @@ GFlagsValue* g_flags_get_value_by_name (GFlagsClass *flags_class, GLIB_AVAILABLE_IN_ALL GFlagsValue* g_flags_get_value_by_nick (GFlagsClass *flags_class, const gchar *nick); +GLIB_AVAILABLE_IN_2_54 +gchar *g_enum_to_string (GType g_enum_type, + gint value); +GLIB_AVAILABLE_IN_2_54 +gchar *g_flags_to_string (GType flags_type, + guint value); GLIB_AVAILABLE_IN_ALL void g_value_set_enum (GValue *value, gint v_enum); diff --git a/gobject/gmarshal.strings b/gobject/gmarshal.strings deleted file mode 100644 index 65ca49db0..000000000 --- a/gobject/gmarshal.strings +++ /dev/null @@ -1,22 +0,0 @@ -"g_cclosure_marshal_VOID__VOID", -"g_cclosure_marshal_VOID__BOOLEAN", -"g_cclosure_marshal_VOID__CHAR", -"g_cclosure_marshal_VOID__UCHAR", -"g_cclosure_marshal_VOID__INT", -"g_cclosure_marshal_VOID__UINT", -"g_cclosure_marshal_VOID__LONG", -"g_cclosure_marshal_VOID__ULONG", -"g_cclosure_marshal_VOID__ENUM", -"g_cclosure_marshal_VOID__FLAGS", -"g_cclosure_marshal_VOID__FLOAT", -"g_cclosure_marshal_VOID__DOUBLE", -"g_cclosure_marshal_VOID__STRING", -"g_cclosure_marshal_VOID__PARAM", -"g_cclosure_marshal_VOID__BOXED", -"g_cclosure_marshal_VOID__POINTER", -"g_cclosure_marshal_VOID__OBJECT", -"g_cclosure_marshal_VOID__VARIANT", -"g_cclosure_marshal_VOID__UINT_POINTER", -"g_cclosure_marshal_BOOL__FLAGS", -"g_cclosure_marshal_STRING__OBJECT_POINTER", -"g_cclosure_marshal_BOOL__BOXED_BOXED", diff --git a/gobject/gobject.c b/gobject/gobject.c index d04f89c6c..05ea1e90e 100644 --- a/gobject/gobject.c +++ b/gobject/gobject.c @@ -1616,11 +1616,9 @@ g_object_new (GType object_type, GObject *object; va_list var_args; - g_return_val_if_fail (G_TYPE_IS_OBJECT (object_type), NULL); - /* short circuit for calls supplying no properties */ if (!first_property_name) - return g_object_newv (object_type, 0, NULL); + return g_object_new_with_properties (object_type, 0, NULL, NULL); va_start (var_args, first_property_name); object = g_object_new_valist (object_type, first_property_name, var_args); @@ -1843,8 +1841,121 @@ g_object_new_internal (GObjectClass *class, return object; } + +static inline gboolean +g_object_new_is_valid_property (GType object_type, + GParamSpec *pspec, + const char *name, + GObjectConstructParam *params, + int n_params) +{ + gint i; + if (G_UNLIKELY (pspec == NULL)) + { + g_critical ("%s: object class '%s' has no property named '%s'", + G_STRFUNC, g_type_name (object_type), name); + return FALSE; + } + + if (G_UNLIKELY (~pspec->flags & G_PARAM_WRITABLE)) + { + g_critical ("%s: property '%s' of object class '%s' is not writable", + G_STRFUNC, pspec->name, g_type_name (object_type)); + return FALSE; + } + + if (G_UNLIKELY (pspec->flags & (G_PARAM_CONSTRUCT | G_PARAM_CONSTRUCT_ONLY))) + { + for (i = 0; i < n_params; i++) + if (params[i].pspec == pspec) + break; + if (G_UNLIKELY (i != n_params)) + { + g_critical ("%s: property '%s' for type '%s' cannot be set twice", + G_STRFUNC, name, g_type_name (object_type)); + return FALSE; + } + } + return TRUE; +} + + +/** + * g_object_new_with_properties: (rename-to g_object_new) + * @object_type: the object type to instantiate + * @n_properties: the number of properties + * @names: (array length=n_properties): the names of each property to be set + * @values: (array length=n_properties): the values of each property to be set + * + * Creates a new instance of a #GObject subtype and sets its properties using + * the provided arrays. Both arrays must have exactly @n_properties elements, + * and the names and values correspond by index. + * + * Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) + * which are not explicitly specified are set to their default values. + * + * Returns: (type GObject.Object) (transfer full): a new instance of + * @object_type + * + * Since: 2.54 + */ +GObject * +g_object_new_with_properties (GType object_type, + guint n_properties, + const char *names[], + const GValue values[]) +{ + GObjectClass *class, *unref_class = NULL; + GObject *object; + + g_return_val_if_fail (G_TYPE_IS_OBJECT (object_type), NULL); + + /* Try to avoid thrashing the ref_count if we don't need to (since + * it's a locked operation). + */ + class = g_type_class_peek_static (object_type); + + if (class == NULL) + class = unref_class = g_type_class_ref (object_type); + + if (n_properties > 0) + { + guint i, count = 0; + GObjectConstructParam *params; + + params = g_newa (GObjectConstructParam, n_properties); + for (i = 0; i < n_properties; i++) + { + GParamSpec *pspec; + pspec = g_param_spec_pool_lookup (pspec_pool, names[i], object_type, TRUE); + if (!g_object_new_is_valid_property (object_type, pspec, names[i], params, count)) + continue; + params[count].pspec = pspec; + + /* Init GValue */ + params[count].value = g_newa (GValue, 1); + memset (params[count].value, 0, sizeof (GValue)); + g_value_init (params[count].value, G_VALUE_TYPE (&values[i])); + + g_value_copy (&values[i], params[count].value); + count++; + } + object = g_object_new_internal (class, params, count); + + while (count--) + g_value_unset (params[count].value); + } + else + object = g_object_new_internal (class, NULL, 0); + + if (unref_class != NULL) + g_type_class_unref (unref_class); + + return object; +} + /** - * g_object_newv: (rename-to g_object_new) + * g_object_newv: * @object_type: the type id of the #GObject subtype to instantiate * @n_parameters: the length of the @parameters array * @parameters: (array length=n_parameters): an array of #GParameter @@ -1856,6 +1967,9 @@ g_object_new_internal (GObjectClass *class, * * Returns: (type GObject.Object) (transfer full): a new instance of * @object_type + * + * Deprecated: 2.54: Use g_object_new_with_properties() instead. + * deprecated. See #GParameter for more information. */ gpointer g_object_newv (GType object_type, @@ -1887,36 +2001,10 @@ g_object_newv (GType object_type, for (i = 0; i < n_parameters; i++) { GParamSpec *pspec; - gint k; pspec = g_param_spec_pool_lookup (pspec_pool, parameters[i].name, object_type, TRUE); - - if G_UNLIKELY (!pspec) - { - g_critical ("%s: object class '%s' has no property named '%s'", - G_STRFUNC, g_type_name (object_type), parameters[i].name); - continue; - } - - if G_UNLIKELY (~pspec->flags & G_PARAM_WRITABLE) - { - g_critical ("%s: property '%s' of object class '%s' is not writable", - G_STRFUNC, pspec->name, g_type_name (object_type)); - continue; - } - - if (pspec->flags & (G_PARAM_CONSTRUCT | G_PARAM_CONSTRUCT_ONLY)) - { - for (k = 0; k < j; k++) - if (cparams[k].pspec == pspec) - break; - if G_UNLIKELY (k != j) - { - g_critical ("%s: construct property '%s' for type '%s' cannot be set twice", - G_STRFUNC, parameters[i].name, g_type_name (object_type)); - continue; - } - } + if (!g_object_new_is_valid_property (object_type, pspec, parameters[i].name, cparams, j)) + continue; cparams[j].pspec = pspec; cparams[j].value = ¶meters[i].value; @@ -1981,37 +2069,11 @@ g_object_new_valist (GType object_type, { gchar *error = NULL; GParamSpec *pspec; - gint i; pspec = g_param_spec_pool_lookup (pspec_pool, name, object_type, TRUE); - if G_UNLIKELY (!pspec) - { - g_critical ("%s: object class '%s' has no property named '%s'", - G_STRFUNC, g_type_name (object_type), name); - /* Can't continue because arg list will be out of sync. */ - break; - } - - if G_UNLIKELY (~pspec->flags & G_PARAM_WRITABLE) - { - g_critical ("%s: property '%s' of object class '%s' is not writable", - G_STRFUNC, pspec->name, g_type_name (object_type)); - break; - } - - if (pspec->flags & (G_PARAM_CONSTRUCT | G_PARAM_CONSTRUCT_ONLY)) - { - for (i = 0; i < n_params; i++) - if (params[i].pspec == pspec) - break; - if G_UNLIKELY (i != n_params) - { - g_critical ("%s: property '%s' for type '%s' cannot be set twice", - G_STRFUNC, name, g_type_name (object_type)); - break; - } - } + if (!g_object_new_is_valid_property (object_type, pspec, name, params, n_params)) + break; if (n_params == 16) { @@ -2097,6 +2159,80 @@ g_object_constructed (GObject *object) /* empty default impl to allow unconditional upchaining */ } +static inline gboolean +g_object_set_is_valid_property (GObject *object, + GParamSpec *pspec, + const char *property_name) +{ + if (G_UNLIKELY (pspec == NULL)) + { + g_warning ("%s: object class '%s' has no property named '%s'", + G_STRFUNC, G_OBJECT_TYPE_NAME (object), property_name); + return FALSE; + } + if (G_UNLIKELY (!(pspec->flags & G_PARAM_WRITABLE))) + { + g_warning ("%s: property '%s' of object class '%s' is not writable", + G_STRFUNC, pspec->name, G_OBJECT_TYPE_NAME (object)); + return FALSE; + } + if (G_UNLIKELY (((pspec->flags & G_PARAM_CONSTRUCT_ONLY) && !object_in_construction (object)))) + { + g_warning ("%s: construct property \"%s\" for object '%s' can't be set after construction", + G_STRFUNC, pspec->name, G_OBJECT_TYPE_NAME (object)); + return FALSE; + } + return TRUE; +} + +/** + * g_object_setv: (skip) + * @object: a #GObject + * @n_properties: the number of properties + * @names: (array length=n_properties): the names of each property to be set + * @values: (array length=n_properties): the values of each property to be set + * + * Sets @n_properties properties for an @object. + * Properties to be set will be taken from @values. All properties must be + * valid. Warnings will be emitted and undefined behaviour may result if invalid + * properties are passed in. + * + * Since: 2.54 + */ +void +g_object_setv (GObject *object, + guint n_properties, + const gchar *names[], + const GValue values[]) +{ + guint i; + GObjectNotifyQueue *nqueue; + GParamSpec *pspec; + GType obj_type; + + g_return_if_fail (G_IS_OBJECT (object)); + + if (n_properties == 0) + return; + + g_object_ref (object); + obj_type = G_OBJECT_TYPE (object); + nqueue = g_object_notify_queue_freeze (object, FALSE); + for (i = 0; i < n_properties; i++) + { + pspec = g_param_spec_pool_lookup (pspec_pool, names[i], obj_type, TRUE); + + if (!g_object_set_is_valid_property (object, pspec, names[i])) + break; + + consider_issuing_property_deprecation_warning (pspec); + object_set_property (object, pspec, &values[i], nqueue); + } + + g_object_notify_queue_thaw (object, nqueue); + g_object_unref (object); +} + /** * g_object_set_valist: (skip) * @object: a #GObject @@ -2130,28 +2266,9 @@ g_object_set_valist (GObject *object, name, G_OBJECT_TYPE (object), TRUE); - if (!pspec) - { - g_warning ("%s: object class '%s' has no property named '%s'", - G_STRFUNC, - G_OBJECT_TYPE_NAME (object), - name); - break; - } - if (!(pspec->flags & G_PARAM_WRITABLE)) - { - g_warning ("%s: property '%s' of object class '%s' is not writable", - G_STRFUNC, - pspec->name, - G_OBJECT_TYPE_NAME (object)); - break; - } - if ((pspec->flags & G_PARAM_CONSTRUCT_ONLY) && !object_in_construction (object)) - { - g_warning ("%s: construct property \"%s\" for object '%s' can't be set after construction", - G_STRFUNC, pspec->name, G_OBJECT_TYPE_NAME (object)); - break; - } + + if (!g_object_set_is_valid_property (object, pspec, name)) + break; G_VALUE_COLLECT_INIT (&value, pspec->value_type, var_args, 0, &error); @@ -2174,6 +2291,74 @@ g_object_set_valist (GObject *object, g_object_unref (object); } +static inline gboolean +g_object_get_is_valid_property (GObject *object, + GParamSpec *pspec, + const char *property_name) +{ + if (G_UNLIKELY (pspec == NULL)) + { + g_warning ("%s: object class '%s' has no property named '%s'", + G_STRFUNC, G_OBJECT_TYPE_NAME (object), property_name); + return FALSE; + } + if (G_UNLIKELY (!(pspec->flags & G_PARAM_READABLE))) + { + g_warning ("%s: property '%s' of object class '%s' is not readable", + G_STRFUNC, pspec->name, G_OBJECT_TYPE_NAME (object)); + return FALSE; + } + return TRUE; +} + +/** + * g_object_getv: + * @object: a #GObject + * @n_properties: the number of properties + * @names: (array length=n_properties): the names of each property to get + * @values: (array length=n_properties): the values of each property to get + * + * Gets @n_properties properties for an @object. + * Obtained properties will be set to @values. All properties must be valid. + * Warnings will be emitted and undefined behaviour may result if invalid + * properties are passed in. + * + * Since: 2.54 + */ +void +g_object_getv (GObject *object, + guint n_properties, + const gchar *names[], + GValue values[]) +{ + guint i; + GParamSpec *pspec; + GType obj_type; + + g_return_if_fail (G_IS_OBJECT (object)); + + if (n_properties == 0) + return; + + g_object_ref (object); + + obj_type = G_OBJECT_TYPE (object); + for (i = 0; i < n_properties; i++) + { + pspec = g_param_spec_pool_lookup (pspec_pool, + names[i], + obj_type, + TRUE); + if (!g_object_get_is_valid_property (object, pspec, names[i])) + break; + + memset (&values[i], 0, sizeof (GValue)); + g_value_init (&values[i], pspec->value_type); + object_get_property (object, pspec, &values[i]); + } + g_object_unref (object); +} + /** * g_object_get_valist: (skip) * @object: a #GObject @@ -2212,22 +2397,9 @@ g_object_get_valist (GObject *object, name, G_OBJECT_TYPE (object), TRUE); - if (!pspec) - { - g_warning ("%s: object class '%s' has no property named '%s'", - G_STRFUNC, - G_OBJECT_TYPE_NAME (object), - name); - break; - } - if (!(pspec->flags & G_PARAM_READABLE)) - { - g_warning ("%s: property '%s' of object class '%s' is not readable", - G_STRFUNC, - pspec->name, - G_OBJECT_TYPE_NAME (object)); - break; - } + + if (!g_object_get_is_valid_property (object, pspec, name)) + break; g_value_init (&value, pspec->value_type); @@ -2338,41 +2510,7 @@ g_object_set_property (GObject *object, const gchar *property_name, const GValue *value) { - GObjectNotifyQueue *nqueue; - GParamSpec *pspec; - - g_return_if_fail (G_IS_OBJECT (object)); - g_return_if_fail (property_name != NULL); - g_return_if_fail (G_IS_VALUE (value)); - - g_object_ref (object); - nqueue = g_object_notify_queue_freeze (object, FALSE); - - pspec = g_param_spec_pool_lookup (pspec_pool, - property_name, - G_OBJECT_TYPE (object), - TRUE); - if (!pspec) - g_warning ("%s: object class '%s' has no property named '%s'", - G_STRFUNC, - G_OBJECT_TYPE_NAME (object), - property_name); - else if (!(pspec->flags & G_PARAM_WRITABLE)) - g_warning ("%s: property '%s' of object class '%s' is not writable", - G_STRFUNC, - pspec->name, - G_OBJECT_TYPE_NAME (object)); - else if ((pspec->flags & G_PARAM_CONSTRUCT_ONLY) && !object_in_construction (object)) - g_warning ("%s: construct property \"%s\" for object '%s' can't be set after construction", - G_STRFUNC, pspec->name, G_OBJECT_TYPE_NAME (object)); - else - { - consider_issuing_property_deprecation_warning (pspec); - object_set_property (object, pspec, value, nqueue); - } - - g_object_notify_queue_thaw (object, nqueue); - g_object_unref (object); + g_object_setv (object, 1, &property_name, value); } /** @@ -2408,17 +2546,8 @@ g_object_get_property (GObject *object, property_name, G_OBJECT_TYPE (object), TRUE); - if (!pspec) - g_warning ("%s: object class '%s' has no property named '%s'", - G_STRFUNC, - G_OBJECT_TYPE_NAME (object), - property_name); - else if (!(pspec->flags & G_PARAM_READABLE)) - g_warning ("%s: property '%s' of object class '%s' is not readable", - G_STRFUNC, - pspec->name, - G_OBJECT_TYPE_NAME (object)); - else + + if (g_object_get_is_valid_property (object, pspec, property_name)) { GValue *prop_value, tmp_value = G_VALUE_INIT; @@ -4103,7 +4232,7 @@ g_object_compat_control (gsize what, } } -G_DEFINE_TYPE (GInitiallyUnowned, g_initially_unowned, G_TYPE_OBJECT); +G_DEFINE_TYPE (GInitiallyUnowned, g_initially_unowned, G_TYPE_OBJECT) static void g_initially_unowned_init (GInitiallyUnowned *object) diff --git a/gobject/gobject.h b/gobject/gobject.h index 32ab99733..afb45436e 100644 --- a/gobject/gobject.h +++ b/gobject/gobject.h @@ -420,7 +420,12 @@ GLIB_AVAILABLE_IN_ALL gpointer g_object_new (GType object_type, const gchar *first_property_name, ...); -GLIB_AVAILABLE_IN_ALL +GLIB_AVAILABLE_IN_2_54 +GObject* g_object_new_with_properties (GType object_type, + guint n_properties, + const char *names[], + const GValue values[]); +GLIB_DEPRECATED_IN_2_54_FOR(g_object_new_with_properties) gpointer g_object_newv (GType object_type, guint n_parameters, GParameter *parameters); @@ -444,10 +449,20 @@ GLIB_AVAILABLE_IN_ALL void g_object_disconnect (gpointer object, const gchar *signal_spec, ...) G_GNUC_NULL_TERMINATED; +GLIB_AVAILABLE_IN_2_54 +void g_object_setv (GObject *object, + guint n_properties, + const gchar *names[], + const GValue values[]); GLIB_AVAILABLE_IN_ALL void g_object_set_valist (GObject *object, const gchar *first_property_name, va_list var_args); +GLIB_AVAILABLE_IN_2_54 +void g_object_getv (GObject *object, + guint n_properties, + const gchar *names[], + GValue values[]); GLIB_AVAILABLE_IN_ALL void g_object_get_valist (GObject *object, const gchar *first_property_name, diff --git a/gobject/gobject.rc b/gobject/gobject.rc deleted file mode 100644 index 905ea4221..000000000 --- a/gobject/gobject.rc +++ /dev/null @@ -1,30 +0,0 @@ -#include <winver.h> - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,52,3,0 - PRODUCTVERSION 2,52,3,0 - FILEFLAGSMASK 0 - FILEFLAGS 0 - FILEOS VOS__WINDOWS32 - FILETYPE VFT_DLL - FILESUBTYPE VFT2_UNKNOWN - BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904B0" - BEGIN - VALUE "CompanyName", "The GLib developer community" - VALUE "FileDescription", "GObject" - VALUE "FileVersion", "2.52.3.0" - VALUE "InternalName", "libgobject-2.0-0" - VALUE "LegalCopyright", "Copyright © 1998-2011 Tim Janik, Red Hat, Inc. and others" - VALUE "OriginalFilename", "libgobject-2.0-0.dll" - VALUE "ProductName", "GLib" - VALUE "ProductVersion", "2.52.3" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END - END diff --git a/gobject/gparam.h b/gobject/gparam.h index 7584d5da4..c847d4e4a 100644 --- a/gobject/gparam.h +++ b/gobject/gparam.h @@ -267,6 +267,8 @@ struct _GParamSpecClass * * The GParameter struct is an auxiliary structure used * to hand parameter name/value pairs to g_object_newv(). + * + * Deprecated: 2.54: This type is not introspectable. */ struct _GParameter /* auxiliary structure for _setv() variants */ { diff --git a/gobject/gvaluetransform.c b/gobject/gvaluetransform.c index 5579e7f41..48051f871 100644 --- a/gobject/gvaluetransform.c +++ b/gobject/gvaluetransform.c @@ -183,15 +183,10 @@ static void value_transform_enum_string (const GValue *src_value, GValue *dest_value) { - GEnumClass *class = g_type_class_ref (G_VALUE_TYPE (src_value)); - GEnumValue *enum_value = g_enum_get_value (class, src_value->data[0].v_long); - - if (enum_value) - dest_value->data[0].v_pointer = g_strdup (enum_value->value_name); - else - dest_value->data[0].v_pointer = g_strdup_printf ("%ld", src_value->data[0].v_long); - - g_type_class_unref (class); + gint v_enum = src_value->data[0].v_long; + gchar *str = g_enum_to_string (G_VALUE_TYPE (src_value), v_enum); + + dest_value->data[0].v_pointer = str; } static void value_transform_flags_string (const GValue *src_value, @@ -199,7 +194,10 @@ value_transform_flags_string (const GValue *src_value, { GFlagsClass *class = g_type_class_ref (G_VALUE_TYPE (src_value)); GFlagsValue *flags_value = g_flags_get_first_value (class, src_value->data[0].v_ulong); - + + /* Note: this does not use g_flags_to_string() + * to keep backwards compatibility. + */ if (flags_value) { GString *gstring = g_string_new (NULL); diff --git a/gobject/makefile.msc b/gobject/makefile.msc deleted file mode 100644 index 6cb06a277..000000000 --- a/gobject/makefile.msc +++ /dev/null @@ -1,83 +0,0 @@ -## Makefile for building the gobject dll with Microsoft C -## Use: nmake -f makefile.msc install - -TOP = ..\.. - -!INCLUDE ..\build\win32\make.msc - -################################################################ - -INCLUDES = -FImsvc_recommended_pragmas.h -I .. -I . -I ..\glib -DEFINES = -DHAVE_CONFIG_H -DGOBJECT_COMPILATION -DG_LOG_DOMAIN=\"GLib-GObject\" \ - -DG_ENABLE_DEBUG -# -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -# -DG_DISABLE_CAST_CHECKS - -all : \ - glib-genmarshal.exe \ - gmarshal.h \ - gmarshal.c \ - gmarshal.strings \ - gobject-query.exe \ - libgobject-2.0-0.dll \ - gobject-2.52s.lib \ - testgobject.exe - -gobject_OBJECTS = \ - gboxed.obj \ - gclosure.obj \ - genums.obj \ - gobject.obj \ - gparam.obj \ - gparamspecs.obj \ - gsignal.obj \ - gsourceclosure.obj \ - gtype.obj \ - gtypemodule.obj \ - gtypeplugin.obj \ - gvalue.obj \ - gvaluearray.obj \ - gvaluetypes.obj \ - gvaluetransform.obj - -gobject.def: gobject.symbols - echo EXPORTS > gobject.def - cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DALL_FILES \ - -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_NORETURN= \ - -DG_GNUC_PRINTF=;G_GNUC_PRINTF gobject.symbols >> gobject.def - -gobject.res : gobject.rc - rc -DBUILDNUMBER=0 -r -fo gobject.res gobject.rc - -gmarshal.h : gmarshal.list glib-genmarshal.exe - echo #ifndef __G_MARSHAL_H__ > xgen-gmh - echo #define __G_MARSHAL_H__ >> xgen-gmh - glib-genmarshal --nostdinc --prefix=g_cclosure_marshal gmarshal.list --header >> xgen-gmh - echo #endif /* __G_MARSHAL_H__ */ >> xgen-gmh - copy xgen-gmh gmarshal.h - -gmarshal.c: gmarshal.list gmarshal.h glib-genmarshal.exe - glib-genmarshal --nostdinc --prefix=g_cclosure_marshal gmarshal.list --body > gmarshal.c - -libgobject-2.0-0.dll : $(gobject_OBJECTS) gobject.def gobject.res - $(CC) $(CFLAGS) -Fm -LD -Fe$@ $(gobject_OBJECTS) gobject.res \ - ..\glib\glib-2.0.lib $(LDFLAGS) /implib:gobject-2.0.lib /def:gobject.def || del $@ - -gobject-2.52s.lib : $(gobject_OBJECTS) - lib /out:$@ $(gobject_OBJECTS) - -# link glib's static version to avoid installing -glib-genmarshal.exe : glib-genmarshal.c gmarshal.strings - $(CC) -Fe$@ $(CFLAGS) -UGOBJECT_COMPILATION glib-genmarshal.c \ - ..\glib\glib-2.52s.lib user32.lib advapi32.lib ole32.lib shell32.lib $(INTL_LIBS) - -gobject-query.exe : gobject-query.c libgobject-2.0-0.dll - $(CC) -Fe$@ $(CFLAGS) -UGOBJECT_COMPILATION gobject-query.c \ - ..\glib\glib-2.0.lib gobject-2.0.lib user32.lib advapi32.lib $(INTL_LIBS) - -gmarshal.strings : gmarshal.list - perl marshal-genstrings.pl > gmarshal.strings - -.c.exe : - $(CC) $(CFLAGS) -c $< - $(CC) $(CFLAGS) -Fe$@ $< gobject-2.0.lib ..\glib\glib-2.0.lib ..\gmodule\gmodule-2.0.lib $(LDFLAGS) user32.lib /subsystem:console diff --git a/gobject/tests/.gitignore b/gobject/tests/.gitignore new file mode 100644 index 000000000..06f3991ee --- /dev/null +++ b/gobject/tests/.gitignore @@ -0,0 +1,18 @@ +binding +boxed +closure +dynamictests +enums +ifaceproperties +object +param +properties +qdata +reference +signal-handler +signals +threadtests +type +value +private +marshalers.[ch] diff --git a/gobject/tests/Makefile.in b/gobject/tests/Makefile.in deleted file mode 100644 index 1ea429594..000000000 --- a/gobject/tests/Makefile.in +++ /dev/null @@ -1,1743 +0,0 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994-2014 Free Software Foundation, Inc. - -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# GLIB - Library of useful C routines - - - - -VPATH = @srcdir@ -am__is_gnu_make = { \ - if test -z '$(MAKELEVEL)'; then \ - false; \ - elif test -n '$(MAKE_HOST)'; then \ - true; \ - elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ - true; \ - else \ - false; \ - fi; \ -} -am__make_running_with_option = \ - case $${target_option-} in \ - ?) ;; \ - *) echo "am__make_running_with_option: internal error: invalid" \ - "target option '$${target_option-}' specified" >&2; \ - exit 1;; \ - esac; \ - has_opt=no; \ - sane_makeflags=$$MAKEFLAGS; \ - if $(am__is_gnu_make); then \ - sane_makeflags=$$MFLAGS; \ - else \ - case $$MAKEFLAGS in \ - *\\[\ \ ]*) \ - bs=\\; \ - sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ - | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ - esac; \ - fi; \ - skip_next=no; \ - strip_trailopt () \ - { \ - flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ - }; \ - for flg in $$sane_makeflags; do \ - test $$skip_next = yes && { skip_next=no; continue; }; \ - case $$flg in \ - *=*|--*) continue;; \ - -*I) strip_trailopt 'I'; skip_next=yes;; \ - -*I?*) strip_trailopt 'I';; \ - -*O) strip_trailopt 'O'; skip_next=yes;; \ - -*O?*) strip_trailopt 'O';; \ - -*l) strip_trailopt 'l'; skip_next=yes;; \ - -*l?*) strip_trailopt 'l';; \ - -[dEDm]) skip_next=yes;; \ - -[JT]) skip_next=yes;; \ - esac; \ - case $$flg in \ - *$$target_option*) has_opt=yes; break;; \ - esac; \ - done; \ - test $$has_opt = yes -am__make_dryrun = (target_option=n; $(am__make_running_with_option)) -am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -TESTS = $(am__EXEEXT_3) -installed_test_PROGRAMS = $(am__EXEEXT_6) -noinst_PROGRAMS = $(am__EXEEXT_7) -check_PROGRAMS = $(am__EXEEXT_5) -@ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__append_1 = $(all_test_ltlibs) -@ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__append_2 = $(all_test_programs) -@ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__append_3 = $(all_test_scripts) -@ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__append_4 = $(all_test_data) -@ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__append_5 = $(all_test_ltlibs) -@ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__append_6 = $(all_test_programs) -@ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__append_7 = $(all_test_scripts) -@ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__append_8 = $(all_test_data) -@ENABLE_INSTALLED_TESTS_TRUE@am__append_9 = $(test_programs) $(installed_test_programs) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(test_extra_programs) $(installed_test_extra_programs) - -@ENABLE_INSTALLED_TESTS_TRUE@am__append_10 = $(test_scripts) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(installed_test_scripts) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(test_extra_scripts) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(installed_test_extra_scripts) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_test_scripts) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_test_extra_scripts) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_installed_test_scripts) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_installed_test_extra_scripts) -@ENABLE_INSTALLED_TESTS_TRUE@am__append_11 = $(test_data) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(installed_test_data) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_test_data) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_installed_test_data) -@ENABLE_INSTALLED_TESTS_TRUE@am__append_12 = $(test_ltlibraries) $(installed_test_ltlibraries) -@ENABLE_INSTALLED_TESTS_TRUE@am__append_13 = $(installed_test_meta_DATA) -@CROSS_COMPILING_FALSE@am__append_14 = signals -@CROSS_COMPILING_FALSE@am__append_15 = marshalers.h marshalers.c -@CROSS_COMPILING_FALSE@am__append_16 = marshalers.list -subdir = gobject/tests -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4macros/attributes.m4 \ - $(top_srcdir)/m4macros/glibtests.m4 \ - $(top_srcdir)/m4macros/gtk-doc.m4 \ - $(top_srcdir)/m4macros/libtool.m4 \ - $(top_srcdir)/m4macros/ltoptions.m4 \ - $(top_srcdir)/m4macros/ltsugar.m4 \ - $(top_srcdir)/m4macros/ltversion.m4 \ - $(top_srcdir)/m4macros/lt~obsolete.m4 \ - $(top_srcdir)/acinclude.m4 $(top_srcdir)/acglib.m4 \ - $(top_srcdir)/glib/libcharset/codeset.m4 \ - $(top_srcdir)/glib/libcharset/glibc21.m4 \ - $(top_srcdir)/m4macros/glib-gettext.m4 \ - $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__uninstall_files_from_dir = { \ - test -z "$$files" \ - || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ - || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ - $(am__cd) "$$dir" && rm -f $$files; }; \ - } -am__installdirs = "$(DESTDIR)$(installed_testdir)" \ - "$(DESTDIR)$(installed_testdir)" \ - "$(DESTDIR)$(installed_testdir)" \ - "$(DESTDIR)$(installed_test_metadir)" \ - "$(DESTDIR)$(installed_testdir)" -LTLIBRARIES = $(installed_test_LTLIBRARIES) $(noinst_LTLIBRARIES) -am__EXEEXT_1 = -@CROSS_COMPILING_FALSE@am__EXEEXT_2 = signals$(EXEEXT) -am__EXEEXT_3 = qdata$(EXEEXT) boxed$(EXEEXT) enums$(EXEEXT) \ - param$(EXEEXT) threadtests$(EXEEXT) dynamictests$(EXEEXT) \ - binding$(EXEEXT) properties$(EXEEXT) reference$(EXEEXT) \ - value$(EXEEXT) type$(EXEEXT) private$(EXEEXT) closure$(EXEEXT) \ - object$(EXEEXT) signal-handler$(EXEEXT) $(am__EXEEXT_1) \ - ifaceproperties$(EXEEXT) $(am__EXEEXT_2) -am__EXEEXT_4 = $(am__EXEEXT_3) -@ENABLE_ALWAYS_BUILD_TESTS_FALSE@am__EXEEXT_5 = $(am__EXEEXT_4) -@ENABLE_INSTALLED_TESTS_TRUE@am__EXEEXT_6 = $(am__EXEEXT_3) -@ENABLE_ALWAYS_BUILD_TESTS_TRUE@am__EXEEXT_7 = $(am__EXEEXT_4) -PROGRAMS = $(installed_test_PROGRAMS) $(noinst_PROGRAMS) -binding_SOURCES = binding.c -binding_OBJECTS = binding.$(OBJEXT) -binding_LDADD = $(LDADD) -binding_DEPENDENCIES = ../libgobject-2.0.la \ - $(top_builddir)/glib/libglib-2.0.la -AM_V_lt = $(am__v_lt_@AM_V@) -am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) -am__v_lt_0 = --silent -am__v_lt_1 = -boxed_SOURCES = boxed.c -boxed_OBJECTS = boxed.$(OBJEXT) -boxed_LDADD = $(LDADD) -boxed_DEPENDENCIES = ../libgobject-2.0.la \ - $(top_builddir)/glib/libglib-2.0.la -closure_SOURCES = closure.c -closure_OBJECTS = closure.$(OBJEXT) -closure_LDADD = $(LDADD) -closure_DEPENDENCIES = ../libgobject-2.0.la \ - $(top_builddir)/glib/libglib-2.0.la -dynamictests_SOURCES = dynamictests.c -dynamictests_OBJECTS = dynamictests.$(OBJEXT) -dynamictests_LDADD = $(LDADD) -dynamictests_DEPENDENCIES = ../libgobject-2.0.la \ - $(top_builddir)/glib/libglib-2.0.la -enums_SOURCES = enums.c -enums_OBJECTS = enums.$(OBJEXT) -enums_LDADD = $(LDADD) -enums_DEPENDENCIES = ../libgobject-2.0.la \ - $(top_builddir)/glib/libglib-2.0.la -am_ifaceproperties_OBJECTS = ifaceproperties.$(OBJEXT) -ifaceproperties_OBJECTS = $(am_ifaceproperties_OBJECTS) -ifaceproperties_LDADD = $(LDADD) -ifaceproperties_DEPENDENCIES = ../libgobject-2.0.la \ - $(top_builddir)/glib/libglib-2.0.la -object_SOURCES = object.c -object_OBJECTS = object.$(OBJEXT) -object_LDADD = $(LDADD) -object_DEPENDENCIES = ../libgobject-2.0.la \ - $(top_builddir)/glib/libglib-2.0.la -param_SOURCES = param.c -param_OBJECTS = param.$(OBJEXT) -param_LDADD = $(LDADD) -param_DEPENDENCIES = ../libgobject-2.0.la \ - $(top_builddir)/glib/libglib-2.0.la -private_SOURCES = private.c -private_OBJECTS = private.$(OBJEXT) -private_LDADD = $(LDADD) -private_DEPENDENCIES = ../libgobject-2.0.la \ - $(top_builddir)/glib/libglib-2.0.la -properties_SOURCES = properties.c -properties_OBJECTS = properties.$(OBJEXT) -properties_LDADD = $(LDADD) -properties_DEPENDENCIES = ../libgobject-2.0.la \ - $(top_builddir)/glib/libglib-2.0.la -qdata_SOURCES = qdata.c -qdata_OBJECTS = qdata.$(OBJEXT) -qdata_LDADD = $(LDADD) -qdata_DEPENDENCIES = ../libgobject-2.0.la \ - $(top_builddir)/glib/libglib-2.0.la -reference_SOURCES = reference.c -reference_OBJECTS = reference.$(OBJEXT) -reference_LDADD = $(LDADD) -reference_DEPENDENCIES = ../libgobject-2.0.la \ - $(top_builddir)/glib/libglib-2.0.la -signal_handler_SOURCES = signal-handler.c -signal_handler_OBJECTS = signal-handler.$(OBJEXT) -signal_handler_LDADD = $(LDADD) -signal_handler_DEPENDENCIES = ../libgobject-2.0.la \ - $(top_builddir)/glib/libglib-2.0.la -am__signals_SOURCES_DIST = signals.c -@CROSS_COMPILING_FALSE@am_signals_OBJECTS = signals.$(OBJEXT) -@CROSS_COMPILING_FALSE@nodist_signals_OBJECTS = marshalers.$(OBJEXT) -signals_OBJECTS = $(am_signals_OBJECTS) $(nodist_signals_OBJECTS) -signals_LDADD = $(LDADD) -signals_DEPENDENCIES = ../libgobject-2.0.la \ - $(top_builddir)/glib/libglib-2.0.la -threadtests_SOURCES = threadtests.c -threadtests_OBJECTS = threadtests.$(OBJEXT) -threadtests_LDADD = $(LDADD) -threadtests_DEPENDENCIES = ../libgobject-2.0.la \ - $(top_builddir)/glib/libglib-2.0.la -type_SOURCES = type.c -type_OBJECTS = type.$(OBJEXT) -type_LDADD = $(LDADD) -type_DEPENDENCIES = ../libgobject-2.0.la \ - $(top_builddir)/glib/libglib-2.0.la -value_SOURCES = value.c -value_OBJECTS = value.$(OBJEXT) -value_LDADD = $(LDADD) -value_DEPENDENCIES = ../libgobject-2.0.la \ - $(top_builddir)/glib/libglib-2.0.la -SCRIPTS = $(installed_test_SCRIPTS) $(noinst_SCRIPTS) -AM_V_P = $(am__v_P_@AM_V@) -am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) -am__v_P_0 = false -am__v_P_1 = : -AM_V_GEN = $(am__v_GEN_@AM_V@) -am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) -am__v_GEN_0 = @echo " GEN " $@; -am__v_GEN_1 = -AM_V_at = $(am__v_at_@AM_V@) -am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) -am__v_at_0 = @ -am__v_at_1 = -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -am__mv = mv -f -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CFLAGS) $(CFLAGS) -AM_V_CC = $(am__v_CC_@AM_V@) -am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) -am__v_CC_0 = @echo " CC " $@; -am__v_CC_1 = -CCLD = $(CC) -LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -AM_V_CCLD = $(am__v_CCLD_@AM_V@) -am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) -am__v_CCLD_0 = @echo " CCLD " $@; -am__v_CCLD_1 = -SOURCES = binding.c boxed.c closure.c dynamictests.c enums.c \ - $(ifaceproperties_SOURCES) object.c param.c private.c \ - properties.c qdata.c reference.c signal-handler.c \ - $(signals_SOURCES) $(nodist_signals_SOURCES) threadtests.c \ - type.c value.c -DIST_SOURCES = binding.c boxed.c closure.c dynamictests.c enums.c \ - $(ifaceproperties_SOURCES) object.c param.c private.c \ - properties.c qdata.c reference.c signal-handler.c \ - $(am__signals_SOURCES_DIST) threadtests.c type.c value.c -am__can_run_installinfo = \ - case $$AM_UPDATE_INFO_DIR in \ - n|no|NO) false;; \ - *) (install-info --version) >/dev/null 2>&1;; \ - esac -DATA = $(installed_test_meta_DATA) $(nobase_installed_test_DATA) \ - $(noinst_DATA) -am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) -# Read a list of newline-separated strings from the standard input, -# and print each of them once, without duplicates. Input order is -# *not* preserved. -am__uniquify_input = $(AWK) '\ - BEGIN { nonempty = 0; } \ - { items[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in items) print i; }; } \ -' -# Make sure the list of sources is unique. This is necessary because, -# e.g., the same source file might be shared among _SOURCES variables -# for different programs/libraries. -am__define_uniq_tagged_files = \ - list='$(am__tagged_files)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags -am__tty_colors_dummy = \ - mgn= red= grn= lgn= blu= brg= std=; \ - am__color_tests=no -am__tty_colors = { \ - $(am__tty_colors_dummy); \ - if test "X$(AM_COLOR_TESTS)" = Xno; then \ - am__color_tests=no; \ - elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ - am__color_tests=yes; \ - elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ - am__color_tests=yes; \ - fi; \ - if test $$am__color_tests = yes; then \ - red='[0;31m'; \ - grn='[0;32m'; \ - lgn='[1;32m'; \ - blu='[1;34m'; \ - mgn='[0;35m'; \ - brg='[1m'; \ - std='[m'; \ - fi; \ -} -am__recheck_rx = ^[ ]*:recheck:[ ]* -am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* -am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* -# A command that, given a newline-separated list of test names on the -# standard input, print the name of the tests that are to be re-run -# upon "make recheck". -am__list_recheck_tests = $(AWK) '{ \ - recheck = 1; \ - while ((rc = (getline line < ($$0 ".trs"))) != 0) \ - { \ - if (rc < 0) \ - { \ - if ((getline line2 < ($$0 ".log")) < 0) \ - recheck = 0; \ - break; \ - } \ - else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ - { \ - recheck = 0; \ - break; \ - } \ - else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ - { \ - break; \ - } \ - }; \ - if (recheck) \ - print $$0; \ - close ($$0 ".trs"); \ - close ($$0 ".log"); \ -}' -# A command that, given a newline-separated list of test names on the -# standard input, create the global log from their .trs and .log files. -am__create_global_log = $(AWK) ' \ -function fatal(msg) \ -{ \ - print "fatal: making $@: " msg | "cat >&2"; \ - exit 1; \ -} \ -function rst_section(header) \ -{ \ - print header; \ - len = length(header); \ - for (i = 1; i <= len; i = i + 1) \ - printf "="; \ - printf "\n\n"; \ -} \ -{ \ - copy_in_global_log = 1; \ - global_test_result = "RUN"; \ - while ((rc = (getline line < ($$0 ".trs"))) != 0) \ - { \ - if (rc < 0) \ - fatal("failed to read from " $$0 ".trs"); \ - if (line ~ /$(am__global_test_result_rx)/) \ - { \ - sub("$(am__global_test_result_rx)", "", line); \ - sub("[ ]*$$", "", line); \ - global_test_result = line; \ - } \ - else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ - copy_in_global_log = 0; \ - }; \ - if (copy_in_global_log) \ - { \ - rst_section(global_test_result ": " $$0); \ - while ((rc = (getline line < ($$0 ".log"))) != 0) \ - { \ - if (rc < 0) \ - fatal("failed to read from " $$0 ".log"); \ - print line; \ - }; \ - printf "\n"; \ - }; \ - close ($$0 ".trs"); \ - close ($$0 ".log"); \ -}' -# Restructured Text title. -am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } -# Solaris 10 'make', and several other traditional 'make' implementations, -# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it -# by disabling -e (using the XSI extension "set +e") if it's set. -am__sh_e_setup = case $$- in *e*) set +e;; esac -# Default flags passed to test drivers. -am__common_driver_flags = \ - --color-tests "$$am__color_tests" \ - --enable-hard-errors "$$am__enable_hard_errors" \ - --expect-failure "$$am__expect_failure" -# To be inserted before the command running the test. Creates the -# directory for the log if needed. Stores in $dir the directory -# containing $f, in $tst the test, in $log the log. Executes the -# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and -# passes TESTS_ENVIRONMENT. Set up options for the wrapper that -# will run the test scripts (or their associated LOG_COMPILER, if -# thy have one). -am__check_pre = \ -$(am__sh_e_setup); \ -$(am__vpath_adj_setup) $(am__vpath_adj) \ -$(am__tty_colors); \ -srcdir=$(srcdir); export srcdir; \ -case "$@" in \ - */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ - *) am__odir=.;; \ -esac; \ -test "x$$am__odir" = x"." || test -d "$$am__odir" \ - || $(MKDIR_P) "$$am__odir" || exit $$?; \ -if test -f "./$$f"; then dir=./; \ -elif test -f "$$f"; then dir=; \ -else dir="$(srcdir)/"; fi; \ -tst=$$dir$$f; log='$@'; \ -if test -n '$(DISABLE_HARD_ERRORS)'; then \ - am__enable_hard_errors=no; \ -else \ - am__enable_hard_errors=yes; \ -fi; \ -case " $(XFAIL_TESTS) " in \ - *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ - am__expect_failure=yes;; \ - *) \ - am__expect_failure=no;; \ -esac; \ -$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) -# A shell command to get the names of the tests scripts with any registered -# extension removed (i.e., equivalently, the names of the test logs, with -# the '.log' extension removed). The result is saved in the shell variable -# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, -# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", -# since that might cause problem with VPATH rewrites for suffix-less tests. -# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. -am__set_TESTS_bases = \ - bases='$(TEST_LOGS)'; \ - bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ - bases=`echo $$bases` -RECHECK_LOGS = $(TEST_LOGS) -AM_RECURSIVE_TARGETS = check recheck -TEST_SUITE_LOG = test-suite.log -TEST_EXTENSIONS = @EXEEXT@ .test -LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS) -am__set_b = \ - case '$@' in \ - */*) \ - case '$*' in \ - */*) b='$*';; \ - *) b=`echo '$@' | sed 's/\.log$$//'`; \ - esac;; \ - *) \ - b='$*';; \ - esac -am__test_logs1 = $(TESTS:=.log) -am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) -TEST_LOGS = $(am__test_logs2:.test.log=.log) -TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver -TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ - $(TEST_LOG_FLAGS) -am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \ - $(top_srcdir)/glib-tap.mk $(top_srcdir)/test-driver -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ABS_TAPSET_DIR = @ABS_TAPSET_DIR@ -ACLOCAL = @ACLOCAL@ -ALLOCA = @ALLOCA@ -AMTAR = @AMTAR@ -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CARBON_LIBS = @CARBON_LIBS@ -CATALOGS = @CATALOGS@ -CATOBJEXT = @CATOBJEXT@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -COCOA_LIBS = @COCOA_LIBS@ -CONFIG_STATUS_DEPENDENCIES = @CONFIG_STATUS_DEPENDENCIES@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DATADIRNAME = @DATADIRNAME@ -DBUS1_CFLAGS = @DBUS1_CFLAGS@ -DBUS1_LIBS = @DBUS1_LIBS@ -DBUS_DAEMON = @DBUS_DAEMON@ -DEFS = -DG_LOG_DOMAIN=\"GLib-GObject\" -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -DTRACE = @DTRACE@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FAM_LIBS = @FAM_LIBS@ -FGREP = @FGREP@ -GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ -GIO = @GIO@ -GIO_MODULE_DIR = @GIO_MODULE_DIR@ -GLIBC21 = @GLIBC21@ -GLIB_BINARY_AGE = @GLIB_BINARY_AGE@ -GLIB_DEBUG_FLAGS = @GLIB_DEBUG_FLAGS@ -GLIB_EXTRA_CFLAGS = @GLIB_EXTRA_CFLAGS@ -GLIB_HIDDEN_VISIBILITY_CFLAGS = @GLIB_HIDDEN_VISIBILITY_CFLAGS@ -GLIB_INTERFACE_AGE = @GLIB_INTERFACE_AGE@ -GLIB_LINK_FLAGS = @GLIB_LINK_FLAGS@ -GLIB_MAJOR_VERSION = @GLIB_MAJOR_VERSION@ -GLIB_MICRO_VERSION = @GLIB_MICRO_VERSION@ -GLIB_MINOR_VERSION = @GLIB_MINOR_VERSION@ -GLIB_RUNTIME_LIBDIR = @GLIB_RUNTIME_LIBDIR@ -GLIB_VERSION = @GLIB_VERSION@ -GLIB_WARN_CFLAGS = @GLIB_WARN_CFLAGS@ -GLIB_WIN32_STATIC_COMPILATION_DEFINE = @GLIB_WIN32_STATIC_COMPILATION_DEFINE@ -GMOFILES = @GMOFILES@ -GMSGFMT = @GMSGFMT@ -GREP = @GREP@ -GSPAWN = @GSPAWN@ -GTHREAD_COMPILE_IMPL_DEFINES = @GTHREAD_COMPILE_IMPL_DEFINES@ -GTKDOC_CHECK = @GTKDOC_CHECK@ -GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@ -GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ -GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ -GTKDOC_MKPDF = @GTKDOC_MKPDF@ -GTKDOC_REBASE = @GTKDOC_REBASE@ -G_LIBS_EXTRA = @G_LIBS_EXTRA@ -G_MODULE_BROKEN_RTLD_GLOBAL = @G_MODULE_BROKEN_RTLD_GLOBAL@ -G_MODULE_HAVE_DLERROR = @G_MODULE_HAVE_DLERROR@ -G_MODULE_IMPL = @G_MODULE_IMPL@ -G_MODULE_LDFLAGS = @G_MODULE_LDFLAGS@ -G_MODULE_LIBS = @G_MODULE_LIBS@ -G_MODULE_LIBS_EXTRA = @G_MODULE_LIBS_EXTRA@ -G_MODULE_NEED_USCORE = @G_MODULE_NEED_USCORE@ -G_MODULE_PLUGIN_LIBS = @G_MODULE_PLUGIN_LIBS@ -G_MODULE_SUPPORTED = @G_MODULE_SUPPORTED@ -G_THREAD_CFLAGS = @G_THREAD_CFLAGS@ -G_THREAD_LIBS = @G_THREAD_LIBS@ -G_THREAD_LIBS_EXTRA = @G_THREAD_LIBS_EXTRA@ -G_THREAD_LIBS_FOR_GTHREAD = @G_THREAD_LIBS_FOR_GTHREAD@ -HTML_DIR = @HTML_DIR@ -ICONV_LIBS = @ICONV_LIBS@ -INDENT = @INDENT@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -INSTOBJEXT = @INSTOBJEXT@ -INTLLIBS = @INTLLIBS@ -INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LIBELF_CFLAGS = @LIBELF_CFLAGS@ -LIBELF_LIBS = @LIBELF_LIBS@ -LIBFFI_CFLAGS = @LIBFFI_CFLAGS@ -LIBFFI_LIBS = @LIBFFI_LIBS@ -LIBMOUNT_CFLAGS = @LIBMOUNT_CFLAGS@ -LIBMOUNT_LIBS = @LIBMOUNT_LIBS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIB_EXE_MACHINE_FLAG = @LIB_EXE_MACHINE_FLAG@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -LTP = @LTP@ -LTP_GENHTML = @LTP_GENHTML@ -LT_AGE = @LT_AGE@ -LT_CURRENT = @LT_CURRENT@ -LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@ -LT_RELEASE = @LT_RELEASE@ -LT_REVISION = @LT_REVISION@ -LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MANIFEST_TOOL = @MANIFEST_TOOL@ -MKDIR_P = @MKDIR_P@ -MKINSTALLDIRS = @MKINSTALLDIRS@ -MSGFMT = @MSGFMT@ -MSGFMT_OPTS = @MSGFMT_OPTS@ -NAMESER_COMPAT_INCLUDE = @NAMESER_COMPAT_INCLUDE@ -NETWORK_LIBS = @NETWORK_LIBS@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PCRE_CFLAGS = @PCRE_CFLAGS@ -PCRE_LIBS = @PCRE_LIBS@ -PCRE_REQUIRES = @PCRE_REQUIRES@ -PCRE_WARN_CFLAGS = @PCRE_WARN_CFLAGS@ -PERL = @PERL@ -PERL_PATH = @PERL_PATH@ -PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ -PLATFORMDEP = @PLATFORMDEP@ -POFILES = @POFILES@ -POSUB = @POSUB@ -PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ -PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ -PYTHON = @PYTHON@ -PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ -PYTHON_PLATFORM = @PYTHON_PLATFORM@ -PYTHON_PREFIX = @PYTHON_PREFIX@ -PYTHON_VERSION = @PYTHON_VERSION@ -RANLIB = @RANLIB@ -REBUILD = @REBUILD@ -SED = @SED@ -SELINUX_LIBS = @SELINUX_LIBS@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -SHTOOL = @SHTOOL@ -STRIP = @STRIP@ -USE_NLS = @USE_NLS@ -VERSION = @VERSION@ -WINDRES = @WINDRES@ -WSPIAPI_INCLUDE = @WSPIAPI_INCLUDE@ -XATTR_LIBS = @XATTR_LIBS@ -XGETTEXT = @XGETTEXT@ -XMLCATALOG = @XMLCATALOG@ -XML_CATALOG_FILE = @XML_CATALOG_FILE@ -XSLTPROC = @XSLTPROC@ -ZLIB_CFLAGS = @ZLIB_CFLAGS@ -ZLIB_LIBS = @ZLIB_LIBS@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_AR = @ac_ct_AR@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -config_h_INCLUDES = @config_h_INCLUDES@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -gio_INCLUDES = @gio_INCLUDES@ -glib_INCLUDES = @glib_INCLUDES@ -gmodule_INCLUDES = @gmodule_INCLUDES@ -gobject_INCLUDES = @gobject_INCLUDES@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -installed_test_metadir = @installed_test_metadir@ -installed_testdir = @installed_testdir@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -ms_librarian = @ms_librarian@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -pkgpyexecdir = @pkgpyexecdir@ -pkgpythondir = @pkgpythondir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -pyexecdir = @pyexecdir@ -pythondir = @pythondir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -TESTS_ENVIRONMENT = \ - G_TEST_SRCDIR="$(abs_srcdir)" \ - G_TEST_BUILDDIR="$(abs_builddir)" \ - G_DEBUG=gc-friendly \ - MALLOC_CHECK_=2 \ - MALLOC_PERTURB_=$$(($${RANDOM:-256} % 256)) - -LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/tap-driver.sh -LOG_COMPILER = $(top_srcdir)/tap-test -NULL = - -# initialize variables for unconditional += appending -BUILT_SOURCES = -BUILT_EXTRA_DIST = -CLEANFILES = *.log *.trs $(am__append_13) $(am__append_15) -DISTCLEANFILES = -MAINTAINERCLEANFILES = -EXTRA_DIST = $(all_dist_test_scripts) $(all_dist_test_data) \ - $(am__append_16) -installed_test_LTLIBRARIES = $(am__append_12) -installed_test_SCRIPTS = $(am__append_10) -nobase_installed_test_DATA = $(am__append_11) -noinst_LTLIBRARIES = $(am__append_1) -noinst_SCRIPTS = $(am__append_3) -noinst_DATA = $(am__append_4) -check_LTLIBRARIES = $(am__append_5) -check_SCRIPTS = $(am__append_7) -check_DATA = $(am__append_8) - -# Note: build even the installed-only targets during 'make check' to ensure that they still work. -# We need to do a bit of trickery here and manage disting via EXTRA_DIST instead of using dist_ prefixes to -# prevent automake from mistreating gmake functions like $(wildcard ...) and $(addprefix ...) as if they were -# filenames, including removing duplicate instances of the opening part before the space, eg. '$(addprefix'. -all_test_programs = $(test_programs) $(uninstalled_test_programs) $(installed_test_programs) \ - $(test_extra_programs) $(uninstalled_test_extra_programs) $(installed_test_extra_programs) - -all_test_scripts = $(test_scripts) $(uninstalled_test_scripts) \ - $(installed_test_scripts) $(test_extra_scripts) \ - $(uninstalled_test_extra_scripts) \ - $(installed_test_extra_scripts) $(all_dist_test_scripts) -all_dist_test_scripts = $(dist_test_scripts) $(dist_uninstalled_test_scripts) $(dist_installed_test_scripts) \ - $(dist_test_extra_scripts) $(dist_uninstalled_test_extra_scripts) $(dist_installed_test_extra_scripts) - -all_test_data = $(test_data) $(uninstalled_test_data) \ - $(installed_test_data) $(all_dist_test_data) -all_dist_test_data = $(dist_test_data) $(dist_uninstalled_test_data) $(dist_installed_test_data) -all_test_ltlibs = $(test_ltlibraries) $(uninstalled_test_ltlibraries) $(installed_test_ltlibraries) -@ENABLE_INSTALLED_TESTS_TRUE@installed_testcases = $(test_programs) $(installed_test_programs) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(test_scripts) $(installed_test_scripts) \ -@ENABLE_INSTALLED_TESTS_TRUE@ $(dist_test_scripts) $(dist_installed_test_scripts) - -@ENABLE_INSTALLED_TESTS_TRUE@installed_test_meta_DATA = $(installed_testcases:=.test) -LDADD = ../libgobject-2.0.la $(top_builddir)/glib/libglib-2.0.la -AM_CPPFLAGS = -g $(gobject_INCLUDES) $(GLIB_DEBUG_FLAGS) -AM_CFLAGS = $(GLIB_WARN_CFLAGS) - -# ----------------------------------------------------------------------------- - -# ----------------------------------------------------------------------------- -test_programs = qdata boxed enums param threadtests dynamictests \ - binding properties reference value type private closure object \ - signal-handler $(NULL) ifaceproperties $(am__append_14) -ifaceproperties_SOURCES = ifaceproperties.c testcommon.h - -# ----------------------------------------------------------------------------- - -# The marshalers test requires running a binary, so we cannot build it when -# cross-compiling -@CROSS_COMPILING_FALSE@glib_genmarshal = $(top_builddir)/gobject/glib-genmarshal -@CROSS_COMPILING_FALSE@signals_SOURCES = signals.c -@CROSS_COMPILING_FALSE@nodist_signals_SOURCES = marshalers.c marshalers.h -all: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) all-am - -.SUFFIXES: -.SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/glib-tap.mk $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gobject/tests/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnu gobject/tests/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; -$(top_srcdir)/glib-tap.mk $(am__empty): - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): - -clean-checkLTLIBRARIES: - -test -z "$(check_LTLIBRARIES)" || rm -f $(check_LTLIBRARIES) - @list='$(check_LTLIBRARIES)'; \ - locs=`for p in $$list; do echo $$p; done | \ - sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ - sort -u`; \ - test -z "$$locs" || { \ - echo rm -f $${locs}; \ - rm -f $${locs}; \ - } - -install-installed_testLTLIBRARIES: $(installed_test_LTLIBRARIES) - @$(NORMAL_INSTALL) - @list='$(installed_test_LTLIBRARIES)'; test -n "$(installed_testdir)" || list=; \ - list2=; for p in $$list; do \ - if test -f $$p; then \ - list2="$$list2 $$p"; \ - else :; fi; \ - done; \ - test -z "$$list2" || { \ - echo " $(MKDIR_P) '$(DESTDIR)$(installed_testdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(installed_testdir)" || exit 1; \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(installed_testdir)'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(installed_testdir)"; \ - } - -uninstall-installed_testLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(installed_test_LTLIBRARIES)'; test -n "$(installed_testdir)" || list=; \ - for p in $$list; do \ - $(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(installed_testdir)/$$f'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(installed_testdir)/$$f"; \ - done - -clean-installed_testLTLIBRARIES: - -test -z "$(installed_test_LTLIBRARIES)" || rm -f $(installed_test_LTLIBRARIES) - @list='$(installed_test_LTLIBRARIES)'; \ - locs=`for p in $$list; do echo $$p; done | \ - sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ - sort -u`; \ - test -z "$$locs" || { \ - echo rm -f $${locs}; \ - rm -f $${locs}; \ - } - -clean-noinstLTLIBRARIES: - -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) - @list='$(noinst_LTLIBRARIES)'; \ - locs=`for p in $$list; do echo $$p; done | \ - sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ - sort -u`; \ - test -z "$$locs" || { \ - echo rm -f $${locs}; \ - rm -f $${locs}; \ - } - -clean-checkPROGRAMS: - @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list -install-installed_testPROGRAMS: $(installed_test_PROGRAMS) - @$(NORMAL_INSTALL) - @list='$(installed_test_PROGRAMS)'; test -n "$(installed_testdir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(installed_testdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(installed_testdir)" || exit 1; \ - fi; \ - for p in $$list; do echo "$$p $$p"; done | \ - sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p \ - || test -f $$p1 \ - ; then echo "$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n;h' \ - -e 's|.*|.|' \ - -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ - sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) files[d] = files[d] " " $$1; \ - else { print "f", $$3 "/" $$4, $$1; } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(installed_testdir)$$dir'"; \ - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(installed_testdir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-installed_testPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(installed_test_PROGRAMS)'; test -n "$(installed_testdir)" || list=; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' \ - `; \ - test -n "$$list" || exit 0; \ - echo " ( cd '$(DESTDIR)$(installed_testdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(installed_testdir)" && rm -f $$files - -clean-installed_testPROGRAMS: - @list='$(installed_test_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list - -clean-noinstPROGRAMS: - @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list - -binding$(EXEEXT): $(binding_OBJECTS) $(binding_DEPENDENCIES) $(EXTRA_binding_DEPENDENCIES) - @rm -f binding$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(binding_OBJECTS) $(binding_LDADD) $(LIBS) - -boxed$(EXEEXT): $(boxed_OBJECTS) $(boxed_DEPENDENCIES) $(EXTRA_boxed_DEPENDENCIES) - @rm -f boxed$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(boxed_OBJECTS) $(boxed_LDADD) $(LIBS) - -closure$(EXEEXT): $(closure_OBJECTS) $(closure_DEPENDENCIES) $(EXTRA_closure_DEPENDENCIES) - @rm -f closure$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(closure_OBJECTS) $(closure_LDADD) $(LIBS) - -dynamictests$(EXEEXT): $(dynamictests_OBJECTS) $(dynamictests_DEPENDENCIES) $(EXTRA_dynamictests_DEPENDENCIES) - @rm -f dynamictests$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(dynamictests_OBJECTS) $(dynamictests_LDADD) $(LIBS) - -enums$(EXEEXT): $(enums_OBJECTS) $(enums_DEPENDENCIES) $(EXTRA_enums_DEPENDENCIES) - @rm -f enums$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(enums_OBJECTS) $(enums_LDADD) $(LIBS) - -ifaceproperties$(EXEEXT): $(ifaceproperties_OBJECTS) $(ifaceproperties_DEPENDENCIES) $(EXTRA_ifaceproperties_DEPENDENCIES) - @rm -f ifaceproperties$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(ifaceproperties_OBJECTS) $(ifaceproperties_LDADD) $(LIBS) - -object$(EXEEXT): $(object_OBJECTS) $(object_DEPENDENCIES) $(EXTRA_object_DEPENDENCIES) - @rm -f object$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(object_OBJECTS) $(object_LDADD) $(LIBS) - -param$(EXEEXT): $(param_OBJECTS) $(param_DEPENDENCIES) $(EXTRA_param_DEPENDENCIES) - @rm -f param$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(param_OBJECTS) $(param_LDADD) $(LIBS) - -private$(EXEEXT): $(private_OBJECTS) $(private_DEPENDENCIES) $(EXTRA_private_DEPENDENCIES) - @rm -f private$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(private_OBJECTS) $(private_LDADD) $(LIBS) - -properties$(EXEEXT): $(properties_OBJECTS) $(properties_DEPENDENCIES) $(EXTRA_properties_DEPENDENCIES) - @rm -f properties$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(properties_OBJECTS) $(properties_LDADD) $(LIBS) - -qdata$(EXEEXT): $(qdata_OBJECTS) $(qdata_DEPENDENCIES) $(EXTRA_qdata_DEPENDENCIES) - @rm -f qdata$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(qdata_OBJECTS) $(qdata_LDADD) $(LIBS) - -reference$(EXEEXT): $(reference_OBJECTS) $(reference_DEPENDENCIES) $(EXTRA_reference_DEPENDENCIES) - @rm -f reference$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(reference_OBJECTS) $(reference_LDADD) $(LIBS) - -signal-handler$(EXEEXT): $(signal_handler_OBJECTS) $(signal_handler_DEPENDENCIES) $(EXTRA_signal_handler_DEPENDENCIES) - @rm -f signal-handler$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(signal_handler_OBJECTS) $(signal_handler_LDADD) $(LIBS) - -signals$(EXEEXT): $(signals_OBJECTS) $(signals_DEPENDENCIES) $(EXTRA_signals_DEPENDENCIES) - @rm -f signals$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(signals_OBJECTS) $(signals_LDADD) $(LIBS) - -threadtests$(EXEEXT): $(threadtests_OBJECTS) $(threadtests_DEPENDENCIES) $(EXTRA_threadtests_DEPENDENCIES) - @rm -f threadtests$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(threadtests_OBJECTS) $(threadtests_LDADD) $(LIBS) - -type$(EXEEXT): $(type_OBJECTS) $(type_DEPENDENCIES) $(EXTRA_type_DEPENDENCIES) - @rm -f type$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(type_OBJECTS) $(type_LDADD) $(LIBS) - -value$(EXEEXT): $(value_OBJECTS) $(value_DEPENDENCIES) $(EXTRA_value_DEPENDENCIES) - @rm -f value$(EXEEXT) - $(AM_V_CCLD)$(LINK) $(value_OBJECTS) $(value_LDADD) $(LIBS) -install-installed_testSCRIPTS: $(installed_test_SCRIPTS) - @$(NORMAL_INSTALL) - @list='$(installed_test_SCRIPTS)'; test -n "$(installed_testdir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(installed_testdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(installed_testdir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n' \ - -e 'h;s|.*|.|' \ - -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) { files[d] = files[d] " " $$1; \ - if (++n[d] == $(am__install_max)) { \ - print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ - else { print "f", d "/" $$4, $$1 } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(installed_testdir)$$dir'"; \ - $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(installed_testdir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-installed_testSCRIPTS: - @$(NORMAL_UNINSTALL) - @list='$(installed_test_SCRIPTS)'; test -n "$(installed_testdir)" || exit 0; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 's,.*/,,;$(transform)'`; \ - dir='$(DESTDIR)$(installed_testdir)'; $(am__uninstall_files_from_dir) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/binding.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/boxed.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/closure.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dynamictests.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/enums.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ifaceproperties.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/marshalers.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/param.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/private.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/properties.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qdata.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reference.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/signal-handler.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/signals.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/threadtests.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/type.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/value.Po@am__quote@ - -.c.o: -@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< - -.c.obj: -@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.c.lo: -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-installed_test_metaDATA: $(installed_test_meta_DATA) - @$(NORMAL_INSTALL) - @list='$(installed_test_meta_DATA)'; test -n "$(installed_test_metadir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(installed_test_metadir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(installed_test_metadir)" || exit 1; \ - fi; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(installed_test_metadir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(installed_test_metadir)" || exit $$?; \ - done - -uninstall-installed_test_metaDATA: - @$(NORMAL_UNINSTALL) - @list='$(installed_test_meta_DATA)'; test -n "$(installed_test_metadir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - dir='$(DESTDIR)$(installed_test_metadir)'; $(am__uninstall_files_from_dir) -install-nobase_installed_testDATA: $(nobase_installed_test_DATA) - @$(NORMAL_INSTALL) - @list='$(nobase_installed_test_DATA)'; test -n "$(installed_testdir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(installed_testdir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(installed_testdir)" || exit 1; \ - fi; \ - $(am__nobase_list) | while read dir files; do \ - xfiles=; for file in $$files; do \ - if test -f "$$file"; then xfiles="$$xfiles $$file"; \ - else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \ - test -z "$$xfiles" || { \ - test "x$$dir" = x. || { \ - echo " $(MKDIR_P) '$(DESTDIR)$(installed_testdir)/$$dir'"; \ - $(MKDIR_P) "$(DESTDIR)$(installed_testdir)/$$dir"; }; \ - echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(installed_testdir)/$$dir'"; \ - $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(installed_testdir)/$$dir" || exit $$?; }; \ - done - -uninstall-nobase_installed_testDATA: - @$(NORMAL_UNINSTALL) - @list='$(nobase_installed_test_DATA)'; test -n "$(installed_testdir)" || list=; \ - $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \ - dir='$(DESTDIR)$(installed_testdir)'; $(am__uninstall_files_from_dir) - -ID: $(am__tagged_files) - $(am__define_uniq_tagged_files); mkid -fID $$unique -tags: tags-am -TAGS: tags - -tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) - set x; \ - here=`pwd`; \ - $(am__define_uniq_tagged_files); \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: ctags-am - -CTAGS: ctags -ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) - $(am__define_uniq_tagged_files); \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" -cscopelist: cscopelist-am - -cscopelist-am: $(am__tagged_files) - list='$(am__tagged_files)'; \ - case "$(srcdir)" in \ - [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ - *) sdir=$(subdir)/$(srcdir) ;; \ - esac; \ - for i in $$list; do \ - if test -f "$$i"; then \ - echo "$(subdir)/$$i"; \ - else \ - echo "$$sdir/$$i"; \ - fi; \ - done >> $(top_builddir)/cscope.files - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -# Recover from deleted '.trs' file; this should ensure that -# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create -# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells -# to avoid problems with "make -n". -.log.trs: - rm -f $< $@ - $(MAKE) $(AM_MAKEFLAGS) $< - -# Leading 'am--fnord' is there to ensure the list of targets does not -# expand to empty, as could happen e.g. with make check TESTS=''. -am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) -am--force-recheck: - @: - -$(TEST_SUITE_LOG): $(TEST_LOGS) - @$(am__set_TESTS_bases); \ - am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ - redo_bases=`for i in $$bases; do \ - am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ - done`; \ - if test -n "$$redo_bases"; then \ - redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ - redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ - if $(am__make_dryrun); then :; else \ - rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ - fi; \ - fi; \ - if test -n "$$am__remaking_logs"; then \ - echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ - "recursion detected" >&2; \ - elif test -n "$$redo_logs"; then \ - am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ - fi; \ - if $(am__make_dryrun); then :; else \ - st=0; \ - errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ - for i in $$redo_bases; do \ - test -f $$i.trs && test -r $$i.trs \ - || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ - test -f $$i.log && test -r $$i.log \ - || { echo "$$errmsg $$i.log" >&2; st=1; }; \ - done; \ - test $$st -eq 0 || exit 1; \ - fi - @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ - ws='[ ]'; \ - results=`for b in $$bases; do echo $$b.trs; done`; \ - test -n "$$results" || results=/dev/null; \ - all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ - pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ - fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ - skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ - xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ - xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ - error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ - if test `expr $$fail + $$xpass + $$error` -eq 0; then \ - success=true; \ - else \ - success=false; \ - fi; \ - br='==================='; br=$$br$$br$$br$$br; \ - result_count () \ - { \ - if test x"$$1" = x"--maybe-color"; then \ - maybe_colorize=yes; \ - elif test x"$$1" = x"--no-color"; then \ - maybe_colorize=no; \ - else \ - echo "$@: invalid 'result_count' usage" >&2; exit 4; \ - fi; \ - shift; \ - desc=$$1 count=$$2; \ - if test $$maybe_colorize = yes && test $$count -gt 0; then \ - color_start=$$3 color_end=$$std; \ - else \ - color_start= color_end=; \ - fi; \ - echo "$${color_start}# $$desc $$count$${color_end}"; \ - }; \ - create_testsuite_report () \ - { \ - result_count $$1 "TOTAL:" $$all "$$brg"; \ - result_count $$1 "PASS: " $$pass "$$grn"; \ - result_count $$1 "SKIP: " $$skip "$$blu"; \ - result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ - result_count $$1 "FAIL: " $$fail "$$red"; \ - result_count $$1 "XPASS:" $$xpass "$$red"; \ - result_count $$1 "ERROR:" $$error "$$mgn"; \ - }; \ - { \ - echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ - $(am__rst_title); \ - create_testsuite_report --no-color; \ - echo; \ - echo ".. contents:: :depth: 2"; \ - echo; \ - for b in $$bases; do echo $$b; done \ - | $(am__create_global_log); \ - } >$(TEST_SUITE_LOG).tmp || exit 1; \ - mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ - if $$success; then \ - col="$$grn"; \ - else \ - col="$$red"; \ - test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ - fi; \ - echo "$${col}$$br$${std}"; \ - echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \ - echo "$${col}$$br$${std}"; \ - create_testsuite_report --maybe-color; \ - echo "$$col$$br$$std"; \ - if $$success; then :; else \ - echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \ - if test -n "$(PACKAGE_BUGREPORT)"; then \ - echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \ - fi; \ - echo "$$col$$br$$std"; \ - fi; \ - $$success || exit 1 - -check-TESTS: - @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list - @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list - @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) - @set +e; $(am__set_TESTS_bases); \ - log_list=`for i in $$bases; do echo $$i.log; done`; \ - trs_list=`for i in $$bases; do echo $$i.trs; done`; \ - log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ - $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ - exit $$?; -recheck: all $(check_LTLIBRARIES) $(check_PROGRAMS) $(check_SCRIPTS) $(check_DATA) - @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) - @set +e; $(am__set_TESTS_bases); \ - bases=`for i in $$bases; do echo $$i; done \ - | $(am__list_recheck_tests)` || exit 1; \ - log_list=`for i in $$bases; do echo $$i.log; done`; \ - log_list=`echo $$log_list`; \ - $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ - am__force_recheck=am--force-recheck \ - TEST_LOGS="$$log_list"; \ - exit $$? -qdata.log: qdata$(EXEEXT) - @p='qdata$(EXEEXT)'; \ - b='qdata'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -boxed.log: boxed$(EXEEXT) - @p='boxed$(EXEEXT)'; \ - b='boxed'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -enums.log: enums$(EXEEXT) - @p='enums$(EXEEXT)'; \ - b='enums'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -param.log: param$(EXEEXT) - @p='param$(EXEEXT)'; \ - b='param'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -threadtests.log: threadtests$(EXEEXT) - @p='threadtests$(EXEEXT)'; \ - b='threadtests'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -dynamictests.log: dynamictests$(EXEEXT) - @p='dynamictests$(EXEEXT)'; \ - b='dynamictests'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -binding.log: binding$(EXEEXT) - @p='binding$(EXEEXT)'; \ - b='binding'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -properties.log: properties$(EXEEXT) - @p='properties$(EXEEXT)'; \ - b='properties'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -reference.log: reference$(EXEEXT) - @p='reference$(EXEEXT)'; \ - b='reference'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -value.log: value$(EXEEXT) - @p='value$(EXEEXT)'; \ - b='value'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -type.log: type$(EXEEXT) - @p='type$(EXEEXT)'; \ - b='type'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -private.log: private$(EXEEXT) - @p='private$(EXEEXT)'; \ - b='private'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -closure.log: closure$(EXEEXT) - @p='closure$(EXEEXT)'; \ - b='closure'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -object.log: object$(EXEEXT) - @p='object$(EXEEXT)'; \ - b='object'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -signal-handler.log: signal-handler$(EXEEXT) - @p='signal-handler$(EXEEXT)'; \ - b='signal-handler'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -ifaceproperties.log: ifaceproperties$(EXEEXT) - @p='ifaceproperties$(EXEEXT)'; \ - b='ifaceproperties'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -signals.log: signals$(EXEEXT) - @p='signals$(EXEEXT)'; \ - b='signals'; \ - $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -.test.log: - @p='$<'; \ - $(am__set_b); \ - $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ - --log-file $$b.log --trs-file $$b.trs \ - $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ - "$$tst" $(AM_TESTS_FD_REDIRECT) -@am__EXEEXT_TRUE@.test$(EXEEXT).log: -@am__EXEEXT_TRUE@ @p='$<'; \ -@am__EXEEXT_TRUE@ $(am__set_b); \ -@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ -@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ -@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ -@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am - $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES) $(check_PROGRAMS) \ - $(check_SCRIPTS) $(check_DATA) - $(MAKE) $(AM_MAKEFLAGS) check-TESTS -check: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) check-am -all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) -installdirs: - for dir in "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(installed_testdir)" "$(DESTDIR)$(installed_test_metadir)" "$(DESTDIR)$(installed_testdir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - if test -z '$(STRIP)'; then \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - install; \ - else \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ - fi -mostlyclean-generic: - -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) - -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) - -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) - -clean-generic: - -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) -clean: clean-am - -clean-am: clean-checkLTLIBRARIES clean-checkPROGRAMS clean-generic \ - clean-installed_testLTLIBRARIES clean-installed_testPROGRAMS \ - clean-libtool clean-noinstLTLIBRARIES clean-noinstPROGRAMS \ - mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: install-installed_testLTLIBRARIES \ - install-installed_testPROGRAMS install-installed_testSCRIPTS \ - install-installed_test_metaDATA \ - install-nobase_installed_testDATA - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-installed_testLTLIBRARIES \ - uninstall-installed_testPROGRAMS \ - uninstall-installed_testSCRIPTS \ - uninstall-installed_test_metaDATA \ - uninstall-nobase_installed_testDATA - -.MAKE: all check check-am install install-am install-strip - -.PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \ - clean-checkLTLIBRARIES clean-checkPROGRAMS clean-generic \ - clean-installed_testLTLIBRARIES clean-installed_testPROGRAMS \ - clean-libtool clean-noinstLTLIBRARIES clean-noinstPROGRAMS \ - cscopelist-am ctags ctags-am distclean distclean-compile \ - distclean-generic distclean-libtool distclean-tags distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-info install-info-am install-installed_testLTLIBRARIES \ - install-installed_testPROGRAMS install-installed_testSCRIPTS \ - install-installed_test_metaDATA install-man \ - install-nobase_installed_testDATA install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - recheck tags tags-am uninstall uninstall-am \ - uninstall-installed_testLTLIBRARIES \ - uninstall-installed_testPROGRAMS \ - uninstall-installed_testSCRIPTS \ - uninstall-installed_test_metaDATA \ - uninstall-nobase_installed_testDATA - -.PRECIOUS: Makefile - - -@ENABLE_INSTALLED_TESTS_TRUE@%.test: %$(EXEEXT) Makefile -@ENABLE_INSTALLED_TESTS_TRUE@ $(AM_V_GEN) (echo '[Test]' > $@.tmp; \ -@ENABLE_INSTALLED_TESTS_TRUE@ echo 'Type=session' >> $@.tmp; \ -@ENABLE_INSTALLED_TESTS_TRUE@ echo 'Exec=$(installed_testdir)/$(notdir $<) --tap' >> $@.tmp; \ -@ENABLE_INSTALLED_TESTS_TRUE@ echo 'Output=TAP' >> $@.tmp; \ -@ENABLE_INSTALLED_TESTS_TRUE@ mv $@.tmp $@) -@CROSS_COMPILING_FALSE@signals.o: marshalers.h - -@CROSS_COMPILING_FALSE@marshalers.h: Makefile.am marshalers.list -@CROSS_COMPILING_FALSE@ $(AM_V_GEN) $(glib_genmarshal) --prefix=test $(srcdir)/marshalers.list --header --valist-marshallers > marshalers.h - -@CROSS_COMPILING_FALSE@marshalers.c: Makefile.am marshalers.h marshalers.list -@CROSS_COMPILING_FALSE@ $(AM_V_GEN) (echo "#include \"marshalers.h\""; $(glib_genmarshal) --prefix=test $(srcdir)/marshalers.list --body --valist-marshallers) > $@.tmp && mv $@.tmp $@ - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/gobject/tests/binding.c b/gobject/tests/binding.c index b327faf6a..e088ca7a4 100644 --- a/gobject/tests/binding.c +++ b/gobject/tests/binding.c @@ -28,7 +28,7 @@ enum }; static GType binding_source_get_type (void); -G_DEFINE_TYPE (BindingSource, binding_source, G_TYPE_OBJECT); +G_DEFINE_TYPE (BindingSource, binding_source, G_TYPE_OBJECT) static void binding_source_set_property (GObject *gobject, @@ -150,7 +150,7 @@ enum }; static GType binding_target_get_type (void); -G_DEFINE_TYPE (BindingTarget, binding_target, G_TYPE_OBJECT); +G_DEFINE_TYPE (BindingTarget, binding_target, G_TYPE_OBJECT) static void binding_target_set_property (GObject *gobject, diff --git a/gobject/tests/dynamictests.c b/gobject/tests/dynamictests.c index d299c3f27..59a5aebed 100644 --- a/gobject/tests/dynamictests.c +++ b/gobject/tests/dynamictests.c @@ -130,7 +130,7 @@ struct _DynamicObjectClass }; static GType dynamic_object_get_type (void); -G_DEFINE_DYNAMIC_TYPE(DynamicObject, dynamic_object, G_TYPE_OBJECT); +G_DEFINE_DYNAMIC_TYPE(DynamicObject, dynamic_object, G_TYPE_OBJECT) static void dynamic_object_class_init (DynamicObjectClass *class) diff --git a/gobject/tests/enums.c b/gobject/tests/enums.c index 84ffed7aa..3b9641790 100644 --- a/gobject/tests/enums.c +++ b/gobject/tests/enums.c @@ -15,6 +15,7 @@ test_enum_basic (void) GEnumClass *class; GEnumValue *val; GValue value = G_VALUE_INIT; + gchar *to_string; type = g_enum_register_static ("MyEnum", my_enum_values); @@ -49,6 +50,14 @@ test_enum_basic (void) val = g_enum_get_value_by_nick (class, "purple"); g_assert (val == NULL); + to_string = g_enum_to_string (type, 2); + g_assert_cmpstr (to_string, ==, "the second value"); + g_free (to_string); + + to_string = g_enum_to_string (type, 15); + g_assert_cmpstr (to_string, ==, "15"); + g_free (to_string); + g_type_class_unref (class); } @@ -61,6 +70,12 @@ static const GFlagsValue my_flag_values[] = { 0, NULL, NULL } }; +static const GFlagsValue no_default_flag_values[] = +{ + { 1, "the first flag", "one" }, + { 0, NULL, NULL } +}; + static void test_flags_transform_to_string (const GValue *value) { @@ -74,12 +89,15 @@ test_flags_transform_to_string (const GValue *value) static void test_flags_basic (void) { - GType type; + GType type, no_default_type; GFlagsClass *class; GFlagsValue *val; GValue value = G_VALUE_INIT; + gchar *to_string; type = g_flags_register_static ("MyFlags", my_flag_values); + no_default_type = g_flags_register_static ("NoDefaultFlags", + no_default_flag_values); g_value_init (&value, type); g_assert (G_VALUE_HOLDS_FLAGS (&value)); @@ -113,6 +131,30 @@ test_flags_basic (void) test_flags_transform_to_string (&value); g_value_unset (&value); + to_string = g_flags_to_string (type, 1|8); + g_assert_cmpstr (to_string, ==, "the first flag | the third flag"); + g_free (to_string); + + to_string = g_flags_to_string (type, 0); + g_assert_cmpstr (to_string, ==, "no flags"); + g_free (to_string); + + to_string = g_flags_to_string (type, 16); + g_assert_cmpstr (to_string, ==, "0x10"); + g_free (to_string); + + to_string = g_flags_to_string (type, 1|16); + g_assert_cmpstr (to_string, ==, "the first flag | 0x10"); + g_free (to_string); + + to_string = g_flags_to_string (no_default_type, 0); + g_assert_cmpstr (to_string, ==, "0x0"); + g_free (to_string); + + to_string = g_flags_to_string (no_default_type, 16); + g_assert_cmpstr (to_string, ==, "0x10"); + g_free (to_string); + g_type_class_unref (class); } diff --git a/gobject/tests/param.c b/gobject/tests/param.c index 40f453e78..758289bf8 100644 --- a/gobject/tests/param.c +++ b/gobject/tests/param.c @@ -410,19 +410,19 @@ test_value_transform (void) static GType test_object_a_get_type (void); typedef GObject TestObjectA; typedef GObjectClass TestObjectAClass; -G_DEFINE_TYPE (TestObjectA, test_object_a, G_TYPE_OBJECT); +G_DEFINE_TYPE (TestObjectA, test_object_a, G_TYPE_OBJECT) static void test_object_a_class_init (TestObjectAClass *class) { } static void test_object_a_init (TestObjectA *a) { } static GType test_object_b_get_type (void); typedef GObject TestObjectB; typedef GObjectClass TestObjectBClass; -G_DEFINE_TYPE (TestObjectB, test_object_b, test_object_a_get_type ()); +G_DEFINE_TYPE (TestObjectB, test_object_b, test_object_a_get_type ()) static void test_object_b_class_init (TestObjectBClass *class) { } static void test_object_b_init (TestObjectB *b) { } static GType test_object_c_get_type (void); typedef GObject TestObjectC; typedef GObjectClass TestObjectCClass; -G_DEFINE_TYPE (TestObjectC, test_object_c, G_TYPE_OBJECT); +G_DEFINE_TYPE (TestObjectC, test_object_c, G_TYPE_OBJECT) static void test_object_c_class_init (TestObjectCClass *class) { } static void test_object_c_init (TestObjectC *c) { } diff --git a/gobject/tests/properties.c b/gobject/tests/properties.c index f99231707..a1af3f8ba 100644 --- a/gobject/tests/properties.c +++ b/gobject/tests/properties.c @@ -19,7 +19,7 @@ enum { PROP_0, PROP_FOO, PROP_BAR, PROP_BAZ, PROP_QUUX, N_PROPERTIES }; static GParamSpec *properties[N_PROPERTIES] = { NULL, }; static GType test_object_get_type (void); -G_DEFINE_TYPE (TestObject, test_object, G_TYPE_OBJECT); +G_DEFINE_TYPE (TestObject, test_object, G_TYPE_OBJECT) static void test_object_set_foo (TestObject *obj, @@ -356,6 +356,234 @@ properties_construct (void) g_object_unref (obj); } +static void +properties_testv_with_no_properties (void) +{ + TestObject *test_obj; + const char *prop_names[4] = { "foo", "bar", "baz", "quux" }; + GValue values_out[4] = { G_VALUE_INIT }; + guint i; + + /* Test newv_with_properties && getv */ + test_obj = (TestObject *) g_object_new_with_properties ( + test_object_get_type (), 0, NULL, NULL); + g_object_getv (G_OBJECT (test_obj), 4, prop_names, values_out); + + /* It should have init values */ + g_assert_cmpint (g_value_get_int (&values_out[0]), ==, 42); + g_assert_true (g_value_get_boolean (&values_out[1])); + g_assert_cmpstr (g_value_get_string (&values_out[2]), ==, "Hello"); + g_assert_cmpstr (g_value_get_string (&values_out[3]), ==, NULL); + + for (i = 0; i < 4; i++) + g_value_unset (&values_out[i]); + g_object_unref (test_obj); +} + +static void +properties_testv_with_valid_properties (void) +{ + TestObject *test_obj; + const char *prop_names[4] = { "foo", "bar", "baz", "quux" }; + + GValue values_in[4] = { G_VALUE_INIT }; + GValue values_out[4] = { G_VALUE_INIT }; + guint i; + + g_value_init (&(values_in[0]), G_TYPE_INT); + g_value_set_int (&(values_in[0]), 100); + + g_value_init (&(values_in[1]), G_TYPE_BOOLEAN); + g_value_set_boolean (&(values_in[1]), TRUE); + + g_value_init (&(values_in[2]), G_TYPE_STRING); + g_value_set_string (&(values_in[2]), "pigs"); + + g_value_init (&(values_in[3]), G_TYPE_STRING); + g_value_set_string (&(values_in[3]), "fly"); + + /* Test newv_with_properties && getv */ + test_obj = (TestObject *) g_object_new_with_properties ( + test_object_get_type (), 4, prop_names, values_in); + g_object_getv (G_OBJECT (test_obj), 4, prop_names, values_out); + + g_assert_cmpint (g_value_get_int (&values_out[0]), ==, 100); + g_assert_true (g_value_get_boolean (&values_out[1])); + g_assert_cmpstr (g_value_get_string (&values_out[2]), ==, "pigs"); + g_assert_cmpstr (g_value_get_string (&values_out[3]), ==, "fly"); + + /* Test newv2 && getv */ + g_value_set_string (&(values_in[2]), "Elmo knows"); + g_value_set_string (&(values_in[3]), "where you live"); + g_object_setv (G_OBJECT (test_obj), 4, prop_names, values_in); + + g_object_getv (G_OBJECT (test_obj), 4, prop_names, values_out); + + g_assert_cmpint (g_value_get_int (&values_out[0]), ==, 100); + g_assert_true (g_value_get_boolean (&values_out[1])); + + g_assert_cmpstr (g_value_get_string (&values_out[2]), ==, "Elmo knows"); + g_assert_cmpstr (g_value_get_string (&values_out[3]), ==, "where you live"); + + + for (i = 0; i < 4; i++) + { + g_value_unset (&values_in[i]); + g_value_unset (&values_out[i]); + } + + g_object_unref (test_obj); +} + +static void +properties_testv_with_invalid_property_type (void) +{ + if (g_test_subprocess ()) + { + TestObject *test_obj; + const char *invalid_prop_names[1] = { "foo" }; + GValue values_in[1] = { G_VALUE_INIT }; + + g_value_init (&(values_in[0]), G_TYPE_STRING); + g_value_set_string (&(values_in[0]), "fly"); + + test_obj = (TestObject *) g_object_new_with_properties ( + test_object_get_type (), 1, invalid_prop_names, values_in); + /* should give a warning */ + + g_object_unref (test_obj); + } + g_test_trap_subprocess (NULL, 0, 0); + g_test_trap_assert_failed (); + g_test_trap_assert_stderr ("*WARNING*foo*gint*gchararray*"); +} + + +static void +properties_testv_with_invalid_property_names (void) +{ + if (g_test_subprocess ()) + { + TestObject *test_obj; + const char *invalid_prop_names[4] = { "foo", "boo", "moo", "poo" }; + GValue values_in[4] = { G_VALUE_INIT }; + + g_value_init (&(values_in[0]), G_TYPE_INT); + g_value_set_int (&(values_in[0]), 100); + + g_value_init (&(values_in[1]), G_TYPE_BOOLEAN); + g_value_set_boolean (&(values_in[1]), TRUE); + + g_value_init (&(values_in[2]), G_TYPE_STRING); + g_value_set_string (&(values_in[2]), "pigs"); + + g_value_init (&(values_in[3]), G_TYPE_STRING); + g_value_set_string (&(values_in[3]), "fly"); + + test_obj = (TestObject *) g_object_new_with_properties ( + test_object_get_type (), 4, invalid_prop_names, values_in); + /* This call should give 3 Critical warnings. Actually, a critical warning + * shouldn't make g_object_new_with_properties to fail when a bad named + * property is given, because, it will just ignore that property. However, + * for test purposes, it is considered that the test doesn't pass. + */ + + g_object_unref (test_obj); + } + + g_test_trap_subprocess (NULL, 0, 0); + g_test_trap_assert_failed (); + g_test_trap_assert_stderr ("*CRITICAL*g_object_new_is_valid_property*boo*"); +} + +static void +properties_testv_getv (void) +{ + TestObject *test_obj; + const char *prop_names[4] = { "foo", "bar", "baz", "quux" }; + GValue values_out_initialized[4] = { G_VALUE_INIT }; + GValue values_out_uninitialized[4] = { G_VALUE_INIT }; + guint i; + + g_value_init (&(values_out_initialized[0]), G_TYPE_INT); + g_value_init (&(values_out_initialized[1]), G_TYPE_BOOLEAN); + g_value_init (&(values_out_initialized[2]), G_TYPE_STRING); + g_value_init (&(values_out_initialized[3]), G_TYPE_STRING); + + test_obj = (TestObject *) g_object_new_with_properties ( + test_object_get_type (), 0, NULL, NULL); + + /* Test g_object_getv for an initialized values array */ + g_object_getv (G_OBJECT (test_obj), 4, prop_names, values_out_initialized); + /* It should have init values */ + g_assert_cmpint (g_value_get_int (&values_out_initialized[0]), ==, 42); + g_assert_true (g_value_get_boolean (&values_out_initialized[1])); + g_assert_cmpstr (g_value_get_string (&values_out_initialized[2]), ==, "Hello"); + g_assert_cmpstr (g_value_get_string (&values_out_initialized[3]), ==, NULL); + + /* Test g_object_getv for an uninitialized values array */ + g_object_getv (G_OBJECT (test_obj), 4, prop_names, values_out_uninitialized); + /* It should have init values */ + g_assert_cmpint (g_value_get_int (&values_out_uninitialized[0]), ==, 42); + g_assert_true (g_value_get_boolean (&values_out_uninitialized[1])); + g_assert_cmpstr (g_value_get_string (&values_out_uninitialized[2]), ==, "Hello"); + g_assert_cmpstr (g_value_get_string (&values_out_uninitialized[3]), ==, NULL); + + for (i = 0; i < 4; i++) + { + g_value_unset (&values_out_initialized[i]); + g_value_unset (&values_out_uninitialized[i]); + } + g_object_unref (test_obj); +} + +static void +properties_testv_notify_queue (void) +{ + TestObject *test_obj; + const char *prop_names[3] = { "foo", "bar", "baz" }; + GValue values_in[3] = { G_VALUE_INIT }; + Notifys n; + guint i; + + g_value_init (&(values_in[0]), G_TYPE_INT); + g_value_set_int (&(values_in[0]), 100); + + g_value_init (&(values_in[1]), G_TYPE_BOOLEAN); + g_value_set_boolean (&(values_in[1]), TRUE); + + g_value_init (&(values_in[2]), G_TYPE_STRING); + g_value_set_string (&(values_in[2]), ""); + + /* Test newv_with_properties && getv */ + test_obj = (TestObject *) g_object_new_with_properties ( + test_object_get_type (), 0, NULL, NULL); + + g_assert_nonnull (properties[PROP_FOO]); + + n.pspec[0] = properties[PROP_BAZ]; + n.pspec[1] = properties[PROP_BAR]; + n.pspec[2] = properties[PROP_FOO]; + n.pos = 0; + + g_signal_connect (test_obj, "notify", G_CALLBACK (on_notify2), &n); + + g_object_freeze_notify (G_OBJECT (test_obj)); + { + g_object_setv (G_OBJECT (test_obj), 3, prop_names, values_in); + + /* Set "foo" to 70 */ + g_value_set_int (&(values_in[0]), 100); + g_object_setv (G_OBJECT (test_obj), 1, prop_names, values_in); + } + g_object_thaw_notify (G_OBJECT (test_obj)); + g_assert_cmpint (n.pos, ==, 3); + + for (i = 0; i < 3; i++) + g_value_unset (&values_in[i]); + g_object_unref (test_obj); +} + int main (int argc, char *argv[]) { @@ -368,5 +596,17 @@ main (int argc, char *argv[]) g_test_add_func ("/properties/notify-queue", properties_notify_queue); g_test_add_func ("/properties/construct", properties_construct); + g_test_add_func ("/properties/testv_with_no_properties", + properties_testv_with_no_properties); + g_test_add_func ("/properties/testv_with_valid_properties", + properties_testv_with_valid_properties); + g_test_add_func ("/properties/testv_with_invalid_property_type", + properties_testv_with_invalid_property_type); + g_test_add_func ("/properties/testv_with_invalid_property_names", + properties_testv_with_invalid_property_names); + g_test_add_func ("/properties/testv_getv", properties_testv_getv); + g_test_add_func ("/properties/testv_notify_queue", + properties_testv_notify_queue); + return g_test_run (); } diff --git a/gobject/tests/threadtests.c b/gobject/tests/threadtests.c index 7408c0a8c..b623e8ba4 100644 --- a/gobject/tests/threadtests.c +++ b/gobject/tests/threadtests.c @@ -48,11 +48,11 @@ static void interface_per_class_init (void) { call_counter_init (NULL); } /* define 3 test interfaces */ typedef GTypeInterface MyFace0Interface; static GType my_face0_get_type (void); -G_DEFINE_INTERFACE (MyFace0, my_face0, G_TYPE_OBJECT); +G_DEFINE_INTERFACE (MyFace0, my_face0, G_TYPE_OBJECT) static void my_face0_default_init (MyFace0Interface *iface) { call_counter_init (iface); } typedef GTypeInterface MyFace1Interface; static GType my_face1_get_type (void); -G_DEFINE_INTERFACE (MyFace1, my_face1, G_TYPE_OBJECT); +G_DEFINE_INTERFACE (MyFace1, my_face1, G_TYPE_OBJECT) static void my_face1_default_init (MyFace1Interface *iface) { call_counter_init (iface); } /* define 3 test objects, adding interfaces 0 & 1, and adding interface 2 after class initialization */ @@ -60,9 +60,8 @@ typedef GObject MyTester0; typedef GObjectClass MyTester0Class; static GType my_tester0_get_type (void); G_DEFINE_TYPE_WITH_CODE (MyTester0, my_tester0, G_TYPE_OBJECT, - G_IMPLEMENT_INTERFACE (my_face0_get_type(), interface_per_class_init); - G_IMPLEMENT_INTERFACE (my_face1_get_type(), interface_per_class_init); - ); + G_IMPLEMENT_INTERFACE (my_face0_get_type(), interface_per_class_init) + G_IMPLEMENT_INTERFACE (my_face1_get_type(), interface_per_class_init)) static void my_tester0_init (MyTester0*t) {} static void my_tester0_class_init (MyTester0Class*c) { call_counter_init (c); } typedef GObject MyTester1; @@ -72,23 +71,21 @@ typedef GObjectClass MyTester1Class; #if 0 typedef GTypeInterface MyFace2Interface; static GType my_face2_get_type (void); -G_DEFINE_INTERFACE (MyFace2, my_face2, G_TYPE_OBJECT); +G_DEFINE_INTERFACE (MyFace2, my_face2, G_TYPE_OBJECT) static void my_face2_default_init (MyFace2Interface *iface) { call_counter_init (iface); } static GType my_tester1_get_type (void); G_DEFINE_TYPE_WITH_CODE (MyTester1, my_tester1, G_TYPE_OBJECT, - G_IMPLEMENT_INTERFACE (my_face0_get_type(), interface_per_class_init); - G_IMPLEMENT_INTERFACE (my_face1_get_type(), interface_per_class_init); - ); + G_IMPLEMENT_INTERFACE (my_face0_get_type(), interface_per_class_init) + G_IMPLEMENT_INTERFACE (my_face1_get_type(), interface_per_class_init)) static void my_tester1_init (MyTester1*t) {} static void my_tester1_class_init (MyTester1Class*c) { call_counter_init (c); } typedef GObject MyTester2; typedef GObjectClass MyTester2Class; static GType my_tester2_get_type (void); G_DEFINE_TYPE_WITH_CODE (MyTester2, my_tester2, G_TYPE_OBJECT, - G_IMPLEMENT_INTERFACE (my_face0_get_type(), interface_per_class_init); - G_IMPLEMENT_INTERFACE (my_face1_get_type(), interface_per_class_init); - ); + G_IMPLEMENT_INTERFACE (my_face0_get_type(), interface_per_class_init) + G_IMPLEMENT_INTERFACE (my_face1_get_type(), interface_per_class_init)) static void my_tester2_init (MyTester2*t) {} static void my_tester2_class_init (MyTester2Class*c) { call_counter_init (c); } @@ -152,7 +149,7 @@ typedef struct { } PropTester; typedef GObjectClass PropTesterClass; static GType prop_tester_get_type (void); -G_DEFINE_TYPE (PropTester, prop_tester, G_TYPE_OBJECT); +G_DEFINE_TYPE (PropTester, prop_tester, G_TYPE_OBJECT) #define PROP_NAME 1 static void prop_tester_init (PropTester* t) |