This repository has been archived on 2024-07-15. You can view files and clone it, but cannot push or open issues or pull requests.
hedera/vn/Makefile.am

144 lines
3.2 KiB
Makefile

include $(top_srcdir)/Makefile.decl
SUBDIRS = \
field \
column
vn_lib_LTLIBRARIES = libvn.la
vn_include_HEADERS = \
vn.h \
vn-field.h \
vn-column.h \
vn-login.h \
vn-gui.h \
vn-mod.h \
vn-form.h \
vn-grid-model.h \
vn-grid.h \
vn-handler.h \
vn-batch.h \
field/field.h \
column/column.h
AM_CPPFLAGS = \
-I$(top_srcdir) \
$(DEFINES) \
$(gdome_CFLAGS) \
$(gtk_CFLAGS)
libvn_la_LIBADD = \
$(gdome_LIBS) \
$(gtk_LIBS) \
$(top_builddir)/db/libdb.la \
$(top_builddir)/vn/field/libvnfield.la \
$(top_builddir)/vn/column/libvncolumn.la
libvn_files = \
$(vn_include_HEADERS) \
vn-field.c \
vn-column.c \
vn-login.c \
vn-gui.c \
vn-mod.c \
vn-form.c \
vn-grid-model.c \
vn-grid.c \
vn-handler.c \
vn-batch.c
glade_files = \
$(top_srcdir)/vn/glade/vn-iterator.h \
$(top_srcdir)/vn/glade/vn-iterator.c \
$(top_srcdir)/vn/glade/vn-model.h \
$(top_srcdir)/vn/glade/vn-model.c
libvn_la_SOURCES = \
$(libvn_files) \
$(glade_files)
pkgconfig_DATA = vn.pc
vn_xml_DATA = \
schema/module.dtd
vn_image_DATA = \
image/hedera16x16.xpm \
image/hedera32x32.xpm \
image/icon.svg \
image/logo.svg \
image/load.gif
vn_gui_DATA = \
gui/login.glade \
gui/main.glade \
gui/child-window.glade \
gui/actions.glade \
gui/menubar.ui
gsettings_SCHEMAS = $(top_srcdir)/vn/schema/$(PACKAGE).gschema.xml
@GSETTINGS_RULES@
DEFINES = \
-D_GUI_DIR=\"$(vn_guidir)\" \
-D_VN_MODULE_LIB_DIR=\"$(module_libdir)\" \
-D_VN_MODULE_DATA_DIR=\"$(module_datadir)\" \
-D_VN_MODULE_QUERY_DIR=\"$(module_querydir)\" \
-D_HEDERA_LOCALE_DIR=\"$(datadir)/locale\" \
-D_DTD_DIR=\"$(vn_xmldir)\"
EXTRA_DIST = vn.pc.in
DISTCLEANFILES = vn.pc
if ENABLE_VALA
if HAVE_INTROSPECTION
-include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_SCANNER_ARGS = $(GIR_SCANNER_ARGS)
INTROSPECTION_COMPILER_ARGS = \
--includedir=$(top_builddir)/gvn \
--includedir=$(top_builddir)/sql \
--includedir=$(top_builddir)/db
introspection_sources = \
$(libvn_files) \
$(top_srcdir)/vn/field/vn-*.h \
$(top_srcdir)/vn/column/vn-*.h
introspection_libs = \
libvn.la \
field/libvnfield.la \
column/libvncolumn.la
Vn-$(VERSION).gir: $(introspection_libs) $(top_builddir)/db/Db-$(VERSION).gir
Vn_@uVERSION@_gir_SCANNERFLAGS = \
--include-uninstalled=$(top_builddir)/gvn/Gvn-$(VERSION).gir \
--include-uninstalled=$(top_builddir)/sql/Sql-$(VERSION).gir \
--include-uninstalled=$(top_builddir)/db/Db-$(VERSION).gir
Vn_@uVERSION@_gir_INCLUDES = Gtk-3.0
Vn_@uVERSION@_gir_CFLAGS = -I$(top_srcdir)
Vn_@uVERSION@_gir_LIBS = $(introspection_libs)
Vn_@uVERSION@_gir_FILES = $(introspection_sources)
Vn_@uVERSION@_gir_EXPORT_PACKAGES = vn
INTROSPECTION_GIRS = Vn-$(VERSION).gir
gir_DATA = $(INTROSPECTION_GIRS)
typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
CLEANFILES = $(gir_DATA) $(typelib_DATA)
$(vapis)/vn.vapi: $(INTROSPECTION_GIRS) $(vapidata)/Vn-$(VERSION).metadata
$(vapigen_v)$(VAPIGEN) -q \
--pkg gtk+-3.0 \
--directory $(vapis) \
--vapidir $(vapis) \
--girdir $(top_builddir)/gvn \
--girdir $(top_builddir)/sql \
--girdir $(top_builddir)/db \
--metadatadir $(vapidata) \
--library vn \
Vn-$(VERSION).gir
vapi_DATA = $(vapis)/vn.vapi
CLEANFILES += $(vapis)/$(vapi_DATA)
endif
endif