summaryrefslogtreecommitdiff
path: root/gthread/Makefile.am
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2005-06-26 18:07:13 +0000
committerTor Lillqvist <tml@src.gnome.org>2005-06-26 18:07:13 +0000
commit2e13949ab603791890fd882c6a39f8cc22dcfd3d (patch)
tree5c2618a9818022595a1cb5307f17b3f0c15e23f1 /gthread/Makefile.am
parentef48ce636b948623ff2b3b83f4f0ca130ae6e7b0 (diff)
downloadglib-2e13949ab603791890fd882c6a39f8cc22dcfd3d.tar.gz
libtool installs/uninstalls the import library, no need to do it
2005-06-26 Tor Lillqvist <tml@novell.com> * Makefile.am: libtool installs/uninstalls the import library, no need to do it ourselves. Do still install/uninstall the .def file, though.
Diffstat (limited to 'gthread/Makefile.am')
-rw-r--r--gthread/Makefile.am15
1 files changed, 7 insertions, 8 deletions
diff --git a/gthread/Makefile.am b/gthread/Makefile.am
index a6d7b6e52..7f39f04fb 100644
--- a/gthread/Makefile.am
+++ b/gthread/Makefile.am
@@ -43,15 +43,14 @@ endif
if OS_WIN32
export_symbols = -export-symbols $(srcdir)/gthread.def
-install-libtool-import-lib:
- $(INSTALL) .libs/libgthread-2.0.dll.a $(DESTDIR)$(libdir)
+install-def-file:
$(INSTALL) $(srcdir)/gthread.def $(DESTDIR)$(libdir)/gthread-2.0.def
-uninstall-libtool-import-lib:
- -rm $(DESTDIR)$(libdir)/libgthread-2.0.dll.a $(DESTDIR)$(libdir)/gthread-2.0.def
+uninstall-def-file:
+ -rm $(DESTDIR)$(libdir)/gthread-2.0.def
else
-install-libtool-import-lib:
-uninstall-libtool-import-lib:
+install-def-file:
+uninstall-def-file:
endif
libgthread_2_0_la_SOURCES = gthread-impl.c
@@ -77,7 +76,7 @@ dist-hook: $(BUILT_EXTRA_DIST)
if test -f $$f; then d=.; else d=$(srcdir); fi; \
cp $$d/$$f $(distdir) || exit 1; done
-install-data-local: install-ms-lib install-libtool-import-lib
+install-data-local: install-ms-lib install-def-file
-uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib
+uninstall-local: uninstall-ms-lib uninstall-def-file