# Makefile.in generated automatically by automake 1.5 from Makefile.am.

# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
# 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@

# Initializations.

SHELL = @SHELL@

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@

bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..

ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
AMTAR = @AMTAR@
AS = @AS@
AWK = @AWK@
BIN_TARGET = @BIN_TARGET@
BUILD_GUILE = @BUILD_GUILE@
CC = @CC@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
ECHO = @ECHO@
EXEEXT = @EXEEXT@
GUILE = @GUILE@
GUILEMODDIR = @GUILEMODDIR@
GUILEMOD_TARGET = @GUILEMOD_TARGET@
GUILE_LIBS = @GUILE_LIBS@
GUILE_SCMDIR = @GUILE_SCMDIR@
GUILE_TARGET = @GUILE_TARGET@
GW_BUILD_GUILE_GTK = @GW_BUILD_GUILE_GTK@
GW_GLIB_CONFIG = @GW_GLIB_CONFIG@
GW_GTK_CONFIG = @GW_GTK_CONFIG@
GW_WCT_INTERFACE_AGE = @GW_WCT_INTERFACE_AGE@
GW_WCT_INTERFACE_MAJOR_VER = @GW_WCT_INTERFACE_MAJOR_VER@
GW_WCT_INTERFACE_REVISION = @GW_WCT_INTERFACE_REVISION@
G_WRAP_LOAD_DIR = @G_WRAP_LOAD_DIR@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LGWRAP_GLIB_AGE = @LGWRAP_GLIB_AGE@
LGWRAP_GLIB_MAJOR_VER = @LGWRAP_GLIB_MAJOR_VER@
LGWRAP_GLIB_REVISION = @LGWRAP_GLIB_REVISION@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
MAINT = @MAINT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
RANLIB = @RANLIB@
STRIP = @STRIP@
VERSION = @VERSION@
am__include = @am__include@
am__quote = @am__quote@
install_sh = @install_sh@

CLEANFILES = gw-test-standard.scm gw-test-standard.h gw-test-standard.c gw-test-standard.html gw-test-standard-autogen.h gw-test-enumeration.scm gw-test-enumeration.h gw-test-enumeration.c gw-test-enumeration.html gw-test-enumeration-autogen.h gw-test-parent.scm gw-test-parent.h gw-test-parent.c gw-test-parent.html gw-test-parent-autogen.h gw-test-child.scm gw-test-child.h gw-test-child.c gw-test-child.html gw-test-child-autogen.h gw-test-glib.scm gw-test-glib.h gw-test-glib.c gw-test-glib.html gw-test-glib-autogen.h test-gw-gtkobj.scm test-gw-gtkobj.h test-gw-gtkobj.c test-gw-gtkobj.html test-gw-gtkobj-autogen.h
noinst_HEADERS = 

EXTRA_DIST = ${noinst_SCRIPTS} gw-guile test-gw-wct .cvsignore $(wildcard *-spec.scm)

@GW_HAVE_GLIB_TRUE@GW_GLIB_LIB_ADD = libgw-test-glib.la
@GW_HAVE_GLIB_TRUE@GW_GLIB_TEST_ADD = test-gw-glib
@GW_HAVE_GLIB_TRUE@GW_GLIB_CFLAGS_ADD = $(shell ${GW_GLIB_CONFIG} --cflags glib)
@GW_HAVE_GLIB_TRUE@GW_GLIB_LIBFLAGS_ADD = $(shell ${GW_GLIB_CONFIG} --libs glib)

@GW_HAVE_GUILE_GTK_TRUE@GW_GUILE_GTK_LIB_ADD = libtest-gw-gtkobj.la
@GW_HAVE_GUILE_GTK_TRUE@GW_GUILE_GTK_TEST_ADD = test-gtkobj
@GW_HAVE_GUILE_GTK_TRUE@GW_GUILE_GTK_CFLAGS_ADD = $(shell ${GW_BUILD_GUILE_GTK} cflags)
@GW_HAVE_GUILE_GTK_TRUE@GW_GUILE_GTK_LIBFLAGS_ADD = $(shell ${GW_BUILD_GUILE_GTK} libs)

