Blame libvirt-glib/Makefile.am

Packit Service ea0369
Packit Service ea0369
EXTRA_DIST = libvirt-glib.sym
Packit Service ea0369
Packit Service ea0369
lib_LTLIBRARIES = libvirt-glib-1.0.la
Packit Service ea0369
Packit Service ea0369
libvirt_glib_1_0_ladir = $(includedir)/libvirt-glib-1.0/libvirt-glib
Packit Service ea0369
libvirt_glib_1_0_la_HEADERS = \
Packit Service ea0369
			libvirt-glib.h \
Packit Service ea0369
			libvirt-glib-error.h \
Packit Service ea0369
			libvirt-glib-event.h \
Packit Service ea0369
			libvirt-glib-main.h
Packit Service ea0369
libvirt_glib_1_0_la_SOURCES = \
Packit Service ea0369
			$(libvirt_glib_1_0_la_HEADERS) \
Packit Service ea0369
			libvirt-glib-error.c \
Packit Service ea0369
			libvirt-glib-event.c \
Packit Service ea0369
			libvirt-glib-main.c
Packit Service ea0369
libvirt_glib_1_0_la_CFLAGS = \
Packit Service ea0369
			-DLIBVIRT_GLIB_BUILD \
Packit Service ea0369
			-DGLIB_VERSION_MIN_REQUIRED=$(GLIB2_VERSION_SYMBOL) \
Packit Service ea0369
			-DGLIB_VERSION_MAX_ALLOWED=$(GLIB2_VERSION_SYMBOL) \
Packit Service ea0369
			-DGETTEXT_PACKAGE="\"libvirt-glib\"" \
Packit Service ea0369
			-DG_LOG_DOMAIN="\"Libvirt.GLib\"" \
Packit Service ea0369
			-DLOCALEDIR="\"$(datadir)/locale\"" \
Packit Service ea0369
			$(COVERAGE_CFLAGS) \
Packit Service ea0369
			-I$(top_srcdir) \
Packit Service ea0369
			$(LIBVIRT_CFLAGS) \
Packit Service ea0369
			$(GLIB2_CFLAGS) \
Packit Service ea0369
			$(GTHREAD2_CFLAGS) \
Packit Service ea0369
			$(WARN_CFLAGS)
Packit Service ea0369
libvirt_glib_1_0_la_LIBADD = \
Packit Service ea0369
			$(LIBVIRT_LIBS) \
Packit Service ea0369
			$(GLIB2_LIBS) \
Packit Service ea0369
			$(GTHREAD2_LIBS) \
Packit Service ea0369
			$(CYGWIN_EXTRA_LIBADD)
Packit Service ea0369
libvirt_glib_1_0_la_DEPENDENCIES = \
Packit Service ea0369
			libvirt-glib.sym
Packit Service ea0369
libvirt_glib_1_0_la_LDFLAGS = \
Packit Service ea0369
			$(COVERAGE_CFLAGS:-f%=-Wc,f%) \
Packit Service ea0369
			$(CYGWIN_EXTRA_LDFLAGS) $(MINGW_EXTRA_LDFLAGS) \
Packit Service ea0369
			-Wl,--version-script=$(srcdir)/libvirt-glib.sym \
Packit Service ea0369
			-version-info $(LIBVIRT_GLIB_VERSION_INFO)
Packit Service ea0369
Packit Service ea0369
# .libs/libvirt-glib.so is built by libtool as a side-effect of the Makefile
Packit Service ea0369
# rule for libosvirt-glib.la.  However, checking symbols relies on Linux ELF layout
Packit Service ea0369
if WITH_LINUX
Packit Service ea0369
check-symfile: libvirt-glib.sym libvirt-glib-1.0.la
Packit Service ea0369
	$(AM_V_GEN)$(PERL) $(top_srcdir)/build-aux/check-symfile.pl $(srcdir)/libvirt-glib.sym \
Packit Service ea0369
		.libs/libvirt-glib-1.0.so
Packit Service ea0369
else ! WITH_LINUX
Packit Service ea0369
check-symfile:
Packit Service ea0369
endif ! WITH_LINUX
Packit Service ea0369
check-symsorting:
Packit Service ea0369
	$(AM_V_GEN)$(PERL) $(top_srcdir)/build-aux/check-symsorting.pl \
Packit Service ea0369
		$(srcdir)/libvirt-glib.sym
Packit Service ea0369
check-local: check-symfile check-symsorting
Packit Service ea0369
Packit Service ea0369
-include $(INTROSPECTION_MAKEFILE)
Packit Service ea0369
INTROSPECTION_GIRS =
Packit Service ea0369
CLEANFILES=
Packit Service ea0369
Packit Service ea0369
if HAVE_INTROSPECTION
Packit Service ea0369
LibvirtGLib-1.0.gir: libvirt-glib-1.0.la
Packit Service ea0369
LibvirtGLib_1_0_gir_INCLUDES = GLib-2.0
Packit Service ea0369
LibvirtGLib_1_0_gir_PACKAGES = glib-2.0
Packit Service ea0369
LibvirtGLib_1_0_gir_EXPORT_PACKAGES = libvirt-glib-1.0
Packit Service ea0369
LibvirtGLib_1_0_gir_LIBS = libvirt-glib-1.0.la
Packit Service ea0369
LibvirtGLib_1_0_gir_FILES = $(libvirt_glib_1_0_la_SOURCES)
Packit Service ea0369
LibvirtGLib_1_0_gir_CFLAGS = $(libvirt_glib_1_0_la_CFLAGS)
Packit Service ea0369
LibvirtGLib_1_0_gir_SCANNERFLAGS = \
Packit Service ea0369
	--identifier-prefix=GVir \
Packit Service ea0369
	--symbol-prefix=gvir \
Packit Service ea0369
	--c-include="libvirt-glib/libvirt-glib.h" \
Packit Service ea0369
	--warn-all \
Packit Service ea0369
	$(NULL)
Packit Service ea0369
INTROSPECTION_GIRS += LibvirtGLib-1.0.gir
Packit Service ea0369
Packit Service ea0369
girdir = $(datadir)/gir-1.0
Packit Service ea0369
gir_DATA = LibvirtGLib-1.0.gir
Packit Service ea0369
Packit Service ea0369
typelibdir = $(libdir)/girepository-1.0
Packit Service ea0369
typelib_DATA = LibvirtGLib-1.0.typelib
Packit Service ea0369
Packit Service ea0369
CLEANFILES += $(gir_DATA) $(typelib_DATA)
Packit Service ea0369
endif # HAVE_INTROSPECTION