1 ## Process this file with automake to produce Makefile.in
2 include $(top_srcdir)/Makefile.decl
7 -I$(top_srcdir)/gthread \
8 -DG_LOG_DOMAIN=\"GThread\" \
9 @GTHREAD_COMPILE_IMPL_DEFINES@ \
11 -DG_DISABLE_DEPRECATED
25 libglib = $(top_builddir)/glib/libglib-2.0.la
27 top_builddir_full=`cd \$(top_builddir); pwd`
29 lib_LTLIBRARIES = libgthread-2.0.la
32 noinst_DATA = gthread-2.0.lib
35 $(INSTALL) gthread-2.0.lib $(DESTDIR)$(libdir)
38 -rm $(DESTDIR)$(libdir)/gthread-2.0.lib
45 no_undefined = -no-undefined
49 export_symbols = -export-symbols $(srcdir)/gthread.def
52 $(INSTALL) $(srcdir)/gthread.def $(DESTDIR)$(libdir)/gthread-2.0.def
55 -rm $(DESTDIR)$(libdir)/gthread-2.0.def
62 gthread_win32_res = gthread-win32-res.o
63 gthread_win32_res_ldflag = -Wl,$(gthread_win32_res)
66 libgthread_2_0_la_SOURCES = gthread-impl.c
67 libgthread_2_0_la_LDFLAGS = \
68 $(gthread_win32_res_ldflag) \
69 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
70 -export-dynamic $(no_undefined) $(export_symbols)
72 libgthread_2_0_la_LIBADD = $(G_THREAD_LIBS_EXTRA) $(G_THREAD_LIBS_FOR_GTHREAD) $(libglib)
74 libgthread_2_0_la_DEPENDENCIES = $(gthread_win32_res) $(GTHREAD_DEF)
77 gthread-win32-res.o: gthread.rc
78 $(WINDRES) gthread.rc $@
81 gthread-2.0.lib: libgthread-2.0.la gthread.def
82 lib -name:libgthread-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:$(srcdir)/gthread.def -out:$@
84 dist-hook: $(BUILT_EXTRA_DIST)
85 files='$(BUILT_EXTRA_DIST)'; \
86 for f in $$files; do \
87 if test -f $$f; then d=.; else d=$(srcdir); fi; \
88 cp $$d/$$f $(distdir) || exit 1; done
90 install-data-local: install-ms-lib install-def-file
92 uninstall-local: uninstall-ms-lib uninstall-def-file