• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
1## Makefile for the gettext-tools/gnulib-lib subdirectory of GNU gettext
2## Copyright (C) 1995-1998, 2000-2006 Free Software Foundation, Inc.
3##
4## This program is free software: you can redistribute it and/or modify
5## it under the terms of the GNU General Public License as published by
6## the Free Software Foundation; either version 3 of the License, or
7## (at your option) any later version.
8##
9## This program is distributed in the hope that it will be useful,
10## but WITHOUT ANY WARRANTY; without even the implied warranty of
11## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12## GNU General Public License for more details.
13##
14## You should have received a copy of the GNU General Public License
15## along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
17## Process this file with automake to produce Makefile.in.
18
19AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects no-dependencies
20EXTRA_DIST =
21BUILT_SOURCES =
22MOSTLYCLEANFILES = core *.stackdump
23MOSTLYCLEANDIRS =
24CLEANFILES =
25DISTCLEANFILES =
26MAINTAINERCLEANFILES =
27SUFFIXES =
28
29noinst_LTLIBRARIES =
30
31# Extra files to be installed.
32
33gettextsrcdir = $(datadir)/gettext
34gettextsrc_DATA = gettext.h
35
36# Where to install javaversion.class.
37pkgdatadir = $(datadir)/gettext
38pkgdata_DATA =
39
40AM_CPPFLAGS =
41
42# Hmm... is this still necessary?
43AM_CPPFLAGS += -I$(top_builddir)/intl -I$(top_srcdir)/intl
44# Needed so that config.h and woe32dll/export.h are found.
45AM_CPPFLAGS += -I$(top_builddir) -I$(top_srcdir)
46
47# Parametrization of the 'relocatable' module.
48AM_CPPFLAGS += -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1
49
50# Parametrization of the 'libxml' module:
51# When building a shared library, don't export the variables
52# xmlMalloc, xmlMallocAtomic, xmlRealloc, xmlFree, xmlMemStrdup.
53if INCLUDED_LIBXML
54AM_CPPFLAGS += -DLIBXML_STATIC
55endif
56
57# Rules generated and collected by gnulib-tool.
58include Makefile.gnulib
59
60# Which classes to export from the shared library.
61MOOPPFLAGS += --dllexport=styled_ostream
62
63# Linking with C++ libraries is needed _only_ on mingw and Cygwin.
64if !WOE32DLL
65libgettextlib_la_LINK = $(LIBTOOL) --tag=CC \
66	$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \
67	$(CCLD) $(AM_CFLAGS) $(CFLAGS) $(libgettextlib_la_LDFLAGS) $(LDFLAGS) \
68	-o $@
69else
70libgettextlib_la_LINK = $(LIBTOOL) --tag=CXX \
71	$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \
72	$(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(libgettextlib_la_LDFLAGS) $(LDFLAGS) \
73	-o $@
74endif
75
76