1Description: 2 3Files: 4m4/hard-locale.m4 5m4/mbrtowc.m4 6m4/memchr.m4 7m4/strdup.m4 8 9Depends-on: 10 11configure.ac: 12 13Makefile.am: 14AUTOMAKE_OPTIONS += no-dependencies 15 16# Hmm... is this still necessary? 17AM_CPPFLAGS += -I$(top_builddir)/intl -I$(top_srcdir)/intl 18# Needed so that config.h and woe32dll/export.h are found. 19AM_CPPFLAGS += -I$(top_builddir) -I$(top_srcdir) 20 21# Parametrization of the 'relocatable' module. 22AM_CPPFLAGS += -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 23 24# Specify that libgettextlib should installed in $(libdir). 25lib_LTLIBRARIES = libgettextlib.la 26 27# Need @LTLIBINTL@ because many source files use gettext(). 28# Need @LTLIBICONV@ because linebreak.c and striconv.c use iconv(). 29lib_LDFLAGS += \ 30 -release @VERSION@ \ 31 @LTLIBINTL@ @LTLIBICONV@ -lc @LTNOUNDEF@ 32 33# Tell the mingw or Cygwin linker which symbols to export. 34if WOE32DLL 35lib_SOURCES += ../woe32dll/gettextlib-exports.c 36lib_LDFLAGS += -Wl,--export-all-symbols 37endif 38 39# No need to install libgettextlib.a, except on AIX. 40install-exec-local: install-libLTLIBRARIES install-exec-clean 41install-exec-clean: 42 case "@host_os@" in \ 43 aix*) ;; \ 44 *) rm -f $(DESTDIR)$(libdir)/libgettextlib.a ;; \ 45 esac 46 47# Extra files to be installed. 48 49gettextsrcdir = $(datadir)/gettext 50gettextsrc_DATA = gettext.h 51 52# Where to install javaversion.class. 53pkgdatadir = $(datadir)/gettext 54 55Include: 56 57License: 58GPL 59 60Maintainer: 61Bruno Haible 62 63