TESTS = \
 test-gw-standard \
 test-gw-wct \
 test-enumeration \
 ${GW_GLIB_TEST_ADD} \
 ${GW_GUILE_GTK_TEST_ADD}


noinst_SCRIPTS = \
 guile-test-env \
 test-gw-standard \
 test-gw-wct \
 test-enumeration \
 test-gw-glib \
 test-gtkobj



# ===========================================================================

# ======================================================================
# gw-test-standard

# ======================================================================
# gw-test-enumeration

# ======================================================================
# gw-test-parent

# ======================================================================
# gw-test-child
noinst_LTLIBRARIES = \
  ${GW_GLIB_LIB_ADD} \
  ${GW_GUILE_GTK_LIB_ADD} \
libg-wrap-test-c-code.la libgw-test-standard.la libgw-test-enumeration.la libgw-test-parent.la libgw-test-child.la

LOCALPWD = $(shell pwd)
G_WRAP_MODULE_DIR = ${LOCALPWD}/..


# ===========================================================================
noinst_PROGRAMS = test-link-wct
test_link_wct_SOURCES = dummy-main.c
test_link_wct_LDADD = ../g-wrap/libgw-wct.la


# ===========================================================================
AM_CFLAGS = -O2 -Wall -Wno-uninitialized -Wno-unused -Werror -g \
 -I ${top_srcdir}/g-wrap \
 ${GW_GLIB_CFLAGS_ADD} \
 ${GW_GUILE_GTK_CFLAGS_ADD}

libg_wrap_test_c_code_la_SOURCES = g-wrap-test-c-code.c g-wrap-test-c-code.h
libg_wrap_test_c_code_la_LDFLAGS = -rpath $(libdir) -module -export-dynamic \
  ${GUILE_LIBS} \
  ${GW_GLIB_LIBFLAGS_ADD}

libg_wrap_test_c_code_la_LIBADD = 
nodist_libgw_test_standard_la_SOURCES = gw-test-standard.c
libgw_test_standard_la_LDFLAGS = -rpath $(libdir) -module -export-dynamic
libgw_test_standard_la_LIBADD = ./libg-wrap-test-c-code.la ${GUILE_LIBS}
nodist_libgw_test_enumeration_la_SOURCES = gw-test-enumeration.c
libgw_test_enumeration_la_LDFLAGS = -rpath $(libdir) -module -export-dynamic
libgw_test_enumeration_la_LIBADD = ./libg-wrap-test-c-code.la ${GUILE_LIBS}
nodist_libgw_test_parent_la_SOURCES = gw-test-parent.c
libgw_test_parent_la_LDFLAGS = -rpath $(libdir) -module -export-dynamic
libgw_test_parent_la_LIBADD = ./libg-wrap-test-c-code.la ../g-wrap/libgw-wct.la
nodist_libgw_test_child_la_SOURCES = gw-test-child.c
libgw_test_child_la_LDFLAGS = -rpath $(libdir) -module -export-dynamic
libgw_test_child_la_LIBADD = ./libg-wrap-test-c-code.la


# ======================================================================
# gw-test-glib
@GW_HAVE_GLIB_TRUE@nodist_libgw_test_glib_la_SOURCES = gw-test-glib.c
@GW_HAVE_GLIB_TRUE@libgw_test_glib_la_LDFLAGS = -rpath $(libdir) -module -export-dynamic
@GW_HAVE_GLIB_TRUE@libgw_test_glib_la_LIBADD = \
@GW_HAVE_GLIB_TRUE@  ../g-wrap/libgwrap-glib.la ./libg-wrap-test-c-code.la ${GUILE_LIBS}



