"Fossies" - the Fresh Open Source Software Archive

Member "tin-2.6.2/intl/Makefile.in" (28 Jan 2022, 9900 Bytes) of package /linux/misc/tin-2.6.2.tar.xz:


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 latest Fossies "Diffs" side-by-side code changes report for "Makefile.in": 2.6.1_vs_2.6.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 = @INTL_YACC@ -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 	rm -f $@
   99 	$(LIBTOOL) --mode=compile $(COMPILE) $<
  100 
  101 .y.c:
  102 	rm -f $@
  103 	$(YACC) $(YFLAGS) -o $@ $<
  104 	rm -f $*.h
  105 
  106 .sin.sed:
  107 	sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $< > t-$@
  108 	mv t-$@ $@
  109 
  110 INCLUDES = -I.. -I. -I$(top_srcdir)/intl -I../include
  111 
  112 all: all-@USE_INCLUDED_LIBINTL@
  113 all-yes: libintl.$la libintl.h charset.alias ref-add.sed ref-del.sed
  114 all-no: all-no-@BUILD_INCLUDED_LIBINTL@
  115 all-no-yes: libgnuintl.$la
  116 all-no-no:
  117 
  118 libintl.a libgnuintl.a: $(OBJECTS)
  119 	rm -f $@
  120 	$(ARCHIVE) $@ $(OBJECTS)
  121 	$(RANLIB) $@
  122 
  123 libintl.la libgnuintl.la: $(OBJECTS)
  124 	$(LIBTOOL) --mode=link \
  125 	  $(CC) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) $(LDFLAGS) -o $@ \
  126 	  $(OBJECTS) @LIBICONV@ \
  127 	  -version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \
  128 	  -rpath $(libdir) \
  129 	  -no-undefined
  130 
  131 libintl.h: libgnuintl.h
  132 	cp $(srcdir)/libgnuintl.h libintl.h
  133 
  134 charset.alias: config.charset
  135 	$(SHELL) $(srcdir)/config.charset '@host@' > t-$@
  136 	mv t-$@ $@
  137 
  138 check: all
  139 
  140 # This installation goal is only used in GNU gettext.  Packages which
  141 # only use the library should use install instead.
  142 
  143 # We must not install the libintl.h/libintl.a files if we are on a
  144 # system which has the GNU gettext() function in its C library or in a
  145 # separate library.
  146 # If you want to use the one which comes with this version of the
  147 # package, you have to use `configure --with-included-gettext'.
  148 install: install-exec install-data
  149 install-exec: all
  150 	if test "$(PACKAGE)" = "gettext" \
  151 	   && test '@INTLOBJS@' = '$(GETTOBJS)'; then \
  152 	  $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir); \
  153 	  $(INSTALL_DATA) libintl.h $(DESTDIR)$(includedir)/libintl.h; \
  154 	  $(LIBTOOL) --mode=install \
  155 	    $(INSTALL_DATA) libintl.$la $(DESTDIR)$(libdir)/libintl.$la; \
  156 	else \
  157 	  : ; \
  158 	fi
  159 	if test '@USE_INCLUDED_LIBINTL@' = yes; then \
  160 	  $(mkinstalldirs) $(DESTDIR)$(libdir); \
  161 	  temp=$(DESTDIR)$(libdir)/t-charset.alias; \
  162 	  dest=$(DESTDIR)$(libdir)/charset.alias; \
  163 	  if test -f $(DESTDIR)$(libdir)/charset.alias; then \
  164 	    orig=$(DESTDIR)$(libdir)/charset.alias; \
  165 	    sed -f ref-add.sed $$orig > $$temp; \
  166 	    $(INSTALL_DATA) $$temp $$dest; \
  167 	    rm -f $$temp; \
  168 	  else \
  169 	    if test @GLIBC21@ = no; then \
  170 	      orig=charset.alias; \
  171 	      sed -f ref-add.sed $$orig > $$temp; \
  172 	      $(INSTALL_DATA) $$temp $$dest; \
  173 	      rm -f $$temp; \
  174 	    fi; \
  175 	  fi; \
  176 	  $(mkinstalldirs) $(DESTDIR)$(localedir); \
  177 	  test -f $(DESTDIR)$(localedir)/locale.alias \
  178 	    && orig=$(DESTDIR)$(localedir)/locale.alias \
  179 	    || orig=$(srcdir)/locale.alias; \
  180 	  temp=$(DESTDIR)$(localedir)/t-locale.alias; \
  181 	  dest=$(DESTDIR)$(localedir)/locale.alias; \
  182 	  sed -f ref-add.sed $$orig > $$temp; \
  183 	  $(INSTALL_DATA) $$temp $$dest; \
  184 	  rm -f $$temp; \
  185 	else \
  186 	  : ; \
  187 	fi
  188 install-data: all
  189 	if test "$(PACKAGE)" = "gettext"; then \
  190 	  $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
  191 	  $(INSTALL_DATA) VERSION $(DESTDIR)$(gettextsrcdir)/VERSION; \
  192 	  $(INSTALL_DATA) ChangeLog.inst $(DESTDIR)$(gettextsrcdir)/ChangeLog; \
  193 	  dists="COPYING.LIB-2 COPYING.LIB-2.1 $(DISTFILES.common)"; \
  194 	  for file in $$dists; do \
  195 	    $(INSTALL_DATA) $(srcdir)/$$file \
  196 			    $(DESTDIR)$(gettextsrcdir)/$$file; \
  197 	  done; \
  198 	  chmod a+x $(DESTDIR)$(gettextsrcdir)/config.charset; \
  199 	  dists="$(DISTFILES.generated)"; \
  200 	  for file in $$dists; do \
  201 	    if test -f $$file; then dir=.; else dir=$(srcdir); fi; \
  202 	    $(INSTALL_DATA) $$dir/$$file \
  203 			    $(DESTDIR)$(gettextsrcdir)/$$file; \
  204 	  done; \
  205 	  dists="$(DISTFILES.obsolete)"; \
  206 	  for file in $$dists; do \
  207 	    rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
  208 	  done; \
  209 	else \
  210 	  : ; \
  211 	fi
  212 
  213 # Define this as empty until I found a useful application.
  214 installcheck:
  215 
  216 uninstall:
  217 	if test "$(PACKAGE)" = "gettext" \
  218 	   && test '@INTLOBJS@' = '$(GETTOBJS)'; then \
  219 	  rm -f $(DESTDIR)$(includedir)/libintl.h; \
  220 	  $(LIBTOOL) --mode=uninstall \
  221 	    rm -f $(DESTDIR)$(libdir)/libintl.$la; \
  222 	else \
  223 	  : ; \
  224 	fi
  225 	if test '@USE_INCLUDED_LIBINTL@' = yes; then \
  226 	  if test -f $(DESTDIR)$(libdir)/charset.alias; then \
  227 	    temp=$(DESTDIR)$(libdir)/t-charset.alias; \
  228 	    dest=$(DESTDIR)$(libdir)/charset.alias; \
  229 	    sed -f ref-del.sed $$dest > $$temp; \
  230 	    if grep '^# Packages using this file: $$' $$temp > /dev/null; then \
  231 	      rm -f $$dest; \
  232 	    else \
  233 	      $(INSTALL_DATA) $$temp $$dest; \
  234 	    fi; \
  235 	    rm -f $$temp; \
  236 	  fi; \
  237 	  if test -f $(DESTDIR)$(localedir)/locale.alias; then \
  238 	    temp=$(DESTDIR)$(localedir)/t-locale.alias; \
  239 	    dest=$(DESTDIR)$(localedir)/locale.alias; \
  240 	    sed -f ref-del.sed $$dest > $$temp; \
  241 	    if grep '^# Packages using this file: $$' $$temp > /dev/null; then \
  242 	      rm -f $$dest; \
  243 	    else \
  244 	      $(INSTALL_DATA) $$temp $$dest; \
  245 	    fi; \
  246 	    rm -f $$temp; \
  247 	  fi; \
  248 	else \
  249 	  : ; \
  250 	fi
  251 	if test "$(PACKAGE)" = "gettext"; then \
  252 	  for file in VERSION ChangeLog COPYING.LIB-2 COPYING.LIB-2.1 $(DISTFILES.common) $(DISTFILES.generated); do \
  253 	    rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
  254 	  done; \
  255 	else \
  256 	  : ; \
  257 	fi
  258 
  259 info dvi:
  260 
  261 $(OBJECTS): ../include/autoconf.h libgnuintl.h
  262 bindtextdom.$lo finddomain.$lo loadmsgcat.$lo: gettextP.h gettext.h loadinfo.h
  263 dcgettext.$lo: gettextP.h gettext.h hash-string.h loadinfo.h
  264 
  265 tags: TAGS
  266 
  267 TAGS: $(HEADERS) $(SOURCES)
  268 	here=`pwd`; cd $(srcdir) && etags -o $$here/TAGS $(HEADERS) $(SOURCES)
  269 
  270 id: ID
  271 
  272 ID: $(HEADERS) $(SOURCES)
  273 	here=`pwd`; cd $(srcdir) && mkid -f$$here/ID $(HEADERS) $(SOURCES)
  274 
  275 
  276 mostlyclean:
  277 	rm -f *.a *.la *$o *.lo core core.*
  278 	rm -f libintl.h charset.alias ref-add.sed ref-del.sed
  279 	rm -f -r .libs _libs
  280 
  281 clean: mostlyclean
  282 
  283 distclean: clean
  284 	rm -f Makefile ID TAGS
  285 	if test "$(PACKAGE)" = gettext; then \
  286 	  rm -f ChangeLog.inst $(DISTFILES.normal); \
  287 	else \
  288 	  : ; \
  289 	fi
  290 
  291 maintainer-clean: distclean
  292 	@echo "This command is intended for maintainers to use;"
  293 	@echo "it deletes files that may require special tools to rebuild."
  294 
  295 
  296 # GNU gettext needs not contain the file `VERSION' but contains some
  297 # other files which should not be distributed in other packages.
  298 distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
  299 dist distdir: Makefile
  300 	if test "$(PACKAGE)" = gettext; then \
  301 	  additional="$(DISTFILES.gettext)"; \
  302 	else \
  303 	  additional="$(DISTFILES.normal)"; \
  304 	fi; \
  305 	$(MAKE) $(DISTFILES.common) $(DISTFILES.generated) $$additional; \
  306 	for file in ChangeLog $(DISTFILES.common) $(DISTFILES.generated) $$additional; do \
  307 	  if test -f $$file; then dir=.; else dir=$(srcdir); fi; \
  308 	  ln $$dir/$$file $(distdir) 2> /dev/null \
  309 	    || cp -p $$dir/$$file $(distdir); \
  310 	done
  311 
  312 Makefile: Makefile.in ../config.status
  313 	cd .. \
  314 	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  315 
  316 # Tell versions [3.59,3.63) of GNU make not to export all variables.
  317 # Otherwise a system limit (for SysV at least) may be exceeded.
  318 .NOEXPORT: