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)
|
2014-01-13 21:31:38 +01:00
|
|
|
else
|
|
|
|
# See comment in Makefile.am one level up
|
|
|
|
rpath_hack = -rpath /
|
2014-01-02 19:25:41 +01:00
|
|
|
endif
|
2013-12-24 06:03:20 +01:00
|
|
|
|
2017-07-17 22:20:52 +02:00
|
|
|
libtestmodulea_la_SOURCES = test-module-a.c symbol-visibility.h
|
2013-12-24 06:03:20 +01:00
|
|
|
libtestmodulea_la_LIBADD = $(LDADD)
|
2014-06-16 07:02:49 +02:00
|
|
|
libtestmodulea_la_LDFLAGS = $(LDFLAGS) -module -no-undefined -avoid-version $(rpath_hack)
|
2013-12-24 06:03:20 +01:00
|
|
|
|
2017-07-17 22:20:52 +02:00
|
|
|
libtestmoduleb_la_SOURCES = test-module-b.c symbol-visibility.h
|
2013-12-24 06:03:20 +01:00
|
|
|
libtestmoduleb_la_LIBADD = $(LDADD)
|
2014-06-16 07:02:49 +02:00
|
|
|
libtestmoduleb_la_LDFLAGS =$(LDFLAGS) -module -no-undefined -avoid-version $(rpath_hack)
|