Sha256: 95a4b8393a3a69c778c49ed0dbc346f0fbc58ba3858634173b5f4257c344f7b3

Contents?: true

Size: 1.74 KB

Versions: 27

Compression:

Stored size: 1.74 KB

Contents

ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = 1.7

# We need to build a shared library, which can be dlopened
# it does not work with noinst_LTLIBRARIES
testlib_LTLIBRARIES = libregress.la libgimarshallingtests.la

testlibdir = $(prefix)/unused
install-testlibLTLIBRARIES: # prevent it from being installed

libregress_la_SOURCES = $(GI_DATADIR)/tests/regress.c $(GI_DATADIR)/tests/regress.h
libregress_la_CFLAGS = $(GIO_CFLAGS) $(CAIRO_CFLAGS)
libregress_la_LDFLAGS = -module -avoid-version $(GIO_LIBS) $(CAIRO_LIBS)

libgimarshallingtests_la_SOURCES = $(GI_DATADIR)/tests/gimarshallingtests.c $(GI_DATADIR)/tests/gimarshallingtests.h
libgimarshallingtests_la_CFLAGS = $(GIO_CFLAGS)
libgimarshallingtests_la_LDFLAGS = -module -avoid-version

# g-i doesn't ship these as shared libraries anymore; we build them here
Regress-1.0.gir: libregress.la Makefile
	$(AM_V_GEN) g-ir-scanner --include=cairo-1.0 --include=Gio-2.0 \
	--namespace=Regress --nsversion=1.0 --pkg=cairo-gobject \
	--warn-all --warn-error \
	--library=libregress.la \
	--libtool="$(top_builddir)/libtool" \
	--output $@ \
	$(libregress_la_SOURCES)
Regress-1.0.typelib: Regress-1.0.gir Makefile
	$(AM_V_GEN) g-ir-compiler $< -o $@

GIMarshallingTests-1.0.gir: libgimarshallingtests.la Makefile
	$(AM_V_GEN) g-ir-scanner --include=Gio-2.0 \
	--namespace=GIMarshallingTests --nsversion=1.0 \
	--symbol-prefix=gi_marshalling_tests \
	--warn-all --warn-error \
	--library=libgimarshallingtests.la \
	--libtool="$(top_builddir)/libtool" \
	--output $@ \
	$(libgimarshallingtests_la_SOURCES)
GIMarshallingTests-1.0.typelib: GIMarshallingTests-1.0.gir Makefile
	$(AM_V_GEN) g-ir-compiler $< -o $@

.la.so:
	test -L $@ || $(LN_S) .libs/$@ $@

all: $(testlib_LTLIBRARIES:.la=.so) Regress-1.0.typelib GIMarshallingTests-1.0.typelib

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
gir_ffi-0.8.3 test/lib/Makefile.am
gir_ffi-0.8.2 test/lib/Makefile.am
gir_ffi-0.8.1 test/lib/Makefile.am
gir_ffi-0.8.0 test/lib/Makefile.am
gir_ffi-0.7.10 test/lib/Makefile.am
gir_ffi-0.7.9 test/lib/Makefile.am
gir_ffi-0.7.8 test/lib/Makefile.am
gir_ffi-0.7.7 test/lib/Makefile.am
gir_ffi-0.7.6 test/lib/Makefile.am
gir_ffi-0.7.5 test/lib/Makefile.am
gir_ffi-0.7.4 test/lib/Makefile.am
gir_ffi-0.7.3 test/lib/Makefile.am
gir_ffi-0.7.2 test/lib/Makefile.am
gir_ffi-0.7.1 test/lib/Makefile.am
gir_ffi-0.7.0 test/lib/Makefile.am
gir_ffi-0.6.7 test/lib/Makefile.am
gir_ffi-0.6.6 test/lib/Makefile.am
gir_ffi-0.6.5 test/lib/Makefile.am
gir_ffi-0.6.4 test/lib/Makefile.am
gir_ffi-0.6.3 test/lib/Makefile.am