# ======================================================================
# test-gw-gtkobj
@GW_HAVE_GUILE_GTK_TRUE@nodist_libtest_gw_gtkobj_la_SOURCES = test-gw-gtkobj.c
@GW_HAVE_GUILE_GTK_TRUE@libtest_gw_gtkobj_la_LDFLAGS = -rpath $(libdir) -module -export-dynamic
@GW_HAVE_GUILE_GTK_TRUE@libtest_gw_gtkobj_la_LIBADD = ${GW_GUILE_GTK_LIBFLAGS_ADD}
subdir = test
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
LTLIBRARIES = $(noinst_LTLIBRARIES)

libg_wrap_test_c_code_la_DEPENDENCIES =
am_libg_wrap_test_c_code_la_OBJECTS = g-wrap-test-c-code.lo
libg_wrap_test_c_code_la_OBJECTS = \
	$(am_libg_wrap_test_c_code_la_OBJECTS)
libgw_test_child_la_DEPENDENCIES = ./libg-wrap-test-c-code.la
nodist_libgw_test_child_la_OBJECTS = gw-test-child.lo
libgw_test_child_la_OBJECTS = $(nodist_libgw_test_child_la_OBJECTS)
libgw_test_enumeration_la_DEPENDENCIES = ./libg-wrap-test-c-code.la
nodist_libgw_test_enumeration_la_OBJECTS = gw-test-enumeration.lo
libgw_test_enumeration_la_OBJECTS = \
	$(nodist_libgw_test_enumeration_la_OBJECTS)
@GW_HAVE_GLIB_TRUE@libgw_test_glib_la_DEPENDENCIES = \
@GW_HAVE_GLIB_TRUE@	../g-wrap/libgwrap-glib.la \
@GW_HAVE_GLIB_TRUE@	./libg-wrap-test-c-code.la
@GW_HAVE_GLIB_FALSE@libgw_test_glib_la_DEPENDENCIES =
@GW_HAVE_GLIB_TRUE@nodist_libgw_test_glib_la_OBJECTS = gw-test-glib.lo
@GW_HAVE_GLIB_FALSE@nodist_libgw_test_glib_la_OBJECTS =
libgw_test_glib_la_OBJECTS = $(nodist_libgw_test_glib_la_OBJECTS)
libgw_test_parent_la_DEPENDENCIES = ./libg-wrap-test-c-code.la \
	../g-wrap/libgw-wct.la
nodist_libgw_test_parent_la_OBJECTS = gw-test-parent.lo
libgw_test_parent_la_OBJECTS = $(nodist_libgw_test_parent_la_OBJECTS)
libgw_test_standard_la_DEPENDENCIES = ./libg-wrap-test-c-code.la
nodist_libgw_test_standard_la_OBJECTS = gw-test-standard.lo
libgw_test_standard_la_OBJECTS = \
	$(nodist_libgw_test_standard_la_OBJECTS)
@GW_HAVE_GUILE_GTK_TRUE@libtest_gw_gtkobj_la_DEPENDENCIES = $(shell \
@GW_HAVE_GUILE_GTK_TRUE@	libs)
@GW_HAVE_GUILE_GTK_FALSE@libtest_gw_gtkobj_la_DEPENDENCIES =
@GW_HAVE_GUILE_GTK_TRUE@nodist_libtest_gw_gtkobj_la_OBJECTS = \
@GW_HAVE_GUILE_GTK_TRUE@	test-gw-gtkobj.lo
@GW_HAVE_GUILE_GTK_FALSE@nodist_libtest_gw_gtkobj_la_OBJECTS =
libtest_gw_gtkobj_la_OBJECTS = $(nodist_libtest_gw_gtkobj_la_OBJECTS)
noinst_PROGRAMS = test-link-wct$(EXEEXT)
PROGRAMS = $(noinst_PROGRAMS)

am_test_link_wct_OBJECTS = dummy-main.$(OBJEXT)
test_link_wct_OBJECTS = $(am_test_link_wct_OBJECTS)
test_link_wct_DEPENDENCIES = ../g-wrap/libgw-wct.la
test_link_wct_LDFLAGS =
SCRIPTS = $(noinst_SCRIPTS)


