Created stub git plugin.
[anjuta-git-plugin.git] / plugins / git / Makefile.am
blob6151c14d6271732a6c1097de4a513da17fb87510
1 # Sample Makefile for a anjuta plugin.
3 # Plugin UI file
4 git_uidir = $(anjuta_ui_dir)
5 git_ui_DATA =  anjuta-git.ui
7 # Plugin Icon file
8 git_pixmapsdir = $(anjuta_image_dir)
9 git_pixmaps_DATA = \
10         anjuta-git-plugin-48.png
12 # Plugin description file
13 plugin_in_files = git.plugin.in
14 %.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
16 git_plugindir = $(anjuta_plugin_dir)
17 git_plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
19 # NOTE :
20 # The naming convention is very intentional
21 # We are forced to use the prefix 'lib' by automake and libtool
22 #    There is probably a way to avoid it but it is not worth to effort
23 #    to find out.
24 # The 'anjuta_' prfix is a safety measure to avoid conflicts where the
25 #    plugin 'libpython.so' needs to link with the real 'libpython.so'
27 # Include paths
28 AM_CPPFLAGS = \
29         $(WARN_CFLAGS) \
30         $(DEPRECATED_FLAGS) \
31         $(LIBANJUTA_CFLAGS)
33 # Where to install the plugin
34 plugindir = $(anjuta_plugin_dir)
36 # The plugin
37 plugin_LTLIBRARIES = libanjuta-git.la
39 # Plugin sources
40 libanjuta_git_la_SOURCES = \
41         plugin.c \
42         plugin.h
44 libanjuta_git_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
46 # Plugin dependencies
47 libanjuta_git_la_LIBADD = \
48         $(GTK_LIBS) \
49         $(LIBANJUTA_LIBS)
51 EXTRA_DIST = \
52         $(plugin_in_files) \
53         $(git_plugin_DATA) \
54         $(git_ui_DATA) \
55         $(git_pixmaps_DATA)