head	1.2;
access;
symbols
	perseant-exfatfs-base-20250801:1.2
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.14
	perseant-exfatfs-base:1.2
	cjep_sun2x:1.2.0.12
	cjep_sun2x-base:1.2
	cjep_staticlib_x-base1:1.2
	cjep_staticlib_x:1.2.0.10
	cjep_staticlib_x-base:1.2
	phil-wifi-20200421:1.2
	phil-wifi-20200411:1.2
	phil-wifi-20200406:1.2
	pgoyette-compat-merge-20190127:1.2
	pgoyette-compat-20190127:1.2
	pgoyette-compat-20190118:1.2
	pgoyette-compat-1226:1.2
	pgoyette-compat-1126:1.2
	pgoyette-compat-1020:1.2
	pgoyette-compat-0930:1.2
	pgoyette-compat-0906:1.2
	netbsd-7-2-RELEASE:1.1.1.1.2.2
	pgoyette-compat-0728:1.2
	pgoyette-compat-0625:1.2
	pgoyette-compat-0521:1.2
	pgoyette-compat-0502:1.2
	pgoyette-compat-0422:1.2
	pgoyette-compat-0415:1.2
	pgoyette-compat-0407:1.2
	pgoyette-compat-0330:1.2
	pgoyette-compat-0322:1.2
	pgoyette-compat-0315:1.2
	netbsd-7-1-2-RELEASE:1.1.1.1.2.2
	pgoyette-compat:1.2.0.8
	pgoyette-compat-base:1.2
	netbsd-7-1-1-RELEASE:1.1.1.1.2.2
	perseant-stdc-iso10646:1.2.0.6
	perseant-stdc-iso10646-base:1.2
	prg-localcount2-base3:1.2
	prg-localcount2-base2:1.2
	prg-localcount2-base1:1.2
	prg-localcount2:1.2.0.4
	prg-localcount2-base:1.2
	pgoyette-localcount-20170426:1.2
	bouyer-socketcan-base1:1.2
	pgoyette-localcount-20170320:1.2
	netbsd-7-1:1.1.1.1.2.2.0.6
	netbsd-7-1-RELEASE:1.1.1.1.2.2
	netbsd-7-1-RC2:1.1.1.1.2.2
	netbsd-7-nhusb-base-20170116:1.1.1.1.2.2
	bouyer-socketcan:1.2.0.2
	bouyer-socketcan-base:1.2
	pgoyette-localcount-20170107:1.2
	netbsd-7-1-RC1:1.1.1.1.2.2
	pgoyette-localcount-20161104:1.1.1.1
	netbsd-7-0-2-RELEASE:1.1.1.1.2.2
	localcount-20160914:1.1.1.1
	netbsd-7-nhusb:1.1.1.1.2.2.0.4
	netbsd-7-nhusb-base:1.1.1.1.2.2
	pgoyette-localcount-20160806:1.1.1.1
	pgoyette-localcount-20160726:1.1.1.1
	pgoyette-localcount:1.1.1.1.0.4
	pgoyette-localcount-base:1.1.1.1
	netbsd-7-0-1-RELEASE:1.1.1.1.2.2
	netbsd-7-0:1.1.1.1.2.2.0.2
	netbsd-7-0-RELEASE:1.1.1.1.2.2
	netbsd-7-0-RC3:1.1.1.1.2.2
	netbsd-7-0-RC2:1.1.1.1.2.2
	netbsd-7-0-RC1:1.1.1.1.2.2
	netbsd-7:1.1.1.1.0.2
	flex-2-5-39:1.1.1.1
	FLEX:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2017.01.02.17.45.26;	author christos;	state dead;
branches;
next	1.1;
commitid	2mZGuFOo9yjf3qAz;

1.1
date	2014.10.29.18.22.51;	author christos;	state Exp;
branches
	1.1.1.1;
next	;
commitid	5XBpMdipNxaoQ7Wx;

1.1.1.1
date	2014.10.29.18.22.51;	author christos;	state Exp;
branches
	1.1.1.1.2.1
	1.1.1.1.4.1;
next	;
commitid	5XBpMdipNxaoQ7Wx;

1.1.1.1.2.1
date	2014.10.29.18.22.51;	author snj;	state dead;
branches;
next	1.1.1.1.2.2;
commitid	nTOobT6jbiujvAcy;

1.1.1.1.2.2
date	2015.03.06.20.49.12;	author snj;	state Exp;
branches;
next	;
commitid	nTOobT6jbiujvAcy;

1.1.1.1.4.1
date	2017.01.07.08.53.50;	author pgoyette;	state dead;
branches;
next	;
commitid	uEL0C1YuiJrlV0Bz;


desc
@@


1.2
log
@Merge conflicts
@
text
@# Makefile for PO directory in any package using GNU gettext.
# Copyright (C) 1995-1997, 2000-2007, 2009-2010 by Ulrich Drepper <drepper@@gnu.ai.mit.edu>
#
# This file can be copied and used freely without restrictions.  It can
# be used in projects which are not available under the GNU General Public
# License but which still want to provide support for the GNU gettext
# functionality.
# Please note that the actual code of GNU gettext is covered by the GNU
# General Public License and is *not* in the public domain.
#
# Origin: gettext-0.18
GETTEXT_MACRO_VERSION = 0.18

PACKAGE = flex
VERSION = 2.5.39
PACKAGE_BUGREPORT = flex-help@@lists.sourceforge.net

SHELL = /bin/sh


srcdir = .
top_srcdir = ..


prefix = /usr/local
exec_prefix = ${prefix}
datarootdir = ${prefix}/share
datadir = ${datarootdir}
localedir = ${datarootdir}/locale
gettextsrcdir = $(datadir)/gettext/po

INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644

# We use $(mkdir_p).
# In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as
# "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions,
# ${SHELL} /usr/src/external/bsd/flex/flex-2.5.39/install-sh does not start with $(SHELL), so we add it.
# In automake >= 1.10, $(top_builddir)/./install-sh -c -d is derived from ${MKDIR_P}, which is defined
# either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake
# versions, $(mkinstalldirs) and $(install_sh) are unused.
mkinstalldirs = $(SHELL) ${SHELL} /usr/src/external/bsd/flex/flex-2.5.39/install-sh -d
install_sh = $(SHELL) ${SHELL} /usr/src/external/bsd/flex/flex-2.5.39/install-sh
MKDIR_P = .././install-sh -c -d
mkdir_p = $(top_builddir)/./install-sh -c -d

GMSGFMT_ = /usr/pkg/bin/msgfmt
GMSGFMT_no = /usr/pkg/bin/msgfmt
GMSGFMT_yes = /usr/pkg/bin/msgfmt
GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT))
MSGFMT_ = /usr/pkg/bin/msgfmt
MSGFMT_no = /usr/pkg/bin/msgfmt
MSGFMT_yes = /usr/pkg/bin/msgfmt
MSGFMT = $(MSGFMT_$(USE_MSGCTXT))
XGETTEXT_ = /usr/pkg/bin/xgettext
XGETTEXT_no = /usr/pkg/bin/xgettext
XGETTEXT_yes = /usr/pkg/bin/xgettext
XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT))
MSGMERGE = msgmerge
MSGMERGE_UPDATE = /usr/pkg/bin/msgmerge --update
MSGINIT = msginit
MSGCONV = msgconv
MSGFILTER = msgfilter