DEFS = @DEFS@
DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
depcomp = $(SHELL) $(top_srcdir)/depcomp
@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/dummy-main.Po \
@AMDEP_TRUE@	$(DEPDIR)/g-wrap-test-c-code.Plo \
@AMDEP_TRUE@	$(DEPDIR)/gw-test-child.Plo \
@AMDEP_TRUE@	$(DEPDIR)/gw-test-enumeration.Plo \
@AMDEP_TRUE@	$(DEPDIR)/gw-test-glib.Plo \
@AMDEP_TRUE@	$(DEPDIR)/gw-test-parent.Plo \
@AMDEP_TRUE@	$(DEPDIR)/gw-test-standard.Plo \
@AMDEP_TRUE@	$(DEPDIR)/test-gw-gtkobj.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 $@
CFLAGS = @CFLAGS@
DIST_SOURCES = $(libg_wrap_test_c_code_la_SOURCES) \
	$(test_link_wct_SOURCES)
HEADERS = $(noinst_HEADERS)

DIST_COMMON = $(noinst_HEADERS) Makefile.am Makefile.in
SOURCES = $(libg_wrap_test_c_code_la_SOURCES) $(nodist_libgw_test_child_la_SOURCES) $(nodist_libgw_test_enumeration_la_SOURCES) $(nodist_libgw_test_glib_la_SOURCES) $(nodist_libgw_test_parent_la_SOURCES) $(nodist_libgw_test_standard_la_SOURCES) $(nodist_libtest_gw_gtkobj_la_SOURCES) $(test_link_wct_SOURCES)

all: all-am

.SUFFIXES:
.SUFFIXES: .c .lo .o .obj

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

distclean-libtool:
	-rm -f libtool
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
	cd $(top_srcdir) && \
	  $(AUTOMAKE) --gnu  test/Makefile
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) && \
	  CONFIG_HEADERS= CONFIG_LINKS= \
	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status

clean-noinstLTLIBRARIES:
	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
libg-wrap-test-c-code.la: $(libg_wrap_test_c_code_la_OBJECTS) $(libg_wrap_test_c_code_la_DEPENDENCIES) 
	$(LINK)  $(libg_wrap_test_c_code_la_LDFLAGS) $(libg_wrap_test_c_code_la_OBJECTS) $(libg_wrap_test_c_code_la_LIBADD) $(LIBS)
libgw-test-child.la: $(libgw_test_child_la_OBJECTS) $(libgw_test_child_la_DEPENDENCIES) 
	$(LINK)  $(libgw_test_child_la_LDFLAGS) $(libgw_test_child_la_OBJECTS) $(libgw_test_child_la_LIBADD) $(LIBS)
libgw-test-enumeration.la: $(libgw_test_enumeration_la_OBJECTS) $(libgw_test_enumeration_la_DEPENDENCIES) 
	$(LINK)  $(libgw_test_enumeration_la_LDFLAGS) $(libgw_test_enumeration_la_OBJECTS) $(libgw_test_enumeration_la_LIBADD) $(LIBS)
libgw-test-glib.la: $(libgw_test_glib_la_OBJECTS) $(libgw_test_glib_la_DEPENDENCIES) 
	$(LINK)  $(libgw_test_glib_la_LDFLAGS) $(libgw_test_glib_la_OBJECTS) $(libgw_test_glib_la_LIBADD) $(LIBS)
libgw-test-parent.la: $(libgw_test_parent_la_OBJECTS) $(libgw_test_parent_la_DEPENDENCIES) 
	$(LINK)  $(libgw_test_parent_la_LDFLAGS) $(libgw_test_parent_la_OBJECTS) $(libgw_test_parent_la_LIBADD) $(LIBS)
libgw-test-standard.la: $(libgw_test_standard_la_OBJECTS) $(libgw_test_standard_la_DEPENDENCIES) 
	$(LINK)  $(libgw_test_standard_la_LDFLAGS) $(libgw_test_standard_la_OBJECTS) $(libgw_test_standard_la_LIBADD) $(LIBS)
