2013-12-24 06:03:20 +01:00
|
|
|
NULL =
|
|
|
|
|
|
|
|
LDADD = \
|
|
|
|
$(top_builddir)/gio/libgio-2.0.la \
|
|
|
|
$(top_builddir)/gobject/libgobject-2.0.la \
|
|
|
|
$(top_builddir)/gmodule/libgmodule-2.0.la \
|
|
|
|
$(top_builddir)/glib/libglib-2.0.la \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
$(gio_INCLUDES) $(GLIB_DEBUG_FLAGS) \
|
|
|
|
-I$(top_builddir)/gio \
|
2014-01-02 19:25:41 +01:00
|
|
|
-I$(top_srcdir)/gio \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
modules = \
|
|
|
|
libtestmodulea.la \
|
|
|
|
libtestmoduleb.la \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
if ENABLE_ALWAYS_BUILD_TESTS
|
|
|
|
noinst_LTLIBRARIES = $(modules)
|
|
|
|
else
|
|
|
|
check_LTLIBRARIES = $(modules)
|
|
|
|
endif
|
2013-12-24 06:03:20 +01:00
|
|
|
|
2014-01-02 19:25:41 +01:00
|
|
|
if ENABLE_INSTALLED_TESTS
|
2013-12-24 06:03:20 +01:00
|
|
|
testmoduledir = $(installed_testdir)/modules
|
2014-01-02 19:25:41 +01:00
|
|
|
testmodule_LTLIBRARIES = $(modules)
|
|
|
|
endif
|
2013-12-24 06:03:20 +01:00
|
|
|
|
|
|
|
libtestmodulea_la_SOURCES = test-module-a.c
|
|
|
|
libtestmodulea_la_LIBADD = $(LDADD)
|
|
|
|
libtestmodulea_la_LDFLAGS = $(LDFLAGS) -no-undefined -avoid-version
|
|
|
|
|
|
|
|
libtestmoduleb_la_SOURCES = test-module-b.c
|
|
|
|
libtestmoduleb_la_LIBADD = $(LDADD)
|
|
|
|
libtestmoduleb_la_LDFLAGS =$(LDFLAGS) -no-undefined -avoid-version
|