POFILES =  ca.po da.po de.po en@@quot.po en@@boldquot.po eo.po es.po fi.po fr.po ga.po hr.po ko.po nl.po pl.po pt_BR.po ro.po ru.po sr.po sv.po tr.po vi.po zh_CN.po zh_TW.po
GMOFILES =  ca.gmo da.gmo de.gmo en@@quot.gmo en@@boldquot.gmo eo.gmo es.gmo fi.gmo fr.gmo ga.gmo hr.gmo ko.gmo nl.gmo pl.gmo pt_BR.gmo ro.gmo ru.gmo sr.gmo sv.gmo tr.gmo vi.gmo zh_CN.gmo zh_TW.gmo
UPDATEPOFILES =  ca.po-update da.po-update de.po-update en@@quot.po-update en@@boldquot.po-update eo.po-update es.po-update fi.po-update fr.po-update ga.po-update hr.po-update ko.po-update nl.po-update pl.po-update pt_BR.po-update ro.po-update ru.po-update sr.po-update sv.po-update tr.po-update vi.po-update zh_CN.po-update zh_TW.po-update
DUMMYPOFILES =  ca.nop da.nop de.nop en@@quot.nop en@@boldquot.nop eo.nop es.nop fi.nop fr.nop ga.nop hr.nop ko.nop nl.nop pl.nop pt_BR.nop ro.nop ru.nop sr.nop sv.nop tr.nop vi.nop zh_CN.nop zh_TW.nop
DISTFILES.common = Makefile.in.in remove-potcdate.sin \
$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \
$(POFILES) $(GMOFILES) \
$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3)

POTFILES = \
     ../buf.c \
     ../ccl.c \
     ../dfa.c \
     ../ecs.c \
     ../gen.c \
     ../libmain.c \
     ../libyywrap.c \
     ../main.c \
     ../misc.c \
     ../nfa.c \
     ../options.c \
     ../parse.y \
     ../scan.l \
     ../scanopt.c \
     ../skel.c \
     ../sym.c \
     ../tblcmp.c \
     ../yylex.c

CATALOGS =  ca.gmo da.gmo de.gmo en@@quot.gmo en@@boldquot.gmo eo.gmo es.gmo fi.gmo fr.gmo ga.gmo hr.gmo ko.gmo nl.gmo pl.gmo pt_BR.gmo ro.gmo ru.gmo sr.gmo sv.gmo tr.gmo vi.gmo zh_CN.gmo zh_TW.gmo

# Makevars gets inserted here. (Don't remove this line!)
# Makefile variables for PO directory in any package using GNU gettext.

# Usually the message domain is the same as the package name.
DOMAIN = $(PACKAGE)

# These two variables depend on the location of this directory.
subdir = po
top_builddir = ..

# These options get passed to xgettext.
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_

# This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file.  Set this to the copyright holder of the surrounding
# package.  (Note that the msgstr strings, extracted from the package's
# sources, belong to the copyright holder of the package.)  Translators are
# expected to transfer the copyright for their translations to this person
# or entity, or to disclaim their copyright.  The empty string stands for
# the public domain; in this case the translators are expected to disclaim
# their copyright.
COPYRIGHT_HOLDER = 

# This is the email address or URL to which the translators shall report
# bugs in the untranslated strings:
# - Strings which are not entire sentences, see the maintainer guidelines
#   in the GNU gettext documentation, section 'Preparing Strings'.
# - Strings which use unclear terms or require additional context to be
#   understood.
# - Strings which make invalid assumptions about notation of date, time or
#   money.
# - Pluralisation problems.
# - Incorrect English spelling.
# - Incorrect formatting.
# It can be your email address, or a mailing list address where translators
# can write to without being subscribed, or the URL of a web page through
# which the translators can contact you.
MSGID_BUGS_ADDRESS = flex-devel@@lists.sourceforge.net

# This is the list of locale categories, beyond LC_MESSAGES, for which the
# message catalogs shall be used.  It is usually empty.
EXTRA_LOCALE_CATEGORIES =

.SUFFIXES:
.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update

.po.mo:
	@@echo "$(MSGFMT) -c -o $@@ $<"; \
	$(MSGFMT) -c -o t-$@@ $< && mv t-$@@ $@@

.po.gmo:
	@@lang=`echo $* | sed -e 's,.*/,,'`; \
	test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
	echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
	cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo

.sin.sed:
	sed -e '/^#/d' $< > t-$@@
	mv t-$@@ $@@


all: check-macro-version all-no

all-yes: stamp-po
all-no:

# Ensure that the gettext macros and this Makefile.in.in are in sync.
check-macro-version:
	@@test "$(GETTEXT_MACRO_VERSION)" = "0.18" \
	  || { echo "*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version $(GETTEXT_MACRO_VERSION) but the autoconf macros are from gettext version 0.18" 1>&2; \
	       exit 1; \
	     }

# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
# we don't want to bother translators with empty POT files). We assume that
# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
# In this case, stamp-po is a nop (i.e. a phony target).

# stamp-po is a timestamp denoting the last time at which the CATALOGS have
# been loosely updated. Its purpose is that when a developer or translator
# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
# invocations of "make" will do nothing. This timestamp would not be necessary
# if updating the $(CATALOGS) would always touch them; however, the rule for
# $(POFILES) has been designed to not touch files that don't need to be
# changed.
stamp-po: $(srcdir)/$(DOMAIN).pot
	test ! -f $(srcdir)/$(DOMAIN).pot || \
	  test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
	@@test ! -f $(srcdir)/$(DOMAIN).pot || { \
	  echo "touch stamp-po" && \
	  echo timestamp > stamp-poT && \
	  mv stamp-poT stamp-po; \
	}

# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
# otherwise packages like GCC can not be built if only parts of the source
# have been downloaded.

# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
	if LC_ALL=C grep 'GNU flex' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
	  package_gnu='GNU '; \
	else \
	  package_gnu=''; \
	fi; \
	if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@@'PACKAGE_BUGREPORT'@@'; then \
	  msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
	else \
	  msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
	fi; \
	case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
	  '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
	    $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
	      --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS)  \
	      --files-from=$(srcdir)/POTFILES.in \
	      --copyright-holder='$(COPYRIGHT_HOLDER)' \
	      --msgid-bugs-address="$$msgid_bugs_address" \
	    ;; \
	  *) \
	    $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
	      --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS)  \
	      --files-from=$(srcdir)/POTFILES.in \
	      --copyright-holder='$(COPYRIGHT_HOLDER)' \
	      --package-name="$${package_gnu}flex" \
	      --package-version='2.5.39' \
	      --msgid-bugs-address="$$msgid_bugs_address" \
	    ;; \
	esac
	test ! -f $(DOMAIN).po || { \
	  if test -f $(srcdir)/$(DOMAIN).pot; then \
	    sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
	    sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
	    if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
	      rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
	    else \
	      rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
	      mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
	    fi; \
	  else \
	    mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
	  fi; \
	}

# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
# every "make" invocation, only create it when it is missing.
# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
$(srcdir)/$(DOMAIN).pot:
	$(MAKE) $(DOMAIN).pot-update

