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

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