If we have built the MSVC import library, install it. Install the gcc

2001-10-23  Tor Lillqvist  <tml@iki.fi>

	* {glib,gmodule,gobject,gthread}/Makefile.am: (Win32): If we
	have built the MSVC import library, install it. Install the
	gcc import library. Also support uninstall.
This commit is contained in:
Tor Lillqvist
2001-10-22 22:14:26 +00:00
committed by Tor Lillqvist
parent d3cbb4888e
commit 20af1ed309
15 changed files with 150 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2001-10-23 Tor Lillqvist <tml@iki.fi>
* Makefile.am: (Win32): If we have built the MSVC import library,
install it. Install the gcc import library. Also support
uninstall.
2001-10-09 Tor Lillqvist <tml@iki.fi>
* gmodule-win32.c (_g_module_build_path): More Unix compatibility:

View File

@@ -37,14 +37,32 @@ noinst_LTLIBRARIES = libgplugin_a.la libgplugin_b.la
if MS_LIB_AVAILABLE
noinst_DATA = gmodule-1.3.lib
install-ms-lib:
$(INSTALL) gmodule-1.3.lib $(DESTDIR)$(libdir)
uninstall-ms-lib:
-rm $(DESTDIR)$(libdir)/gmodule-1.3.lib
else
install-ms-lib:
uninstall-ms-lib:
endif
if PLATFORM_WIN32
no_undefined = -no-undefined
endif
if OS_WIN32
export_symbols = -export-symbols gmodule.def
plugin_rpath = -rpath `pwd`
install-libtool-import-lib:
$(INSTALL) .libs/libgmodule-1.3.dll.a $(DESTDIR)$(libdir)
uninstall-libtool-import-lib:
-rm $(DESTDIR)$(libdir)/libgmodule-1.3.dll.a
else
install-libtool-import-lib:
uninstall-libtool-import-lib:
endif
libgmodule_1_3_la_SOURCES = gmodule.c
@@ -106,3 +124,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
uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib