75 lines
1.9 KiB
Makefile
75 lines
1.9 KiB
Makefile
# Definition of the install directories
|
|
# Libraries
|
|
if ENABLE_INSTALL
|
|
hedera_libdir = $(libdir)/$(PACKAGE)
|
|
hedera_datadir = $(datadir)/$(PACKAGE)
|
|
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
|
|
hedera_includedir = $(includedir)/$(PACKAGE)
|
|
|
|
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
|
|
|
|
pkgconfigdir = $(datadir)/pkgconfig
|
|
|
|
if ENABLE_VALA
|
|
girdir = $(datadir)/gir-1.0
|
|
typelibdir = $(libdir)/girepository-1.0
|
|
vapidata = $(top_srcdir)/vapi
|
|
vapis = $(top_builddir)/vapi
|
|
vapidir = $(datadir)/vala-$(VALA_VERSION)/vapi
|
|
endif
|
|
|
|
gladevn_libdir = $(libdir)/glade/modules
|
|
gladevn_datadir = $(datadir)/glade/catalogs
|
|
|
|
# Data
|
|
vn_datadir = $(hedera_datadir)/vn
|
|
vn_imagedir = $(vn_datadir)/image
|
|
vn_guidir = $(vn_datadir)/gui
|
|
|
|
if ENABLE_INSTALL
|
|
vn_xmldir = $(datadir)/xml/$(PACKAGE)
|
|
module_querydir = $(hedera_datadir)/module/sql
|
|
module_datadir = $(hedera_datadir)/module
|
|
else
|
|
vn_xmldir = $(vn_datadir)/schema
|
|
module_querydir = $(hedera_datadir)/module/sql
|
|
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)/,,$@)";
|