1 # Sample Makefile for a anjuta plugin.
4 git_gladedir = $(anjuta_glade_dir)
5 git_glade_DATA = anjuta-git.glade
8 git_uidir = $(anjuta_ui_dir)
9 git_ui_DATA = anjuta-git.ui
12 git_pixmapsdir = $(anjuta_image_dir)
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)
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
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'
37 # Where to install the plugin
38 plugindir = $(anjuta_plugin_dir)
41 plugin_LTLIBRARIES = libanjuta-git.la
44 libanjuta_git_la_SOURCES = \
57 git-status-command.c \
58 git-status-command.h \
59 git-commit-command.h \
60 git-commit-command.c \
67 git-remove-command.c \
68 git-remove-command.h \
71 git-resolve-dialog.c \
72 git-resolve-dialog.h \
75 git-branch-list-command.h \
76 git-branch-list-command.c \
79 git-branch-combo-model.c \
80 git-branch-combo-model.h \
83 git-branch-checkout-command.h \
84 git-branch-checkout-command.c \
87 git-branch-create-command.h \
88 git-branch-create-command.c \
89 git-create-branch-dialog.c \
90 git-create-branch-dialog.h \
91 git-branch-delete-command.c \
92 git-branch-delete-command.h \
93 git-delete-branch-dialog.c \
94 git-delete-branch-dialog.h \
95 git-reset-files-command.c \
96 git-reset-files-command.h \
97 git-unstage-dialog.c \
98 git-unstage-dialog.h \
99 git-checkout-files-command.c \
100 git-checkout-files-command.h \
101 git-checkout-files-dialog.c \
102 git-checkout-files-dialog.h \
103 giggle-graph-renderer.c \
104 giggle-graph-renderer.h \
111 git-log-message-command.c \
112 git-log-message-command.h \
117 git-raw-output-command.c \
118 git-raw-output-command.h \
119 git-diff-tree-command.c \
120 git-diff-tree-command.h \
121 git-create-tag-dialog.c \
122 git-create-tag-dialog.h \
123 git-tag-create-command.c \
124 git-tag-create-command.h \
127 git-reset-tree-command.c \
128 git-reset-tree-command.h \
129 git-revert-command.c \
130 git-revert-command.h \
131 git-revert-dialog.c \
132 git-revert-dialog.h \
133 git-fetch-command.c \
134 git-fetch-command.h \
137 git-rebase-continue-command.c \
138 git-rebase-continue-command.h \
139 git-rebase-dialog.c \
140 git-rebase-dialog.h \
141 git-rebase-start-command.c \
142 git-rebase-start-command.h
144 libanjuta_git_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
146 # Plugin dependencies
147 libanjuta_git_la_LIBADD = \