2008-02-11 Johannes Schmid <jhs@gnome.org>
[anjuta-git-plugin.git] / plugins / patch / Makefile.am
blobbf10d11beb3ab5b406c1acb8a2900a94663ef30f
1 # Plugin UI file
2 patch_uidir = $(anjuta_ui_dir)
3 patch_ui_DATA = anjuta-patch.ui
5 # Plugin glade file
6 patch_gladedir = $(anjuta_glade_dir)
7 patch_glade_DATA = patch-plugin.glade
9 # Plugin Icon file
10 patch_pixmapsdir = $(anjuta_image_dir)
11 patch_pixmaps_DATA = \
12         anjuta-patch-plugin.svg \
13         anjuta-patch-plugin-48.png
15 # Plugin description file
16 plugin_in_files = anjuta-patch.plugin.in
17 %.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
20 patch_plugindir = $(anjuta_plugin_dir)
21 patch_plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
23 # Include paths
24 AM_CPPFLAGS= \
25         $(WARN_CFLAGS) \
26         $(DEPRECATED_FLAGS) \
27         $(LIBANJUTA_CFLAGS) 
29 # Where to install the plugin
30 plugindir = $(anjuta_plugin_dir)
32 # The plugin
33 plugin_LTLIBRARIES = libanjuta-patch.la
35 # Plugin sources
36 libanjuta_patch_la_SOURCES = \
37         plugin.c \
38         plugin.h \
39         patch-plugin.c \
40         patch-plugin.h
42 libanjuta_patch_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
44 # Plugin dependencies
45 libanjuta_patch_la_LIBADD = \
46         $(GLADE_LIBS) \
47         $(LIBANJUTA_LIBS) 
49 EXTRA_DIST = \
50         $(plugin_in_files) \
51         $(patch_plugin_DATA) \
52         $(patch_ui_DATA) \
53         $(patch_pixmaps_DATA) \
54         $(patch_glade_DATA)