# This target rebuilds a PO file if $(DOMAIN).pot has changed.
# Note that a PO file is not touched if it doesn't need to be changed.
$(POFILES): $(srcdir)/$(DOMAIN).pot
	@@lang=`echo $@@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
	if test -f "$(srcdir)/$${lang}.po"; then \
	  test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
	  echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
	  cd $(srcdir) \
	    && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
	           '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
	             $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
	           *) \
	             $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
	         esac; \
	       }; \
	else \
	  $(MAKE) $${lang}.po-create; \
	fi


install: install-exec install-data
install-exec:
install-data: install-data-no
	if test "$(PACKAGE)" = "gettext-tools"; then \
	  $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \
	  for file in $(DISTFILES.common) Makevars.template; do \
	    $(INSTALL_DATA) $(srcdir)/$$file \
			    $(DESTDIR)$(gettextsrcdir)/$$file; \
	  done; \
	  for file in Makevars; do \
	    rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
	  done; \
	else \
	  : ; \
	fi
install-data-no: all
install-data-yes: all
	@@catalogs='$(CATALOGS)'; \
	for cat in $$catalogs; do \
	  cat=`basename $$cat`; \
	  lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
	  dir=$(localedir)/$$lang/LC_MESSAGES; \
	  $(mkdir_p) $(DESTDIR)$$dir; \
	  if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
	  $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
	  echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
	  for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
	    if test -n "$$lc"; then \
	      if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
	        link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
	        mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
	        mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
	        (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
	         for file in *; do \
	           if test -f $$file; then \
	             ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
	           fi; \
	         done); \
	        rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
	      else \
	        if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
	          :; \
	        else \
	          rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
	          mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
	        fi; \
	      fi; \
	      rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
	      ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
	      ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
	      cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
	      echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
	    fi; \
	  done; \
	done

install-strip: install

installdirs: installdirs-exec installdirs-data
installdirs-exec:
installdirs-data: installdirs-data-no
	if test "$(PACKAGE)" = "gettext-tools"; then \
	  $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \
	else \
	  : ; \
	fi
installdirs-data-no:
installdirs-data-yes:
	@@catalogs='$(CATALOGS)'; \
	for cat in $$catalogs; do \
	  cat=`basename $$cat`; \
	  lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
	  dir=$(localedir)/$$lang/LC_MESSAGES; \
	  $(mkdir_p) $(DESTDIR)$$dir; \
	  for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
	    if test -n "$$lc"; then \
	      if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
	        link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
	        mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
	        mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
	        (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
	         for file in *; do \
	           if test -f $$file; then \
	             ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
	           fi; \
	         done); \
	        rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
	      else \
	        if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
	          :; \
	        else \
	          rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
	          mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
	        fi; \
	      fi; \
	    fi; \
	  done; \
	done

# Define this as empty until I found a useful application.
installcheck:

uninstall: uninstall-exec uninstall-data
uninstall-exec:
uninstall-data: uninstall-data-no
	if test "$(PACKAGE)" = "gettext-tools"; then \
	  for file in $(DISTFILES.common) Makevars.template; do \
	    rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
	  done; \
	else \
	  : ; \
	fi
uninstall-data-no:
uninstall-data-yes:
	catalogs='$(CATALOGS)'; \
	for cat in $$catalogs; do \
	  cat=`basename $$cat`; \
	  lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
	  for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
	    rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
	  done; \
	done

check: all

info dvi ps pdf html tags TAGS ctags CTAGS ID:

mostlyclean:
	rm -f remove-potcdate.sed
	rm -f stamp-poT
	rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
	rm -fr *.o

clean: mostlyclean

distclean: clean
	rm -f Makefile Makefile.in POTFILES *.mo

maintainer-clean: distclean
	@@echo "This command is intended for maintainers to use;"
	@@echo "it deletes files that may require special tools to rebuild."
	rm -f stamp-po $(GMOFILES)

distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
dist distdir:
	$(MAKE) update-po
	@@$(MAKE) dist2
# This is a separate target because 'update-po' must be executed before.
dist2: stamp-po $(DISTFILES)
	dists="$(DISTFILES)"; \
	if test "$(PACKAGE)" = "gettext-tools"; then \
	  dists="$$dists Makevars.template"; \
	fi; \
	if test -f $(srcdir)/$(DOMAIN).pot; then \
	  dists="$$dists $(DOMAIN).pot stamp-po"; \
	fi; \
	if test -f $(srcdir)/ChangeLog; then \
	  dists="$$dists ChangeLog"; \
	fi; \
	for i in 0 1 2 3 4 5 6 7 8 9; do \
	  if test -f $(srcdir)/ChangeLog.$$i; then \
	    dists="$$dists ChangeLog.$$i"; \
	  fi; \
	done; \
	if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \
	for file in $$dists; do \
	  if test -f $$file; then \
	    cp -p $$file $(distdir) || exit 1; \
	  else \
	    cp -p $(srcdir)/$$file $(distdir) || exit 1; \
	  fi; \
	done

update-po: Makefile
	$(MAKE) $(DOMAIN).pot-update
	test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
	$(MAKE) update-gmo

# General rule for creating PO files.

.nop.po-create:
	@@lang=`echo $@@ | sed -e 's/\.po-create$$//'`; \
	echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
	exit 1

# General rule for updating PO files.

.nop.po-update:
	@@lang=`echo $@@ | sed -e 's/\.po-update$$//'`; \
	if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \
	tmpdir=`pwd`; \
	echo "$$lang:"; \
	test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
	echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
	cd $(srcdir); \
	if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
	       '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
	         $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
	       *) \
	         $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
	     esac; \
	   }; then \
	  if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
	    rm -f $$tmpdir/$$lang.new.po; \
	  else \
	    if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
	      :; \
	    else \
	      echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
	      exit 1; \
	    fi; \
	  fi; \
	else \
	  echo "msgmerge for $$lang.po failed!" 1>&2; \
	  rm -f $$tmpdir/$$lang.new.po; \
	fi

$(DUMMYPOFILES):

update-gmo: Makefile $(GMOFILES)
	@@:

# Recreate Makefile by invoking config.status. Explicitly invoke the shell,
# because execution permission bits may not work on the current file system.
# Use /bin/sh, which is the shell determined by autoconf for the use by its
# scripts, not $(SHELL) which is hardwired to /bin/sh and may be deficient.
Makefile: Makefile.in.in Makevars $(top_builddir)/config.status POTFILES.in LINGUAS
	cd $(top_builddir) \
	  && /bin/sh ./config.status $(subdir)/$@@.in po-directories

force:

# Tell versions [3.59,3.63) of GNU make not to export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
# Special Makefile rules for English message catalogs with quotation marks.

DISTFILES.common.extra1 = quot.sed boldquot.sed en@@quot.header en@@boldquot.header insert-header.sin Rules-quot

.SUFFIXES: .insert-header .po-update-en

en@@quot.po-create:
	$(MAKE) en@@quot.po-update
en@@boldquot.po-create:
	$(MAKE) en@@boldquot.po-update

en@@quot.po-update: en@@quot.po-update-en
en@@boldquot.po-update: en@@boldquot.po-update-en

.insert-header.po-update-en:
	@@lang=`echo $@@ | sed -e 's/\.po-update-en$$//'`; \
	if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \
	tmpdir=`pwd`; \
	echo "$$lang:"; \
	ll=`echo $$lang | sed -e 's/@@.*//'`; \
	LC_ALL=C; export LC_ALL; \
	cd $(srcdir); \
	if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \
	  if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
	    rm -f $$tmpdir/$$lang.new.po; \
	  else \
	    if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
	      :; \
	    else \
	      echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
	      exit 1; \
	    fi; \
	  fi; \
	else \
	  echo "creation of $$lang.po failed!" 1>&2; \
	  rm -f $$tmpdir/$$lang.new.po; \
	fi

en@@quot.insert-header: insert-header.sin
	sed -e '/^#/d' -e 's/HEADER/en@@quot.header/g' $(srcdir)/insert-header.sin > en@@quot.insert-header

en@@boldquot.insert-header: insert-header.sin
	sed -e '/^#/d' -e 's/HEADER/en@@boldquot.header/g' $(srcdir)/insert-header.sin > en@@boldquot.insert-header

mostlyclean: mostlyclean-quot
mostlyclean-quot:
	rm -f *.insert-header
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@* flex version  2.5.39

** no user visible changes in this release

* version 2.5.38 released 2014-02-14

** internationalization

*** add sr translation from the translation project

*** update da, es, ko, nl, pt_BR, ro, ru, sv, tr, vi, zh_CN translations from th
e translation project

*** rename zh_tw to its proper zh_TW name
@
text
@@


1.1.1.1.4.1
log
@Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)
@
text
@@


1.1.1.1.2.1
log
@file Makefile was added on branch netbsd-7 on 2015-03-06 20:49:12 +0000
@
text
@d1 550
@


1.1.1.1.2.2
log
@Pull up following revision(s) (requested by mrg in ticket #571):
	doc/3RDPARTY: 1.1168
	external/bsd/flex/dist/po/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/po/Makefile.in: up to 1.1.1.1
	external/bsd/flex/dist/po/POTFILES: up to 1.1.1.1
	external/bsd/flex/dist/po/en@@boldquot.gmo: up to 1.1.1.1
	external/bsd/flex/dist/po/en@@boldquot.po: up to 1.1.1.1
	external/bsd/flex/dist/po/en@@quot.gmo: up to 1.1.1.1
	external/bsd/flex/dist/po/en@@quot.po: up to 1.1.1.1
	external/bsd/flex/dist/po/eo.gmo: up to 1.1.1.1
	external/bsd/flex/dist/po/eo.po: up to 1.1.1.1
	external/bsd/flex/dist/po/hr.gmo: up to 1.1.1.1
	external/bsd/flex/dist/po/hr.po: up to 1.1.1.1
	external/bsd/flex/dist/po/sr.gmo: up to 1.1.1.1
	external/bsd/flex/dist/po/sr.po: up to 1.1.1.1
	external/bsd/flex/dist/po/zh_TW.gmo: up to 1.1.1.1
	external/bsd/flex/dist/po/zh_TW.po: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-include-by-buffer/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/TEMPLATE/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-alloc-extra/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-array-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-array-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-basic-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-basic-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-bison-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-bison-yylloc/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-bison-yylval/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-c++-basic/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-c++-multiple-scanners/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-c++-yywrap/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-c-cpp-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-c-cpp-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-ccl/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-concatenated-options/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-debug-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-top/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-debug-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-yyextra/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-extended/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-header-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-header-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-include-by-push/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-include-by-reentrant/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-lineno-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-lineno-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-mem-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-mem-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-multiple-scanners-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-multiple-scanners-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-noansi-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-noansi-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-posix/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-posixly-correct/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-prefix-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-prefix-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-pthread/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-quotes/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-reject/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-rescan-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-rescan-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-string-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-string-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-table-opts/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-linedir-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-lineno-trailing/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-lineno-trailing/Makefile.am: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-lineno-trailing/Makefile.in: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-lineno-trailing/scanner.l: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-lineno-trailing/test.input: up to 1.1.1.1
	external/bsd/flex/dist/m4/intlmacosx.m4: up to 1.1.1.1
	external/bsd/flex/dist/m4/libtool.m4: up to 1.1.1.1
	external/bsd/flex/dist/m4/ltoptions.m4: up to 1.1.1.1
	external/bsd/flex/dist/m4/ltsugar.m4: up to 1.1.1.1
	external/bsd/flex/dist/m4/ltversion.m4: up to 1.1.1.1
	external/bsd/flex/dist/m4/lt~obsolete.m4: up to 1.1.1.1
	external/bsd/flex/dist/doc/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/examples/fastwc/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/examples/manual/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/examples/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/libtool: up to 1.1.1.1
	external/bsd/flex/dist/stamp-h1: up to 1.1.1.1
	external/bsd/flex/dist/ltmain.sh: up to 1.1.1.1
	external/bsd/flex/dist/lib/.deps/lib.Plo: up to 1.1.1.1
	external/bsd/flex/dist/lib/.deps/malloc.Po: up to 1.1.1.1
	external/bsd/flex/dist/lib/.deps/realloc.Po: up to 1.1.1.1
	external/bsd/flex/dist/lib/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/configure.ac: up to 1.1.1.1
	external/bsd/flex/dist/.indent.pro: up to 1.1.1.1
	external/bsd/flex/dist/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/README-alpha: delete
	external/bsd/flex/dist/README.cvs: delete
	external/bsd/flex/dist/configure.in: delete
	external/bsd/flex/dist/mkinstalldirs: delete
	external/bsd/flex/dist/tools/Makefile.am: delete
	external/bsd/flex/dist/tools/Makefile.in: delete
	external/bsd/flex/dist/tools/git2cl: delete
	external/bsd/flex/flex2netbsd: up to 1.3
	external/bsd/flex/dist/.indent.pro: up to 1.1.1.1
	external/bsd/flex/dist/ABOUT-NLS: up to 1.1.1.2
	external/bsd/flex/dist/ChangeLog: up to 1.1.1.3
	external/bsd/flex/dist/INSTALL: up to 1.1.1.3
	external/bsd/flex/dist/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/Makefile.am: up to 1.1.1.3
	external/bsd/flex/dist/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/NEWS: up to 1.1.1.3
	external/bsd/flex/dist/README: up to 1.1.1.2
	external/bsd/flex/dist/TODO: up to 1.1.1.2
	external/bsd/flex/dist/aclocal.m4: up to 1.1.1.3
	external/bsd/flex/dist/autogen.sh: up to 1.1.1.2
	external/bsd/flex/dist/buf.c: up to 1.4
	external/bsd/flex/dist/ccl.c: up to 1.3
	external/bsd/flex/dist/compile: up to 1.1.1.3
	external/bsd/flex/dist/conf.in: up to 1.1.1.3
	external/bsd/flex/dist/config.guess: up to 1.1.1.3
	external/bsd/flex/dist/config.rpath: up to 1.1.1.2
	external/bsd/flex/dist/config.sub: up to 1.1.1.3
	external/bsd/flex/dist/configure: up to 1.1.1.3
	external/bsd/flex/dist/configure.ac: up to 1.1.1.1
	external/bsd/flex/dist/depcomp: up to 1.1.1.3
	external/bsd/flex/dist/dfa.c: up to 1.3
	external/bsd/flex/dist/ecs.c: up to 1.3
	external/bsd/flex/dist/filter.c: up to 1.5
	external/bsd/flex/dist/flex.skl: up to 1.11
	external/bsd/flex/dist/flexdef.h: up to 1.7
	external/bsd/flex/dist/gen.c: up to 1.11
	external/bsd/flex/dist/initparse.c: up to 1.5
	external/bsd/flex/dist/install-sh: up to 1.1.1.3
	external/bsd/flex/dist/libmain.c: up to 1.5
	external/bsd/flex/dist/libtool: up to 1.1.1.1
	external/bsd/flex/dist/libyywrap.c: up to 1.5
	external/bsd/flex/dist/ltmain.sh: up to 1.1.1.1
	external/bsd/flex/dist/main.c: up to 1.6
	external/bsd/flex/dist/misc.c: up to 1.5
	external/bsd/flex/dist/missing: up to 1.1.1.3
	external/bsd/flex/dist/nfa.c: up to 1.3
	external/bsd/flex/dist/options.c: up to 1.3
	external/bsd/flex/dist/parse.y: up to 1.5
	external/bsd/flex/dist/regex.c: up to 1.3
	external/bsd/flex/dist/scan.l: up to 1.6
	external/bsd/flex/dist/scanflags.c: up to 1.3
	external/bsd/flex/dist/scanopt.c: up to 1.6
	external/bsd/flex/dist/stamp-h1: up to 1.1.1.1
	external/bsd/flex/dist/sym.c: up to 1.3
	external/bsd/flex/dist/tables.c: up to 1.5
	external/bsd/flex/dist/tables_shared.c: up to 1.1.1.2
	external/bsd/flex/dist/tables_shared.h: up to 1.1.1.2
	external/bsd/flex/dist/tblcmp.c: up to 1.3
	external/bsd/flex/dist/version.h: up to 1.1.1.2
	external/bsd/flex/dist/ylwrap: up to 1.1.1.2
	external/bsd/flex/dist/yylex.c: up to 1.4
	external/bsd/flex/dist/doc/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/doc/Makefile.am: up to 1.1.1.3
	external/bsd/flex/dist/doc/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/doc/flex.1: up to 1.1.1.3
	external/bsd/flex/dist/doc/flex.info: up to 1.1.1.3
	external/bsd/flex/dist/doc/flex.info-1: up to 1.1.1.3
	external/bsd/flex/dist/doc/flex.pdf: up to 1.1.1.3
	external/bsd/flex/dist/doc/flex.texi: up to 1.1.1.3
	external/bsd/flex/dist/doc/mdate-sh: up to 1.1.1.3
	external/bsd/flex/dist/doc/stamp-vti: up to 1.1.1.3
	external/bsd/flex/dist/doc/texinfo.tex: up to 1.1.1.3
	external/bsd/flex/dist/doc/version.texi: up to 1.1.1.3
	external/bsd/flex/dist/examples/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/examples/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/examples/testxxLexer.l: up to 1.1.1.2
	external/bsd/flex/dist/examples/fastwc/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/examples/fastwc/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/examples/fastwc/mywc.c: up to 1.1.1.2
	external/bsd/flex/dist/examples/fastwc/wc1.l: up to 1.1.1.2
	external/bsd/flex/dist/examples/fastwc/wc2.l: up to 1.1.1.2
	external/bsd/flex/dist/examples/fastwc/wc3.l: up to 1.1.1.2
	external/bsd/flex/dist/examples/fastwc/wc4.l: up to 1.1.1.2
	external/bsd/flex/dist/examples/fastwc/wc5.l: up to 1.1.1.2
	external/bsd/flex/dist/examples/manual/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/examples/manual/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/examples/manual/expr.y: up to 1.1.1.2
	external/bsd/flex/dist/examples/manual/front.y: up to 1.1.1.2
	external/bsd/flex/dist/lib/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/lib/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/lib/Makefile.in: up to 1.1.1.2
	external/bsd/flex/dist/lib/lib.c: up to 1.1.1.2
	external/bsd/flex/dist/lib/malloc.c: up to 1.1.1.2
	external/bsd/flex/dist/lib/realloc.c: up to 1.1.1.2
	external/bsd/flex/dist/lib/.deps/lib.Plo: up to 1.1.1.1
	external/bsd/flex/dist/lib/.deps/malloc.Po: up to 1.1.1.1
	external/bsd/flex/dist/lib/.deps/realloc.Po: up to 1.1.1.1
	external/bsd/flex/dist/m4/gettext.m4: up to 1.1.1.2
	external/bsd/flex/dist/m4/iconv.m4: up to 1.1.1.2
	external/bsd/flex/dist/m4/intlmacosx.m4: up to 1.1.1.1
	external/bsd/flex/dist/m4/lib-ld.m4: up to 1.1.1.2
	external/bsd/flex/dist/m4/lib-link.m4: up to 1.1.1.2
	external/bsd/flex/dist/m4/lib-prefix.m4: up to 1.1.1.2
	external/bsd/flex/dist/m4/libtool.m4: up to 1.1.1.1
	external/bsd/flex/dist/m4/ltoptions.m4: up to 1.1.1.1
	external/bsd/flex/dist/m4/ltsugar.m4: up to 1.1.1.1
	external/bsd/flex/dist/m4/ltversion.m4: up to 1.1.1.1
	external/bsd/flex/dist/m4/lt~obsolete.m4: up to 1.1.1.1
	external/bsd/flex/dist/m4/nls.m4: up to 1.1.1.2
	external/bsd/flex/dist/m4/po.m4: up to 1.1.1.2
	external/bsd/flex/dist/m4/progtest.m4: up to 1.1.1.2
	external/bsd/flex/dist/po/LINGUAS: up to 1.1.1.3
	external/bsd/flex/dist/po/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/po/Makefile.in: up to 1.1.1.1
	external/bsd/flex/dist/po/Makefile.in.in: up to 1.1.1.2
	external/bsd/flex/dist/po/POTFILES: up to 1.1.1.1
	external/bsd/flex/dist/po/Rules-quot: up to 1.1.1.2
	external/bsd/flex/dist/po/ca.po: up to 1.1.1.3
	external/bsd/flex/dist/po/da.po: up to 1.1.1.3
	external/bsd/flex/dist/po/de.po: up to 1.1.1.3
	external/bsd/flex/dist/po/en@@boldquot.gmo: up to 1.1.1.1
	external/bsd/flex/dist/po/en@@boldquot.po: up to 1.1.1.1
	external/bsd/flex/dist/po/en@@quot.gmo: up to 1.1.1.1
	external/bsd/flex/dist/po/en@@quot.po: up to 1.1.1.1
	external/bsd/flex/dist/po/eo.gmo: up to 1.1.1.1
	external/bsd/flex/dist/po/eo.po: up to 1.1.1.1
	external/bsd/flex/dist/po/es.po: up to 1.1.1.3
	external/bsd/flex/dist/po/fi.gmo: up to 1.1.1.2
	external/bsd/flex/dist/po/fi.po: up to 1.1.1.2
	external/bsd/flex/dist/po/flex.pot: up to 1.1.1.3
	external/bsd/flex/dist/po/fr.po: up to 1.1.1.3
	external/bsd/flex/dist/po/ga.po: up to 1.1.1.3
	external/bsd/flex/dist/po/hr.gmo: up to 1.1.1.1
	external/bsd/flex/dist/po/hr.po: up to 1.1.1.1
	external/bsd/flex/dist/po/ko.po: up to 1.1.1.3
	external/bsd/flex/dist/po/nl.po: up to 1.1.1.3
	external/bsd/flex/dist/po/pl.po: up to 1.1.1.3
	external/bsd/flex/dist/po/pt_BR.po: up to 1.1.1.3
	external/bsd/flex/dist/po/ro.po: up to 1.1.1.3
	external/bsd/flex/dist/po/ru.po: up to 1.1.1.3
	external/bsd/flex/dist/po/sr.gmo: up to 1.1.1.1
	external/bsd/flex/dist/po/sr.po: up to 1.1.1.1
	external/bsd/flex/dist/po/sv.po: up to 1.1.1.3
	external/bsd/flex/dist/po/tr.po: up to 1.1.1.3
	external/bsd/flex/dist/po/vi.po: up to 1.1.1.3
	external/bsd/flex/dist/po/zh_CN.po: up to 1.1.1.3
	external/bsd/flex/dist/po/zh_TW.gmo: up to 1.1.1.1
	external/bsd/flex/dist/po/zh_TW.po: up to 1.1.1.1
	external/bsd/flex/dist/tests/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/TEMPLATE/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/TEMPLATE/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/TEMPLATE/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/TEMPLATE/parser.y: up to 1.1.1.2
	external/bsd/flex/dist/tests/TEMPLATE/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-alloc-extra/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-alloc-extra/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-alloc-extra/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-alloc-extra/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-array-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-array-nr/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-array-nr/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-array-nr/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-array-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-array-r/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-array-r/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-array-r/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-basic-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-basic-nr/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-basic-nr/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-basic-nr/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-basic-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-basic-r/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-basic-r/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-basic-r/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-bison-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-bison-nr/Makefile.am: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-bison-nr/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-bison-nr/main.c: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-bison-nr/parser.y: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-bison-nr/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-bison-yylloc/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-bison-yylloc/Makefile.am: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-bison-yylloc/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-bison-yylloc/main.c: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-bison-yylloc/parser.y: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-bison-yylloc/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-bison-yylval/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-bison-yylval/Makefile.am: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-bison-yylval/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-bison-yylval/main.c: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-bison-yylval/parser.y: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-bison-yylval/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-c++-basic/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-c++-basic/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-c++-basic/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-c++-basic/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-c++-multiple-scanners/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-c++-multiple-scanners/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-c++-multiple-scanners/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-c++-multiple-scanners/scanner-1.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-c++-multiple-scanners/scanner-2.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-c++-yywrap/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-c++-yywrap/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-c++-yywrap/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-c++-yywrap/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-c-cpp-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-c-cpp-nr/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-c-cpp-nr/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-c-cpp-nr/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-c-cpp-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-c-cpp-r/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-c-cpp-r/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-c-cpp-r/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-ccl/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-ccl/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-ccl/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-ccl/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-concatenated-options/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-concatenated-options/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-debug-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-debug-nr/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-debug-nr/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-debug-nr/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-debug-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-debug-r/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-debug-r/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-debug-r/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-extended/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-extended/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-extended/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-extended/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-header-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-header-nr/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-header-nr/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-header-nr/main.c: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-header-nr/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-header-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-header-r/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-header-r/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-header-r/main.c: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-header-r/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-include-by-buffer/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-include-by-buffer/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-include-by-buffer/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-include-by-buffer/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-include-by-push/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-include-by-push/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-include-by-push/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-include-by-push/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-include-by-reentrant/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-include-by-reentrant/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-include-by-reentrant/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-include-by-reentrant/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-linedir-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-linedir-r/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-linedir-r/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-linedir-r/main.c: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-linedir-r/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-lineno-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-lineno-nr/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-lineno-nr/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-lineno-nr/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-lineno-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-lineno-r/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-lineno-r/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-lineno-r/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-lineno-trailing/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-lineno-trailing/Makefile.am: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-lineno-trailing/Makefile.in: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-lineno-trailing/scanner.l: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-lineno-trailing/test.input: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-mem-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-mem-nr/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-mem-nr/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-mem-nr/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-mem-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-mem-r/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-mem-r/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-mem-r/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-multiple-scanners-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-multiple-scanners-nr/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-multiple-scanners-nr/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-multiple-scanners-nr/main.c: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-multiple-scanners-nr/scanner-1.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-multiple-scanners-nr/scanner-2.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-multiple-scanners-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-multiple-scanners-r/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-multiple-scanners-r/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-multiple-scanners-r/main.c: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-multiple-scanners-r/scanner-1.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-multiple-scanners-r/scanner-2.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-noansi-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-noansi-nr/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-noansi-nr/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-noansi-nr/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-noansi-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-noansi-r/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-noansi-r/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-noansi-r/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-posix/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-posix/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-posix/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-posix/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-posixly-correct/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-posixly-correct/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-posixly-correct/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-posixly-correct/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-prefix-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-prefix-nr/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-prefix-nr/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-prefix-nr/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-prefix-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-prefix-r/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-prefix-r/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-prefix-r/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-pthread/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-pthread/Makefile.am: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-pthread/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-pthread/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-quotes/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-quotes/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-quotes/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-quotes/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-reject/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-reject/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-reject/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-reject/scanner.l: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-rescan-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-rescan-nr/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-rescan-nr/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-rescan-nr/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-rescan-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-rescan-r/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-rescan-r/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-rescan-r/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-string-nr/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-string-nr/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-string-nr/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-string-nr/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-string-r/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-string-r/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-string-r/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-string-r/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-table-opts/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-table-opts/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-table-opts/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-table-opts/scanner.l: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-top/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-top/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-top/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-top/main.c: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-top/scanner.l: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-yyextra/Makefile: up to 1.1.1.1
	external/bsd/flex/dist/tests/test-yyextra/Makefile.am: up to 1.1.1.2
	external/bsd/flex/dist/tests/test-yyextra/Makefile.in: up to 1.1.1.3
	external/bsd/flex/dist/tests/test-yyextra/scanner.l: up to 1.1.1.2
	external/bsd/flex/include/config.h: up to 1.5
Update flex to 2.5.39.
@
text
@a0 550
# Makefile for PO directory in any package using GNU gettext.
# Copyright (C) 1995-1997, 2000-2007, 2009-2010 by Ulrich Drepper <drepper@@gnu.ai.mit.edu>
#
# This file can be copied and used freely without restrictions.  It can
# be used in projects which are not available under the GNU General Public
# License but which still want to provide support for the GNU gettext
# functionality.
# Please note that the actual code of GNU gettext is covered by the GNU
# General Public License and is *not* in the public domain.
#
# Origin: gettext-0.18
GETTEXT_MACRO_VERSION = 0.18

PACKAGE = flex
VERSION = 2.5.39
PACKAGE_BUGREPORT = flex-help@@lists.sourceforge.net

SHELL = /bin/sh


srcdir = .
top_srcdir = ..


prefix = /usr/local
exec_prefix = ${prefix}
datarootdir = ${prefix}/share
datadir = ${datarootdir}
localedir = ${datarootdir}/locale
gettextsrcdir = $(datadir)/gettext/po

INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644

# We use $(mkdir_p).
# In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as
# "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions,
# ${SHELL} /usr/src/external/bsd/flex/flex-2.5.39/install-sh does not start with $(SHELL), so we add it.
# In automake >= 1.10, $(top_builddir)/./install-sh -c -d is derived from ${MKDIR_P}, which is defined
# either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake
# versions, $(mkinstalldirs) and $(install_sh) are unused.
mkinstalldirs = $(SHELL) ${SHELL} /usr/src/external/bsd/flex/flex-2.5.39/install-sh -d
install_sh = $(SHELL) ${SHELL} /usr/src/external/bsd/flex/flex-2.5.39/install-sh
MKDIR_P = .././install-sh -c -d
mkdir_p = $(top_builddir)/./install-sh -c -d

GMSGFMT_ = /usr/pkg/bin/msgfmt
GMSGFMT_no = /usr/pkg/bin/msgfmt
GMSGFMT_yes = /usr/pkg/bin/msgfmt
GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT))
MSGFMT_ = /usr/pkg/bin/msgfmt
MSGFMT_no = /usr/pkg/bin/msgfmt
MSGFMT_yes = /usr/pkg/bin/msgfmt
MSGFMT = $(MSGFMT_$(USE_MSGCTXT))
XGETTEXT_ = /usr/pkg/bin/xgettext
XGETTEXT_no = /usr/pkg/bin/xgettext
XGETTEXT_yes = /usr/pkg/bin/xgettext
XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT))
MSGMERGE = msgmerge
MSGMERGE_UPDATE = /usr/pkg/bin/msgmerge --update
MSGINIT = msginit
MSGCONV = msgconv
MSGFILTER = msgfilter

POFILES =  ca.po da.po de.po en@@quot.po en@@boldquot.po eo.po es.po fi.po fr.po ga.po hr.po ko.po nl.po pl.po pt_BR.po ro.po ru.po sr.po sv.po tr.po vi.po zh_CN.po zh_TW.po
GMOFILES =  ca.gmo da.gmo de.gmo en@@quot.gmo en@@boldquot.gmo eo.gmo es.gmo fi.gmo fr.gmo ga.gmo hr.gmo ko.gmo nl.gmo pl.gmo pt_BR.gmo ro.gmo ru.gmo sr.gmo sv.gmo tr.gmo vi.gmo zh_CN.gmo zh_TW.gmo
UPDATEPOFILES =  ca.po-update da.po-update de.po-update en@@quot.po-update en@@boldquot.po-update eo.po-update es.po-update fi.po-update fr.po-update ga.po-update hr.po-update ko.po-update nl.po-update pl.po-update pt_BR.po-update ro.po-update ru.po-update sr.po-update sv.po-update tr.po-update vi.po-update zh_CN.po-update zh_TW.po-update
DUMMYPOFILES =  ca.nop da.nop de.nop en@@quot.nop en@@boldquot.nop eo.nop es.nop fi.nop fr.nop ga.nop hr.nop ko.nop nl.nop pl.nop pt_BR.nop ro.nop ru.nop sr.nop sv.nop tr.nop vi.nop zh_CN.nop zh_TW.nop
DISTFILES.common = Makefile.in.in remove-potcdate.sin \
$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \
$(POFILES) $(GMOFILES) \
$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3)

POTFILES = \
     ../buf.c \
     ../ccl.c \
     ../dfa.c \
     ../ecs.c \
     ../gen.c \
     ../libmain.c \
     ../libyywrap.c \
     ../main.c \
     ../misc.c \
     ../nfa.c \
     ../options.c \
     ../parse.y \
     ../scan.l \
     ../scanopt.c \
     ../skel.c \
     ../sym.c \
     ../tblcmp.c \
     ../yylex.c

CATALOGS =  ca.gmo da.gmo de.gmo en@@quot.gmo en@@boldquot.gmo eo.gmo es.gmo fi.gmo fr.gmo ga.gmo hr.gmo ko.gmo nl.gmo pl.gmo pt_BR.gmo ro.gmo ru.gmo sr.gmo sv.gmo tr.gmo vi.gmo zh_CN.gmo zh_TW.gmo

# Makevars gets inserted here. (Don't remove this line!)
# Makefile variables for PO directory in any package using GNU gettext.

# Usually the message domain is the same as the package name.
DOMAIN = $(PACKAGE)

# These two variables depend on the location of this directory.
subdir = po
top_builddir = ..

# These options get passed to xgettext.
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_

# This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file.  Set this to the copyright holder of the surrounding
# package.  (Note that the msgstr strings, extracted from the package's
# sources, belong to the copyright holder of the package.)  Translators are
# expected to transfer the copyright for their translations to this person
# or entity, or to disclaim their copyright.  The empty string stands for
# the public domain; in this case the translators are expected to disclaim
# their copyright.
COPYRIGHT_HOLDER = 

# This is the email address or URL to which the translators shall report
# bugs in the untranslated strings:
# - Strings which are not entire sentences, see the maintainer guidelines
#   in the GNU gettext documentation, section 'Preparing Strings'.
# - Strings which use unclear terms or require additional context to be
#   understood.
# - Strings which make invalid assumptions about notation of date, time or
#   money.
# - Pluralisation problems.
# - Incorrect English spelling.
# - Incorrect formatting.
# It can be your email address, or a mailing list address where translators
# can write to without being subscribed, or the URL of a web page through
# which the translators can contact you.
MSGID_BUGS_ADDRESS = flex-devel@@lists.sourceforge.net

# This is the list of locale categories, beyond LC_MESSAGES, for which the
# message catalogs shall be used.  It is usually empty.
EXTRA_LOCALE_CATEGORIES =

.SUFFIXES:
.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update

.po.mo:
	@@echo "$(MSGFMT) -c -o $@@ $<"; \
	$(MSGFMT) -c -o t-$@@ $< && mv t-$@@ $@@

.po.gmo:
	@@lang=`echo $* | sed -e 's,.*/,,'`; \
	test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
	echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
	cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo

.sin.sed:
	sed -e '/^#/d' $< > t-$@@
	mv t-$@@ $@@


all: check-macro-version all-no

all-yes: stamp-po
all-no:

# Ensure that the gettext macros and this Makefile.in.in are in sync.
check-macro-version:
	@@test "$(GETTEXT_MACRO_VERSION)" = "0.18" \
	  || { echo "*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version $(GETTEXT_MACRO_VERSION) but the autoconf macros are from gettext version 0.18" 1>&2; \
	       exit 1; \
	     }

# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
# we don't want to bother translators with empty POT files). We assume that
# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
# In this case, stamp-po is a nop (i.e. a phony target).

# stamp-po is a timestamp denoting the last time at which the CATALOGS have
# been loosely updated. Its purpose is that when a developer or translator
# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
# invocations of "make" will do nothing. This timestamp would not be necessary
# if updating the $(CATALOGS) would always touch them; however, the rule for
# $(POFILES) has been designed to not touch files that don't need to be
# changed.
stamp-po: $(srcdir)/$(DOMAIN).pot
	test ! -f $(srcdir)/$(DOMAIN).pot || \
	  test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
	@@test ! -f $(srcdir)/$(DOMAIN).pot || { \
	  echo "touch stamp-po" && \
	  echo timestamp > stamp-poT && \
	  mv stamp-poT stamp-po; \
	}

# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
# otherwise packages like GCC can not be built if only parts of the source
# have been downloaded.

# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
	if LC_ALL=C grep 'GNU flex' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
	  package_gnu='GNU '; \
	else \
	  package_gnu=''; \
	fi; \
	if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@@'PACKAGE_BUGREPORT'@@'; then \
	  msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
	else \
	  msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
	fi; \
	case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
	  '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
	    $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
	      --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS)  \
	      --files-from=$(srcdir)/POTFILES.in \
	      --copyright-holder='$(COPYRIGHT_HOLDER)' \
	      --msgid-bugs-address="$$msgid_bugs_address" \
	    ;; \
	  *) \
	    $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
	      --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS)  \
	      --files-from=$(srcdir)/POTFILES.in \
	      --copyright-holder='$(COPYRIGHT_HOLDER)' \
	      --package-name="$${package_gnu}flex" \
	      --package-version='2.5.39' \
	      --msgid-bugs-address="$$msgid_bugs_address" \
	    ;; \
	esac
	test ! -f $(DOMAIN).po || { \
	  if test -f $(srcdir)/$(DOMAIN).pot; then \
	    sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
	    sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
	    if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
	      rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
	    else \
	      rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
	      mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
	    fi; \
	  else \
	    mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
	  fi; \
	}

# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
# every "make" invocation, only create it when it is missing.
# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
$(srcdir)/$(DOMAIN).pot:
	$(MAKE) $(DOMAIN).pot-update

# This target rebuilds a PO file if $(DOMAIN).pot has changed.
# Note that a PO file is not touched if it doesn't need to be changed.
$(POFILES): $(srcdir)/$(DOMAIN).pot
	@@lang=`echo $@@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
	if test -f "$(srcdir)/$${lang}.po"; then \
	  test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
	  echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
	  cd $(srcdir) \
	    && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
	           '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
	             $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
	           *) \
	             $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
	         esac; \
	       }; \
	else \
	  $(MAKE) $${lang}.po-create; \
	fi


