"Fossies" - the Fresh Open Source Software Archive

Member "tin-2.4.1/intl/Makefile.in" (3 Nov 2015, 9887 Bytes) of package /linux/misc/tin-2.4.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "Makefile.in": 2.3.1_vs_2.3.2.

    1 # Makefile for directory with message catalog handling in GNU NLS Utilities.
    2 # Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
    3 #
    4 # This program is free software; you can redistribute it and/or modify it
    5 # under the terms of the GNU Library General Public License as published
    6 # by the Free Software Foundation; either version 2, or (at your option)
    7 # 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 GNU
   12 # Library General Public License for more details.
   13 #
   14 # You should have received a copy of the GNU Library General Public
   15 # License along with this program; if not, write to the Free Software
   16 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
   17 # USA.
   18 
   19 PACKAGE = @PACKAGE@
   20 VERSION = @VERSION@
   21 
   22 SHELL = /bin/sh
   23 
   24 srcdir = @srcdir@
   25 top_srcdir = @top_srcdir@
   26 top_builddir = ..
   27 VPATH = @srcdir@
   28 
   29 prefix = @prefix@
   30 exec_prefix = @exec_prefix@
   31 transform = @program_transform_name@
   32 libdir = @libdir@
   33 includedir = @includedir@     
   34 datarootdir = @datarootdir@
   35 datadir = @datadir@
   36 localedir = $(datadir)/locale
   37 gettextsrcdir = $(datadir)/gettext/intl
   38 aliaspath = $(localedir)
   39 subdir = intl
   40 
   41 INSTALL = @INSTALL@
   42 INSTALL_DATA = @INSTALL_DATA@
   43 mkinstalldirs = mkdir -p
   44 
   45 l = @INTL_LIBTOOL_SUFFIX_PREFIX@
   46 
   47 ARCHIVE = @AR@ @ARFLAGS@
   48 CC = @CC@
   49 LIBTOOL = @LIBTOOL@
   50 RANLIB = @RANLIB@
   51 YACC = @INTLBISON@ -y -d
   52 YFLAGS = -p __gettext
   53 
   54 x = @EXEEXT@
   55 o = .@OBJEXT@
   56 
   57 DEFS = -DLOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \
   58 -DLIBDIR=\"$(libdir)\" @DEFS@
   59 CPPFLAGS = @CPPFLAGS@
   60 CFLAGS = @CFLAGS@
   61 LDFLAGS = @LDFLAGS@
   62 
   63 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS)
   64 
   65 HEADERS = $(COMHDRS) libgnuintl.h libgettext.h loadinfo.h
   66 COMHDRS = gettext.h gettextP.h hash-string.h
   67 SOURCES = $(COMSRCS) intl-compat.c
   68 COMSRCS = bindtextdom.c dcgettext.c dgettext.c gettext.c \
   69 finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c \
   70 explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y \
   71 localcharset.c
   72 OBJECTS = @INTLOBJS@ bindtextdom.$lo dcgettext.$lo dgettext.$lo gettext.$lo \
   73 finddomain.$lo loadmsgcat.$lo localealias.$lo textdomain.$lo l10nflist.$lo \
   74 explodename.$lo dcigettext.$lo dcngettext.$lo dngettext.$lo ngettext.$lo \
   75 plural.$lo localcharset.$lo
   76 GETTOBJS = intl-compat.$lo
   77 DISTFILES.common = Makefile.in \
   78 config.charset locale.alias ref-add.sin ref-del.sin $(HEADERS) $(SOURCES)
   79 DISTFILES.generated = plural.c
   80 DISTFILES.normal = VERSION
   81 DISTFILES.gettext = COPYING.LIB-2 COPYING.LIB-2.1 libintl.glibc
   82 DISTFILES.obsolete = xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c
   83 
   84 # Libtool's library version information for libintl.
   85 # Before making a gettext release, the gettext maintainer must change this
   86 # according to the libtool documentation, section "Library interface versions".
   87 # Maintainers of other packages that include the intl directory must *not*
   88 # change these values.
   89 LTV_CURRENT=1
   90 LTV_REVISION=1
   91 LTV_AGE=0
   92 
   93 .SUFFIXES:
   94 .SUFFIXES: .c .y $o .lo .sin .sed
   95 .c$o:
   96 	$(COMPILE) $<
   97 .c.lo:
   98 	$(LIBTOOL) --mode=compile $(COMPILE) $<
   99 
  100 .y.c:
  101 	$(YACC) $(YFLAGS) -o $@ $<
  102 	rm -f $*.h
  103 
  104 .sin.sed:
  105 	sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $< > t-$@
  106 	mv t-$@ $@
  107 
  108 INCLUDES = -I.. -I. -I$(top_srcdir)/intl -I../include
  109 
  110 all: all-@USE_INCLUDED_LIBINTL@
  111 all-yes: libintl.$la libintl.h charset.alias ref-add.sed ref-del.sed
  112 all-no: all-no-@BUILD_INCLUDED_LIBINTL@
  113 all-no-yes: libgnuintl.$la
  114 all-no-no:
  115 
  116 libintl.a libgnuintl.a: $(OBJECTS)
  117 	rm -f $@
  118 	$(ARCHIVE) $@ $(OBJECTS)
  119 	$(RANLIB) $@
  120 
  121 libintl.la libgnuintl.la: $(OBJECTS)
  122 	$(LIBTOOL) --mode=link \
  123 	  $(CC) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) $(LDFLAGS) -o $@ \
  124 	  $(OBJECTS) @LIBICONV@ \
  125 	  -version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \
  126 	  -rpath $(libdir) \
  127 	  -no-undefined
  128 
  129 libintl.h: libgnuintl.h
  130 	cp $(srcdir)/libgnuintl.h libintl.h
  131 
  132 charset.alias: config.charset
  133 	$(SHELL) $(srcdir)/config.charset '@host@' > t-$@
  134 	mv t-$@ $@
  135 
  136 check: all
  137 
  138 # This installation goal is only used in GNU gettext.  Packages which
  139 # only use the library should use install instead.
  140 
  141 # We must not install the libintl.h/libintl.a files if we are on a
  142 # system which has the GNU gettext() function in its C library or in a
  143 # separate library.
  144 # If you want to use the one which comes with this version of the
  145 # package, you have to use `configure --with-included-gettext'.
  146 install: install-exec install-data
  147 install-exec: all
  148 	if test "$(PACKAGE)" = "gettext" \
  149 	   && test '@INTLOBJS@' = '$(GETTOBJS)'; then \
  150 	  $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir); \
  151 	  $(INSTALL_DATA) libintl.h $(DESTDIR)$(includedir)/libintl.h; \
  152 	  $(LIBTOOL) --mode=install \
  153 	    $(INSTALL_DATA) libintl.$la $(DESTDIR)$(libdir)/libintl.$la; \
  154 	else \
  155 	  : ; \
  156 	fi
  157 	if test '@USE_INCLUDED_LIBINTL@' = yes; then \
  158 	  $(mkinstalldirs) $(DESTDIR)$(libdir); \
  159 	  temp=$(DESTDIR)$(libdir)/t-charset.alias; \
  160 	  dest=$(DESTDIR)$(libdir)/charset.alias; \
  161 	  if test -f $(DESTDIR)$(libdir)/charset.alias; then \
  162 	    orig=$(DESTDIR)$(libdir)/charset.alias; \
  163 	    sed -f ref-add.sed $$orig > $$temp; \
  164 	    $(INSTALL_DATA) $$temp $$dest; \
  165 	    rm -f $$temp; \
  166 	  else \
  167 	    if test @GLIBC21@ = no; then \
  168 	      orig=charset.alias; \
  169 	      sed -f ref-add.sed $$orig > $$temp; \
  170 	      $(INSTALL_DATA) $$temp $$dest; \
  171 	      rm -f $$temp; \
  172 	    fi; \
  173 	  fi; \
  174 	  $(mkinstalldirs) $(DESTDIR)$(localedir); \
  175 	  test -f $(DESTDIR)$(localedir)/locale.alias \
  176 	    && orig=$(DESTDIR)$(localedir)/locale.alias \
  177 	    || orig=$(srcdir)/locale.alias; \
  178 	  temp=$(DESTDIR)$(localedir)/t-locale.alias; \
  179 	  dest=$(DESTDIR)$(localedir)/locale.alias; \
  180 	  sed -f ref-add.sed $$orig > $$temp; \
  181 	  $(INSTALL_DATA) $$temp $$dest; \
  182 	  rm -f $$temp; \
  183 	else \
  184 	  : ; \
  185 	fi
  186 install-data: all
  187 	if test "$(PACKAGE)" = "gettext"; then \
  188 	  $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
  189 	  $(INSTALL_DATA) VERSION $(DESTDIR)$(gettextsrcdir)/VERSION; \
  190 	  $(INSTALL_DATA) ChangeLog.inst $(DESTDIR)$(gettextsrcdir)/ChangeLog; \
  191 	  dists="COPYING.LIB-2 COPYING.LIB-2.1 $(DISTFILES.common)"; \
  192 	  for file in $$dists; do \
  193 	    $(INSTALL_DATA) $(srcdir)/$$file \
  194 			    $(DESTDIR)$(gettextsrcdir)/$$file; \
  195 	  done; \
  196 	  chmod a+x $(DESTDIR)$(gettextsrcdir)/config.charset; \
  197 	  dists="$(DISTFILES.generated)"; \
  198 	  for file in $$dists; do \
  199 	    if test -f $$file; then dir=.; else dir=$(srcdir); fi; \
  200 	    $(INSTALL_DATA) $$dir/$$file \
  201 			    $(DESTDIR)$(gettextsrcdir)/$$file; \
  202 	  done; \
  203 	  dists="$(DISTFILES.obsolete)"; \
  204 	  for file in $$dists; do \
  205 	    rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
  206 	  done; \
  207 	else \
  208 	  : ; \
  209 	fi
  210 
  211 # Define this as empty until I found a useful application.
  212 installcheck:
  213 
  214 uninstall:
  215 	if test "$(PACKAGE)" = "gettext" \
  216 	   && test '@INTLOBJS@' = '$(GETTOBJS)'; then \
  217 	  rm -f $(DESTDIR)$(includedir)/libintl.h; \
  218 	  $(LIBTOOL) --mode=uninstall \
  219 	    rm -f $(DESTDIR)$(libdir)/libintl.$la; \
  220 	else \
  221 	  : ; \
  222 	fi
  223 	if test '@USE_INCLUDED_LIBINTL@' = yes; then \
  224 	  if test -f $(DESTDIR)$(libdir)/charset.alias; then \
  225 	    temp=$(DESTDIR)$(libdir)/t-charset.alias; \
  226 	    dest=$(DESTDIR)$(libdir)/charset.alias; \
  227 	    sed -f ref-del.sed $$dest > $$temp; \
  228 	    if grep '^# Packages using this file: $$' $$temp > /dev/null; then \
  229 	      rm -f $$dest; \
  230 	    else \
  231 	      $(INSTALL_DATA) $$temp $$dest; \
  232 	    fi; \
  233 	    rm -f $$temp; \
  234 	  fi; \
  235 	  if test -f $(DESTDIR)$(localedir)/locale.alias; then \
  236 	    temp=$(DESTDIR)$(localedir)/t-locale.alias; \
  237 	    dest=$(DESTDIR)$(localedir)/locale.alias; \
  238 	    sed -f ref-del.sed $$dest > $$temp; \
  239 	    if grep '^# Packages using this file: $$' $$temp > /dev/null; then \
  240 	      rm -f $$dest; \
  241 	    else \
  242 	      $(INSTALL_DATA) $$temp $$dest; \
  243 	    fi; \
  244 	    rm -f $$temp; \
  245 	  fi; \
  246 	else \
  247 	  : ; \
  248 	fi
  249 	if test "$(PACKAGE)" = "gettext"; then \
  250 	  for file in VERSION ChangeLog COPYING.LIB-2 COPYING.LIB-2.1 $(DISTFILES.common) $(DISTFILES.generated); do \
  251 	    rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
  252 	  done; \
  253 	else \
  254 	  : ; \
  255 	fi
  256 
  257 info dvi:
  258 
  259 $(OBJECTS): ../include/autoconf.h libgnuintl.h
  260 bindtextdom.$lo finddomain.$lo loadmsgcat.$lo: gettextP.h gettext.h loadinfo.h
  261 dcgettext.$lo: gettextP.h gettext.h hash-string.h loadinfo.h
  262 
  263 tags: TAGS
  264 
  265 TAGS: $(HEADERS) $(SOURCES)
  266 	here=`pwd`; cd $(srcdir) && etags -o $$here/TAGS $(HEADERS) $(SOURCES)
  267 
  268 id: ID
  269 
  270 ID: $(HEADERS) $(SOURCES)
  271 	here=`pwd`; cd $(srcdir) && mkid -f$$here/ID $(HEADERS) $(SOURCES)
  272 
  273 
  274 mostlyclean:
  275 	rm -f *.a *.la *$o *.lo core core.*
  276 	rm -f libintl.h charset.alias ref-add.sed ref-del.sed
  277 	rm -f -r .libs _libs
  278 
  279 clean: mostlyclean
  280 
  281 distclean: clean
  282 	rm -f Makefile ID TAGS
  283 	if test "$(PACKAGE)" = gettext; then \
  284 	  rm -f ChangeLog.inst $(DISTFILES.normal); \
  285 	else \
  286 	  : ; \
  287 	fi
  288 
  289 maintainer-clean: distclean
  290 	@echo "This command is intended for maintainers to use;"
  291 	@echo "it deletes files that may require special tools to rebuild."
  292 
  293 
  294 # GNU gettext needs not contain the file `VERSION' but contains some
  295 # other files which should not be distributed in other packages.
  296 distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
  297 dist distdir: Makefile
  298 	if test "$(PACKAGE)" = gettext; then \
  299 	  additional="$(DISTFILES.gettext)"; \
  300 	else \
  301 	  additional="$(DISTFILES.normal)"; \
  302 	fi; \
  303 	$(MAKE) $(DISTFILES.common) $(DISTFILES.generated) $$additional; \
  304 	for file in ChangeLog $(DISTFILES.common) $(DISTFILES.generated) $$additional; do \
  305 	  if test -f $$file; then dir=.; else dir=$(srcdir); fi; \
  306 	  ln $$dir/$$file $(distdir) 2> /dev/null \
  307 	    || cp -p $$dir/$$file $(distdir); \
  308 	done
  309 
  310 Makefile: Makefile.in ../config.status
  311 	cd .. \
  312 	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  313 
  314 # Tell versions [3.59,3.63) of GNU make not to export all variables.
  315 # Otherwise a system limit (for SysV at least) may be exceeded.
  316 .NOEXPORT: