1998-12-15 06:28:02 +01:00
|
|
|
## Process this file with automake to produce Makefile.in
|
initialize automake variables EXTRA_DIST and TEST_PROGS for unconditional
2007-11-21 21:06:47 Tim Janik <timj@imendio.com>
* Makefile.decl: initialize automake variables EXTRA_DIST and
TEST_PROGS for unconditional appending via += in other makefiles.
define recursive test targets: test, test-report, perf-report,
full-report, as described here:
http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
* Makefile.am:
* build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am:
* build/win32/Makefile.am, build/Makefile.am:
* docs/Makefile.am, docs/reference/Makefile.am:
* docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am:
* gmodule/Makefile.am, tests/Makefile.am:
* tests/refcount/Makefile.am, tests/gobject/Makefile.am:
* glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am:
* glib/tests/Makefile.am, glib/pcre/Makefile.am:
* glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am:
* gthread/Makefile.am, glib/Makefile.am:
include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
* glib/tests/Makefile.am: removed example testing rules.
* glib/tests/testing.c: conditionalized performance and slow tests.
* glib/gtestutils.h:
* glib/gtestutils.c: work around g_test_config_vars not changing its
exported value after value assignments, aparently due to symbol aliases.
* glib/gtester.c: fixed off-by-one error which produced junk in logs.
* configure.in: check for python >= 2.4 and provide $PYTHON for scripts.
svn path=/trunk/; revision=5914
2007-11-21 21:09:46 +01:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
1998-12-15 06:28:02 +01:00
|
|
|
|
2007-11-25 05:22:45 +01:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/glib \
|
|
|
|
-I$(top_srcdir)/gthread \
|
|
|
|
-DG_LOG_DOMAIN=\"GThread\" \
|
|
|
|
@GTHREAD_COMPILE_IMPL_DEFINES@ \
|
|
|
|
@GLIB_DEBUG_FLAGS@ \
|
|
|
|
-DG_DISABLE_DEPRECATED
|
1998-12-15 06:28:02 +01:00
|
|
|
|
initialize automake variables EXTRA_DIST and TEST_PROGS for unconditional
2007-11-21 21:06:47 Tim Janik <timj@imendio.com>
* Makefile.decl: initialize automake variables EXTRA_DIST and
TEST_PROGS for unconditional appending via += in other makefiles.
define recursive test targets: test, test-report, perf-report,
full-report, as described here:
http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
* Makefile.am:
* build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am:
* build/win32/Makefile.am, build/Makefile.am:
* docs/Makefile.am, docs/reference/Makefile.am:
* docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am:
* gmodule/Makefile.am, tests/Makefile.am:
* tests/refcount/Makefile.am, tests/gobject/Makefile.am:
* glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am:
* glib/tests/Makefile.am, glib/pcre/Makefile.am:
* glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am:
* gthread/Makefile.am, glib/Makefile.am:
include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
* glib/tests/Makefile.am: removed example testing rules.
* glib/tests/testing.c: conditionalized performance and slow tests.
* glib/gtestutils.h:
* glib/gtestutils.c: work around g_test_config_vars not changing its
exported value after value assignments, aparently due to symbol aliases.
* glib/gtester.c: fixed off-by-one error which produced junk in logs.
* configure.in: check for python >= 2.4 and provide $PYTHON for scripts.
svn path=/trunk/; revision=5914
2007-11-21 21:09:46 +01:00
|
|
|
EXTRA_DIST += \
|
2000-10-06 23:32:59 +02:00
|
|
|
makefile.msc.in \
|
1998-12-15 18:49:30 +01:00
|
|
|
gthread-posix.c \
|
2001-05-22 14:28:06 +02:00
|
|
|
gthread-win32.c \
|
1999-01-19 22:13:59 +01:00
|
|
|
gthread-none.c \
|
2000-02-07 22:22:30 +01:00
|
|
|
gthread.def \
|
2000-03-24 13:56:56 +01:00
|
|
|
gthread.rc.in
|
1998-12-15 06:28:02 +01:00
|
|
|
|
2007-11-25 05:22:45 +01:00
|
|
|
BUILT_EXTRA_DIST = \
|
2000-10-16 03:02:19 +02:00
|
|
|
makefile.msc \
|
|
|
|
gthread.rc
|
|
|
|
|
2002-03-05 06:18:23 +01:00
|
|
|
libglib = $(top_builddir)/glib/libglib-2.0.la
|
1998-12-15 06:28:02 +01:00
|
|
|
|
1999-05-08 09:40:44 +02:00
|
|
|
top_builddir_full=`cd \$(top_builddir); pwd`
|
|
|
|
|
2002-03-05 06:18:23 +01:00
|
|
|
lib_LTLIBRARIES = libgthread-2.0.la
|
1998-12-15 06:28:02 +01:00
|
|
|
|
More Win32 automake macros. For .def files: GLIB_DEF, GMODULE_DEF,
2001-09-25 Tor Lillqvist <tml@iki.fi>
* configure.in: More Win32 automake macros. For .def files:
GLIB_DEF, GMODULE_DEF, GOBJECT_DEF and GTHREAD_DEF. For .exp
files: TESTGMODULE_EXP (for programs that need to export symbols,
just testgmodule here). A new conditional, MS_LIB_AVAILABLE to
test whether the Microsoft librarian ("ar") is available to build
MS import libraries.
* glib/Makefile.am
* gmodule/Makefile.am: Use above. New rule to build MS import
library.
* glib/makefile.msc.in
* tests/makefile.msc.in
* tests/makefile.mingw.in: Use same DLL and import library names as
libtool.
gmodule:
2001-09-25 Tor Lillqvist <tml@iki.fi>
* makefile.mingw.in: Fix missing end @ in @LT_CURRENT@.
* makefile.msc.in: Use same DLL and import library names as
libtool.
gobject:
2001-09-25 Tor Lillqvist <tml@iki.fi>
* Makefile.am: Use new macros for .def file, and check for
MS_LIB_AVAILABLE, new rule to build MS import library.
* makefile.msc.in: Use same DLL and import library names as
libtool.
gthread:
2001-09-25 Tor Lillqvist <tml@iki.fi>
* Makefile.am: Use new macros for .def file, and check for
MS_LIB_AVAILABLE, new rule to build MS import library.
* makefile.msc.in: Use same DLL and import library names as
libtool.
2001-09-25 08:03:23 +02:00
|
|
|
if MS_LIB_AVAILABLE
|
2002-03-05 06:18:23 +01:00
|
|
|
noinst_DATA = gthread-2.0.lib
|
2001-10-23 00:14:26 +02:00
|
|
|
|
|
|
|
install-ms-lib:
|
2002-03-05 06:18:23 +01:00
|
|
|
$(INSTALL) gthread-2.0.lib $(DESTDIR)$(libdir)
|
2001-10-23 00:14:26 +02:00
|
|
|
|
|
|
|
uninstall-ms-lib:
|
2002-03-05 06:18:23 +01:00
|
|
|
-rm $(DESTDIR)$(libdir)/gthread-2.0.lib
|
2001-10-23 00:14:26 +02:00
|
|
|
else
|
|
|
|
install-ms-lib:
|
|
|
|
uninstall-ms-lib:
|
More Win32 automake macros. For .def files: GLIB_DEF, GMODULE_DEF,
2001-09-25 Tor Lillqvist <tml@iki.fi>
* configure.in: More Win32 automake macros. For .def files:
GLIB_DEF, GMODULE_DEF, GOBJECT_DEF and GTHREAD_DEF. For .exp
files: TESTGMODULE_EXP (for programs that need to export symbols,
just testgmodule here). A new conditional, MS_LIB_AVAILABLE to
test whether the Microsoft librarian ("ar") is available to build
MS import libraries.
* glib/Makefile.am
* gmodule/Makefile.am: Use above. New rule to build MS import
library.
* glib/makefile.msc.in
* tests/makefile.msc.in
* tests/makefile.mingw.in: Use same DLL and import library names as
libtool.
gmodule:
2001-09-25 Tor Lillqvist <tml@iki.fi>
* makefile.mingw.in: Fix missing end @ in @LT_CURRENT@.
* makefile.msc.in: Use same DLL and import library names as
libtool.
gobject:
2001-09-25 Tor Lillqvist <tml@iki.fi>
* Makefile.am: Use new macros for .def file, and check for
MS_LIB_AVAILABLE, new rule to build MS import library.
* makefile.msc.in: Use same DLL and import library names as
libtool.
gthread:
2001-09-25 Tor Lillqvist <tml@iki.fi>
* Makefile.am: Use new macros for .def file, and check for
MS_LIB_AVAILABLE, new rule to build MS import library.
* makefile.msc.in: Use same DLL and import library names as
libtool.
2001-09-25 08:03:23 +02:00
|
|
|
endif
|
|
|
|
|
2001-03-09 22:41:37 +01:00
|
|
|
if PLATFORM_WIN32
|
|
|
|
no_undefined = -no-undefined
|
|
|
|
endif
|
2001-10-23 00:14:26 +02:00
|
|
|
|
2001-03-09 22:41:37 +01:00
|
|
|
if OS_WIN32
|
2003-08-13 02:24:21 +02:00
|
|
|
export_symbols = -export-symbols $(srcdir)/gthread.def
|
2008-03-16 11:16:57 +01:00
|
|
|
gthread_def = gthread.def
|
2001-10-23 00:14:26 +02:00
|
|
|
|
2005-06-26 20:07:13 +02:00
|
|
|
install-def-file:
|
2003-08-13 02:24:21 +02:00
|
|
|
$(INSTALL) $(srcdir)/gthread.def $(DESTDIR)$(libdir)/gthread-2.0.def
|
2003-01-04 07:47:14 +01:00
|
|
|
|
2005-06-26 20:07:13 +02:00
|
|
|
uninstall-def-file:
|
|
|
|
-rm $(DESTDIR)$(libdir)/gthread-2.0.def
|
2001-10-23 00:14:26 +02:00
|
|
|
else
|
2005-06-26 20:07:13 +02:00
|
|
|
install-def-file:
|
|
|
|
uninstall-def-file:
|
2001-03-09 22:41:37 +01:00
|
|
|
endif
|
|
|
|
|
2005-07-09 01:04:06 +02:00
|
|
|
if OS_WIN32
|
|
|
|
gthread_win32_res = gthread-win32-res.o
|
|
|
|
gthread_win32_res_ldflag = -Wl,$(gthread_win32_res)
|
|
|
|
endif
|
|
|
|
|
2002-03-05 06:18:23 +01:00
|
|
|
libgthread_2_0_la_SOURCES = gthread-impl.c
|
|
|
|
libgthread_2_0_la_LDFLAGS = \
|
2005-07-09 01:04:06 +02:00
|
|
|
$(gthread_win32_res_ldflag) \
|
1998-12-15 06:28:02 +01:00
|
|
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
2001-03-09 22:41:37 +01:00
|
|
|
-export-dynamic $(no_undefined) $(export_symbols)
|
1998-12-15 06:28:02 +01:00
|
|
|
|
2005-07-09 01:04:06 +02:00
|
|
|
libgthread_2_0_la_LIBADD = $(G_THREAD_LIBS_EXTRA) $(G_THREAD_LIBS_FOR_GTHREAD) $(libglib)
|
2001-09-17 02:41:39 +02:00
|
|
|
|
2008-03-16 11:16:57 +01:00
|
|
|
libgthread_2_0_la_DEPENDENCIES = $(gthread_win32_res) $(gthread_def)
|
2001-09-17 02:41:39 +02:00
|
|
|
|
|
|
|
if OS_WIN32
|
2005-07-09 01:04:06 +02:00
|
|
|
gthread-win32-res.o: gthread.rc
|
|
|
|
$(WINDRES) gthread.rc $@
|
2001-09-17 02:41:39 +02:00
|
|
|
endif
|
2000-02-07 22:22:30 +01:00
|
|
|
|
2002-03-05 06:18:23 +01:00
|
|
|
gthread-2.0.lib: libgthread-2.0.la gthread.def
|
2007-01-19 13:15:52 +01:00
|
|
|
lib -name:libgthread-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:$(srcdir)/gthread.def -out:$@
|
2000-10-16 03:02:19 +02:00
|
|
|
|
|
|
|
dist-hook: $(BUILT_EXTRA_DIST)
|
|
|
|
files='$(BUILT_EXTRA_DIST)'; \
|
|
|
|
for f in $$files; do \
|
|
|
|
if test -f $$f; then d=.; else d=$(srcdir); fi; \
|
|
|
|
cp $$d/$$f $(distdir) || exit 1; done
|
|
|
|
|
2005-06-26 20:07:13 +02:00
|
|
|
install-data-local: install-ms-lib install-def-file
|
2001-10-23 00:14:26 +02:00
|
|
|
|
2005-06-26 20:07:13 +02:00
|
|
|
uninstall-local: uninstall-ms-lib uninstall-def-file
|
2003-03-04 11:10:48 +01:00
|
|
|
|