1998-12-15 06:28:02 +01:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2001-06-26 18:01:21 +02:00
|
|
|
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/glib -I$(top_srcdir)/gthread \
|
2000-10-25 12:58:46 +02:00
|
|
|
-DG_LOG_DOMAIN=\"GThread\" @GTHREAD_COMPILE_IMPL_DEFINES@ \
|
2002-10-16 00:16:57 +02:00
|
|
|
@GLIB_DEBUG_FLAGS@ -DG_DISABLE_DEPRECATED
|
1998-12-15 06:28:02 +01:00
|
|
|
|
1998-12-15 18:49:30 +01:00
|
|
|
EXTRA_DIST = \
|
makefile.mingw.in tests/makefile.mingw.in Rename makefile.cygwin(.in) to
2000-05-13 Tor Lillqvist <tml@iki.fi>
* makefile.mingw.in
* tests/makefile.mingw.in
* build-dll: Rename makefile.cygwin(.in) to
makefile.mingw(.in), which better describes what it is. Move the
build of gmodule, gthread and gobject DLLs to makefiles in those
directories. Move resource file handling and build number bump to
build-dll, where it sits much cleaner.
* README.win32
* Makefile.am (EXTRA_DIST): Update accordingly.
* glib.h: Add G_PI, G_PI_2, G_PI_4, G_E, G_LN2, G_LN10 and
G_SQRT2. M_PI etc aren't necessarily in <math.h> in strict ISO C
implementations.
* glib.def: Add g_strcanon.
* gtree.c (g_tree_node_rotate_left): Remove unused variables.
* gwin32.c (g_win32_opendir): Remove unneeded statement.
gmodule:
* makefile.mingw.in: New file, with gmodule stuff
moved from ../makefile.mingw.in.
* Makefile.am: Add to EXTRA_DIST, and add rule to make makefile.mingw.
gobject:
* makefile.mingw.in
* gobject.def
* gobject.rc.in: New files, for Win32 (mingw) build.
* Makefile.am: Add to EXTRA_DIST. Add rules to produce the
corresponding non-*.in files.
* gtype.h: (Win32:) Mark _g_type_fundamental_last for
export/import from DLL.
gthread:
* makefile.mingw.in: New file, with gthread stuff moved from
../makefile.mingw.in.
* Makefile.am: Add to EXTRA_DIST, add rule to build makefile.mingw.
2000-05-13 21:30:58 +02:00
|
|
|
makefile.mingw.in \
|
2000-10-06 23:32:59 +02:00
|
|
|
makefile.msc.in \
|
1998-12-15 18:49:30 +01:00
|
|
|
gthread-posix.c \
|
|
|
|
gthread-solaris.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
|
|
|
|
2000-10-16 03:02:19 +02:00
|
|
|
BUILT_EXTRA_DIST = \
|
|
|
|
makefile.mingw \
|
|
|
|
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
|
|
|
|
export_symbols = -export-symbols gthread.def
|
2001-10-23 00:14:26 +02:00
|
|
|
|
|
|
|
install-libtool-import-lib:
|
2002-03-05 06:18:23 +01:00
|
|
|
$(INSTALL) .libs/libgthread-2.0.dll.a $(DESTDIR)$(libdir)
|
2001-10-23 00:14:26 +02:00
|
|
|
uninstall-libtool-import-lib:
|
2002-03-05 06:18:23 +01:00
|
|
|
-rm $(DESTDIR)$(libdir)/libgthread-2.0.dll.a
|
2001-10-23 00:14:26 +02:00
|
|
|
else
|
|
|
|
install-libtool-import-lib:
|
|
|
|
uninstall-libtool-import-lib:
|
2001-03-09 22:41:37 +01:00
|
|
|
endif
|
|
|
|
|
2002-03-05 06:18:23 +01:00
|
|
|
libgthread_2_0_la_SOURCES = gthread-impl.c
|
|
|
|
libgthread_2_0_la_LDFLAGS = \
|
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
|
|
|
|
2002-03-05 06:18:23 +01:00
|
|
|
libgthread_2_0_la_LIBADD = @G_THREAD_WIN32_RESOURCE@ @G_THREAD_LIBS_EXTRA@ @G_THREAD_LIBS@ $(libglib)
|
2001-09-17 02:41:39 +02:00
|
|
|
|
2002-03-05 06:18:23 +01:00
|
|
|
libgthread_2_0_la_DEPENDENCIES = @G_THREAD_WIN32_RESOURCE@ @GTHREAD_DEF@
|
2001-09-17 02:41:39 +02:00
|
|
|
|
|
|
|
if OS_WIN32
|
|
|
|
@G_THREAD_WIN32_RESOURCE@ : gthread.rc
|
|
|
|
$(top_srcdir)/build/win32/lt-compile-resource gthread.rc @G_THREAD_WIN32_RESOURCE@
|
|
|
|
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
|
|
|
|
lib -name:libgthread-2.0-@LT_CURRENT_MINUS_AGE@.dll -def:gthread.def -out:$@
|
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
|
|
|
|
2000-02-07 22:22:30 +01:00
|
|
|
gthread.rc: $(top_builddir)/config.status $(top_srcdir)/gthread/gthread.rc.in
|
2000-03-24 13:56:56 +01:00
|
|
|
cd $(top_builddir) && CONFIG_FILES=gthread/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
2000-02-07 22:22:30 +01:00
|
|
|
|
makefile.mingw.in tests/makefile.mingw.in Rename makefile.cygwin(.in) to
2000-05-13 Tor Lillqvist <tml@iki.fi>
* makefile.mingw.in
* tests/makefile.mingw.in
* build-dll: Rename makefile.cygwin(.in) to
makefile.mingw(.in), which better describes what it is. Move the
build of gmodule, gthread and gobject DLLs to makefiles in those
directories. Move resource file handling and build number bump to
build-dll, where it sits much cleaner.
* README.win32
* Makefile.am (EXTRA_DIST): Update accordingly.
* glib.h: Add G_PI, G_PI_2, G_PI_4, G_E, G_LN2, G_LN10 and
G_SQRT2. M_PI etc aren't necessarily in <math.h> in strict ISO C
implementations.
* glib.def: Add g_strcanon.
* gtree.c (g_tree_node_rotate_left): Remove unused variables.
* gwin32.c (g_win32_opendir): Remove unneeded statement.
gmodule:
* makefile.mingw.in: New file, with gmodule stuff
moved from ../makefile.mingw.in.
* Makefile.am: Add to EXTRA_DIST, and add rule to make makefile.mingw.
gobject:
* makefile.mingw.in
* gobject.def
* gobject.rc.in: New files, for Win32 (mingw) build.
* Makefile.am: Add to EXTRA_DIST. Add rules to produce the
corresponding non-*.in files.
* gtype.h: (Win32:) Mark _g_type_fundamental_last for
export/import from DLL.
gthread:
* makefile.mingw.in: New file, with gthread stuff moved from
../makefile.mingw.in.
* Makefile.am: Add to EXTRA_DIST, add rule to build makefile.mingw.
2000-05-13 21:30:58 +02:00
|
|
|
makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/gthread/makefile.mingw.in
|
|
|
|
cd $(top_builddir) && CONFIG_FILES=gthread/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
2000-10-06 23:32:59 +02:00
|
|
|
|
|
|
|
makefile.msc: $(top_builddir)/config.status $(top_srcdir)/gthread/makefile.msc.in
|
|
|
|
cd $(top_builddir) && CONFIG_FILES=gthread/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
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
|
|
|
|
|
2001-10-23 00:14:26 +02:00
|
|
|
install-data-local: install-ms-lib install-libtool-import-lib
|
|
|
|
|
|
|
|
uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib
|