install: install-exec install-data
install-exec:
install-data: install-data-no
	if test "$(PACKAGE)" = "gettext-tools"; then \
	  $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \
	  for file in $(DISTFILES.common) Makevars.template; do \
	    $(INSTALL_DATA) $(srcdir)/$$file \
			    $(DESTDIR)$(gettextsrcdir)/$$file; \
	  done; \
	  for file in Makevars; do \
	    rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
	  done; \
	else \
	  : ; \
	fi
install-data-no: all
install-data-yes: all
	@@catalogs='$(CATALOGS)'; \
	for cat in $$catalogs; do \
	  cat=`basename $$cat`; \
	  lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
	  dir=$(localedir)/$$lang/LC_MESSAGES; \
	  $(mkdir_p) $(DESTDIR)$$dir; \
	  if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
	  $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
	  echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
	  for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
	    if test -n "$$lc"; then \
	      if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
	        link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
	        mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
	        mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
	        (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
	         for file in *; do \
	           if test -f $$file; then \
	             ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
	           fi; \
	         done); \
	        rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
	      else \
	        if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
	          :; \
	        else \
	          rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
	          mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
	        fi; \
	      fi; \
	      rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
	      ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
	      ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
	      cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
	      echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
	    fi; \
	  done; \
	done

install-strip: install

