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 = \
|
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.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
|
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
|
|
|
|
2005-07-09 01:04:06 +02: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
|
2003-03-04 11:10:48 +01:00
|
|
|
lib -name:libgthread-2.0-$(LT_CURRENT_MINUS_AGE).dll -def: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
|
|
|
|