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/sql/Makefile.am

122 lines
2.4 KiB
Makefile

include $(top_srcdir)/Makefile.decl
SUBDIRS = parser
sql_lib_LTLIBRARIES = libsql.la
sql_include_HEADERS = \
sql.h \
sql-object.h \
sql-param-object.h \
sql-param-list.h \
sql-holder.h \
sql-list.h \
sql-batch.h \
sql-set.h \
sql-multi-stmt.h \
sql-string.h \
sql-target.h \
sql-expr.h \
sql-insert.h \
sql-select.h \
sql-select-field.h \
sql-select-order.h \
sql-subquery.h \
sql-update.h \
sql-update-set.h \
sql-delete.h \
sql-field.h \
sql-join.h \
sql-operation.h \
sql-stmt.h \
sql-table.h \
sql-value.h \
sql-dml.h \
sql-function.h \
sql-render.h \
sql-parser.h
AM_CPPFLAGS = \
-I$(top_srcdir) \
$(glib_CFLAGS)
libsql_la_LIBADD = \
$(glib_LIBS) \
$(top_builddir)/gvn/libgvn.la
libsql_la_SOURCES = \
$(sql_include_HEADERS) \
sql-object.c \
sql-param-object.c \
sql-param-list.c \
sql-holder.c \
sql-list.c \
sql-batch.c \
sql-set.c \
sql-expr.c \
sql-insert.c \
sql-select.c \
sql-select-field.c \
sql-select-order.c \
sql-subquery.c \
sql-update.c \
sql-update-set.c \
sql-delete.c \
sql-field.c \
sql-join.c \
sql-operation.c \
sql-stmt.c \
sql-table.c \
sql-value.c \
sql-dml.c \
sql-function.c \
sql-multi-stmt.c \
sql-string.c \
sql-target.c \
sql-render.c \
$(top_builddir)/sql/sql-parser.c
pkgconfig_DATA = sql.pc
EXTRA_DIST = sql.pc.in
DISTCLEANFILES = sql.pc
if ENABLE_VALA
if HAVE_INTROSPECTION
-include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_SCANNER_ARGS = $(GIR_SCANNER_ARGS)
INTROSPECTION_COMPILER_ARGS = --includedir=$(top_builddir)/gvn
introspection_sources = $(libsql_la_SOURCES)
Sql-$(VERSION).gir: $(sql_lib_LTLIBRARIES) $(top_builddir)/gvn/Gvn-$(VERSION).gir
Sql_@uVERSION@_gir_SCANNERFLAGS = \
--include-uninstalled=$(top_builddir)/gvn/Gvn-$(VERSION).gir
Sql_@uVERSION@_gir_CFLAGS = -I$(top_srcdir)
Sql_@uVERSION@_gir_LIBS = $(sql_lib_LTLIBRARIES)
Sql_@uVERSION@_gir_FILES = $(introspection_sources)
Sql_@uVERSION@_gir_EXPORT_PACKAGES = sql
INTROSPECTION_GIRS = Sql-$(VERSION).gir
gir_DATA = $(INTROSPECTION_GIRS)
typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
CLEANFILES = $(gir_DATA) $(typelib_DATA)
$(vapis)/sql.vapi: $(INTROSPECTION_GIRS) $(vapidata)/Sql-$(VERSION).metadata
$(vapigen_v)$(VAPIGEN) -q \
--directory $(vapis) \
--vapidir $(vapis) \
--girdir $(top_builddir)/gvn \
--metadatadir $(vapidata) \
--library sql \
Sql-$(VERSION).gir
vapi_DATA = $(vapis)/sql.vapi
CLEANFILES += $(vapi_DATA)
endif
endif