installdirs: installdirs-exec installdirs-data
installdirs-exec:
installdirs-data: installdirs-data-no
	if test "$(PACKAGE)" = "gettext-tools"; then \
	  $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \
	else \
	  : ; \
	fi
installdirs-data-no:
installdirs-data-yes:
	@@catalogs='$(CATALOGS)'; \
	for cat in $$catalogs; do \
	  cat=`basename $$cat`; \
	  lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
	  dir=$(localedir)/$$lang/LC_MESSAGES; \
	  $(mkdir_p) $(DESTDIR)$$dir; \
	  for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
	    if test -n "$$lc"; then \
	      if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
	        link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
	        mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
	        mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
	        (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
	         for file in *; do \
	           if test -f $$file; then \
	             ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
	           fi; \
	         done); \
	        rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
	      else \
	        if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
	          :; \
	        else \
	          rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
	          mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
	        fi; \
	      fi; \
	    fi; \
	  done; \
	done

# Define this as empty until I found a useful application.
installcheck:

uninstall: uninstall-exec uninstall-data
uninstall-exec:
uninstall-data: uninstall-data-no
	if test "$(PACKAGE)" = "gettext-tools"; then \
	  for file in $(DISTFILES.common) Makevars.template; do \
	    rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
	  done; \
	else \
	  : ; \
	fi
