role.h
libzakautho_includedir = $(includedir)/libzakautho
+
+CLEANFILES =
+
+-include $(INTROSPECTION_MAKEFILE)
+INTROSPECTION_GIRS =
+INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) --warn-all
+INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
+
+if HAVE_INTROSPECTION
+introspection_sources = $(libzakautho_la_SOURCES) $(libzakautho_include_HEADERS)
+
+ZakAutho-1.0.gir: libzakautho.la
+ZakAutho_1_0_gir_INCLUDES = Gda-5.0
+ZakAutho_1_0_gir_CFLAGS = $(AM_CPPFLAGS)
+ZakAutho_1_0_gir_LIBS = libzakautho.la
+ZakAutho_1_0_gir_FILES = $(introspection_sources)
+INTROSPECTION_GIRS += ZakAutho-1.0.gir
+
+girdir = $(datadir)/gir-1.0
+gir_DATA = $(INTROSPECTION_GIRS)
+
+typelibdir = $(libdir)/girepository-1.0
+typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
+
+CLEANFILES += $(gir_DATA) $(typelib_DATA)
+endif