Implement add support
[anjuta-git-plugin.git] / plugins / git / Makefile.am
blob8502b8cda5b3ffcd8c8eb8b06b642b3beaee5ac1
1 # Sample Makefile for a anjuta plugin.
3 # Plugin glade file
4 git_gladedir = $(anjuta_glade_dir)
5 git_glade_DATA = anjuta-git.glade
7 # Plugin UI file
8 git_uidir = $(anjuta_ui_dir)
9 git_ui_DATA =  anjuta-git.ui
11 # Plugin Icon file
12 git_pixmapsdir = $(anjuta_image_dir)
13 git_pixmaps_DATA = \
14         anjuta-git-plugin-48.png
16 # Plugin description file
17 plugin_in_files = git.plugin.in
18 %.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 git_plugindir = $(anjuta_plugin_dir)
21 git_plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
23 # NOTE :
24 # The naming convention is very intentional
25 # We are forced to use the prefix 'lib' by automake and libtool
26 #    There is probably a way to avoid it but it is not worth to effort
27 #    to find out.
28 # The 'anjuta_' prfix is a safety measure to avoid conflicts where the
29 #    plugin 'libpython.so' needs to link with the real 'libpython.so'
31 # Include paths
32 AM_CPPFLAGS = \
33         $(WARN_CFLAGS) \
34         $(DEPRECATED_FLAGS) \
35         $(LIBANJUTA_CFLAGS)
37 # Where to install the plugin
38 plugindir = $(anjuta_plugin_dir)
40 # The plugin
41 plugin_LTLIBRARIES = libanjuta-git.la
43 # Plugin sources
44 libanjuta_git_la_SOURCES = \
45         plugin.c \
46         plugin.h \
47         git-command.c \
48         git-command.h \
49         git-ui-utils.c \
50         git-ui-utils.h \
51         git-diff-command.c \
52         git-diff-command.h \
53         git-diff-dialog.c \
54         git-diff-dialog.h \
55         git-status.c \
56         git-status.h \
57         git-status-command.c \
58         git-status-command.h \
59         git-commit-command.h \
60         git-commit-command.c \
61         git-commit-dialog.c \
62         git-commit-dialog.h \
63         git-add-command.h \
64         git-add-command.c \
65         git-add-dialog.c \
66         git-add-dialog.h
68 libanjuta_git_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
70 # Plugin dependencies
71 libanjuta_git_la_LIBADD = \
72         $(GTK_LIBS) \
73         $(LIBANJUTA_LIBS)
75 EXTRA_DIST = \
76         $(plugin_in_files) \
77         $(git_plugin_DATA) \
78         $(git_ui_DATA) \
79         $(git_pixmaps_DATA)