uninstall-data-no:
uninstall-data-yes:
	catalogs='$(CATALOGS)'; \
	for cat in $$catalogs; do \
	  cat=`basename $$cat`; \
	  lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
	  for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
	    rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
	  done; \
	done

check: all

info dvi ps pdf html tags TAGS ctags CTAGS ID:

mostlyclean:
	rm -f remove-potcdate.sed
	rm -f stamp-poT
	rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
	rm -fr *.o

clean: mostlyclean

distclean: clean
	rm -f Makefile Makefile.in POTFILES *.mo

maintainer-clean: distclean
	@@echo "This command is intended for maintainers to use;"
	@@echo "it deletes files that may require special tools to rebuild."
	rm -f stamp-po $(GMOFILES)

distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
dist distdir:
	$(MAKE) update-po
	@@$(MAKE) dist2
# This is a separate target because 'update-po' must be executed before.
dist2: stamp-po $(DISTFILES)
	dists="$(DISTFILES)"; \
	if test "$(PACKAGE)" = "gettext-tools"; then \
	  dists="$$dists Makevars.template"; \
	fi; \
	if test -f $(srcdir)/$(DOMAIN).pot; then \
	  dists="$$dists $(DOMAIN).pot stamp-po"; \
	fi; \
	if test -f $(srcdir)/ChangeLog; then \
	  dists="$$dists ChangeLog"; \
	fi; \
	for i in 0 1 2 3 4 5 6 7 8 9; do \
	  if test -f $(srcdir)/ChangeLog.$$i; then \
	    dists="$$dists ChangeLog.$$i"; \
	  fi; \
	done; \
	if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \
	for file in $$dists; do \
	  if test -f $$file; then \
	    cp -p $$file $(distdir) || exit 1; \
	  else \
	    cp -p $(srcdir)/$$file $(distdir) || exit 1; \
	  fi; \
	done

