Implement support for checking out (reverting) files.
[anjuta-git-plugin.git] / plugins / git / Makefile.am
blob5cb9d7eb434d34915951b1cdc5f285b0ad57c844
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 \
67         git-remove-command.c \
68         git-remove-command.h \
69         git-remove-dialog.c \
70         git-remove-dialog.h \
71         git-resolve-dialog.c \
72         git-resolve-dialog.h \
73         git-branch.h \
74         git-branch.c \
75         git-branch-list-command.h \
76         git-branch-list-command.c \
77         git-merge-command.h \
78         git-merge-command.c \
79         git-branch-combo-model.c \
80         git-branch-combo-model.h \
81         git-merge-dialog.h \
82         git-merge-dialog.c \
83         git-branch-checkout-command.h \
84         git-branch-checkout-command.c \
85         git-switch-dialog.c \
86         git-switch-dialog.h \
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
104 libanjuta_git_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
106 # Plugin dependencies
107 libanjuta_git_la_LIBADD = \
108         $(GTK_LIBS) \
109         $(LIBANJUTA_LIBS)
111 EXTRA_DIST = \
112         $(plugin_in_files) \
113         $(git_plugin_DATA) \
114         $(git_ui_DATA) \
115         $(git_pixmaps_DATA)