Sha256: 1f5b7532df8b2b47a2059d04fe5fbd08efb905666f927567bf01537346d7d78a

Contents?: true

Size: 1.72 KB

Versions: 17

Compression:

Stored size: 1.72 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 \
	--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

17 entries across 17 versions & 1 rubygems

Version Path
gir_ffi-0.4.2 test/lib/Makefile.am
gir_ffi-0.4.1 test/lib/Makefile.am
gir_ffi-0.4.0 test/lib/Makefile.am
gir_ffi-0.3.2 test/lib/Makefile.am
gir_ffi-0.3.1 test/lib/Makefile.am
gir_ffi-0.3.0 test/lib/Makefile.am
gir_ffi-0.2.3 test/lib/Makefile.am
gir_ffi-0.2.2 test/lib/Makefile.am
gir_ffi-0.2.1 test/lib/Makefile.am
gir_ffi-0.2.0 test/lib/Makefile.am
gir_ffi-0.1.0 test/lib/Makefile.am
gir_ffi-0.0.14 test/lib/Makefile.am
gir_ffi-0.0.13 test/lib/Makefile.am
gir_ffi-0.0.12 test/lib/Makefile.am
gir_ffi-0.0.11 test/lib/Makefile.am
gir_ffi-0.0.10 test/lib/Makefile.am
gir_ffi-0.0.9 test/lib/Makefile.am