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@ \
22 libglib = $(top_builddir)/glib/libglib-1.3.la
24 top_builddir_full=`cd \$(top_builddir); pwd`
26 lib_LTLIBRARIES = libgthread-1.3.la
29 noinst_DATA = gthread-1.3.lib
32 $(INSTALL) gthread-1.3.lib $(DESTDIR)$(libdir)
35 -rm $(DESTDIR)$(libdir)/gthread-1.3.lib
42 no_undefined = -no-undefined
46 export_symbols = -export-symbols gthread.def
48 install-libtool-import-lib:
49 $(INSTALL) .libs/libgthread-1.3.dll.a $(DESTDIR)$(libdir)
50 uninstall-libtool-import-lib:
51 -rm $(DESTDIR)$(libdir)/libgthread-1.3.dll.a
53 install-libtool-import-lib:
54 uninstall-libtool-import-lib:
57 libgthread_1_3_la_SOURCES = gthread-impl.c
58 libgthread_1_3_la_LDFLAGS = \
59 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
60 -export-dynamic $(no_undefined) $(export_symbols)
62 libgthread_1_3_la_LIBADD = @G_THREAD_WIN32_RESOURCE@ @G_THREAD_LIBS_EXTRA@ @G_THREAD_LIBS@ $(libglib)
64 libgthread_1_3_la_DEPENDENCIES = @G_THREAD_WIN32_RESOURCE@ @GTHREAD_DEF@
67 @G_THREAD_WIN32_RESOURCE@ : gthread.rc
68 $(top_srcdir)/build/win32/lt-compile-resource gthread.rc @G_THREAD_WIN32_RESOURCE@
71 gthread-1.3.lib: libgthread-1.3.la gthread.def
72 lib -name:libgthread-1.3-@LT_CURRENT_MINUS_AGE@.dll -def:gthread.def -out:$@
74 gthread.rc: $(top_builddir)/config.status $(top_srcdir)/gthread/gthread.rc.in
75 cd $(top_builddir) && CONFIG_FILES=gthread/$@ CONFIG_HEADERS= $(SHELL) ./config.status
77 makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/gthread/makefile.mingw.in
78 cd $(top_builddir) && CONFIG_FILES=gthread/$@ CONFIG_HEADERS= $(SHELL) ./config.status
80 makefile.msc: $(top_builddir)/config.status $(top_srcdir)/gthread/makefile.msc.in
81 cd $(top_builddir) && CONFIG_FILES=gthread/$@ CONFIG_HEADERS= $(SHELL) ./config.status
83 dist-hook: $(BUILT_EXTRA_DIST)
84 files='$(BUILT_EXTRA_DIST)'; \
85 for f in $$files; do \
86 if test -f $$f; then d=.; else d=$(srcdir); fi; \
87 cp $$d/$$f $(distdir) || exit 1; done
89 install-data-local: install-ms-lib install-libtool-import-lib
91 uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib