aboutsummaryrefslogtreecommitdiffstats
path: root/embed/xulrunner/tests/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'embed/xulrunner/tests/Makefile.am')
-rw-r--r--embed/xulrunner/tests/Makefile.am35
1 files changed, 35 insertions, 0 deletions
diff --git a/embed/xulrunner/tests/Makefile.am b/embed/xulrunner/tests/Makefile.am
new file mode 100644
index 000000000..22a2cf93a
--- /dev/null
+++ b/embed/xulrunner/tests/Makefile.am
@@ -0,0 +1,35 @@
+required = \
+ xpcom \
+ string \
+ dom
+
+bin_PROGRAMS = testgeckoembed
+
+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)\" \
+ $(AM_CPPFLAGS)
+
+testgeckoembed_CXXFLAGS = \
+ $(GGE_DEPENDENCY_CFLAGS) \
+ $(GECKO_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)`