summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@gnome.org>2004-01-24 19:24:08 +0000
committerDodji Seketeli <dodji@src.gnome.org>2004-01-24 19:24:08 +0000
commitd058779c836ec6ac56721581dd44d1dd91d3206c (patch)
treef371ad9e5150f3526edd528e44f990e9d060014c /tests
parenta97a943a32d37e1c92aa93e861a28d96f84f2163 (diff)
downloadlibcroco-d058779c836ec6ac56721581dd44d1dd91d3206c.tar.gz
separated the library into two projects. Libcroco is now the combination
2004-01-24 Dodji Seketeli <dodji@gnome.org> * all: separated the library into two projects. Libcroco is now the combination of the parser and the selection engine. A new project is born: sewfox. It is basically the xml rendering/layout engine. Libcroco now needs libxml2 and glib only. Sewfox need libgnomecanvas2.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am35
1 files changed, 7 insertions, 28 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 8aa5ccd..0987a4e 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,40 +1,20 @@
SUBDIRS=test-inputs test-output-refs
-if HAVE_TESTS
-
-core_tests=@CORE_TESTS@
-seleng_tests=@SELENG_TESTS@
-layeng_tests=@LAYENG_TESTS@
-PRGS = $(core_tests) $(seleng_tests) $(layeng_tests)
-
#the list of all possible tests goes here.
#The real tests that are gonna be compiled are defined
#in configure.in due to automake AM_CONDITIONAL() being bugged
-EXTRA_PROGRAMS=test0 test1 test2 test3 test4 test5 test6 test7
-noinst_PROGRAMS=$(PRGS)
-
+testprogs=test0 test1 test2 test3 test4 test5 test6
+noinst_PROGRAMS=$(testprogs)
test0_SOURCES=test0-main.c
-test1_SOURCES=test1-main.c
+test1_SOURCES=test1-main.c
test2_SOURCES=test2-main.c cr-test-utils.c cr-test-utils.h
test3_SOURCES=test3-main.c cr-test-utils.c cr-test-utils.h
test4_SOURCES=test4-main.c cr-test-utils.c cr-test-utils.h
test5_SOURCES=test5-main.c cr-test-utils.c cr-test-utils.h
test6_SOURCES=test6-main.c cr-test-utils.c cr-test-utils.h
-test7_SOURCES=test7-main.c cr-test-utils.c cr-test-utils.h
-
-croco_parser_lib=$(top_builddir)/src/parser/@CROCO_PARSER_LIB@
-
-if HAVE_SELENG
-croco_seleng_lib=$(top_builddir)/src/seleng/@CROCO_SELENG_LIB@
-endif
-
-if HAVE_LAYENG
-croco_layeng_lib=$(top_builddir)/src/layeng/@CROCO_LAYENG_LIB@
-croco_layeng_needed_includes=`pkg-config --cflags libgnomeui-2.0`
-croco_layeng_needed_libs=`pkg-config --libs libgnomeui-2.0`
-endif
-LDADD=$(croco_parser_lib) $(croco_seleng_lib) $(croco_layeng_lib)
+croco_lib=$(top_builddir)/src/@CROCO_LIB@
+LDADD=$(croco_lib)
INCLUDES=-I$(top_srcdir)/intl \
-I$(top_srcdir)/src \
@@ -44,6 +24,5 @@ INCLUDES=-I$(top_srcdir)/intl \
`pkg-config --cflags glib-2.0` \
$(croco_layeng_needed_includes)
-LDFLAGS=`pkg-config --libs glib-2.0` $(croco_layeng_needed_libs) @LIBXML2_LIBS@
-AM_CFLAGS=-Wall -I. @LIBXML2_CFLAGS@
-endif \ No newline at end of file
+LDFLAGS=@GLIB2_LIBS@ @LIBXML2_LIBS@
+AM_CFLAGS=-I. @LIBXML2_CFLAGS@ @GLIB2_CFLAGS@