aboutsummaryrefslogtreecommitdiffstats
path: root/embed/xulrunner/tests
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2007-09-13 03:35:36 +0800
committerChristian Persch <chpe@src.gnome.org>2007-09-13 03:35:36 +0800
commit7e0056c88d3377e2fe1086ed4c3f54b6d41c57fe (patch)
tree538010193ecef1eb6aef7f7589d31099eac7b51d /embed/xulrunner/tests
parent4cc435aa4cb1d683f03ad529d9d4891c8886771b (diff)
downloadgsoc2013-epiphany-7e0056c88d3377e2fe1086ed4c3f54b6d41c57fe.tar
gsoc2013-epiphany-7e0056c88d3377e2fe1086ed4c3f54b6d41c57fe.tar.gz
gsoc2013-epiphany-7e0056c88d3377e2fe1086ed4c3f54b6d41c57fe.tar.bz2
gsoc2013-epiphany-7e0056c88d3377e2fe1086ed4c3f54b6d41c57fe.tar.lz
gsoc2013-epiphany-7e0056c88d3377e2fe1086ed4c3f54b6d41c57fe.tar.xz
gsoc2013-epiphany-7e0056c88d3377e2fe1086ed4c3f54b6d41c57fe.tar.zst
gsoc2013-epiphany-7e0056c88d3377e2fe1086ed4c3f54b6d41c57fe.zip
Make the xulrunner backend build: change C/CXX/LDFLAGS, comment out
some code that isn't ported to gecko 1.9 yet. Doesn't link yet! svn path=/trunk/; revision=7402
Diffstat (limited to 'embed/xulrunner/tests')
-rw-r--r--embed/xulrunner/tests/Makefile.am39
1 files changed, 17 insertions, 22 deletions
diff --git a/embed/xulrunner/tests/Makefile.am b/embed/xulrunner/tests/Makefile.am
index 22a2cf93a..cee264947 100644
--- a/embed/xulrunner/tests/Makefile.am
+++ b/embed/xulrunner/tests/Makefile.am
@@ -1,35 +1,30 @@
-required = \
- xpcom \
- string \
- dom
-
bin_PROGRAMS = testgeckoembed
+NULL =
+
testgeckoembed_SOURCES = \
testgeckoembed.cpp
testgeckoembed_CPPFLAGS = \
-I$(top_srcdir) \
- -I$(top_srcdir)/embed/gecko/src \
- -I$(top_builddir)/embed/gecko/src \
- $(addprefix -I$(GECKO_INCLUDE_ROOT)/,$(required)) \
- -I$(GECKO_INCLUDE_ROOT) \
- -DGECKO_HOME=\"$(GECKO_HOME)\" \
+ -I$(top_srcdir)/embed/xulrunner/src \
+ -I$(top_builddir)/embed/xulrunner/src \
+ $(LIBXUL_CXXCPPFLAGS) \
+ $(LIBXUL_INCLUDES) \
+ -DGECKO_HOME=\"$(LIBXUL_PREFIX)\" \
$(AM_CPPFLAGS)
testgeckoembed_CXXFLAGS = \
- $(GGE_DEPENDENCY_CFLAGS) \
- $(GECKO_CFLAGS) \
+ $(LIBXUL_CXXFLAGS) \
+ $(GTK_CFLAGS) \
$(AM_CXXFLAGS)
-testgeckoembed_LDADD = \
- $(top_builddir)/embed/gecko/src/libgnomegeckoembed-0.0.la \
- $(GGE_DEPENDENCY_LIBS) \
- $(GECKO_LIBS) \
- $(GECKO_EXTRA_LIBS) \
- $(GECKO_GLUE_LIBS) \
- -lxpcomglue
-
testgeckoembed_LDFLAGS = \
- -R$(GECKO_HOME)
-# `$(MOZILLA_CONFIG) --libs $(required)`
+ -R$(LIBXUL_LIBDIR) \
+ $(AM_LDFLAGS)
+
+testgeckoembed_LDADD = \
+ $(top_builddir)/embed/xulrunner/src/libgnomegeckoembed-0.0.la \
+ $(LIBXUL_LIBS) \
+ $(GTK_LIBS) \
+ $(NULL)