Updated Spanish translation
[anjuta-git-plugin.git] / plugins / sample1 / Makefile.am
blob51193709c37bc156262288c95aeaf29d6ef7892d
1 # Sample Makefile for a anjuta plugin.
3 # Plugin UI file
4 sample_uidir = $(anjuta_ui_dir)
5 sample_ui_DATA =  anjuta-sample.ui
7 # Plugin Icon file
8 sample_pixmapsdir = $(anjuta_image_dir)
9 sample_pixmaps_DATA = \
10         anjuta-sample-plugin.svg \
11         anjuta-sample-plugin-48.png
13 # Plugin description file
14 plugin_in_files = anjuta-sample.plugin.in
15 %.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
17 sample_plugindir = $(anjuta_plugin_dir)
18 sample_plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
20 # NOTE :
21 # The naming convention is very intentional
22 # We are forced to use the prefix 'lib' by automake and libtool
23 #    There is probably a way to avoid it but it is not worth to effort
24 #    to find out.
25 # The 'anjuta_' prfix is a safety measure to avoid conflicts where the
26 #    plugin 'libpython.so' needs to link with the real 'libpython.so'
28 # Include paths
29 AM_CPPFLAGS = \
30         $(WARN_CFLAGS) \
31         $(DEPRECATED_FLAGS) \
32         $(LIBANJUTA_CFLAGS)
34 # Where to install the plugin
35 plugindir = $(anjuta_plugin_dir)
37 # The plugin
38 plugin_LTLIBRARIES = libanjuta-sample.la
40 # Plugin sources
41 libanjuta_sample_la_SOURCES = \
42         plugin.c \
43         plugin.h
45 libanjuta_sample_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
47 # Plugin dependencies
48 libanjuta_sample_la_LIBADD = \
49         $(GTK_LIBS) \
50         $(LIBANJUTA_LIBS)
52 EXTRA_DIST = \
53         $(plugin_in_files) \
54         $(sample_plugin_DATA) \
55         $(sample_ui_DATA) \
56         $(sample_pixmaps_DATA)