diff options
author | Tor Lillqvist <tml@iki.fi> | 2001-10-28 22:54:14 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2001-10-28 22:54:14 +0000 |
commit | 53570e37a04c11518dc99c1b6357cff8182c1980 (patch) | |
tree | 6f8a9b437da29b7f2c951e812fba5fc9b4707b51 /pango/Makefile.am | |
parent | f5527477d469cf50063bad41de22138806748520 (diff) | |
download | pango-53570e37a04c11518dc99c1b6357cff8182c1980.tar.gz |
New file, used to build distribution package for Windows.
2001-10-29 Tor Lillqvist <tml@iki.fi>
* pango-zip.sh.in: New file, used to build distribution package
for Windows.
* Makefile.am (EXTRA_DIST): Add pango-zip.sh.
* configure.in: Check for lib.exe, set MS_LIB_AVAILABLE. Generate
pango-zip.sh.
* README.win32: Mention the ways to build Pango on Windows.
* modules/Makefile.am
* examples/Makefile.am: Se SOSUFFIX to so on Unix, dll on Windows.
* pango/Makefile.am: Add rules to create MSVC import library if
MS_LIB_AVAILABLE. Add rules to install and uninstall mingw and
MSVC import libraries.
* tests/Makefile.am: Link with libpangox.la only on Unix.
Diffstat (limited to 'pango/Makefile.am')
-rw-r--r-- | pango/Makefile.am | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/pango/Makefile.am b/pango/Makefile.am index 4457c699..35040d0a 100644 --- a/pango/Makefile.am +++ b/pango/Makefile.am @@ -66,10 +66,44 @@ if OS_WIN32 pango_export_symbols = -export-symbols pango.def pangowin32_export_symbols = -export-symbols pangowin32.def pangoft2_export_symbols = -export-symbols pangoft2.def + +install-libtool-import-lib: + $(INSTALL) .libs/libpango.dll.a $(DESTDIR)$(libdir) +if HAVE_FREETYPE + $(INSTALL) .libs/libpangoft2.dll.a $(DESTDIR)$(libdir) +endif + $(INSTALL) .libs/libpangowin32.dll.a $(DESTDIR)$(libdir) +uninstall-libtool-import-lib: + -rm $(DESTDIR)$(libdir)/libpango.dll.a + -rm $(DESTDIR)$(libdir)/libpangoft2.dll.a + -rm $(DESTDIR)$(libdir)/libpangowin32.dll.a +else +install-libtool-import-lib: +uninstall-libtool-import-lib: + endif lib_LTLIBRARIES = libpango.la $(X_BUILD_LIBS) $(WIN32_BUILD_LIBS) $(XFT_BUILD_LIBS) $(FT2_BUILD_LIBS) +if MS_LIB_AVAILABLE +noinst_DATA = pango.lib pangoft2.lib pangowin32.lib + +install-ms-lib: + $(INSTALL) pango.lib $(DESTDIR)$(libdir) +if HAVE_FREETYPE + $(INSTALL) pangoft2.lib $(DESTDIR)$(libdir) +endif + $(INSTALL) pangowin32.lib $(DESTDIR)$(libdir) + +uninstall-ms-lib: + -rm $(DESTDIR)$(libdir)/pango.lib + -rm $(DESTDIR)$(libdir)/pangoft2.lib + -rm $(DESTDIR)$(libdir)/pangowin32.lib +else +install-ms-lib: +uninstall-ms-lib: +endif + bin_PROGRAMS = pango-querymodules pango_built_headers = pango-enum-types.h @@ -261,3 +295,16 @@ CLEANFILES = \ s-enum-types-h \ pango-enum-types.c \ s-enum-types-c + +pango.lib: libpango.la pango.def + lib -name:libpango-@PANGO_MAJOR_VERSION@-@PANGO_MINOR_VERSION@.dll -def:pango.def -out:$@ + +pangoft2.lib: libpangoft2.la pangoft2.def + lib -name:libpangoft2-@PANGO_MAJOR_VERSION@-@PANGO_MINOR_VERSION@.dll -def:pangoft2.def -out:$@ + +pangowin32.lib: libpangowin32.la pangowin32.def + lib -name:libpangowin32-@PANGO_MAJOR_VERSION@-@PANGO_MINOR_VERSION@.dll -def:pangowin32.def -out:$@ + +install-data-local: install-ms-lib install-libtool-import-lib + +uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib |