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.
This commit is contained in:
Tor Lillqvist 2005-06-26 18:07:13 +00:00 committed by Tor Lillqvist
parent ef48ce636b
commit 2e13949ab6
6 changed files with 39 additions and 24 deletions

View File

@ -1,3 +1,9 @@
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.
2005-06-24 Tor Lillqvist <tml@novell.com> 2005-06-24 Tor Lillqvist <tml@novell.com>
* Makefile.am (install-libtool-import-lib): Current GNU tools do * Makefile.am (install-libtool-import-lib): Current GNU tools do

View File

@ -54,15 +54,14 @@ endif
if OS_WIN32 if OS_WIN32
export_symbols = -export-symbols $(srcdir)/gmodule.def export_symbols = -export-symbols $(srcdir)/gmodule.def
install-libtool-import-lib: install-def-file:
$(INSTALL) .libs/libgmodule-2.0.dll.a $(DESTDIR)$(libdir)
$(INSTALL) $(srcdir)/gmodule.def $(DESTDIR)$(libdir)/gmodule-2.0.def $(INSTALL) $(srcdir)/gmodule.def $(DESTDIR)$(libdir)/gmodule-2.0.def
uninstall-libtool-import-lib: uninstall-def-file:
-rm $(DESTDIR)$(libdir)/libgmodule-2.0.dll.a $(DESTDIR)$(libdir)/gmodule-2.0.def -rm $(DESTDIR)$(libdir)/gmodule-2.0.def
else else
install-libtool-import-lib: install-def-file:
uninstall-libtool-import-lib: uninstall-def-file:
endif endif
libgmodule_2_0_la_SOURCES = gmodule.c libgmodule_2_0_la_SOURCES = gmodule.c
@ -100,6 +99,6 @@ dist-hook: $(BUILT_EXTRA_DIST)
cp $$d/$$f $(distdir) || exit 1; done 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

View File

@ -1,3 +1,9 @@
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.
2005-06-24 Tor Lillqvist <tml@novell.com> 2005-06-24 Tor Lillqvist <tml@novell.com>
* Makefile.am (install-libtool-import-lib): Current GNU tools do * Makefile.am (install-libtool-import-lib): Current GNU tools do

View File

@ -53,15 +53,14 @@ endif
if OS_WIN32 if OS_WIN32
export_symbols = -export-symbols gobject.def export_symbols = -export-symbols gobject.def
install-libtool-import-lib: install-def-file:
$(INSTALL) .libs/libgobject-2.0.dll.a $(DESTDIR)$(libdir)
$(INSTALL) gobject.def $(DESTDIR)$(libdir)/gobject-2.0.def $(INSTALL) gobject.def $(DESTDIR)$(libdir)/gobject-2.0.def
uninstall-libtool-import-lib: uninstall-def-file:
-rm $(DESTDIR)$(libdir)/libgobject-2.0.dll.a $(DESTDIR)$(libdir)/gobject-2.0.def -rm $(DESTDIR)$(libdir)/gobject-2.0.def
else else
install-libtool-import-lib: install-def-file:
uninstall-libtool-import-lib: uninstall-def-file:
export_symbols = $(LIBTOOL_EXPORT_OPTIONS) export_symbols = $(LIBTOOL_EXPORT_OPTIONS)
endif endif
@ -244,9 +243,9 @@ dist-hook: $(BUILT_EXTRA_DIST)
if test -f $$f; then d=.; else d=$(srcdir); fi; \ if test -f $$f; then d=.; else d=$(srcdir); fi; \
cp $$d/$$f $(distdir) || exit 1; done 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
distclean-local: distclean-local:
if test $(srcdir) = .; then :; else \ if test $(srcdir) = .; then :; else \

View File

@ -1,3 +1,9 @@
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.
2005-06-10 Matthias Clasen <mclasen@redhat.com> 2005-06-10 Matthias Clasen <mclasen@redhat.com>
* === Released 2.7.0 === * === Released 2.7.0 ===

View File

@ -43,15 +43,14 @@ endif
if OS_WIN32 if OS_WIN32
export_symbols = -export-symbols $(srcdir)/gthread.def export_symbols = -export-symbols $(srcdir)/gthread.def
install-libtool-import-lib: install-def-file:
$(INSTALL) .libs/libgthread-2.0.dll.a $(DESTDIR)$(libdir)
$(INSTALL) $(srcdir)/gthread.def $(DESTDIR)$(libdir)/gthread-2.0.def $(INSTALL) $(srcdir)/gthread.def $(DESTDIR)$(libdir)/gthread-2.0.def
uninstall-libtool-import-lib: uninstall-def-file:
-rm $(DESTDIR)$(libdir)/libgthread-2.0.dll.a $(DESTDIR)$(libdir)/gthread-2.0.def -rm $(DESTDIR)$(libdir)/gthread-2.0.def
else else
install-libtool-import-lib: install-def-file:
uninstall-libtool-import-lib: uninstall-def-file:
endif endif
libgthread_2_0_la_SOURCES = gthread-impl.c 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; \ if test -f $$f; then d=.; else d=$(srcdir); fi; \
cp $$d/$$f $(distdir) || exit 1; done 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