libtest-gw-gtkobj.la: $(libtest_gw_gtkobj_la_OBJECTS) $(libtest_gw_gtkobj_la_DEPENDENCIES) 
	$(LINK)  $(libtest_gw_gtkobj_la_LDFLAGS) $(libtest_gw_gtkobj_la_OBJECTS) $(libtest_gw_gtkobj_la_LIBADD) $(LIBS)

clean-noinstPROGRAMS:
	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
test-link-wct$(EXEEXT): $(test_link_wct_OBJECTS) $(test_link_wct_DEPENDENCIES) 
	@rm -f test-link-wct$(EXEEXT)
	$(LINK) $(test_link_wct_LDFLAGS) $(test_link_wct_OBJECTS) $(test_link_wct_LDADD) $(LIBS)

mostlyclean-compile:
	-rm -f *.$(OBJEXT) core *.core

distclean-compile:
	-rm -f *.tab.c

@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/dummy-main.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/g-wrap-test-c-code.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/gw-test-child.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/gw-test-enumeration.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/gw-test-glib.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/gw-test-parent.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/gw-test-standard.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/test-gw-gtkobj.Plo@am__quote@

distclean-depend:
	-rm -rf $(DEPDIR)

.c.o:
@AMDEP_TRUE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
@AMDEP_TRUE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<

.c.obj:
@AMDEP_TRUE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
@AMDEP_TRUE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
	$(COMPILE) -c `cygpath -w $<`

.c.lo:
@AMDEP_TRUE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@	depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
@AMDEP_TRUE@	$(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
CCDEPMODE = @CCDEPMODE@
uninstall-info-am:

tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
	list='$(SOURCES) $(HEADERS) $(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 $(LISP)

TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS) $(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)$$unique$(LISP)$$tags" \
	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)

GTAGS:
	here=`CDPATH=: && cd $(top_builddir) && pwd` \
	  && cd $(top_srcdir) \
	  && gtags -i $(GTAGS_ARGS) $$here

distclean-tags:
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH

check-TESTS: $(TESTS)
	@failed=0; all=0; xfail=0; xpass=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; \
	    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=`echo "$$banner" | sed s/./=/g`; \
	  echo "$$dashes"; \
	  echo "$$banner"; \
	  echo "$$dashes"; \
	  test "$$failed" -eq 0; \
	fi

DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)

top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)

distdir: $(DISTFILES)
	@for file in $(DISTFILES); do \
	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
	    $(mkinstalldirs) "$(distdir)/$$dir"; \
	  fi; \
	  if test -d $$d/$$file; then \
	    cp -pR $$d/$$file $(distdir) \
	    || 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-TESTS
check: check-am
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(HEADERS)

installdirs:

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)" \
	  `test -z '$(STRIP)' || \
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*

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-generic clean-libtool clean-noinstLTLIBRARIES \
	clean-noinstPROGRAMS mostlyclean-am

distclean: distclean-am

distclean-am: clean-am distclean-compile distclean-depend \
	distclean-generic distclean-libtool distclean-tags

dvi: dvi-am

dvi-am:

info: info-am

info-am:

install-data-am:

install-exec-am:

install-info: install-info-am

install-man:

installcheck-am:

maintainer-clean: maintainer-clean-am

maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-compile mostlyclean-generic \
	mostlyclean-libtool

uninstall-am: uninstall-info-am

.PHONY: GTAGS all all-am check check-TESTS check-am clean clean-generic \
	clean-libtool clean-noinstLTLIBRARIES clean-noinstPROGRAMS \
	distclean distclean-compile distclean-depend distclean-generic \
	distclean-libtool distclean-tags distdir dvi dvi-am info \
	info-am install install-am 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 tags uninstall uninstall-am \
	uninstall-info-am


