# $Id$
# $Name$
-SUBDIRS=input
-INCLUDES = -DPKGDATADIR=\"$(pkgdatadir)\" -I $(srcdir)/../include \
- -I $(srcdir)/../utf8
-CFLAGS = -g -O2
+SUBDIRS=src input .
-noinst_PROGRAMS = testgedcom pathtest gomtest @EXTRA_PROGS@
-EXTRA_PROGRAMS = gomtest_static
-
-testgedcom_SOURCES = standalone.c
-testgedcom_LDFLAGS = -L ../gedcom/.libs -lgedcom
-testgedcom_LDADD = @INTLLIBS@ ../utf8/libutf8.la
-
-pathtest_SOURCES = pathtest.c
-pathtest_LDFLAGS = -L ../gedcom/.libs -lgedcom
-
-gomtest_SOURCES = gomtest.c
-gomtest_LDFLAGS = -L ../gedcom/.libs -L ../gom/.libs -lgedcom_gom -lgedcom
-
-gomtest_static_SOURCES = gomtest.c
-gomtest_static_LDADD = ../gedcom/.libs/libgedcom.a ../gom/.libs/libgedcom_gom.a
DMALLOC_LOG = dmalloc.log
-
-TEST_SCRIPT=test_script test_gom
TESTS := $(wildcard $(srcdir)/*.test)
-EXTRA_DIST=$(TEST_SCRIPT) $(TESTS)
+EXTRA_DIST=$(TESTS)
all-local:
@rm -f testgedcom.out $(DMALLOC_LOG)
#!/bin/sh
-$srcdir/test_script -2 allged.ged 0
+$srcdir/src/test_script -2 allged.ged 0
#!/bin/sh
-$srcdir/test_gom allged.ged 0
+$srcdir/src/test_gom allged.ged 0
#!/bin/sh
-$srcdir/test_script -2 ansel.ged 0
+$srcdir/src/test_script -2 ansel.ged 0
#!/bin/sh
-$srcdir/test_gom ansel.ged 0
+$srcdir/src/test_gom ansel.ged 0
#!/bin/sh
-$srcdir/test_script -2 -b minimal.ged 0
+$srcdir/src/test_script -2 -b minimal.ged 0
#!/bin/sh
-$srcdir/test_script -2 dates.ged 0
+$srcdir/src/test_script -2 dates.ged 0
#!/bin/sh
-$srcdir/test_gom dates.ged 0
+$srcdir/src/test_gom dates.ged 0
#!/bin/sh
-$srcdir/test_script -2 -fn encoding_error.ged 0
+$srcdir/src/test_script -2 -fn encoding_error.ged 0
#!/bin/sh
-$srcdir/test_script -2 minimal.ged 0
+$srcdir/src/test_script -2 minimal.ged 0
builddir=`pwd`
export LD_LIBRARY_PATH=$builddir/../gedcom/.libs:$LD_LIBRARY_PATH
unset GCONV_PATH
-$builddir/pathtest
+$builddir/src/pathtest
builddir=`pwd`
export LD_LIBRARY_PATH=$builddir/../gedcom/.libs:$LD_LIBRARY_PATH
export GCONV_PATH=./ansel
-$builddir/pathtest
+$builddir/src/pathtest
#!/bin/sh
-$srcdir/test_script -2 uhlbomcl.ged 0
+$srcdir/src/test_script -2 uhlbomcl.ged 0
#!/bin/sh
-$srcdir/test_gom uhlbomcl.ged 0
+$srcdir/src/test_gom uhlbomcl.ged 0
#!/bin/sh
-$srcdir/test_script -2 uhlcl.ged 0
+$srcdir/src/test_script -2 uhlcl.ged 0
#!/bin/sh
-$srcdir/test_gom uhlcl.ged 0
+$srcdir/src/test_gom uhlcl.ged 0
#!/bin/sh
-$srcdir/test_script -2 ulhbomcl.ged 0
+$srcdir/src/test_script -2 ulhbomcl.ged 0
#!/bin/sh
-$srcdir/test_gom ulhbomcl.ged 0
+$srcdir/src/test_gom ulhbomcl.ged 0
#!/bin/sh
-$srcdir/test_script -2 ulhc.ged 0
+$srcdir/src/test_script -2 ulhc.ged 0
#!/bin/sh
-$srcdir/test_gom ulhc.ged 0
+$srcdir/src/test_gom ulhc.ged 0
#!/bin/sh
-$srcdir/test_script -2 ulhcl.ged 0
+$srcdir/src/test_script -2 ulhcl.ged 0
#!/bin/sh
-$srcdir/test_gom ulhcl.ged 0
+$srcdir/src/test_gom ulhcl.ged 0
#!/bin/sh
-$srcdir/test_script -2 ulhl.ged 0
+$srcdir/src/test_script -2 ulhl.ged 0
#!/bin/sh
-$srcdir/test_gom ulhl.ged 0
+$srcdir/src/test_gom ulhl.ged 0
#!/bin/sh
-$srcdir/test_script -2 ulhlc.ged 0
+$srcdir/src/test_script -2 ulhlc.ged 0
#!/bin/sh
-$srcdir/test_gom ulhlc.ged 0
+$srcdir/src/test_gom ulhlc.ged 0
#!/bin/sh
-$srcdir/test_script unknown.ged 1
+$srcdir/src/test_script unknown.ged 1
#!/bin/sh
-$srcdir/test_script -fn unknown.ged 0
+$srcdir/src/test_script -fn unknown.ged 0