xref: /netbsd-src/external/gpl2/gettext/dist/gnulib-local/modules/gettext-tools-misc (revision 946379e7b37692fc43f68eb0d1c10daa0a7f3b6c)
1*946379e7SchristosDescription:
2*946379e7Schristos
3*946379e7SchristosFiles:
4*946379e7Schristosm4/hard-locale.m4
5*946379e7Schristosm4/mbrtowc.m4
6*946379e7Schristosm4/memchr.m4
7*946379e7Schristosm4/strdup.m4
8*946379e7Schristos
9*946379e7SchristosDepends-on:
10*946379e7Schristos
11*946379e7Schristosconfigure.ac:
12*946379e7Schristos
13*946379e7SchristosMakefile.am:
14*946379e7SchristosAUTOMAKE_OPTIONS += no-dependencies
15*946379e7Schristos
16*946379e7Schristos# Hmm... is this still necessary?
17*946379e7SchristosAM_CPPFLAGS += -I$(top_builddir)/intl -I$(top_srcdir)/intl
18*946379e7Schristos# Needed so that config.h and woe32dll/export.h are found.
19*946379e7SchristosAM_CPPFLAGS += -I$(top_builddir) -I$(top_srcdir)
20*946379e7Schristos
21*946379e7Schristos# Parametrization of the 'relocatable' module.
22*946379e7SchristosAM_CPPFLAGS += -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1
23*946379e7Schristos
24*946379e7Schristos# Specify that libgettextlib should installed in $(libdir).
25*946379e7Schristoslib_LTLIBRARIES = libgettextlib.la
26*946379e7Schristos
27*946379e7Schristos# Need @LTLIBINTL@ because many source files use gettext().
28*946379e7Schristos# Need @LTLIBICONV@ because linebreak.c and striconv.c use iconv().
29*946379e7Schristoslib_LDFLAGS += \
30*946379e7Schristos  -release @VERSION@ \
31*946379e7Schristos  @LTLIBINTL@ @LTLIBICONV@ -lc @LTNOUNDEF@
32*946379e7Schristos
33*946379e7Schristos# Tell the mingw or Cygwin linker which symbols to export.
34*946379e7Schristosif WOE32DLL
35*946379e7Schristoslib_SOURCES += ../woe32dll/gettextlib-exports.c
36*946379e7Schristoslib_LDFLAGS += -Wl,--export-all-symbols
37*946379e7Schristosendif
38*946379e7Schristos
39*946379e7Schristos# No need to install libgettextlib.a, except on AIX.
40*946379e7Schristosinstall-exec-local: install-libLTLIBRARIES install-exec-clean
41*946379e7Schristosinstall-exec-clean:
42*946379e7Schristos	case "@host_os@" in \
43*946379e7Schristos	  aix*) ;; \
44*946379e7Schristos	  *) rm -f $(DESTDIR)$(libdir)/libgettextlib.a ;; \
45*946379e7Schristos	esac
46*946379e7Schristos
47*946379e7Schristos# Extra files to be installed.
48*946379e7Schristos
49*946379e7Schristosgettextsrcdir = $(datadir)/gettext
50*946379e7Schristosgettextsrc_DATA = gettext.h
51*946379e7Schristos
52*946379e7Schristos# Where to install javaversion.class.
53*946379e7Schristospkgdatadir = $(datadir)/gettext
54*946379e7Schristos
55*946379e7SchristosInclude:
56*946379e7Schristos
57*946379e7SchristosLicense:
58*946379e7SchristosGPL
59*946379e7Schristos
60*946379e7SchristosMaintainer:
61*946379e7SchristosBruno Haible
62*946379e7Schristos
63