mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 14:36:16 +01:00
Link with libglib, libgthread and libgmodule as appropriate. Use
2001-02-21 Tor Lillqvist <tml@iki.fi> * tests/Makefile.am: Link with libglib, libgthread and libgmodule as appropriate. Use -no-undefined.
This commit is contained in:
parent
9c5f5a01ce
commit
2f928d6457
@ -1,16 +1,24 @@
|
|||||||
|
if PLATFORM_WIN32
|
||||||
|
no_undefined = -no-undefined
|
||||||
|
endif
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gmodule @GLIB_DEBUG_FLAGS@
|
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gmodule @GLIB_DEBUG_FLAGS@
|
||||||
|
|
||||||
EFENCE=
|
EFENCE=
|
||||||
|
|
||||||
|
libglib = $(top_builddir)/libglib-1.3.la
|
||||||
|
libgthread = $(top_builddir)/gthread/libgthread-1.3.la
|
||||||
|
libgmodule = $(top_builddir)/gmodule/libgmodule-1.3.la
|
||||||
|
libgobject = $(top_builddir)/gobject/libgobject-1.3.la
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
$(test_scripts) \
|
$(test_scripts) \
|
||||||
makefile.msc.in \
|
makefile.msc.in \
|
||||||
makefile.mingw.in
|
makefile.mingw.in
|
||||||
|
|
||||||
BUILT_EXTRA_DIST = \
|
BUILT_EXTRA_DIST = \
|
||||||
makefile.msc \
|
makefile.mingw \
|
||||||
makefile.mingw
|
makefile.msc
|
||||||
|
|
||||||
test_programs = \
|
test_programs = \
|
||||||
array-test \
|
array-test \
|
||||||
@ -45,9 +53,9 @@ check_PROGRAMS = $(test_programs) $(test_script_support_programs)
|
|||||||
TESTS = $(test_programs) $(test_scripts)
|
TESTS = $(test_programs) $(test_scripts)
|
||||||
TESTS_ENVIRONMENT = srcdir=$(srcdir)
|
TESTS_ENVIRONMENT = srcdir=$(srcdir)
|
||||||
|
|
||||||
progs_LDADD = $(EFENCE) $(top_builddir)/libglib-1.3.la $(EFENCE)
|
progs_LDADD = $(EFENCE) $(libglib) $(EFENCE)
|
||||||
thread_LDADD = $(top_builddir)/gthread/libgthread-1.3.la @G_THREAD_LIBS@ $(progs_LDADD)
|
thread_LDADD = $(libgthread) @G_THREAD_LIBS@ $(progs_LDADD)
|
||||||
module_LDADD = $(top_builddir)/gmodule/libgmodule-1.3.la @G_MODULE_LIBS@ $(progs_LDADD)
|
module_LDADD = $(libgmodule) @G_MODULE_LIBS@ $(progs_LDADD)
|
||||||
|
|
||||||
array_test_LDADD = $(progs_LDADD)
|
array_test_LDADD = $(progs_LDADD)
|
||||||
date_test_LDADD = $(progs_LDADD)
|
date_test_LDADD = $(progs_LDADD)
|
||||||
@ -81,19 +89,19 @@ install-libLTLIBRARIES:
|
|||||||
:
|
:
|
||||||
|
|
||||||
libmoduletestplugin_a_la_SOURCES = libmoduletestplugin_a.c
|
libmoduletestplugin_a_la_SOURCES = libmoduletestplugin_a.c
|
||||||
libmoduletestplugin_a_la_LDFLAGS = @G_MODULE_LDFLAGS@ -avoid-version -module
|
libmoduletestplugin_a_la_LDFLAGS = @G_MODULE_LDFLAGS@ -avoid-version -module $(no_undefined)
|
||||||
libmoduletestplugin_a_la_LIBADD = @G_MODULE_LIBS@
|
libmoduletestplugin_a_la_LIBADD = @G_MODULE_LIBS@ $(libgmodule) $(libglib)
|
||||||
|
|
||||||
libmoduletestplugin_b_la_SOURCES = libmoduletestplugin_b.c
|
libmoduletestplugin_b_la_SOURCES = libmoduletestplugin_b.c
|
||||||
libmoduletestplugin_b_la_LDFLAGS = @G_MODULE_LDFLAGS@ -avoid-version -module
|
libmoduletestplugin_b_la_LDFLAGS = @G_MODULE_LDFLAGS@ -avoid-version -module $(no_undefined)
|
||||||
libmoduletestplugin_b_la_LIBADD = @G_MODULE_LIBS@
|
libmoduletestplugin_b_la_LIBADD = @G_MODULE_LIBS@ $(libgmodule) $(libglib)
|
||||||
|
|
||||||
makefile.msc: $(top_builddir)/config.status $(top_srcdir)/tests/makefile.msc.in
|
|
||||||
cd $(top_builddir) && CONFIG_FILES=tests/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
||||||
|
|
||||||
makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/tests/makefile.mingw.in
|
makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/tests/makefile.mingw.in
|
||||||
cd $(top_builddir) && CONFIG_FILES=tests/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
cd $(top_builddir) && CONFIG_FILES=tests/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
|
|
||||||
|
makefile.msc: $(top_builddir)/config.status $(top_srcdir)/tests/makefile.msc.in
|
||||||
|
cd $(top_builddir) && CONFIG_FILES=tests/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
|
|
||||||
dist-hook: $(BUILT_EXTRA_DIST)
|
dist-hook: $(BUILT_EXTRA_DIST)
|
||||||
files='$(BUILT_EXTRA_DIST)'; \
|
files='$(BUILT_EXTRA_DIST)'; \
|
||||||
for f in $$files; do \
|
for f in $$files; do \
|
||||||
|
Loading…
Reference in New Issue
Block a user