X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=t%2Fsrc%2FMakefile.am;h=30f9c813c8920e99d7ee2a5d24724382bd022c59;hb=681b182b6f003e91a47a098b7e8ac632315f61a6;hp=c325db153b86117742632afadea9fa4c5736641e;hpb=97e32aa949b0e3d3e9c86543fad2b63a87d844d9;p=gedcom-parse.git diff --git a/t/src/Makefile.am b/t/src/Makefile.am index c325db1..30f9c81 100644 --- a/t/src/Makefile.am +++ b/t/src/Makefile.am @@ -2,8 +2,8 @@ # $Id$ # $Name$ -INCLUDES = -DPKGDATADIR=\"$(pkgdatadir)\" -I $(srcdir)/../../include \ - -I $(srcdir)/../../utf8 -I $(srcdir)/../intl +INCLUDES = -DPKGDATADIR=\"$(pkgdatadir)\" -I$(srcdir)/../../include \ + -I$(srcdir)/../../utf8 -I$(srcdir)/../../intl CFLAGS = -O2 @EXTRA_CFLAGS@ noinst_PROGRAMS = testgedcom pathtest gomtest updatetest testintl \ @@ -11,34 +11,35 @@ noinst_PROGRAMS = testgedcom pathtest gomtest updatetest testintl \ noinst_HEADERS = output.h dump_gom.h portability.h testgedcom_SOURCES = standalone.c output.c portability.c -testgedcom_LDFLAGS = -L../../gedcom/.libs -L../../utf8/.libs -testgedcom_LDADD = -lgedcom -lutf8tools +testgedcom_LDFLAGS = -L../../gedcom/.libs -L../../utf8/.libs @ICONV_LIBPATH@ +testgedcom_LDADD = $(LIBICONV) -lgedcom -lutf8tools $(LIBICONV) pathtest_SOURCES = pathtest.c -pathtest_LDFLAGS = -L../../gedcom/.libs -L../../utf8/.libs -pathtest_LDADD = -lgedcom -lutf8tools +pathtest_LDFLAGS = -L../../gedcom/.libs -L../../utf8/.libs @ICONV_LIBPATH@ +pathtest_LDADD = $(LIBICONV) -lgedcom -lutf8tools $(LIBICONV) gomtest_SOURCES = gomtest.c output.c dump_gom.c portability.c -gomtest_LDFLAGS = -L../../gedcom/.libs -L../../gom/.libs -L../../utf8/.libs -gomtest_LDADD = -lgedcom_gom -lgedcom -lutf8tools +gomtest_LDFLAGS = -L../../gedcom/.libs -L../../gom/.libs -L../../utf8/.libs \ + @ICONV_LIBPATH@ +gomtest_LDADD = $(LIBICONV) -lgedcom_gom -lgedcom -lutf8tools $(LIBICONV) updatetest_SOURCES = update.c output.c portability.c -updatetest_LDFLAGS = -L../../gedcom/.libs -L../../utf8/.libs -updatetest_LDADD = -lgedcom -lutf8tools +updatetest_LDFLAGS = -L../../gedcom/.libs -L../../utf8/.libs @ICONV_LIBPATH@ +updatetest_LDADD = $(LIBICONV) -lgedcom -lutf8tools $(LIBICONV) updategomtest_SOURCES = update_gom.c output.c dump_gom.c portability.c updategomtest_LDFLAGS = -L../../gedcom/.libs -L../../gom/.libs \ - -L../../utf8/.libs -updategomtest_LDADD = -lgedcom_gom -lgedcom -lutf8tools + -L../../utf8/.libs @ICONV_LIBPATH@ +updategomtest_LDADD = $(LIBICONV) -lgedcom_gom -lgedcom -lutf8tools $(LIBICONV) writegomtest_SOURCES = gom_write.c output.c portability.c writegomtest_LDFLAGS = -L../../gedcom/.libs -L../../gom/.libs \ - -L../../utf8/.libs -writegomtest_LDADD = -lgedcom_gom -lgedcom -lutf8tools + -L../../utf8/.libs @ICONV_LIBPATH@ +writegomtest_LDADD = $(LIBICONV) -lgedcom_gom -lgedcom -lutf8tools $(LIBICONV) testintl_SOURCES = testintl.c output.c -testintl_LDFLAGS = -L../../gedcom/.libs -L../../utf8/.libs -testintl_LDADD = -lgedcom -lutf8tools @INTLLIBS@ +testintl_LDFLAGS = -L../../gedcom/.libs -L../../utf8/.libs @ICONV_LIBPATH@ +testintl_LDADD = $(LIBICONV) -lgedcom -lutf8tools @INTLLIBS@ $(LIBICONV) TEST_SCRIPT=test_script test_gom test_update test_intl test_updategom test_writegom test_prologue.sh test_bulk.sh