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
19 libglib = $(top_builddir)/glib/libglib-2.0.la
21 top_builddir_full=`cd \$(top_builddir); pwd`
23 lib_LTLIBRARIES = libgthread-2.0.la
26 noinst_DATA = gthread-2.0.lib
29 $(INSTALL) gthread-2.0.lib $(DESTDIR)$(libdir)
32 -rm $(DESTDIR)$(libdir)/gthread-2.0.lib
39 no_undefined = -no-undefined
43 export_symbols = -export-symbols $(srcdir)/gthread.def
46 $(INSTALL) $(srcdir)/gthread.def $(DESTDIR)$(libdir)/gthread-2.0.def
49 -rm $(DESTDIR)$(libdir)/gthread-2.0.def
56 gthread_win32_res = gthread-win32-res.o
57 gthread_win32_res_ldflag = -Wl,$(gthread_win32_res)
60 libgthread_2_0_la_SOURCES = gthread-impl.c
61 libgthread_2_0_la_LDFLAGS = \
62 $(gthread_win32_res_ldflag) \
63 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
64 -export-dynamic $(no_undefined) $(export_symbols)
66 libgthread_2_0_la_LIBADD = $(G_THREAD_LIBS_EXTRA) $(G_THREAD_LIBS_FOR_GTHREAD) $(libglib)
68 libgthread_2_0_la_DEPENDENCIES = $(gthread_win32_res) $(GTHREAD_DEF)
71 gthread-win32-res.o: gthread.rc
72 $(WINDRES) gthread.rc $@
75 gthread-2.0.lib: libgthread-2.0.la gthread.def
76 lib -name:libgthread-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:gthread.def -out:$@
78 dist-hook: $(BUILT_EXTRA_DIST)
79 files='$(BUILT_EXTRA_DIST)'; \
80 for f in $$files; do \
81 if test -f $$f; then d=.; else d=$(srcdir); fi; \
82 cp $$d/$$f $(distdir) || exit 1; done
84 install-data-local: install-ms-lib install-def-file
86 uninstall-local: uninstall-ms-lib uninstall-def-file