update-po: Makefile
	$(MAKE) $(DOMAIN).pot-update
	test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
	$(MAKE) update-gmo

# General rule for creating PO files.

.nop.po-create:
	@@lang=`echo $@@ | sed -e 's/\.po-create$$//'`; \
	echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
	exit 1

# General rule for updating PO files.

.nop.po-update:
	@@lang=`echo $@@ | sed -e 's/\.po-update$$//'`; \
	if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \
	tmpdir=`pwd`; \
	echo "$$lang:"; \
	test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
	echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
	cd $(srcdir); \
	if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
	       '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
	         $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
	       *) \
	         $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
	     esac; \
	   }; then \
	  if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
	    rm -f $$tmpdir/$$lang.new.po; \
	  else \
	    if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
	      :; \
	    else \
	      echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
	      exit 1; \
	    fi; \
	  fi; \
	else \
	  echo "msgmerge for $$lang.po failed!" 1>&2; \
	  rm -f $$tmpdir/$$lang.new.po; \
	fi

$(DUMMYPOFILES):

update-gmo: Makefile $(GMOFILES)
	@@:

# Recreate Makefile by invoking config.status. Explicitly invoke the shell,
# because execution permission bits may not work on the current file system.
# Use /bin/sh, which is the shell determined by autoconf for the use by its
# scripts, not $(SHELL) which is hardwired to /bin/sh and may be deficient.
Makefile: Makefile.in.in Makevars $(top_builddir)/config.status POTFILES.in LINGUAS
	cd $(top_builddir) \
	  && /bin/sh ./config.status $(subdir)/$@@.in po-directories

