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
20 libglib = $(top_builddir)/glib/libglib-2.0.la
22 top_builddir_full=`cd \$(top_builddir); pwd`
24 lib_LTLIBRARIES = libgthread-2.0.la
27 noinst_DATA = gthread-2.0.lib
30 $(INSTALL) gthread-2.0.lib $(DESTDIR)$(libdir)
33 -rm $(DESTDIR)$(libdir)/gthread-2.0.lib
40 no_undefined = -no-undefined
44 export_symbols = -export-symbols $(srcdir)/gthread.def
47 $(INSTALL) $(srcdir)/gthread.def $(DESTDIR)$(libdir)/gthread-2.0.def
50 -rm $(DESTDIR)$(libdir)/gthread-2.0.def
57 gthread_win32_res = gthread-win32-res.o
58 gthread_win32_res_ldflag = -Wl,$(gthread_win32_res)
61 libgthread_2_0_la_SOURCES = gthread-impl.c
62 libgthread_2_0_la_LDFLAGS = \
63 $(gthread_win32_res_ldflag) \
64 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
65 -export-dynamic $(no_undefined) $(export_symbols)
67 libgthread_2_0_la_LIBADD = $(G_THREAD_LIBS_EXTRA) $(G_THREAD_LIBS_FOR_GTHREAD) $(libglib)
69 libgthread_2_0_la_DEPENDENCIES = $(gthread_win32_res) $(GTHREAD_DEF)
72 gthread-win32-res.o: gthread.rc
73 $(WINDRES) gthread.rc $@
76 gthread-2.0.lib: libgthread-2.0.la gthread.def
77 lib -name:libgthread-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:gthread.def -out:$@
79 dist-hook: $(BUILT_EXTRA_DIST)
80 files='$(BUILT_EXTRA_DIST)'; \
81 for f in $$files; do \
82 if test -f $$f; then d=.; else d=$(srcdir); fi; \
83 cp $$d/$$f $(distdir) || exit 1; done
85 install-data-local: install-ms-lib install-def-file
87 uninstall-local: uninstall-ms-lib uninstall-def-file