gw-test-standard.scm gw-test-standard.h gw-test-standard.c gw-test-standard.html gw-test-standard-autogen.h: gw-test-standard-spec.scm
	LD_LIBRARY_PATH=${LOCALPWD}/..:${LOCALPWD}/..: \
	guile -c \
	  "(debug-enable 'backtrace) \
           (debug-enable 'debug) \
           (read-enable 'positions) \
           (set! %load-path (cons \"${G_WRAP_MODULE_DIR}\" %load-path)) \
           (use-modules (g-wrap)) \
           (primitive-load \"./gw-test-standard-spec.scm\") \
           (gw:generate-wrapset \"gw-test-standard\")"

gw-test-enumeration.scm gw-test-enumeration.h gw-test-enumeration.c gw-test-enumeration.html gw-test-enumeration-autogen.h: gw-test-enumeration-spec.scm
	LD_LIBRARY_PATH=${LOCALPWD}/..:${LOCALPWD}/..: \
	guile -c \
	  "(debug-enable 'backtrace) \
           (debug-enable 'debug) \
           (read-enable 'positions) \
           (set! %load-path (cons \"${G_WRAP_MODULE_DIR}\" %load-path)) \
           (use-modules (g-wrap)) \
           (primitive-load \"./gw-test-enumeration-spec.scm\") \
           (gw:generate-wrapset \"gw-test-enumeration\")"

gw-test-parent.scm gw-test-parent.h gw-test-parent.c gw-test-parent.html gw-test-parent-autogen.h: gw-test-parent-spec.scm
	LD_LIBRARY_PATH=${LOCALPWD}/..:${LOCALPWD}/..: \
	guile -c \
	  "(debug-enable 'backtrace) \
           (debug-enable 'debug) \
           (read-enable 'positions) \
           (set! %load-path (cons \"${G_WRAP_MODULE_DIR}\" %load-path)) \
           (use-modules (g-wrap)) \
           (primitive-load \"./gw-test-parent-spec.scm\") \
           (gw:generate-wrapset \"gw-test-parent\")"

gw-test-child.scm gw-test-child.h gw-test-child.c gw-test-child.html gw-test-child-autogen.h: gw-test-child-spec.scm
	LD_LIBRARY_PATH=${LOCALPWD}/..:${LOCALPWD}/..: \
	guile -c \
          "(set! %load-path (cons \"${G_WRAP_MODULE_DIR}\" %load-path)) \
           (use-modules (g-wrap)) \
           (primitive-load \"./gw-test-parent-spec.scm\") \
           (primitive-load \"./gw-test-child-spec.scm\") \
           (gw:generate-wrapset \"gw-test-child\")"

gw-test-glib.scm gw-test-glib.h gw-test-glib.c gw-test-glib.html gw-test-glib-autogen.h: gw-test-glib-spec.scm
	LD_LIBRARY_PATH=${LOCALPWD}/..:${LOCALPWD}/..: \
	guile -c \
	  "(debug-enable 'backtrace) \
           (debug-enable 'debug) \
           (read-enable 'positions) \
           (set! %load-path (cons \"${G_WRAP_MODULE_DIR}\" %load-path)) \
           (use-modules (g-wrap)) \
           (primitive-load \"./gw-test-glib-spec.scm\") \
           (gw:generate-wrapset \"gw-test-glib\")"

test-gw-gtkobj.scm test-gw-gtkobj.h test-gw-gtkobj.c test-gw-gtkobj.html test-gw-gtkobj-autogen.h: test-gw-gtkobj-spec.scm
	LD_LIBRARY_PATH=${LOCALPWD}/..:${LOCALPWD}/..: \
        guile -c \
          "(set! %load-path (cons \"${G_WRAP_MODULE_DIR}\" %load-path)) \
           (set! %load-path (cons \".\" %load-path)) \
           (use-modules (g-wrap)) \
           (use-modules (test-gw-gtkobj-spec)) \
           (gw:generate-wrapset \"test-gw-gtkobj\")"

# </test-gw-gtkobj>
# ====================================================================

${TESTS}:
	chmod a+x $@

.PHONY: ${TESTS}
# 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:
