url.h
libzakcgi_includedir = $(includedir)/libzakcgi
+
+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 = $(libzakcgi_la_SOURCES) $(libzakcgi_include_HEADERS)
+
+ZakCgi-1.0.gir: libzakcgi.la
+ZakCgi_1_0_gir_INCLUDES = GObject-2.0 GLib-2.0 Gio-2.0
+ZakCgi_1_0_gir_CFLAGS = $(AM_CPPFLAGS)
+ZakCgi_1_0_gir_LIBS = libzakcgi.la
+ZakCgi_1_0_gir_FILES = $(introspection_sources)
+INTROSPECTION_GIRS += ZakCgi-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
/*
- * Copyright (C) 2015-2016 Andrea Zagli <azagli@libero.it>
+ * Copyright (C) 2015-2017 Andrea Zagli <azagli@libero.it>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
}
/**
- * zak_cgi_session_new:
+ * zak_cgi_session_new_minutes:
* @zakcgimain:
* @base_uri:
* @path: