1 SUBDIRS = . anjuta-tags images benchmark
3 symbol_db_datadir = $(anjuta_data_dir)
4 dist_symbol_db_data_DATA = tables.sql
7 symbol_db_uidir = $(anjuta_ui_dir)
8 dist_symbol_db_ui_DATA = anjuta-symbol-db-plugin.xml
11 symbol_db_gladedir = $(anjuta_glade_dir)
12 dist_symbol_db_glade_DATA = anjuta-symbol-db.ui
15 symbol_db_pixmapsdir = $(anjuta_image_dir)
16 dist_symbol_db_pixmaps_DATA = \
17 anjuta-symbol-db-plugin.svg \
18 anjuta-symbol-db-plugin-48.png \
19 anjuta-symbol-db-plugin-16.png
21 # Plugin description file
22 plugin_in_files = symbol-db.plugin.in
23 %.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
25 symbol_db_plugindir = $(anjuta_plugin_dir)
26 dist_symbol_db_plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
29 # The naming convention is very intentional
30 # We are forced to use the prefix 'lib' by automake and libtool
31 # There is probably a way to avoid it but it is not worth to effort
33 # The 'anjuta_' prfix is a safety measure to avoid conflicts where the
34 # plugin 'libpython.so' needs to link with the real 'libpython.so'
42 -DSYMBOL_DB_SHM=\"$(SYMBOL_DB_SHM)\" \
43 -DPACKAGE_BIN_DIR=\"$(bindir)\" \
44 -DG_LOG_DOMAIN=\"libanjuta-symbol-db\"
46 # Where to install the plugin
47 plugindir = $(anjuta_plugin_dir)
50 plugin_LTLIBRARIES = libanjuta-symbol-db.la
53 libanjuta_symbol_db_la_SOURCES = \
60 symbol-db-engine-utils.c \
61 symbol-db-engine-utils.h \
62 symbol-db-engine-priv.h \
63 symbol-db-engine-core.c \
64 symbol-db-engine-core.h \
68 symbol-db-query-result.h \
69 symbol-db-query-result.c \
72 symbol-db-model-project.c \
73 symbol-db-model-project.h \
74 symbol-db-model-file.c \
75 symbol-db-model-file.h \
76 symbol-db-model-search.c \
77 symbol-db-model-search.h \
82 libanjuta_symbol_db_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
85 libanjuta_symbol_db_la_LIBADD = \
90 # libanjuta-symbol-db.la without the -module flag to be used in benchmark
91 noinst_LTLIBRARIES = libbenchmark-symbol-db.la
93 libbenchmark_symbol_db_la_SOURCES = \
94 $(libanjuta_symbol_db_la_SOURCES)
96 libbenchmark_symbol_db_la_LIBADD = \
97 $(libanjuta_symbol_db_la_LIBADD)
100 BUILT_SOURCES=symbol-db-marshal.c symbol-db-marshal.h
102 symbol-db-marshal.h: symbol-db-marshal.list
103 $(AM_V_GEN)@GLIB_GENMARSHAL@ \
104 --prefix=symbol_db_cclosure_marshal $(srcdir)/symbol-db-marshal.list --header > xgen-gmc \
105 && cp xgen-gmc $(@F) \
108 symbol-db-marshal.c: symbol-db-marshal.h symbol-db-marshal.list
109 $(AM_V_GEN)echo "#include \"symbol-db-marshal.h\"" > xgenc-gmc \
110 && @GLIB_GENMARSHAL@ \
111 --prefix=symbol_db_cclosure_marshal $(srcdir)/symbol-db-marshal.list --body >> xgenc-gmc \
112 && cp xgenc-gmc $(@F) \
116 gsettings_in_file = org.gnome.anjuta.symbol-db.gschema.xml.in
117 gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
118 @INTLTOOL_XML_NOMERGE_RULE@
123 symbol-db-marshal.list \
127 $(gsettings_SCHEMAS) \
128 $(plugin_in_files:.plugin.in=.plugin)
130 -include $(top_srcdir)/git.mk