# $Id$
# $Name$
SUBDIRS = intl ansel gedcom include . t doc po
-INCLUDES = -I $(srcdir)/include
-CFLAGS = -g -O2
pkgdata_DATA = gedcom.enc
-noinst_PROGRAMS = testgedcom
-
-testgedcom_SOURCES = standalone.c utf8-locale.c
-noinst_HEADERS = utf8-locale.h
-testgedcom_LDFLAGS = -L gedcom/.libs -lgedcom
-testgedcom_LDADD = @INTLLIBS@
EXTRA_DIST = $(pkgdata_DATA) Makefile.inc
VERSIONED_FILES = README
# Process this file with autoconf to produce a configure script.
# $Id$
# $Name$
-AC_INIT(standalone.c)
+AC_INIT(gedcom.enc)
dnl =============================================================
dnl Global variables
# $Name$
SUBDIRS=input
+INCLUDES = -DPKGDATADIR=\"$(pkgdatadir)\" -I $(srcdir)/../include
+CFLAGS = -g -O2
+
+noinst_PROGRAMS = testgedcom pathtest
+
+testgedcom_SOURCES = standalone.c utf8-locale.c
+noinst_HEADERS = utf8-locale.h
+testgedcom_LDFLAGS = -L ../gedcom/.libs -lgedcom
+testgedcom_LDADD = @INTLLIBS@
+
+pathtest_SOURCES = pathtest.c
+pathtest_LDFLAGS = -L ../gedcom/.libs -lgedcom
TEST_SCRIPT=test_script
TESTS := $(wildcard $(srcdir)/*.test)
export GCONV_PATH=./ansel:$GCONV_PATH
export LD_LIBRARY_PATH=$builddir/../gedcom/.libs:$LD_LIBRARY_PATH
cp $builddir/../ansel/.libs/ANSI_Z39.47.so ansel
-$builddir/../testgedcom $options t/input/$file
+$builddir/testgedcom $options t/input/$file
result=$?
rm ansel/ANSI_Z39.47.so
if [ "$result" -eq "$expected_result" ]