Integrate adding files with the file manager
[anjuta-git-plugin.git] / plugins / profiler / Makefile.am
blob4a97ff165d2c992db7b35bfe112710e56481747c
2 # Plugin UI file
3 profiler_uidir = $(anjuta_ui_dir)
4 profiler_ui_DATA =  profiler.ui
6 # Plugin glade file
7 profiler_gladedir = $(anjuta_glade_dir)
8 profiler_glade_DATA = profiler.glade \
9         profiler-flat-profile.glade \
10         profiler-call-graph.glade \
11         profiler-function-call-tree.glade
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         $(GNOME_VFS_MODULE_CFLAGS) \
38         $(WARN_CFLAGS) \
39         $(GDL_CFLAGS) \
40         $(LIBXML_CFLAGS) \
41         $(DEPRECATED_FLAGS)
43 if HAVE_GRAPHVIZ
44 AM_CPPFLAGS += $(GRAPHVIZ_CFLAGS)
45 endif
47 # Where to install the plugin
48 plugindir = $(anjuta_plugin_dir)
50 # The plugin
51 plugin_LTLIBRARIES = libanjuta-profiler.la
53 # Plugin sources
54 libanjuta_profiler_la_SOURCES = \
55         gprof-call-graph.c \
56         gprof-call-graph.h \
57         gprof-call-graph-block.c \
58         gprof-call-graph-block.h \
59         gprof-call-graph-block-entry.c \
60         gprof-call-graph-block-entry.h \
61         gprof-call-graph-view.c \
62         gprof-call-graph-view.h \
63         gprof-flat-profile.c \
64         gprof-flat-profile.h \
65         gprof-flat-profile-entry.c \
66         gprof-flat-profile-entry.h \
67         gprof-flat-profile-view.c \
68         gprof-flat-profile-view.h \
69         gprof-function-call-tree-view.c \
70         gprof-function-call-tree-view.h \
71         gprof-profile-data.c \
72         gprof-profile-data.h \
73         gprof-view.c \
74         gprof-view.h \
75         gprof-view-manager.c \
76         gprof-view-manager.h \
77         string-utils.c \
78         string-utils.h \
79         plugin.c \
80         plugin.h \
81         gprof-options.c \
82         gprof-options.h 
84 if HAVE_GRAPHVIZ
85 libanjuta_profiler_la_SOURCES += \
86         gprof-function-call-chart-view.c \
87         gprof-function-call-chart-view.h 
88 endif
90 libanjuta_profiler_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
92 # Plugin dependencies
93 libanjuta_profiler_la_LIBADD = $(LIBANJUTA_LIBS) $(GLADE_LIBS) $(GNOME_CANVAS_LIBS) $(GNOME_VFS_MODULE_LIBS) $(LIBXML_LIBS)
95 if HAVE_GRAPHVIZ
96 libanjuta_profiler_la_LIBADD += $(GRAPHVIZ_LIBS)
97 endif
99 EXTRA_DIST = \
100         $(plugin_in_files) \
101         $(profiler_plugin_DATA) \
102         $(profiler_ui_DATA) \
103         $(profiler_pixmaps_DATA) \
104         $(profiler_glade_DATA)