regenerated
[moon.git] / Makefile.am
blobee91ace1ce9bad39c7f13429055c30e694f49254
1 ACLOCAL_AMFLAGS = -I m4
3 MONO_SUBDIRS=
4 PERF_SUBDIR=
5 PLUGIN_SUBDIR=
7 if INCLUDE_MANAGED_CODE
8 BUILD_TOOLS = tools/respack
9 MONO_SUBDIRS += class
10 if INCLUDE_PERFORMANCE
11 PERF_SUBDIR += perf
12 endif INCLUDE_PERFORMANCE
13 endif
15 #if !PLUGIN_INSTALL
16 if INCLUDE_DESKTOP_MANAGED_CODE
17 MONO_SUBDIRS += gtk man data
18 if INCLUDE_EXAMPLES
19 MONO_EXAMPLES = examples
20 endif
21 endif
23 if INCLUDE_TESTING
24 TEST_SUBDIR = test
25 endif INCLUDE_TESTING
27 TOOLS_SUBDIR = tools
28 #endif !PLUGIN_INSTALL
30 if HAVE_MOZILLA
31 PLUGIN_SUBDIR += plugin
32 endif
34 SUBDIRS = $(subdirs) \
35         m4 \
36         $(BUILD_TOOLS) \
37         src \
38         $(MONO_SUBDIRS) \
39         $(PLUGIN_SUBDIR) \
40         $(TOOLS_SUBDIR) \
41         $(TEST_SUBDIR) \
42         $(PERF_SUBDIR) \
43         $(MONO_EXAMPLES) \
44         scripts
46 pkgconfigdir = $(libdir)/pkgconfig
47 pkgconfig_DATA=moon.pc
49 EXTRA_DIST=moon.pc.in LICENSE NOTES
51 # this should be handled by dolt.m4
52 DISTCLEANFILES= doltcompile \
53                 doltlibtool
55 # custom install rule
56 test-plugin:
57         $(MAKE) $(AM_MAKEFLAGS) -C plugin test-plugin
59 run-tests:
60         $(MAKE) $(AM_MAKEFLAGS) -C test run-tests
62 run-ms-tests:
63         $(MAKE) $(AM_MAKEFLAGS) -C test run-ms-tests
65 run-perf: 
66         $(MAKE) $(AM_MAKEFLAGS) -C perf run-perf
68 user-plugin: 
69 if PLUGIN_INSTALL
70         $(MAKE) $(AM_MAKEFLAGS) -C plugin user-plugin
71 else
72         @echo "Error: You must configure with Firefox 2 or 3 support"; exit 1
73 endif