From 24cf93423c4594dcd68e969ea21cc767c390e876 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 25 Jul 2005 18:17:29 +0000 Subject: Commit an autoconf-conversion patch by Gustavo Carneiro (#308708) 2005-07-25 Matthias Clasen * Commit an autoconf-conversion patch by Gustavo Carneiro (#308708) --- tests/Makefile | 516 ++++++++++++++++++++++++++++++++++++++++- tests/Makefile.am | 3 + tests/invoke/Makefile | 586 +++++++++++++++++++++++++++++++++++++++++++++-- tests/invoke/Makefile.am | 20 ++ 4 files changed, 1104 insertions(+), 21 deletions(-) create mode 100644 tests/Makefile.am create mode 100644 tests/invoke/Makefile.am (limited to 'tests') diff --git a/tests/Makefile b/tests/Makefile index e26c26a1..fa4a750f 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,2 +1,514 @@ -check: - ./roundtrips.sh +# Makefile.in generated by automake 1.7.9 from Makefile.am. +# tests/Makefile. Generated from Makefile.in by configure. + +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 +# 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. + + + +srcdir = . +top_srcdir = .. + +pkgdatadir = $(datadir)/gobject-introspection +pkglibdir = $(libdir)/gobject-introspection +pkgincludedir = $(includedir)/gobject-introspection +top_builddir = .. + +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = /home/boston/mclasen/bin/install-check +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 = : +host_triplet = i686-pc-linux-gnu +ACLOCAL = ${SHELL} /home/boston/mclasen/gobject-introspection/missing --run aclocal-1.7 +AMDEP_FALSE = # +AMDEP_TRUE = +AMTAR = ${SHELL} /home/boston/mclasen/gobject-introspection/missing --run tar +AR = ar +AUTOCONF = ${SHELL} /home/boston/mclasen/gobject-introspection/missing --run autoconf +AUTOHEADER = ${SHELL} /home/boston/mclasen/gobject-introspection/missing --run autoheader +AUTOMAKE = ${SHELL} /home/boston/mclasen/gobject-introspection/missing --run automake-1.7 +AWK = gawk +CC = gcc +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 +CPP = gcc -E +CPPFLAGS = +CXX = g++ +CXXCPP = g++ -E +CXXDEPMODE = depmode=gcc3 +CXXFLAGS = -g -O2 +CYGPATH_W = echo +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +ECHO = echo +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = grep -E +EXEEXT = +F77 = g77 +FFLAGS = -g -O2 +GIREPO_CFLAGS = -I/home/boston/mclasen/gnome212/install/include/glib-2.0 -I/home/boston/mclasen/gnome212/install/lib/glib-2.0/include -I/home/boston/mclasen/gnome212/install/include +GIREPO_LIBS = -Wl,--export-dynamic -L/home/boston/mclasen/gnome212/install/lib -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lffi +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s +LDFLAGS = +LIBOBJS = +LIBS = -ldl +LIBTOOL = $(SHELL) $(top_builddir)/libtool +LN_S = ln -s +LTLIBOBJS = +MAINT = +MAINTAINER_MODE_FALSE = # +MAINTAINER_MODE_TRUE = +MAKEINFO = ${SHELL} /home/boston/mclasen/gobject-introspection/missing --run makeinfo +OBJEXT = o +PACKAGE = gobject-introspection +PACKAGE_BUGREPORT = http://bugzilla.gnome.org/enter_bug.cgi?product=glib +PACKAGE_NAME = gobject-introspection +PACKAGE_STRING = gobject-introspection 0.1 +PACKAGE_TARNAME = gobject-introspection +PACKAGE_VERSION = 0.1 +PATH_SEPARATOR = : +PKG_CONFIG = /home/boston/mclasen/gnome212/install/bin/pkg-config +POW_LIB = +RANLIB = ranlib +SET_MAKE = +SHELL = /bin/sh +STRIP = strip +VERSION = 0.1 +ac_ct_AR = ar +ac_ct_CC = gcc +ac_ct_CXX = g++ +ac_ct_F77 = g77 +ac_ct_RANLIB = ranlib +ac_ct_STRIP = strip +ac_pt_PKG_CONFIG = /home/boston/mclasen/gnome212/install/bin/pkg-config +am__fastdepCC_FALSE = # +am__fastdepCC_TRUE = +am__fastdepCXX_FALSE = # +am__fastdepCXX_TRUE = +am__include = include +am__leading_dot = . +am__quote = +bindir = ${exec_prefix}/bin +build = i686-pc-linux-gnu +build_alias = +build_cpu = i686 +build_os = linux-gnu +build_vendor = pc +datadir = ${prefix}/share +exec_prefix = ${prefix} +host = i686-pc-linux-gnu +host_alias = +host_cpu = i686 +host_os = linux-gnu +host_vendor = pc +includedir = ${prefix}/include +infodir = ${prefix}/info +install_sh = /home/boston/mclasen/gobject-introspection/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localstatedir = ${prefix}/var +mandir = ${prefix}/man +oldincludedir = /usr/include +prefix = /home/boston/mclasen/gnome212/install +program_transform_name = s,x,x, +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +sysconfdir = ${prefix}/etc +target_alias = +SUBDIRS = invoke + +TESTS = roundtrips.sh +subdir = tests +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +DIST_SOURCES = + +RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \ + ps-recursive install-info-recursive uninstall-info-recursive \ + all-recursive install-data-recursive install-exec-recursive \ + installdirs-recursive install-recursive uninstall-recursive \ + check-recursive installcheck-recursive +DIST_COMMON = $(srcdir)/Makefile.in Makefile.am +DIST_SUBDIRS = $(SUBDIRS) +all: all-recursive + +.SUFFIXES: +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu tests/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool +uninstall-info-am: + +# 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. +$(RECURSIVE_TARGETS): + @set fnord $$MAKEFLAGS; amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; 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; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @set fnord $$MAKEFLAGS; amf=$$2; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ETAGS = etags +ETAGSFLAGS = + +CTAGS = ctags +CTAGSFLAGS = + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + if (etags --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + else \ + include_option=--include; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -f $$subdir/TAGS && \ + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$tags$$unique" \ + || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique + +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +check-TESTS: $(TESTS) + @failed=0; all=0; xfail=0; xpass=0; skip=0; \ + srcdir=$(srcdir); export srcdir; \ + list='$(TESTS)'; \ + if test -n "$$list"; then \ + for tst in $$list; do \ + if test -f ./$$tst; then dir=./; \ + elif test -f $$tst; then dir=; \ + else dir="$(srcdir)/"; fi; \ + if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *" $$tst "*) \ + xpass=`expr $$xpass + 1`; \ + failed=`expr $$failed + 1`; \ + echo "XPASS: $$tst"; \ + ;; \ + *) \ + echo "PASS: $$tst"; \ + ;; \ + esac; \ + elif test $$? -ne 77; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *" $$tst "*) \ + xfail=`expr $$xfail + 1`; \ + echo "XFAIL: $$tst"; \ + ;; \ + *) \ + failed=`expr $$failed + 1`; \ + echo "FAIL: $$tst"; \ + ;; \ + esac; \ + else \ + skip=`expr $$skip + 1`; \ + echo "SKIP: $$tst"; \ + fi; \ + done; \ + if test "$$failed" -eq 0; then \ + if test "$$xfail" -eq 0; then \ + banner="All $$all tests passed"; \ + else \ + banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ + fi; \ + else \ + if test "$$xpass" -eq 0; then \ + banner="$$failed of $$all tests failed"; \ + else \ + banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ + fi; \ + fi; \ + dashes="$$banner"; \ + skipped=""; \ + if test "$$skip" -ne 0; then \ + skipped="($$skip tests were not run)"; \ + test `echo "$$skipped" | wc -c` -gt `echo "$$banner" | wc -c` && \ + dashes="$$skipped"; \ + fi; \ + report=""; \ + if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ + report="Please report to $(PACKAGE_BUGREPORT)"; \ + test `echo "$$report" | wc -c` -gt `echo "$$banner" | wc -c` && \ + dashes="$$report"; \ + fi; \ + dashes=`echo "$$dashes" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + test -n "$$skipped" && echo "$$skipped"; \ + test -n "$$report" && echo "$$report"; \ + echo "$$dashes"; \ + test "$$failed" -eq 0; \ + else :; fi +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + +top_distdir = .. +distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkinstalldirs) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d $(distdir)/$$subdir \ + || mkdir $(distdir)/$$subdir \ + || exit 1; \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" \ + distdir=../$(distdir)/$$subdir \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) check-TESTS +check: check-recursive +all-am: Makefile +installdirs: installdirs-recursive +installdirs-am: + +install: 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: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-libtool \ + distclean-tags + +dvi: dvi-recursive + +dvi-am: + +info: info-recursive + +info-am: + +install-data-am: + +install-exec-am: + +install-info: install-info-recursive + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-info-am + +uninstall-info: uninstall-info-recursive + +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-TESTS \ + check-am clean clean-generic clean-libtool clean-recursive \ + ctags ctags-recursive distclean distclean-generic \ + distclean-libtool distclean-recursive distclean-tags distdir \ + dvi dvi-am dvi-recursive info info-am info-recursive install \ + install-am install-data install-data-am install-data-recursive \ + install-exec install-exec-am install-exec-recursive \ + install-info install-info-am install-info-recursive install-man \ + install-recursive install-strip installcheck installcheck-am \ + installdirs installdirs-am installdirs-recursive \ + maintainer-clean maintainer-clean-generic \ + maintainer-clean-recursive mostlyclean mostlyclean-generic \ + mostlyclean-libtool mostlyclean-recursive pdf pdf-am \ + pdf-recursive ps ps-am ps-recursive tags tags-recursive \ + uninstall uninstall-am uninstall-info-am \ + uninstall-info-recursive uninstall-recursive + +# 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/tests/Makefile.am b/tests/Makefile.am new file mode 100644 index 00000000..5907d438 --- /dev/null +++ b/tests/Makefile.am @@ -0,0 +1,3 @@ +SUBDIRS = invoke + +TESTS = roundtrips.sh diff --git a/tests/invoke/Makefile b/tests/invoke/Makefile index 57cea963..2e1bd6a2 100644 --- a/tests/invoke/Makefile +++ b/tests/invoke/Makefile @@ -1,28 +1,576 @@ -AR=ar -CC=gcc -g -CFLAGS=`pkg-config --cflags glib-2.0` -I../../libffi/include -I../../src -LIBS=`pkg-config --libs glib-2.0 gobject-2.0` +# Makefile.in generated by automake 1.7.9 from Makefile.am. +# tests/invoke/Makefile. Generated from Makefile.in by configure. -TESTFNS_OBJS = \ - testfns.o \ - testfns-metadata.o +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 +# 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. -INVOKE_OBJS = \ - invoke.o +# 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. -all: testfns.so invoke -testfns.so: $(TESTFNS_OBJS) - $(CC) -shared -o $@ $(TESTFNS_OBJS) $(LIBS) ../../src/libirepository.so -testfns-metadata.c: testfns.xml - ../../src/g-idl-compiler testfns.xml -o testfns-metadata.c +srcdir = . +top_srcdir = ../.. + +pkgdatadir = $(datadir)/gobject-introspection +pkglibdir = $(libdir)/gobject-introspection +pkgincludedir = $(includedir)/gobject-introspection +top_builddir = ../.. + +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = /home/boston/mclasen/bin/install-check +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 = : +host_triplet = i686-pc-linux-gnu +ACLOCAL = ${SHELL} /home/boston/mclasen/gobject-introspection/missing --run aclocal-1.7 +AMDEP_FALSE = # +AMDEP_TRUE = +AMTAR = ${SHELL} /home/boston/mclasen/gobject-introspection/missing --run tar +AR = ar +AUTOCONF = ${SHELL} /home/boston/mclasen/gobject-introspection/missing --run autoconf +AUTOHEADER = ${SHELL} /home/boston/mclasen/gobject-introspection/missing --run autoheader +AUTOMAKE = ${SHELL} /home/boston/mclasen/gobject-introspection/missing --run automake-1.7 +AWK = gawk +CC = gcc +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 +CPP = gcc -E +CPPFLAGS = +CXX = g++ +CXXCPP = g++ -E +CXXDEPMODE = depmode=gcc3 +CXXFLAGS = -g -O2 +CYGPATH_W = echo +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +ECHO = echo +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = grep -E +EXEEXT = +F77 = g77 +FFLAGS = -g -O2 +GIREPO_CFLAGS = -I/home/boston/mclasen/gnome212/install/include/glib-2.0 -I/home/boston/mclasen/gnome212/install/lib/glib-2.0/include -I/home/boston/mclasen/gnome212/install/include +GIREPO_LIBS = -Wl,--export-dynamic -L/home/boston/mclasen/gnome212/install/lib -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lffi +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s +LDFLAGS = +LIBOBJS = +LIBS = -ldl +LIBTOOL = $(SHELL) $(top_builddir)/libtool +LN_S = ln -s +LTLIBOBJS = +MAINT = +MAINTAINER_MODE_FALSE = # +MAINTAINER_MODE_TRUE = +MAKEINFO = ${SHELL} /home/boston/mclasen/gobject-introspection/missing --run makeinfo +OBJEXT = o +PACKAGE = gobject-introspection +PACKAGE_BUGREPORT = http://bugzilla.gnome.org/enter_bug.cgi?product=glib +PACKAGE_NAME = gobject-introspection +PACKAGE_STRING = gobject-introspection 0.1 +PACKAGE_TARNAME = gobject-introspection +PACKAGE_VERSION = 0.1 +PATH_SEPARATOR = : +PKG_CONFIG = /home/boston/mclasen/gnome212/install/bin/pkg-config +POW_LIB = +RANLIB = ranlib +SET_MAKE = +SHELL = /bin/sh +STRIP = strip +VERSION = 0.1 +ac_ct_AR = ar +ac_ct_CC = gcc +ac_ct_CXX = g++ +ac_ct_F77 = g77 +ac_ct_RANLIB = ranlib +ac_ct_STRIP = strip +ac_pt_PKG_CONFIG = /home/boston/mclasen/gnome212/install/bin/pkg-config +am__fastdepCC_FALSE = # +am__fastdepCC_TRUE = +am__fastdepCXX_FALSE = # +am__fastdepCXX_TRUE = +am__include = include +am__leading_dot = . +am__quote = +bindir = ${exec_prefix}/bin +build = i686-pc-linux-gnu +build_alias = +build_cpu = i686 +build_os = linux-gnu +build_vendor = pc +datadir = ${prefix}/share +exec_prefix = ${prefix} +host = i686-pc-linux-gnu +host_alias = +host_cpu = i686 +host_os = linux-gnu +host_vendor = pc +includedir = ${prefix}/include +infodir = ${prefix}/info +install_sh = /home/boston/mclasen/gobject-introspection/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localstatedir = ${prefix}/var +mandir = ${prefix}/man +oldincludedir = /usr/include +prefix = /home/boston/mclasen/gnome212/install +program_transform_name = s,x,x, +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +sysconfdir = ${prefix}/etc +target_alias = + +bin_PROGRAMS = invoke +noinst_LTLIBRARIES = testfns.la + +testfns_la_SOURCES = \ + testfns.c \ + testfns-metadata.c + +testfns_la_CFLAGS = $(GIREPO_CFLAGS) +testfns_la_LDFLAGS = -module -avoid-version + +invoke_SOURCES = invoke.c +invoke_CFLAGS = $(GIREPO_CFLAGS) -I ../../src +invoke_LDADD = $(GIREPO_LIBS) -ldl ../../src/libgirepository.la +subdir = tests/invoke +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +LTLIBRARIES = $(noinst_LTLIBRARIES) + +testfns_la_LIBADD = +am_testfns_la_OBJECTS = testfns_la-testfns.lo \ + testfns_la-testfns-metadata.lo +testfns_la_OBJECTS = $(am_testfns_la_OBJECTS) +bin_PROGRAMS = invoke$(EXEEXT) +PROGRAMS = $(bin_PROGRAMS) + +am_invoke_OBJECTS = invoke-invoke.$(OBJEXT) +invoke_OBJECTS = $(am_invoke_OBJECTS) +invoke_DEPENDENCIES = ../../src/libgirepository.la +invoke_LDFLAGS = -invoke: $(INVOKE_OBJS) - $(CC) -o $@ $(INVOKE_OBJS) $(LIBS) -ldl ../../src/libirepository.so +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +DEP_FILES = ./$(DEPDIR)/invoke-invoke.Po \ + ./$(DEPDIR)/testfns_la-testfns-metadata.Plo \ + ./$(DEPDIR)/testfns_la-testfns.Plo +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \ + $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +DIST_SOURCES = $(testfns_la_SOURCES) $(invoke_SOURCES) +DIST_COMMON = $(srcdir)/Makefile.in Makefile.am +SOURCES = $(testfns_la_SOURCES) $(invoke_SOURCES) + +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu tests/invoke/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) + +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) + @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" = "$$p" && dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +testfns.la: $(testfns_la_OBJECTS) $(testfns_la_DEPENDENCIES) + $(LINK) $(testfns_la_LDFLAGS) $(testfns_la_OBJECTS) $(testfns_la_LIBADD) $(LIBS) +binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(bindir) + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + if test -f $$p \ + || test -f $$p1 \ + ; then \ + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \ + else :; fi; \ + done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ + rm -f $(DESTDIR)$(bindir)/$$f; \ + done + +clean-binPROGRAMS: + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f $$p $$f"; \ + rm -f $$p $$f ; \ + done +invoke$(EXEEXT): $(invoke_OBJECTS) $(invoke_DEPENDENCIES) + @rm -f invoke$(EXEEXT) + $(LINK) $(invoke_LDFLAGS) $(invoke_OBJECTS) $(invoke_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) core *.core + +distclean-compile: + -rm -f *.tab.c + +include ./$(DEPDIR)/invoke-invoke.Po +include ./$(DEPDIR)/testfns_la-testfns-metadata.Plo +include ./$(DEPDIR)/testfns_la-testfns.Plo .c.o: - $(CC) -c $< $(CFLAGS) + if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ + -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ + then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ + else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ + fi +# source='$<' object='$@' libtool=no \ +# depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \ +# $(CCDEPMODE) $(depcomp) \ +# $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< + +.c.obj: + if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ + -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \ + then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ + else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ + fi +# source='$<' object='$@' libtool=no \ +# depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \ +# $(CCDEPMODE) $(depcomp) \ +# $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` + +.c.lo: + if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ + -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ + then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ + else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ + fi +# source='$<' object='$@' libtool=yes \ +# depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' \ +# $(CCDEPMODE) $(depcomp) \ +# $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< + +testfns_la-testfns.o: testfns.c + if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testfns_la_CFLAGS) $(CFLAGS) -MT testfns_la-testfns.o -MD -MP -MF "$(DEPDIR)/testfns_la-testfns.Tpo" \ + -c -o testfns_la-testfns.o `test -f 'testfns.c' || echo '$(srcdir)/'`testfns.c; \ + then mv -f "$(DEPDIR)/testfns_la-testfns.Tpo" "$(DEPDIR)/testfns_la-testfns.Po"; \ + else rm -f "$(DEPDIR)/testfns_la-testfns.Tpo"; exit 1; \ + fi +# source='testfns.c' object='testfns_la-testfns.o' libtool=no \ +# depfile='$(DEPDIR)/testfns_la-testfns.Po' tmpdepfile='$(DEPDIR)/testfns_la-testfns.TPo' \ +# $(CCDEPMODE) $(depcomp) \ +# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testfns_la_CFLAGS) $(CFLAGS) -c -o testfns_la-testfns.o `test -f 'testfns.c' || echo '$(srcdir)/'`testfns.c + +testfns_la-testfns.obj: testfns.c + if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testfns_la_CFLAGS) $(CFLAGS) -MT testfns_la-testfns.obj -MD -MP -MF "$(DEPDIR)/testfns_la-testfns.Tpo" \ + -c -o testfns_la-testfns.obj `if test -f 'testfns.c'; then $(CYGPATH_W) 'testfns.c'; else $(CYGPATH_W) '$(srcdir)/testfns.c'; fi`; \ + then mv -f "$(DEPDIR)/testfns_la-testfns.Tpo" "$(DEPDIR)/testfns_la-testfns.Po"; \ + else rm -f "$(DEPDIR)/testfns_la-testfns.Tpo"; exit 1; \ + fi +# source='testfns.c' object='testfns_la-testfns.obj' libtool=no \ +# depfile='$(DEPDIR)/testfns_la-testfns.Po' tmpdepfile='$(DEPDIR)/testfns_la-testfns.TPo' \ +# $(CCDEPMODE) $(depcomp) \ +# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testfns_la_CFLAGS) $(CFLAGS) -c -o testfns_la-testfns.obj `if test -f 'testfns.c'; then $(CYGPATH_W) 'testfns.c'; else $(CYGPATH_W) '$(srcdir)/testfns.c'; fi` + +testfns_la-testfns.lo: testfns.c + if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testfns_la_CFLAGS) $(CFLAGS) -MT testfns_la-testfns.lo -MD -MP -MF "$(DEPDIR)/testfns_la-testfns.Tpo" \ + -c -o testfns_la-testfns.lo `test -f 'testfns.c' || echo '$(srcdir)/'`testfns.c; \ + then mv -f "$(DEPDIR)/testfns_la-testfns.Tpo" "$(DEPDIR)/testfns_la-testfns.Plo"; \ + else rm -f "$(DEPDIR)/testfns_la-testfns.Tpo"; exit 1; \ + fi +# source='testfns.c' object='testfns_la-testfns.lo' libtool=yes \ +# depfile='$(DEPDIR)/testfns_la-testfns.Plo' tmpdepfile='$(DEPDIR)/testfns_la-testfns.TPlo' \ +# $(CCDEPMODE) $(depcomp) \ +# $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testfns_la_CFLAGS) $(CFLAGS) -c -o testfns_la-testfns.lo `test -f 'testfns.c' || echo '$(srcdir)/'`testfns.c + +testfns_la-testfns-metadata.o: testfns-metadata.c + if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testfns_la_CFLAGS) $(CFLAGS) -MT testfns_la-testfns-metadata.o -MD -MP -MF "$(DEPDIR)/testfns_la-testfns-metadata.Tpo" \ + -c -o testfns_la-testfns-metadata.o `test -f 'testfns-metadata.c' || echo '$(srcdir)/'`testfns-metadata.c; \ + then mv -f "$(DEPDIR)/testfns_la-testfns-metadata.Tpo" "$(DEPDIR)/testfns_la-testfns-metadata.Po"; \ + else rm -f "$(DEPDIR)/testfns_la-testfns-metadata.Tpo"; exit 1; \ + fi +# source='testfns-metadata.c' object='testfns_la-testfns-metadata.o' libtool=no \ +# depfile='$(DEPDIR)/testfns_la-testfns-metadata.Po' tmpdepfile='$(DEPDIR)/testfns_la-testfns-metadata.TPo' \ +# $(CCDEPMODE) $(depcomp) \ +# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testfns_la_CFLAGS) $(CFLAGS) -c -o testfns_la-testfns-metadata.o `test -f 'testfns-metadata.c' || echo '$(srcdir)/'`testfns-metadata.c + +testfns_la-testfns-metadata.obj: testfns-metadata.c + if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testfns_la_CFLAGS) $(CFLAGS) -MT testfns_la-testfns-metadata.obj -MD -MP -MF "$(DEPDIR)/testfns_la-testfns-metadata.Tpo" \ + -c -o testfns_la-testfns-metadata.obj `if test -f 'testfns-metadata.c'; then $(CYGPATH_W) 'testfns-metadata.c'; else $(CYGPATH_W) '$(srcdir)/testfns-metadata.c'; fi`; \ + then mv -f "$(DEPDIR)/testfns_la-testfns-metadata.Tpo" "$(DEPDIR)/testfns_la-testfns-metadata.Po"; \ + else rm -f "$(DEPDIR)/testfns_la-testfns-metadata.Tpo"; exit 1; \ + fi +# source='testfns-metadata.c' object='testfns_la-testfns-metadata.obj' libtool=no \ +# depfile='$(DEPDIR)/testfns_la-testfns-metadata.Po' tmpdepfile='$(DEPDIR)/testfns_la-testfns-metadata.TPo' \ +# $(CCDEPMODE) $(depcomp) \ +# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testfns_la_CFLAGS) $(CFLAGS) -c -o testfns_la-testfns-metadata.obj `if test -f 'testfns-metadata.c'; then $(CYGPATH_W) 'testfns-metadata.c'; else $(CYGPATH_W) '$(srcdir)/testfns-metadata.c'; fi` + +testfns_la-testfns-metadata.lo: testfns-metadata.c + if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testfns_la_CFLAGS) $(CFLAGS) -MT testfns_la-testfns-metadata.lo -MD -MP -MF "$(DEPDIR)/testfns_la-testfns-metadata.Tpo" \ + -c -o testfns_la-testfns-metadata.lo `test -f 'testfns-metadata.c' || echo '$(srcdir)/'`testfns-metadata.c; \ + then mv -f "$(DEPDIR)/testfns_la-testfns-metadata.Tpo" "$(DEPDIR)/testfns_la-testfns-metadata.Plo"; \ + else rm -f "$(DEPDIR)/testfns_la-testfns-metadata.Tpo"; exit 1; \ + fi +# source='testfns-metadata.c' object='testfns_la-testfns-metadata.lo' libtool=yes \ +# depfile='$(DEPDIR)/testfns_la-testfns-metadata.Plo' tmpdepfile='$(DEPDIR)/testfns_la-testfns-metadata.TPlo' \ +# $(CCDEPMODE) $(depcomp) \ +# $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testfns_la_CFLAGS) $(CFLAGS) -c -o testfns_la-testfns-metadata.lo `test -f 'testfns-metadata.c' || echo '$(srcdir)/'`testfns-metadata.c + +invoke-invoke.o: invoke.c + if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(invoke_CFLAGS) $(CFLAGS) -MT invoke-invoke.o -MD -MP -MF "$(DEPDIR)/invoke-invoke.Tpo" \ + -c -o invoke-invoke.o `test -f 'invoke.c' || echo '$(srcdir)/'`invoke.c; \ + then mv -f "$(DEPDIR)/invoke-invoke.Tpo" "$(DEPDIR)/invoke-invoke.Po"; \ + else rm -f "$(DEPDIR)/invoke-invoke.Tpo"; exit 1; \ + fi +# source='invoke.c' object='invoke-invoke.o' libtool=no \ +# depfile='$(DEPDIR)/invoke-invoke.Po' tmpdepfile='$(DEPDIR)/invoke-invoke.TPo' \ +# $(CCDEPMODE) $(depcomp) \ +# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(invoke_CFLAGS) $(CFLAGS) -c -o invoke-invoke.o `test -f 'invoke.c' || echo '$(srcdir)/'`invoke.c + +invoke-invoke.obj: invoke.c + if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(invoke_CFLAGS) $(CFLAGS) -MT invoke-invoke.obj -MD -MP -MF "$(DEPDIR)/invoke-invoke.Tpo" \ + -c -o invoke-invoke.obj `if test -f 'invoke.c'; then $(CYGPATH_W) 'invoke.c'; else $(CYGPATH_W) '$(srcdir)/invoke.c'; fi`; \ + then mv -f "$(DEPDIR)/invoke-invoke.Tpo" "$(DEPDIR)/invoke-invoke.Po"; \ + else rm -f "$(DEPDIR)/invoke-invoke.Tpo"; exit 1; \ + fi +# source='invoke.c' object='invoke-invoke.obj' libtool=no \ +# depfile='$(DEPDIR)/invoke-invoke.Po' tmpdepfile='$(DEPDIR)/invoke-invoke.TPo' \ +# $(CCDEPMODE) $(depcomp) \ +# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(invoke_CFLAGS) $(CFLAGS) -c -o invoke-invoke.obj `if test -f 'invoke.c'; then $(CYGPATH_W) 'invoke.c'; else $(CYGPATH_W) '$(srcdir)/invoke.c'; fi` + +invoke-invoke.lo: invoke.c + if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(invoke_CFLAGS) $(CFLAGS) -MT invoke-invoke.lo -MD -MP -MF "$(DEPDIR)/invoke-invoke.Tpo" \ + -c -o invoke-invoke.lo `test -f 'invoke.c' || echo '$(srcdir)/'`invoke.c; \ + then mv -f "$(DEPDIR)/invoke-invoke.Tpo" "$(DEPDIR)/invoke-invoke.Plo"; \ + else rm -f "$(DEPDIR)/invoke-invoke.Tpo"; exit 1; \ + fi +# source='invoke.c' object='invoke-invoke.lo' libtool=yes \ +# depfile='$(DEPDIR)/invoke-invoke.Plo' tmpdepfile='$(DEPDIR)/invoke-invoke.TPlo' \ +# $(CCDEPMODE) $(depcomp) \ +# $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(invoke_CFLAGS) $(CFLAGS) -c -o invoke-invoke.lo `test -f 'invoke.c' || echo '$(srcdir)/'`invoke.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool +uninstall-info-am: + +ETAGS = etags +ETAGSFLAGS = + +CTAGS = ctags +CTAGSFLAGS = + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique -clean: - rm -rf *.o *~ *.a *.so +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$tags$$unique" \ + || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique + +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + +top_distdir = ../.. +distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkinstalldirs) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$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 +check: check-am +all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) + +installdirs: + $(mkinstalldirs) $(DESTDIR)$(bindir) +install: 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: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-binPROGRAMS clean-generic clean-libtool \ + clean-noinstLTLIBRARIES mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-libtool distclean-tags + +dvi: dvi-am + +dvi-am: + +info: info-am + +info-am: + +install-data-am: + +install-exec-am: install-binPROGRAMS + +install-info: install-info-am + +install-man: + +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-binPROGRAMS uninstall-info-am + +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ + clean-generic clean-libtool clean-noinstLTLIBRARIES ctags \ + distclean distclean-compile distclean-generic distclean-libtool \ + distclean-tags distdir dvi dvi-am info info-am install \ + install-am install-binPROGRAMS install-data install-data-am \ + install-exec install-exec-am install-info install-info-am \ + install-man install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ + uninstall-am uninstall-binPROGRAMS uninstall-info-am + + +testfns-metadata.c: testfns.xml + ../../src/g-idl-compiler $(srcdir)/testfns.xml -o testfns-metadata.c +# 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/tests/invoke/Makefile.am b/tests/invoke/Makefile.am new file mode 100644 index 00000000..5163ef68 --- /dev/null +++ b/tests/invoke/Makefile.am @@ -0,0 +1,20 @@ +## Process this file with automake to produce Makefile.in + +bin_PROGRAMS = invoke +noinst_LTLIBRARIES = testfns.la + + +testfns_la_SOURCES = \ + testfns.c \ + testfns-metadata.c +testfns_la_CFLAGS = $(GIREPO_CFLAGS) +testfns_la_LDFLAGS = -module -avoid-version + +testfns-metadata.c: testfns.xml + ../../src/g-idl-compiler $(srcdir)/testfns.xml -o testfns-metadata.c + + +invoke_SOURCES = invoke.c +invoke_CFLAGS = $(GIREPO_CFLAGS) -I ../../src +invoke_LDADD = $(GIREPO_LIBS) -ldl ../../src/libgirepository.la + -- cgit v1.2.1