force:

# Tell versions [3.59,3.63) of GNU make not to export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
# Special Makefile rules for English message catalogs with quotation marks.

DISTFILES.common.extra1 = quot.sed boldquot.sed en@@quot.header en@@boldquot.header insert-header.sin Rules-quot

.SUFFIXES: .insert-header .po-update-en

en@@quot.po-create:
	$(MAKE) en@@quot.po-update
en@@boldquot.po-create:
	$(MAKE) en@@boldquot.po-update

en@@quot.po-update: en@@quot.po-update-en
en@@boldquot.po-update: en@@boldquot.po-update-en

.insert-header.po-update-en:
	@@lang=`echo $@@ | sed -e 's/\.po-update-en$$//'`; \
	if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \
	tmpdir=`pwd`; \
	echo "$$lang:"; \
	ll=`echo $$lang | sed -e 's/@@.*//'`; \
	LC_ALL=C; export LC_ALL; \
	cd $(srcdir); \
	if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \
	  if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
	    rm -f $$tmpdir/$$lang.new.po; \
	  else \
	    if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
	      :; \
	    else \
	      echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
	      exit 1; \
	    fi; \
	  fi; \
	else \
	  echo "creation of $$lang.po failed!" 1>&2; \
	  rm -f $$tmpdir/$$lang.new.po; \
	fi

en@@quot.insert-header: insert-header.sin
	sed -e '/^#/d' -e 's/HEADER/en@@quot.header/g' $(srcdir)/insert-header.sin > en@@quot.insert-header

en@@boldquot.insert-header: insert-header.sin
	sed -e '/^#/d' -e 's/HEADER/en@@boldquot.header/g' $(srcdir)/insert-header.sin > en@@boldquot.insert-header

mostlyclean: mostlyclean-quot
mostlyclean-quot:
	rm -f *.insert-header
@


