1 ## Process this file with automake to produce Makefile.in
3 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/glib -I$(top_srcdir)/gthread \
4 -DG_LOG_DOMAIN=\"GThread\" @GTHREAD_COMPILE_IMPL_DEFINES@ \
5 @GLIB_DEBUG_FLAGS@ -DG_DISABLE_DEPRECATED
22 libglib = $(top_builddir)/glib/libglib-2.0.la
24 top_builddir_full=`cd \$(top_builddir); pwd`
26 lib_LTLIBRARIES = libgthread-2.0.la
29 noinst_DATA = gthread-2.0.lib
32 $(INSTALL) gthread-2.0.lib $(DESTDIR)$(libdir)
35 -rm $(DESTDIR)$(libdir)/gthread-2.0.lib
42 no_undefined = -no-undefined
46 export_symbols = -export-symbols $(srcdir)/gthread.def
48 install-libtool-import-lib:
49 $(INSTALL) .libs/libgthread-2.0.dll.a $(DESTDIR)$(libdir)
50 $(INSTALL) $(srcdir)/gthread.def $(DESTDIR)$(libdir)/gthread-2.0.def
52 uninstall-libtool-import-lib:
53 -rm $(DESTDIR)$(libdir)/libgthread-2.0.dll.a $(DESTDIR)$(libdir)/gthread-2.0.def
55 install-libtool-import-lib:
56 uninstall-libtool-import-lib:
59 libgthread_2_0_la_SOURCES = gthread-impl.c
60 libgthread_2_0_la_LDFLAGS = \
61 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
62 -export-dynamic $(no_undefined) $(export_symbols)
64 libgthread_2_0_la_LIBADD = $(G_THREAD_WIN32_RESOURCE) $(G_THREAD_LIBS_EXTRA) $(G_THREAD_LIBS_FOR_GTHREAD) $(libglib)
66 libgthread_2_0_la_DEPENDENCIES = $(G_THREAD_WIN32_RESOURCE) $(GTHREAD_DEF)
69 $(G_THREAD_WIN32_RESOURCE): gthread.rc
70 $(top_srcdir)/build/win32/lt-compile-resource gthread.rc $@
73 gthread-2.0.lib: libgthread-2.0.la gthread.def
74 lib -name:libgthread-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:gthread.def -out:$@
76 dist-hook: $(BUILT_EXTRA_DIST)
77 files='$(BUILT_EXTRA_DIST)'; \
78 for f in $$files; do \
79 if test -f $$f; then d=.; else d=$(srcdir); fi; \
80 cp $$d/$$f $(distdir) || exit 1; done
82 install-data-local: install-ms-lib install-libtool-import-lib
84 uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib