2013-10-11 23:07:35 +00:00
|
|
|
# Definition of the install directories
|
|
|
|
# Libraries
|
|
|
|
if ENABLE_INSTALL
|
2014-01-10 14:08:52 +00:00
|
|
|
hedera_libdir = $(pkglibdir)
|
|
|
|
hedera_datadir = $(pkgdatadir)
|
2013-10-11 23:07:35 +00:00
|
|
|
else
|
|
|
|
hedera_libdir = $(abs_top_builddir)
|
|
|
|
hedera_datadir = $(abs_top_srcdir)
|
|
|
|
endif
|
|
|
|
|
|
|
|
gvn_libdir = $(hedera_libdir)
|
|
|
|
sql_libdir = $(hedera_libdir)
|
|
|
|
vn_libdir = $(hedera_libdir)
|
|
|
|
field_libdir = $(vn_libdir)
|
|
|
|
column_libdir = $(vn_libdir)
|
|
|
|
plugin_libdir = $(hedera_libdir)/plugin
|
|
|
|
|
|
|
|
if ENABLE_INSTALL
|
|
|
|
db_libdir = $(hedera_libdir)
|
|
|
|
module_libdir = $(hedera_libdir)/module
|
|
|
|
else
|
|
|
|
db_libdir = $(hedera_libdir)/db
|
|
|
|
module_libdir = $(hedera_libdir)/module/src/.libs
|
|
|
|
endif
|
|
|
|
|
|
|
|
mysql_libdir = $(plugin_libdir)/mysql
|
|
|
|
pg_libdir = $(plugin_libdir)/pg
|
|
|
|
|
|
|
|
# Binaries (programs)
|
|
|
|
hedera_bindir = $(bindir)
|
|
|
|
|
|
|
|
# Headers and development files
|
2014-01-10 14:08:52 +00:00
|
|
|
hedera_includedir = $(pkgincludedir)
|
2013-10-11 23:07:35 +00:00
|
|
|
|
|
|
|
gvn_includedir = $(hedera_includedir)/gvn
|
|
|
|
sql_includedir = $(hedera_includedir)/sql
|
|
|
|
db_includedir = $(hedera_includedir)/db
|
|
|
|
vn_includedir = $(hedera_includedir)/vn
|
|
|
|
field_includedir = $(vn_includedir)/field
|
|
|
|
column_includedir = $(vn_includedir)/column
|
|
|
|
|
2013-11-21 15:35:55 +00:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
2013-10-11 23:07:35 +00:00
|
|
|
|
|
|
|
if ENABLE_VALA
|
|
|
|
girdir = $(datadir)/gir-1.0
|
2013-11-21 15:35:55 +00:00
|
|
|
typelibdir = $(prefix)/lib/girepository-1.0
|
2013-10-11 23:07:35 +00:00
|
|
|
vapidata = $(top_srcdir)/vapi
|
|
|
|
vapis = $(top_builddir)/vapi
|
|
|
|
vapidir = $(datadir)/vala-$(VALA_VERSION)/vapi
|
|
|
|
endif
|
|
|
|
|
2013-11-21 15:35:55 +00:00
|
|
|
gladevn_libdir = $(prefix)/lib/glade/modules
|
2013-10-11 23:07:35 +00:00
|
|
|
gladevn_datadir = $(datadir)/glade/catalogs
|
|
|
|
|
|
|
|
# Data
|
|
|
|
vn_datadir = $(hedera_datadir)/vn
|
|
|
|
vn_imagedir = $(vn_datadir)/image
|
|
|
|
vn_guidir = $(vn_datadir)/gui
|
|
|
|
|
2013-10-14 12:08:06 +00:00
|
|
|
module_querydir = $(hedera_datadir)/module/sql
|
|
|
|
|
2013-10-11 23:07:35 +00:00
|
|
|
if ENABLE_INSTALL
|
|
|
|
vn_xmldir = $(datadir)/xml/$(PACKAGE)
|
|
|
|
module_datadir = $(hedera_datadir)/module
|
|
|
|
else
|
|
|
|
vn_xmldir = $(vn_datadir)/schema
|
|
|
|
module_datadir = $(hedera_datadir)/module/data
|
|
|
|
endif
|
|
|
|
|
|
|
|
desktopdir = $(datadir)/applications
|
|
|
|
|
|
|
|
vapigen_v = $(vapigen_v_@AM_V@)
|
|
|
|
vapigen_v_ = $(vapigen_v_@AM_DEFAULT_V@)
|
|
|
|
vapigen_v_0 = @echo " VAPIGEN $(subst $(vapis)/,,$@)";
|