Fix #530740 – Use GtkBuilder instead of libglade
[anjuta-extras.git] / plugins / profiler / Makefile.am
bloba86f13553073af572314dc84192257c8a8e7ff99
2 # Plugin UI file
3 profiler_uidir = $(anjuta_ui_dir)
4 profiler_ui_DATA =  profiler.xml
6 # Plugin glade file
7 profiler_gladedir = $(anjuta_glade_dir)
8 profiler_glade_DATA = profiler.ui \
9         profiler-flat-profile.ui \
10         profiler-call-graph.ui \
11         profiler-function-call-tree.ui
13 # Plugin Icon file
14 profiler_pixmapsdir = $(anjuta_image_dir)
15 profiler_pixmaps_DATA = \
16         anjuta-profiler-plugin.svg \
17         anjuta-profiler-plugin-48.png
19 # Plugin description file
20 plugin_in_files = profiler.plugin.in
21 %.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
23 profiler_plugindir = $(anjuta_plugin_dir)
24 profiler_plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
26 # NOTE :
27 # The naming convention is very intentional
28 # We are forced to use the prefix 'lib' by automake and libtool
29 #    There is probably a way to avoid it but it is not worth to effort
30 #    to find out.
31 # The 'anjuta_' prfix is a safety measure to avoid conflicts where the
32 #    plugin 'libpython.so' needs to link with the real 'libpython.so'
34 # Include paths
35 AM_CPPFLAGS = \
36         $(LIBANJUTA_CFLAGS) \
37         $(EXTRA_CFLAGS)
39 if HAVE_GRAPHVIZ
40 AM_CPPFLAGS += $(GRAPHVIZ_CFLAGS)
41 endif
43 # Where to install the plugin
44 plugindir = $(anjuta_plugin_dir)
46 # The plugin
47 plugin_LTLIBRARIES = libanjuta-profiler.la
49 # Plugin sources
50 libanjuta_profiler_la_SOURCES = \
51         gprof-call-graph.c \
52         gprof-call-graph.h \
53         gprof-call-graph-block.c \
54         gprof-call-graph-block.h \
55         gprof-call-graph-block-entry.c \
56         gprof-call-graph-block-entry.h \
57         gprof-call-graph-view.c \
58         gprof-call-graph-view.h \
59         gprof-flat-profile.c \
60         gprof-flat-profile.h \
61         gprof-flat-profile-entry.c \
62         gprof-flat-profile-entry.h \
63         gprof-flat-profile-view.c \
64         gprof-flat-profile-view.h \
65         gprof-function-call-tree-view.c \
66         gprof-function-call-tree-view.h \
67         gprof-profile-data.c \
68         gprof-profile-data.h \
69         gprof-view.c \
70         gprof-view.h \
71         gprof-view-manager.c \
72         gprof-view-manager.h \
73         string-utils.c \
74         string-utils.h \
75         plugin.c \
76         plugin.h \
77         gprof-options.c \
78         gprof-options.h 
80 if HAVE_GRAPHVIZ
81 libanjuta_profiler_la_SOURCES += \
82         gprof-function-call-chart-view.c \
83         gprof-function-call-chart-view.h 
84 endif
86 libanjuta_profiler_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
88 # Plugin dependencies
89 libanjuta_profiler_la_LIBADD = $(LIBANJUTA_LIBS) $(GNOME_CANVAS_LIBS) $(GIO_LIBS) $(LIBXML_LIBS)
91 if HAVE_GRAPHVIZ
92 libanjuta_profiler_la_LIBADD += $(GRAPHVIZ_LIBS)
93 endif
95 EXTRA_DIST = \
96         $(plugin_in_files) \
97         $(profiler_plugin_DATA) \
98         $(profiler_ui_DATA) \
99         $(profiler_pixmaps_DATA) \
100         $(profiler_glade_DATA)