Imported Upstream version 0.19.7
[platform/upstream/gettext.git] / gettext-tools / examples / po / Makefile.in
1 # Makefile.in generated by automake 1.15 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
5
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18   if test -z '$(MAKELEVEL)'; then \
19     false; \
20   elif test -n '$(MAKE_HOST)'; then \
21     true; \
22   elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23     true; \
24   else \
25     false; \
26   fi; \
27 }
28 am__make_running_with_option = \
29   case $${target_option-} in \
30       ?) ;; \
31       *) echo "am__make_running_with_option: internal error: invalid" \
32               "target option '$${target_option-}' specified" >&2; \
33          exit 1;; \
34   esac; \
35   has_opt=no; \
36   sane_makeflags=$$MAKEFLAGS; \
37   if $(am__is_gnu_make); then \
38     sane_makeflags=$$MFLAGS; \
39   else \
40     case $$MAKEFLAGS in \
41       *\\[\ \   ]*) \
42         bs=\\; \
43         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44           | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
45     esac; \
46   fi; \
47   skip_next=no; \
48   strip_trailopt () \
49   { \
50     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51   }; \
52   for flg in $$sane_makeflags; do \
53     test $$skip_next = yes && { skip_next=no; continue; }; \
54     case $$flg in \
55       *=*|--*) continue;; \
56         -*I) strip_trailopt 'I'; skip_next=yes;; \
57       -*I?*) strip_trailopt 'I';; \
58         -*O) strip_trailopt 'O'; skip_next=yes;; \
59       -*O?*) strip_trailopt 'O';; \
60         -*l) strip_trailopt 'l'; skip_next=yes;; \
61       -*l?*) strip_trailopt 'l';; \
62       -[dEDm]) skip_next=yes;; \
63       -[JT]) skip_next=yes;; \
64     esac; \
65     case $$flg in \
66       *$$target_option*) has_opt=yes; break;; \
67     esac; \
68   done; \
69   test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 subdir = po
89 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
90 am__aclocal_m4_deps = $(top_srcdir)/../../m4/fixautomake.m4 \
91         $(top_srcdir)/../../gettext-runtime/m4/nls.m4 \
92         $(top_srcdir)/../../gettext-runtime/m4/po.m4 \
93         $(top_srcdir)/../../gettext-runtime/m4/progtest.m4 \
94         $(top_srcdir)/configure.ac
95 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
96         $(ACLOCAL_M4)
97 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
98 mkinstalldirs = $(SHELL) $(top_srcdir)/../../build-aux/mkinstalldirs
99 CONFIG_CLEAN_FILES =
100 CONFIG_CLEAN_VPATH_FILES =
101 AM_V_P = $(am__v_P_@AM_V@)
102 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
103 am__v_P_0 = false
104 am__v_P_1 = :
105 AM_V_GEN = $(am__v_GEN_@AM_V@)
106 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
107 am__v_GEN_0 = @echo "  GEN     " $@;
108 am__v_GEN_1 = 
109 AM_V_at = $(am__v_at_@AM_V@)
110 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
111 am__v_at_0 = @
112 am__v_at_1 = 
113 SOURCES =
114 DIST_SOURCES =
115 am__can_run_installinfo = \
116   case $$AM_UPDATE_INFO_DIR in \
117     n|no|NO) false;; \
118     *) (install-info --version) >/dev/null 2>&1;; \
119   esac
120 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
121 am__DIST_COMMON = $(srcdir)/Makefile.in \
122         $(top_srcdir)/../../build-aux/mkinstalldirs
123 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
124 ACLOCAL = @ACLOCAL@
125 AMTAR = @AMTAR@
126 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
127 AUTOCONF = @AUTOCONF@
128 AUTOHEADER = @AUTOHEADER@
129 AUTOMAKE = @AUTOMAKE@
130 AWK = @AWK@
131 CYGPATH_W = @CYGPATH_W@
132 DEFS = @DEFS@
133 ECHO_C = @ECHO_C@
134 ECHO_N = @ECHO_N@
135 ECHO_T = @ECHO_T@
136 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
137 GMSGFMT = @GMSGFMT@
138 GMSGFMT_015 = @GMSGFMT_015@
139 INSTALL = @INSTALL@
140 INSTALL_DATA = @INSTALL_DATA@
141 INSTALL_PROGRAM = @INSTALL_PROGRAM@
142 INSTALL_SCRIPT = @INSTALL_SCRIPT@
143 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
144 LIBOBJS = @LIBOBJS@
145 LIBS = @LIBS@
146 LTLIBOBJS = @LTLIBOBJS@
147 MAKEINFO = @MAKEINFO@
148 MKDIR_P = @MKDIR_P@
149 MSGFMT = @MSGFMT@
150 MSGFMT_015 = @MSGFMT_015@
151 MSGMERGE = msgmerge
152 PACKAGE = @PACKAGE@
153 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
154 PACKAGE_NAME = @PACKAGE_NAME@
155 PACKAGE_STRING = @PACKAGE_STRING@
156 PACKAGE_TARNAME = @PACKAGE_TARNAME@
157 PACKAGE_URL = @PACKAGE_URL@
158 PACKAGE_VERSION = @PACKAGE_VERSION@
159 PATH_SEPARATOR = @PATH_SEPARATOR@
160 SED = @SED@
161 SET_MAKE = @SET_MAKE@
162 SHELL = @SHELL@
163 STRIP = @STRIP@
164 USE_NLS = @USE_NLS@
165 VERSION = @VERSION@
166 XGETTEXT = @XGETTEXT@
167 XGETTEXT_015 = @XGETTEXT_015@
168 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
169 abs_builddir = @abs_builddir@
170 abs_srcdir = @abs_srcdir@
171 abs_top_builddir = @abs_top_builddir@
172 abs_top_srcdir = @abs_top_srcdir@
173 aclocaldir = @aclocaldir@
174 am__leading_dot = @am__leading_dot@
175 am__tar = @am__tar@
176 am__untar = @am__untar@
177 bindir = @bindir@
178 build_alias = @build_alias@
179 builddir = @builddir@
180 datadir = @datadir@
181 datarootdir = @datarootdir@
182 docdir = @docdir@
183 dvidir = @dvidir@
184 exec_prefix = @exec_prefix@
185 host_alias = @host_alias@
186 htmldir = @htmldir@
187 includedir = @includedir@
188 infodir = @infodir@
189 install_sh = @install_sh@
190 libdir = @libdir@
191 libexecdir = @libexecdir@
192 localedir = @localedir@
193 localstatedir = @localstatedir@
194 mandir = @mandir@
195 mkdir_p = @mkdir_p@
196 oldincludedir = @oldincludedir@
197 pdfdir = @pdfdir@
198 prefix = @prefix@
199 program_transform_name = @program_transform_name@
200 psdir = @psdir@
201 runstatedir = @runstatedir@
202 sbindir = @sbindir@
203 sharedstatedir = @sharedstatedir@
204 srcdir = @srcdir@
205 sysconfdir = @sysconfdir@
206 target_alias = @target_alias@
207 top_build_prefix = @top_build_prefix@
208 top_builddir = @top_builddir@
209 top_srcdir = @top_srcdir@
210 AUTOMAKE_OPTIONS = 1.5 gnits
211
212 # List of files which contain translatable strings.
213 POTFILES = \
214   hello-c/hello.c \
215   hello-c-gnome/hello.c \
216   hello-c-gnome3/hello.c \
217   hello-c-gnome3/hello.desktop.in.in \
218   hello-c-gnome3/hello.gschema.xml \
219   hello-c-gnome3/hello.ui \
220   hello-c++/hello.cc \
221   hello-c++-qt/hello.cc \
222   hello-c++-kde/hello.cc \
223   hello-c++-kde/hellowindow.h \
224   hello-c++-kde/hellowindow.cc \
225   hello-c++-gnome/hello.cc \
226   hello-c++-wxwidgets/hello.cc \
227   hello-objc/hello.m \
228   hello-objc-gnustep/main.m \
229   hello-objc-gnustep/AppController.h \
230   hello-objc-gnustep/AppController.m \
231   hello-objc-gnustep/Hello.h \
232   hello-objc-gnustep/Hello.m \
233   hello-objc-gnome/hello.m \
234   hello-sh/hello.sh \
235   hello-python/hello.py.in \
236   hello-clisp/hello.lisp.in \
237   hello-librep/hello.jl.in \
238   hello-guile/hello.scm \
239   hello-smalltalk/hello.st.in \
240   hello-java/Hello.java \
241   hello-java-awt/Hello.java \
242   hello-java-swing/Hello.java \
243   hello-java-qtjambi/Hello.java \
244   hello-csharp/hello.cs \
245   hello-csharp-forms/hello.cs \
246   hello-gawk/hello.awk \
247   hello-pascal/hello.pas \
248   hello-ycp/hello.ycp \
249   hello-tcl/hello.tcl \
250   hello-tcl-tk/hello.tcl \
251   hello-perl/hello-1.pl.in \
252   hello-perl/hello-2.pl.in \
253   hello-php/hello.php
254
255
256 # List of small POT files.
257 SMALLPOTS = \
258   hello-c.pot \
259   hello-c-gnome.pot \
260   hello-c-gnome3.pot \
261   hello-c++.pot \
262   hello-c++-qt.pot \
263   hello-c++-kde.pot \
264   hello-c++-gnome.pot \
265   hello-c++-wxwidgets.pot \
266   hello-objc.pot \
267   hello-objc-gnustep.pot \
268   hello-objc-gnome.pot \
269   hello-sh.pot \
270   hello-python.pot \
271   hello-clisp.pot \
272   hello-librep.pot \
273   hello-guile.pot \
274   hello-smalltalk.pot \
275   hello-java.pot \
276   hello-java-awt.pot \
277   hello-java-swing.pot \
278   hello-java-qtjambi.pot \
279   hello-csharp.pot \
280   hello-csharp-forms.pot \
281   hello-gawk.pot \
282   hello-pascal.pot \
283   hello-ycp.pot \
284   hello-tcl.pot \
285   hello-tcl-tk.pot \
286   hello-perl.pot \
287   hello-php.pot
288
289
290 # This is a synthetic domain name.
291 DOMAIN = gettext-examples
292
293 # This is the copyright holder that gets inserted into the header of the
294 # $(DOMAIN).pot file.  Set this to the copyright holder of the surrounding
295 # package.  (Note that the msgstr strings, extracted from the package's
296 # sources, belong to the copyright holder of the package.)  Translators are
297 # expected to transfer the copyright for their translations to this person
298 # or entity, or to disclaim their copyright.  The empty string stands for
299 # the public domain; in this case the translators are expected to disclaim
300 # their copyright.
301 COPYRIGHT_HOLDER = Yoyodyne, Inc.
302
303 # This is the email address or URL to which the translators shall report
304 # bugs in the untranslated strings:
305 # - Strings which are not entire sentences, see the maintainer guidelines
306 #   in the GNU gettext documentation, section 'Preparing Strings'.
307 # - Strings which use unclear terms or require additional context to be
308 #   understood.
309 # - Strings which make invalid assumptions about notation of date, time or
310 #   money.
311 # - Pluralisation problems.
312 # - Incorrect English spelling.
313 # - Incorrect formatting.
314 # It can be your email address, or a mailing list address where translators
315 # can write to without being subscribed, or the URL of a web page through
316 # which the translators can contact you.
317 MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
318
319 # This is the list of locale categories, beyond LC_MESSAGES, for which the
320 # message catalogs shall be used.  It is usually empty.
321 EXTRA_LOCALE_CATEGORIES = 
322
323 # These options get passed to msgmerge.
324 # Useful options are in particular:
325 #   --previous            to keep previous msgids of translated messages,
326 #   --quiet               to reduce the verbosity.
327 MSGMERGE_OPTIONS = --quiet
328 MSGMERGE_UPDATE = @MSGMERGE@ --update
329 MSGINIT = msginit
330 MSGCONV = msgconv
331 MSGFILTER = msgfilter
332
333 # This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
334 POTFILES_DEPS = @POTFILES_DEPS@
335
336 # This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
337 POFILES = @POFILES@
338 # This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
339 UPDATEPOFILES = @UPDATEPOFILES@
340 # This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
341 DUMMYPOFILES = @DUMMYPOFILES@
342 SUFFIXES = .po .sed .sin .nop .po-update
343 MOSTLYCLEANFILES = remove-potcdate.sed stamp-poT core core.* \
344         *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po \
345         *.o
346 MAINTAINERCLEANFILES = stamp-po $(SMALLPOTS)
347 EXTRA_DIST = remove-potcdate.sin xsmallpot.sh mmsmallpo.sh LINGUAS \
348   $(POFILES)
349
350
351 # Rules for updating small PO files in the other directories.
352 # Depend on LL being set.
353 SMALLPOFILES_FOR_lang = \
354   ../hello-c/po/$$lang.po \
355   ../hello-c-gnome/po/$$lang.po \
356   ../hello-c-gnome3/po/$$lang.po \
357   ../hello-c++/po/$$lang.po \
358   ../hello-c++-qt/po/$$lang.po \
359   ../hello-c++-kde/po/$$lang.po \
360   ../hello-c++-gnome/po/$$lang.po \
361   ../hello-c++-wxwidgets/po/$$lang.po \
362   ../hello-objc/po/$$lang.po \
363   ../hello-objc-gnustep/po/$$lang.po \
364   ../hello-objc-gnome/po/$$lang.po \
365   ../hello-sh/po/$$lang.po \
366   ../hello-python/po/$$lang.po \
367   ../hello-clisp/po/$$lang.po \
368   ../hello-librep/po/$$lang.po \
369   ../hello-guile/po/$$lang.po \
370   ../hello-smalltalk/po/$$lang.po \
371   ../hello-java/po/$$lang.po \
372   ../hello-java-awt/po/$$lang.po \
373   ../hello-java-swing/po/$$lang.po \
374   ../hello-java-qtjambi/po/$$lang.po \
375   ../hello-csharp/po/$$lang.po \
376   ../hello-csharp-forms/po/$$lang.po \
377   ../hello-gawk/po/$$lang.po \
378   ../hello-pascal/po/$$lang.po \
379   ../hello-ycp/po/$$lang.po \
380   ../hello-tcl/po/$$lang.po \
381   ../hello-tcl-tk/po/$$lang.po \
382   ../hello-perl/po/$$lang.po \
383   ../hello-php/po/$$lang.po
384
385 all: all-am
386
387 .SUFFIXES:
388 .SUFFIXES: .po .sed .sin .nop .po-update
389 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
390         @for dep in $?; do \
391           case '$(am__configure_deps)' in \
392             *$$dep*) \
393               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
394                 && { if test -f $@; then exit 0; else break; fi; }; \
395               exit 1;; \
396           esac; \
397         done; \
398         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits po/Makefile'; \
399         $(am__cd) $(top_srcdir) && \
400           $(AUTOMAKE) --gnits po/Makefile
401 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
402         @case '$?' in \
403           *config.status*) \
404             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
405           *) \
406             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
407             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
408         esac;
409
410 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
411         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
412
413 $(top_srcdir)/configure:  $(am__configure_deps)
414         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
415 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
416         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
417 $(am__aclocal_m4_deps):
418 tags TAGS:
419
420 ctags CTAGS:
421
422 cscope cscopelist:
423
424
425 distdir: $(DISTFILES)
426         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
427         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
428         list='$(DISTFILES)'; \
429           dist_files=`for file in $$list; do echo $$file; done | \
430           sed -e "s|^$$srcdirstrip/||;t" \
431               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
432         case $$dist_files in \
433           */*) $(MKDIR_P) `echo "$$dist_files" | \
434                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
435                            sort -u` ;; \
436         esac; \
437         for file in $$dist_files; do \
438           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
439           if test -d $$d/$$file; then \
440             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
441             if test -d "$(distdir)/$$file"; then \
442               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
443             fi; \
444             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
445               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
446               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
447             fi; \
448             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
449           else \
450             test -f "$(distdir)/$$file" \
451             || cp -p $$d/$$file "$(distdir)/$$file" \
452             || exit 1; \
453           fi; \
454         done
455 check-am: all-am
456 check: check-am
457 all-am: Makefile all-local
458 installdirs:
459 install: install-am
460 install-exec: install-exec-am
461 install-data: install-data-am
462 uninstall: uninstall-am
463
464 install-am: all-am
465         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
466
467 installcheck: installcheck-am
468 install-strip:
469         if test -z '$(STRIP)'; then \
470           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
471             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
472               install; \
473         else \
474           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
475             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
476             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
477         fi
478 mostlyclean-generic:
479         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
480
481 clean-generic:
482
483 distclean-generic:
484         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
485         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
486
487 maintainer-clean-generic:
488         @echo "This command is intended for maintainers to use"
489         @echo "it deletes files that may require special tools to rebuild."
490         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
491 clean: clean-am
492
493 clean-am: clean-generic mostlyclean-am
494
495 distclean: distclean-am
496         -rm -f Makefile
497 distclean-am: clean-am distclean-generic
498
499 dvi: dvi-am
500
501 dvi-am:
502
503 html: html-am
504
505 html-am:
506
507 info: info-am
508
509 info-am:
510
511 install-data-am:
512
513 install-dvi: install-dvi-am
514
515 install-dvi-am:
516
517 install-exec-am:
518
519 install-html: install-html-am
520
521 install-html-am:
522
523 install-info: install-info-am
524
525 install-info-am:
526
527 install-man:
528
529 install-pdf: install-pdf-am
530
531 install-pdf-am:
532
533 install-ps: install-ps-am
534
535 install-ps-am:
536
537 installcheck-am:
538
539 maintainer-clean: maintainer-clean-am
540         -rm -f Makefile
541 maintainer-clean-am: distclean-am maintainer-clean-generic
542
543 mostlyclean: mostlyclean-am
544
545 mostlyclean-am: mostlyclean-generic
546
547 pdf: pdf-am
548
549 pdf-am:
550
551 ps: ps-am
552
553 ps-am:
554
555 uninstall-am:
556
557 .MAKE: install-am install-strip
558
559 .PHONY: all all-am all-local check check-am clean clean-generic \
560         cscopelist-am ctags-am distclean distclean-generic distdir dvi \
561         dvi-am html html-am info info-am install install-am \
562         install-data install-data-am install-dvi install-dvi-am \
563         install-exec install-exec-am install-html install-html-am \
564         install-info install-info-am install-man install-pdf \
565         install-pdf-am install-ps install-ps-am install-strip \
566         installcheck installcheck-am installdirs maintainer-clean \
567         maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
568         pdf-am ps ps-am tags-am uninstall uninstall-am
569
570 .PRECIOUS: Makefile
571
572
573 .sin.sed:
574         sed -e '/^#/d' $< > t-$@
575         mv t-$@ $@
576
577 all-local: all-local-@USE_NLS@
578
579 all-local-yes: stamp-po
580 all-local-no:
581
582 # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
583 # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
584 # we don't want to bother translators with empty POT files). We assume that
585 # LINGUAS is empty in this case, i.e. $(POFILES) is empty. In this case,
586 # stamp-po is a nop (i.e. a phony target).
587
588 # stamp-po is a timestamp denoting the last time at which the CATALOGS have
589 # been loosely updated. Its purpose is that when a developer or translator
590 # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
591 # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
592 # invocations of "make" will do nothing. This timestamp would not be necessary
593 # if updating the $(CATALOGS) would always touch them; however, the rule for
594 # $(POFILES) has been designed to not touch files that don't need to be
595 # changed.
596 stamp-po: $(srcdir)/$(DOMAIN).pot
597         @test ! -f $(srcdir)/$(DOMAIN).pot || { \
598           echo "touch stamp-po" && \
599           echo timestamp > stamp-poT && \
600           mv stamp-poT stamp-po; \
601         }
602
603 # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
604 # otherwise packages like GCC can not be built if only parts of the source
605 # have been downloaded.
606
607 # This target rebuilds $(DOMAIN).pot; it is an expensive operation.
608 # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
609 $(DOMAIN).pot-update: $(POTFILES_DEPS) $(SMALLPOTS) remove-potcdate.sed
610         if test -n '$(MSGID_BUGS_ADDRESS)'; then \
611           msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
612         else \
613           msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
614         fi; \
615         $(XGETTEXT) --default-domain=$(DOMAIN) \
616           --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \
617           --copyright-holder='$(COPYRIGHT_HOLDER)' \
618           --msgid-bugs-address="$$msgid_bugs_address" \
619           --directory='$(srcdir)' \
620           $(SMALLPOTS)
621         test ! -f $(DOMAIN).po || { \
622           if test -f $(srcdir)/$(DOMAIN).pot; then \
623             sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
624             sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
625             if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
626               rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
627             else \
628               rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
629               mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
630             fi; \
631           else \
632             mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
633           fi; \
634         }
635
636 hello-c.pot : $(POTFILES_DEPS)
637         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c
638
639 hello-c-gnome.pot : $(POTFILES_DEPS)
640         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c-gnome
641
642 hello-c-gnome3.pot : $(POTFILES_DEPS)
643         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c-gnome3
644
645 hello-c++.pot : $(POTFILES_DEPS)
646         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c++
647
648 hello-c++-qt.pot : $(POTFILES_DEPS)
649         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c++-qt
650
651 hello-c++-kde.pot : $(POTFILES_DEPS)
652         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c++-kde
653
654 hello-c++-gnome.pot : $(POTFILES_DEPS)
655         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c++-gnome
656
657 hello-c++-wxwidgets.pot : $(POTFILES_DEPS)
658         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c++-wxwidgets
659
660 hello-objc.pot : $(POTFILES_DEPS)
661         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-objc
662
663 hello-objc-gnustep.pot : $(POTFILES_DEPS)
664         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-objc-gnustep
665
666 hello-objc-gnome.pot : $(POTFILES_DEPS)
667         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-objc-gnome
668
669 hello-sh.pot : $(POTFILES_DEPS)
670         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-sh
671
672 hello-python.pot : $(POTFILES_DEPS)
673         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-python
674
675 hello-clisp.pot : $(POTFILES_DEPS)
676         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-clisp
677
678 hello-librep.pot : $(POTFILES_DEPS)
679         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-librep
680
681 hello-guile.pot : $(POTFILES_DEPS)
682         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-guile
683
684 hello-smalltalk.pot : $(POTFILES_DEPS)
685         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-smalltalk
686
687 hello-java.pot : $(POTFILES_DEPS)
688         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-java
689
690 hello-java-awt.pot : $(POTFILES_DEPS)
691         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-java-awt
692
693 hello-java-swing.pot : $(POTFILES_DEPS)
694         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-java-swing
695
696 hello-java-qtjambi.pot : $(POTFILES_DEPS)
697         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-java-qtjambi
698
699 hello-csharp.pot : $(POTFILES_DEPS)
700         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-csharp
701
702 hello-csharp-forms.pot : $(POTFILES_DEPS)
703         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-csharp-forms
704
705 hello-gawk.pot : $(POTFILES_DEPS)
706         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-gawk
707
708 hello-pascal.pot : $(POTFILES_DEPS)
709         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-pascal
710
711 hello-ycp.pot : $(POTFILES_DEPS)
712         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-ycp
713
714 hello-tcl.pot : $(POTFILES_DEPS)
715         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-tcl
716
717 hello-tcl-tk.pot : $(POTFILES_DEPS)
718         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-tcl-tk
719
720 hello-perl.pot : $(POTFILES_DEPS)
721         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-perl
722
723 hello-php.pot : $(POTFILES_DEPS)
724         $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-php
725
726 # This rule has no dependencies: we don't need to update $(DOMAIN).pot at
727 # every "make" invocation, only create it when it is missing.
728 # Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
729 $(srcdir)/$(DOMAIN).pot:
730         $(MAKE) $(DOMAIN).pot-update
731
732 # This target rebuilds a PO file if $(DOMAIN).pot has changed.
733 # Note that a PO file is not touched if it doesn't need to be changed.
734 $(POFILES): $(srcdir)/$(DOMAIN).pot
735         @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
736         test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
737         echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot"; \
738         cd $(srcdir) && $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot
739
740 html ID:
741
742 # Hidden from automake, but really activated. Works around an automake-1.5 bug.
743 #distdir: distdir1
744 distdir1:
745         if test -f $(srcdir)/$(DOMAIN).pot; then \
746           for file in $(DOMAIN).pot stamp-po $(SMALLPOTS); do \
747             if test -f $$file; then d=.; else d=$(srcdir); fi; \
748             cp -p $$d/$$file $(distdir)/$$file || exit 1; \
749           done; \
750         fi
751
752 update-po: Makefile
753         $(MAKE) $(DOMAIN).pot-update
754         test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
755
756 # General rule for updating PO files.
757
758 .nop.po-update:
759         @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
760         tmpdir=`pwd`; \
761         echo "$$lang:"; \
762         test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
763         echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
764         cd $(srcdir); \
765         if $(MSGMERGE) $(MSGMERGE_OPTIONS) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \
766           if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
767             rm -f $$tmpdir/$$lang.new.po; \
768           else \
769             if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
770               :; \
771             else \
772               echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
773               exit 1; \
774             fi; \
775           fi; \
776           $(MAKE) $(SMALLPOFILES_FOR_lang) LL=$$lang; \
777         else \
778           echo "msgmerge for $$lang.po failed!" 1>&2; \
779           rm -f $$tmpdir/$$lang.new.po; \
780         fi
781
782 $(DUMMYPOFILES):
783
784 ../hello-c/po/$(LL).po: hello-c.pot $(LL).po
785         $(SHELL) mmsmallpo.sh hello-c $(LL)
786
787 ../hello-c-gnome/po/$(LL).po: hello-c-gnome.pot $(LL).po
788         $(SHELL) mmsmallpo.sh hello-c-gnome $(LL)
789
790 ../hello-c-gnome3/po/$(LL).po: hello-c-gnome3.pot $(LL).po
791         $(SHELL) mmsmallpo.sh hello-c-gnome3 $(LL)
792
793 ../hello-c++/po/$(LL).po: hello-c++.pot $(LL).po
794         $(SHELL) mmsmallpo.sh hello-c++ $(LL)
795
796 ../hello-c++-qt/po/$(LL).po: hello-c++-qt.pot $(LL).po
797         $(SHELL) mmsmallpo.sh hello-c++-qt $(LL)
798
799 ../hello-c++-kde/po/$(LL).po: hello-c++-kde.pot $(LL).po
800         $(SHELL) mmsmallpo.sh hello-c++-kde $(LL)
801
802 ../hello-c++-gnome/po/$(LL).po: hello-c++-gnome.pot $(LL).po
803         $(SHELL) mmsmallpo.sh hello-c++-gnome $(LL)
804
805 ../hello-c++-wxwidgets/po/$(LL).po: hello-c++-wxwidgets.pot $(LL).po
806         $(SHELL) mmsmallpo.sh hello-c++-wxwidgets $(LL)
807
808 ../hello-objc/po/$(LL).po: hello-objc.pot $(LL).po
809         $(SHELL) mmsmallpo.sh hello-objc $(LL)
810
811 ../hello-objc-gnustep/po/$(LL).po: hello-objc-gnustep.pot $(LL).po
812         $(SHELL) mmsmallpo.sh hello-objc-gnustep $(LL)
813
814 ../hello-objc-gnome/po/$(LL).po: hello-objc-gnome.pot $(LL).po
815         $(SHELL) mmsmallpo.sh hello-objc-gnome $(LL)
816
817 ../hello-sh/po/$(LL).po: hello-sh.pot $(LL).po
818         $(SHELL) mmsmallpo.sh hello-sh $(LL)
819
820 ../hello-python/po/$(LL).po: hello-python.pot $(LL).po
821         $(SHELL) mmsmallpo.sh hello-python $(LL)
822
823 ../hello-clisp/po/$(LL).po: hello-clisp.pot $(LL).po
824         $(SHELL) mmsmallpo.sh hello-clisp $(LL)
825
826 ../hello-librep/po/$(LL).po: hello-librep.pot $(LL).po
827         $(SHELL) mmsmallpo.sh hello-librep $(LL)
828
829 ../hello-guile/po/$(LL).po: hello-guile.pot $(LL).po
830         $(SHELL) mmsmallpo.sh hello-guile $(LL)
831
832 ../hello-smalltalk/po/$(LL).po: hello-smalltalk.pot $(LL).po
833         $(SHELL) mmsmallpo.sh hello-smalltalk $(LL)
834
835 ../hello-java/po/$(LL).po: hello-java.pot $(LL).po
836         $(SHELL) mmsmallpo.sh hello-java $(LL)
837
838 ../hello-java-awt/po/$(LL).po: hello-java-awt.pot $(LL).po
839         $(SHELL) mmsmallpo.sh hello-java-awt $(LL)
840
841 ../hello-java-swing/po/$(LL).po: hello-java-swing.pot $(LL).po
842         $(SHELL) mmsmallpo.sh hello-java-swing $(LL)
843
844 ../hello-java-qtjambi/po/$(LL).po: hello-java-qtjambi.pot $(LL).po
845         $(SHELL) mmsmallpo.sh hello-java-qtjambi $(LL)
846
847 ../hello-csharp/po/$(LL).po: hello-csharp.pot $(LL).po
848         $(SHELL) mmsmallpo.sh hello-csharp $(LL)
849
850 ../hello-csharp-forms/po/$(LL).po: hello-csharp-forms.pot $(LL).po
851         $(SHELL) mmsmallpo.sh hello-csharp-forms $(LL)
852
853 ../hello-gawk/po/$(LL).po: hello-gawk.pot $(LL).po
854         $(SHELL) mmsmallpo.sh hello-gawk $(LL)
855
856 ../hello-pascal/po/$(LL).po: hello-pascal.pot $(LL).po
857         $(SHELL) mmsmallpo.sh hello-pascal $(LL)
858
859 ../hello-ycp/po/$(LL).po: hello-ycp.pot $(LL).po
860         $(SHELL) mmsmallpo.sh hello-ycp $(LL)
861
862 ../hello-tcl/po/$(LL).po: hello-tcl.pot $(LL).po
863         $(SHELL) mmsmallpo.sh hello-tcl $(LL)
864
865 ../hello-tcl-tk/po/$(LL).po: hello-tcl-tk.pot $(LL).po
866         $(SHELL) mmsmallpo.sh hello-tcl-tk $(LL)
867
868 ../hello-perl/po/$(LL).po: hello-perl.pot $(LL).po
869         $(SHELL) mmsmallpo.sh hello-perl $(LL)
870
871 ../hello-php/po/$(LL).po: hello-php.pot $(LL).po
872         $(SHELL) mmsmallpo.sh hello-php $(LL)
873
874 # Tell versions [3.59,3.63) of GNU make to not export all variables.
875 # Otherwise a system limit (for SysV at least) may be exceeded.
876 .NOEXPORT: