Updated Spanish translation
[anjuta-git-plugin.git] / plugins / valgrind / Makefile.am
blobdf33de71ed57fde0d2d7bdd10f336e04bdb5572e
1 if HAVE_PLUGIN_VALGRIND
3 # Plugin UI file
4 valgrind_uidir = $(anjuta_ui_dir)
5 valgrind_ui_DATA = anjuta-valgrind.ui
8 # Plugin glade file
9 valgrind_gladedir = $(anjuta_glade_dir)
10 valgrind_glade_DATA = anjuta-valgrind.glade
12 # Plugin Icon file
13 valgrind_pixmapsdir = $(anjuta_image_dir)
14 valgrind_pixmaps_DATA = \
15         anjuta-valgrind-plugin.svg \
16         anjuta-valgrind-plugin-48.png
18 # Plugin description file
19 plugin_in_files = anjuta-valgrind.plugin.in
20 %.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
22 valgrind_plugindir = $(anjuta_plugin_dir)
23 valgrind_plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
25 # NOTE :
26 # The naming convention is very intentional
27 # We are forced to use the prefix 'lib' by automake and libtool
28 #    There is probably a way to avoid it but it is not worth to effort
29 #    to find out.
30 # The 'anjuta_' prfix is a safety measure to avoid conflicts where the
31 #    plugin 'libpython.so' needs to link with the real 'libpython.so'
33 # Include paths
34 AM_CPPFLAGS = \
35         $(LIBANJUTA_CFLAGS) \
36         $(WARN_CFLAGS) \
37         $(GDL_CFLAGS) \
38         $(DEPRECATED_FLAGS) 
40 # Where to install the plugin
41 plugindir = $(anjuta_plugin_dir)
43 # The plugin
44 plugin_LTLIBRARIES = libanjuta-valgrind.la
46 libanjuta_valgrind_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
48 # Plugin dependencies
49 libanjuta_valgrind_la_LIBADD = \
50         $(LIBANJUTA_LIBS) \
51         $(PLUGIN_VALGRIND_LIBS)
53 # Plugin sources
54 libanjuta_valgrind_la_SOURCES = \
55         plugin.c \
56         plugin.h \
57         vggeneralprefs.c \
58         vggeneralprefs.h \
59         vgtoolprefs.h \
60         vgtoolprefs.c \
61         vgdefaultview.c \
62         vgdefaultview.h \
63         vgrulepattern.c \
64         vgrulepattern.h \
65         vgsearchbar.c \
66         vgsearchbar.h \
67         vgmarshal.h \
68         vgmarshal.c \
69         vgio.c \
70         vgio.h \
71         vgrule-list.h \
72         vgrule-list.c \
73         vgrule-editor.h \
74         vgrule-editor.c \
75         vgrule.c \
76         vgrule.h \
77         vgstrpool.c \
78         vgstrpool.h \
79         parser.c \
80         parser.h \
81         vgtoolview.c \
82         vgtoolview.h \
83         symtab.c \
84         symtab.h \
85         ldd.c \
86         ldd.h \
87         process.c \
88         process.h \
89         vgerror.c \
90         vgerror.h \
91         list.h \
92         list.c \
93         vgmemcheckprefs.c \
94         vgmemcheckprefs.h \
95         preferences.c \
96         preferences.h \
97         vgcachegrindprefs.c \
98         vgcachegrindprefs.h \
99         vghelgrindprefs.c \
100         vghelgrindprefs.h \
101         vgactions.c \
102         vgactions.h \
103         menu-utils.h \
104         menu-utils.c 
106 vgmarshal.h: vgmarshal.list
107         ( @GLIB_GENMARSHAL@ --prefix=vg_marshal $(srcdir)/vgmarshal.list --header > vgmarshal.h.tmp \
108         && mv vgmarshal.h.tmp vgmarshal.h ) \
109         || ( rm -f vgmarshal.h.tmp && exit 1 )
111 vgmarshal.c: vgmarshal.h
112         ( @GLIB_GENMARSHAL@ --prefix=vg_marshal $(srcdir)/vgmarshal.list --body > vgmarshal.c.tmp \
113         && mv vgmarshal.c.tmp vgmarshal.c ) \
114         || ( rm -f vgmarshal.c.tmp && exit 1 )
116 MARSHAL_GENERATED = \
117                 vgmarshal.c \
118                 vgmarshal.h
121 schemadir   = @GCONF_SCHEMA_FILE_DIR@
122 schema_DATA = anjuta-valgrind.schemas
124 EXTRA_DIST = \
125         $(plugin_in_files) \
126         $(valgrind_plugin_DATA) \
127         $(valgrind_ui_DATA) \
128         $(valgrind_glade_DATA) \
129         $(valgrind_pixmaps_DATA) \
130         $(valgrind_glade_DATA) \
131         $(schema_DATA) \
132         vgmarshal.list
134 if GCONF_SCHEMAS_INSTALL
135 install-data-local:
136         GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA)
138 uninstall-local:
139         GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-uninstall-rule $(srcdir)/$(schema_DATA)
140 else
141 install-data-local:
143 uninstall-local:
144 endif
145         
146 noinst_PROGRAMS = \
147         bugged-prg-test 
149 bugged_prg_test_SOURCES = \
150         bugged-prg-test.c 
152 endif