build: add built .plugin files to CLEANFILES
[anjuta.git] / plugins / js-debugger / Makefile.am
blob6f5cb6cec7fd72ed44ed2975fb47e640a09922ff
1 # Plugin Icon file
2 js_debugger_pixmapsdir = $(anjuta_image_dir)
3 dist_js_debugger_pixmaps_DATA = js_debugger.png
5 # Plugin description file
6 plugin_in_files = js_debugger.plugin.in
7 %.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
9 js_debugger_plugindir = $(anjuta_plugin_dir)
10 dist_js_debugger_plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
12 # NOTE :
13 # The naming convention is very intentional
14 # We are forced to use the prefix 'lib' by automake and libtool
15 #    There is probably a way to avoid it but it is not worth to effort
16 #    to find out.
17 # The 'anjuta_' prfix is a safety measure to avoid conflicts where the
18 #    plugin 'libpython.so' needs to link with the real 'libpython.so'
20 # Include paths
21 AM_CPPFLAGS = \
22         $(WARN_CFLAGS) \
23         -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
24         -DANJUTA_DATA_DIR=\"$(anjuta_data_dir)\" \
25         -DANJUTA_PLUGIN_DIR=\"$(anjuta_plugin_dir)\" \
26         -DANJUTA_IMAGE_DIR=\"$(anjuta_image_dir)\" \
27         -DANJUTA_GLADE_DIR=\"$(anjuta_glade_dir)\" \
28         -DANJUTA_UI_DIR=\"$(anjuta_ui_dir)\" \
29         -DPACKAGE_SRC_DIR=\"$(srcdir)\" \
30         $(LIBANJUTA_CFLAGS) 
32 # Where to install the plugin
33 plugindir = $(anjuta_plugin_dir)
35 # The plugin
36 plugin_LTLIBRARIES = libjs_debugger.la
38 # Plugin sources
39 libjs_debugger_la_SOURCES = debugger-js.c debugger-js.h debugger-server.c debugger-server.h plugin.c plugin.h
41 libjs_debugger_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
43 # Plugin dependencies
44 libjs_debugger_la_LIBADD = \
45         $(LIBANJUTA_LIBS) 
47 EXTRA_DIST = \
48         $(plugin_in_files)
50 CLEANFILES = $(plugin_in_files:.plugin.in=.plugin)
52 -include $(top_srcdir)/git.mk