lib_LTLIBRARIES = libgitg-gtk-1.0.la INCLUDES = \ -I$(top_srcdir) \ -I$(srcdir) \ -I$(srcdir)/egg-list-box \ $(LIBGITG_CFLAGS) \ $(LIBGITG_GTK_CFLAGS) \ $(WARN_CFLAGS) \ -DDATADIR=\""$(datadir)"\" \ -DLIBDIR=\""$(libdir)"\" libgitg_gtk_1_0_la_LDFLAGS = \ -export-dynamic -no-undefined -export-symbols-regex "^[^_].*" libgitg_gtk_1_0_la_LIBADD = \ $(LIBGITG_LIBS) \ $(LIBGITG_GTK_LIBS) \ $(top_builddir)/libgitg/libgitg-1.0.la INST_H_FILES = \ libgitg-gtk.h AM_VALAFLAGS = \ --pkg Ggit-1.0 \ --pkg libgitg-1.0 \ --pkg gtk+-3.0 \ --pkg gio-2.0 \ --pkg libsoup-2.4 \ --pkg webkit2gtk-3.0 \ --pkg gee-1.0 \ --pkg json-glib-1.0 \ --pkg egglistbox \ $(GITG_VALAFLAGS) \ --vapidir $(top_srcdir)/vapi \ --vapidir $(srcdir)/egg-list-box \ --header libgitg-gtk.h \ --includedir libgitg-gtk \ --basedir $(top_srcdir) \ --gir GitgGtk-1.0.gir \ --library libgitg-gtk-1.0 \ --girdir "$(top_builddir)/libgitg" \ --vapidir "$(top_builddir)/libgitg" GitgGtk-1.0.gir: libgitg-gtk-1.0.la libgitg-gtk.h: libgitg-gtk-1.0.la VALA_FILES = \ gitg-gtk-assembly-info.vala \ gitg-gtk-commit-model.vala \ gitg-gtk-label-renderer.vala \ gitg-gtk-cell-renderer-lanes.vala \ gitg-gtk-commit-list-view.vala \ gitg-gtk-diff-view.vala \ gitg-gtk-diff-view-request.vala \ gitg-gtk-diff-view-request-resource.vala \ gitg-gtk-diff-view-request-diff.vala \ gitg-gtk-dash-view.vala # Ignore all warnings for vala code... libgitg_gtk_1_0_la_CFLAGS = \ -w libgitg_gtk_1_0_la_SOURCES = \ egg-list-box/egg-list-box.c \ gitg-gtk-resources.c \ $(VALA_FILES) headerdir = $(prefix)/include/libgitg-gtk-1.0/libgitg-gtk header_DATA = $(INST_H_FILES) vapidir = $(prefix)/share/vala/vapi vapi_DATA = libgitg-gtk-1.0.vapi girdir = $(INTROSPECTION_GIRDIR) gir_DATA = GitgGtk-1.0.gir typelibdir = $(INTROSPECTION_TYPELIBDIR) typelib_DATA = GitgGtk-1.0.typelib %.typelib: %.gir $(INTROSPECTION_COMPILER) $(INTROSPECTION_COMPILER_ARGS) --includedir=. --includedir="$(top_builddir)/libgitg" -o $@ $< pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libgitg-gtk-1.0.pc gitg-gtk-resources.c: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources resources/resources.xml) $(GLIB_COMPILE_RESOURCES) --generate-source \ --sourcedir $(srcdir)/resources \ --target "$@" "$<" gitg-gtk-resources.h: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources resources/resources.xml) $(GLIB_COMPILE_RESOURCES) --generate-header \ --sourcedir $(srcdir)/resources \ --target "$@" "$<" BUILT_SOURCES = \ $(gir_DATA) \ $(typelib_DATA) \ libgitg-gtk.h \ gitg-gtk-resources.c \ gitg-gtk-resources.h \ libgitg_gtk_1_0_la_vala.stamp \ libgitg-gtk-1.0.vapi EXTRA_DIST = \ $(pkgconfig_DATA) \ resources/resources.xml \ egg-list-box/egglistbox.vapi \ egg-list-box/egg-list-box.h \ $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources resources/resources.xml) CLEANFILES = $(VALA_FILES:.vala=.c) dist-hook: cd $(distdir); rm -f $(BUILT_SOURCES) -include $(top_srcdir)/git.mk