source: filezilla/trunk/fuentes/locales/Makefile.in @ 130

Last change on this file since 130 was 130, checked in by jrpelegrina, 4 years ago

First release to xenial

File size: 18.1 KB
Line 
1# Makefile.in generated by automake 1.14.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2013 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
17VPATH = @srcdir@
18am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
19am__make_running_with_option = \
20  case $${target_option-} in \
21      ?) ;; \
22      *) echo "am__make_running_with_option: internal error: invalid" \
23              "target option '$${target_option-}' specified" >&2; \
24         exit 1;; \
25  esac; \
26  has_opt=no; \
27  sane_makeflags=$$MAKEFLAGS; \
28  if $(am__is_gnu_make); then \
29    sane_makeflags=$$MFLAGS; \
30  else \
31    case $$MAKEFLAGS in \
32      *\\[\ \   ]*) \
33        bs=\\; \
34        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
35          | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
36    esac; \
37  fi; \
38  skip_next=no; \
39  strip_trailopt () \
40  { \
41    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
42  }; \
43  for flg in $$sane_makeflags; do \
44    test $$skip_next = yes && { skip_next=no; continue; }; \
45    case $$flg in \
46      *=*|--*) continue;; \
47        -*I) strip_trailopt 'I'; skip_next=yes;; \
48      -*I?*) strip_trailopt 'I';; \
49        -*O) strip_trailopt 'O'; skip_next=yes;; \
50      -*O?*) strip_trailopt 'O';; \
51        -*l) strip_trailopt 'l'; skip_next=yes;; \
52      -*l?*) strip_trailopt 'l';; \
53      -[dEDm]) skip_next=yes;; \
54      -[JT]) skip_next=yes;; \
55    esac; \
56    case $$flg in \
57      *$$target_option*) has_opt=yes; break;; \
58    esac; \
59  done; \
60  test $$has_opt = yes
61am__make_dryrun = (target_option=n; $(am__make_running_with_option))
62am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
63pkgdatadir = $(datadir)/@PACKAGE@
64pkgincludedir = $(includedir)/@PACKAGE@
65pkglibdir = $(libdir)/@PACKAGE@
66pkglibexecdir = $(libexecdir)/@PACKAGE@
67am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
68install_sh_DATA = $(install_sh) -c -m 644
69install_sh_PROGRAM = $(install_sh) -c
70install_sh_SCRIPT = $(install_sh) -c
71INSTALL_HEADER = $(INSTALL_DATA)
72transform = $(program_transform_name)
73NORMAL_INSTALL = :
74PRE_INSTALL = :
75POST_INSTALL = :
76NORMAL_UNINSTALL = :
77PRE_UNINSTALL = :
78POST_UNINSTALL = :
79build_triplet = @build@
80host_triplet = @host@
81subdir = locales
82DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
83        $(dist_noinst_DATA)
84ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
85am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_define.m4 \
86        $(top_srcdir)/m4/ax_check_link_flag.m4 \
87        $(top_srcdir)/m4/check_atomic.m4 \
88        $(top_srcdir)/m4/check_libc++.m4 \
89        $(top_srcdir)/m4/check_steady_clock.m4 \
90        $(top_srcdir)/m4/check_thread_local.m4 \
91        $(top_srcdir)/m4/check_time.m4 $(top_srcdir)/m4/cppunit.m4 \
92        $(top_srcdir)/m4/cxx_compile_stdcxx_14.m4 \
93        $(top_srcdir)/m4/d-type.m4 \
94        $(top_srcdir)/m4/fz_check_pugixml.m4 \
95        $(top_srcdir)/m4/fz_checkversion.m4 \
96        $(top_srcdir)/m4/icopyhookw.m4 $(top_srcdir)/m4/libtool.m4 \
97        $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
98        $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
99        $(top_srcdir)/m4/map_emplace.m4 $(top_srcdir)/m4/pkg.m4 \
100        $(top_srcdir)/m4/wxwin.m4 $(top_srcdir)/configure.ac
101am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
102        $(ACLOCAL_M4)
103mkinstalldirs = $(install_sh) -d
104CONFIG_HEADER = $(top_builddir)/src/include/config.h
105CONFIG_CLEAN_FILES =
106CONFIG_CLEAN_VPATH_FILES =
107AM_V_P = $(am__v_P_@AM_V@)
108am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
109am__v_P_0 = false
110am__v_P_1 = :
111AM_V_GEN = $(am__v_GEN_@AM_V@)
112am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
113am__v_GEN_0 = @echo "  GEN     " $@;
114am__v_GEN_1 =
115AM_V_at = $(am__v_at_@AM_V@)
116am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
117am__v_at_0 = @
118am__v_at_1 =
119SOURCES =
120DIST_SOURCES =
121am__can_run_installinfo = \
122  case $$AM_UPDATE_INFO_DIR in \
123    n|no|NO) false;; \
124    *) (install-info --version) >/dev/null 2>&1;; \
125  esac
126DATA = $(dist_noinst_DATA) $(noinst_DATA)
127am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
128DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
129ACLOCAL = @ACLOCAL@
130AMTAR = @AMTAR@
131AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
132AR = @AR@
133AUTOCONF = @AUTOCONF@
134AUTOHEADER = @AUTOHEADER@
135AUTOMAKE = @AUTOMAKE@
136AWK = @AWK@
137CC = @CC@
138CCDEPMODE = @CCDEPMODE@
139CFLAGS = @CFLAGS@
140CPP = @CPP@
141CPPFLAGS = @CPPFLAGS@
142CPPUNIT_CFLAGS = @CPPUNIT_CFLAGS@
143CPPUNIT_CONFIG = @CPPUNIT_CONFIG@
144CPPUNIT_LIBS = @CPPUNIT_LIBS@
145CXX = @CXX@
146CXXCPP = @CXXCPP@
147CXXDEPMODE = @CXXDEPMODE@
148CXXFLAGS = @CXXFLAGS@
149CYGPATH_W = @CYGPATH_W@
150DEFS = @DEFS@
151DEPDIR = @DEPDIR@
152DLLTOOL = @DLLTOOL@
153DSYMUTIL = @DSYMUTIL@
154DUMPBIN = @DUMPBIN@
155ECHO_C = @ECHO_C@
156ECHO_N = @ECHO_N@
157ECHO_T = @ECHO_T@
158EGREP = @EGREP@
159EXEEXT = @EXEEXT@
160FGREP = @FGREP@
161FILEZILLA_LINGUAS = @FILEZILLA_LINGUAS@
162FILEZILLA_LINGUAS_MO = @FILEZILLA_LINGUAS_MO@
163FILEZILLA_LINGUAS_PO = @FILEZILLA_LINGUAS_PO@
164FILEZILLA_LINGUAS_PO_NEW = @FILEZILLA_LINGUAS_PO_NEW@
165GREP = @GREP@
166HAVE_CXX14 = @HAVE_CXX14@
167IDN_LIB = @IDN_LIB@
168INSTALL = @INSTALL@
169INSTALL_DATA = @INSTALL_DATA@
170INSTALL_PROGRAM = @INSTALL_PROGRAM@
171INSTALL_SCRIPT = @INSTALL_SCRIPT@
172INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
173LD = @LD@
174LDFLAGS = @LDFLAGS@
175LIBDBUS_CFLAGS = @LIBDBUS_CFLAGS@
176LIBDBUS_LIBS = @LIBDBUS_LIBS@
177LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@
178LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@
179LIBGTK_CFLAGS = @LIBGTK_CFLAGS@
180LIBGTK_LIBS = @LIBGTK_LIBS@
181LIBOBJS = @LIBOBJS@
182LIBS = @LIBS@
183LIBSQLITE3_CFLAGS = @LIBSQLITE3_CFLAGS@
184LIBSQLITE3_LIBS = @LIBSQLITE3_LIBS@
185LIBTOOL = @LIBTOOL@
186LIPO = @LIPO@
187LN_S = @LN_S@
188LTLIBOBJS = @LTLIBOBJS@
189MAKEINFO = @MAKEINFO@
190MANIFEST_TOOL = @MANIFEST_TOOL@
191MKDIR_P = @MKDIR_P@
192NM = @NM@
193NMEDIT = @NMEDIT@
194NSIS_64BIT = @NSIS_64BIT@
195OBJDUMP = @OBJDUMP@
196OBJEXT = @OBJEXT@
197OTOOL = @OTOOL@
198OTOOL64 = @OTOOL64@
199PACKAGE = @PACKAGE@
200PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
201PACKAGE_NAME = @PACKAGE_NAME@
202PACKAGE_STRING = @PACKAGE_STRING@
203PACKAGE_TARNAME = @PACKAGE_TARNAME@
204PACKAGE_URL = @PACKAGE_URL@
205PACKAGE_VERSION = @PACKAGE_VERSION@
206PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@
207PACKAGE_VERSION_MICRO = @PACKAGE_VERSION_MICRO@
208PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@
209PACKAGE_VERSION_NANO = @PACKAGE_VERSION_NANO@
210PATH_SEPARATOR = @PATH_SEPARATOR@
211PKG_CONFIG = @PKG_CONFIG@
212PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
213PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
214PUGIXML_LIBS = @PUGIXML_LIBS@
215RANLIB = @RANLIB@
216SED = @SED@
217SET_MAKE = @SET_MAKE@
218SHELL = @SHELL@
219STRIP = @STRIP@
220VERSION = @VERSION@
221WINDRES = @WINDRES@
222WINDRESFLAGS = @WINDRESFLAGS@
223WXRC = @WXRC@
224WX_CFLAGS = @WX_CFLAGS@
225WX_CFLAGS_ONLY = @WX_CFLAGS_ONLY@
226WX_CONFIG_PATH = @WX_CONFIG_PATH@
227WX_CONFIG_WITH_ARGS = @WX_CONFIG_WITH_ARGS@
228WX_CPPFLAGS = @WX_CPPFLAGS@
229WX_CXXFLAGS = @WX_CXXFLAGS@
230WX_CXXFLAGS_ONLY = @WX_CXXFLAGS_ONLY@
231WX_LIBS = @WX_LIBS@
232WX_LIBS_STATIC = @WX_LIBS_STATIC@
233WX_RESCOMP = @WX_RESCOMP@
234WX_VERSION = @WX_VERSION@
235WX_VERSION_MAJOR = @WX_VERSION_MAJOR@
236WX_VERSION_MICRO = @WX_VERSION_MICRO@
237WX_VERSION_MINOR = @WX_VERSION_MINOR@
238abs_builddir = @abs_builddir@
239abs_srcdir = @abs_srcdir@
240abs_top_builddir = @abs_top_builddir@
241abs_top_srcdir = @abs_top_srcdir@
242ac_ct_AR = @ac_ct_AR@
243ac_ct_CC = @ac_ct_CC@
244ac_ct_CXX = @ac_ct_CXX@
245ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
246am__include = @am__include@
247am__leading_dot = @am__leading_dot@
248am__quote = @am__quote@
249am__tar = @am__tar@
250am__untar = @am__untar@
251bindir = @bindir@
252build = @build@
253build_alias = @build_alias@
254build_cpu = @build_cpu@
255build_os = @build_os@
256build_vendor = @build_vendor@
257builddir = @builddir@
258datadir = @datadir@
259datarootdir = @datarootdir@
260docdir = @docdir@
261dvidir = @dvidir@
262exec_prefix = @exec_prefix@
263host = @host@
264host_alias = @host_alias@
265host_cpu = @host_cpu@
266host_os = @host_os@
267host_vendor = @host_vendor@
268htmldir = @htmldir@
269includedir = @includedir@
270infodir = @infodir@
271install_sh = @install_sh@
272libdir = @libdir@
273libexecdir = @libexecdir@
274localedir = @localedir@
275localstatedir = @localstatedir@
276mandir = @mandir@
277mkdir_p = @mkdir_p@
278msgfmt = @msgfmt@
279msgmerge = @msgmerge@
280oldincludedir = @oldincludedir@
281pdfdir = @pdfdir@
282prefix = @prefix@
283program_transform_name = @program_transform_name@
284psdir = @psdir@
285sbindir = @sbindir@
286sharedstatedir = @sharedstatedir@
287srcdir = @srcdir@
288subdirs = @subdirs@
289sysconfdir = @sysconfdir@
290target_alias = @target_alias@
291top_build_prefix = @top_build_prefix@
292top_builddir = @top_builddir@
293top_srcdir = @top_srcdir@
294xdgopen = @xdgopen@
295xgettext = @xgettext@
296CLEANFILES = *.po.new *.mo resources.h filezilla.pot filezilla.pot.new filezilla.pot~
297dist_noinst_DATA = filezilla.pot @FILEZILLA_LINGUAS_PO@
298
299# Unused code
300#WXWIN_LINGUAS  =    de
301
302#install-wxstd-catalogs:
303#       for i in $(WXWIN_LINGUAS) ; do \
304#         $(mkinstalldirs) $(DESTDIR)$(localedir)/$$i ; \
305#         $(INSTALL_DATA) wxwin/$$i.mo $(DESTDIR)$(localedir)/$$i/filezilla-wxstd.mo ; \
306#       done
307
308# ----------------------------------------------------------------------------
309# Logic for catalogs updating follows
310# Try to not modify catalog files if nothing has changed
311# But touch them to make sure the timestamps are correct
312# so that the uptodate checks are only made if neccessary.
313# ----------------------------------------------------------------------------
314
315# the programs we use (TODO: use configure to detect them)
316MSGFMT = @msgfmt@ -c --verbose
317MSGMERGE = @msgmerge@
318XGETTEXT = @xgettext@
319
320# common xgettext args: C++ syntax, use the specified macro names as markers
321XGETTEXT_ARGS = -C -k_ -kwxGetTranslation -kwxTRANSLATE -kTRANSLATE_T -kwxPLURAL:1,2 -kwxPLURAL_LL:1,2 -s -j -c@translator
322
323# on the Mac copy the .mo files into the application bundle
324@MACAPPBUNDLE_TRUE@noinst_DATA = $(top_builddir)/FileZilla.app/Contents/SharedSupport/locales
325all: all-am
326
327.SUFFIXES:
328$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
329        @for dep in $?; do \
330          case '$(am__configure_deps)' in \
331            *$$dep*) \
332              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
333                && { if test -f $@; then exit 0; else break; fi; }; \
334              exit 1;; \
335          esac; \
336        done; \
337        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu locales/Makefile'; \
338        $(am__cd) $(top_srcdir) && \
339          $(AUTOMAKE) --gnu locales/Makefile
340.PRECIOUS: Makefile
341Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
342        @case '$?' in \
343          *config.status*) \
344            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
345          *) \
346            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
347            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
348        esac;
349
350$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
351        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
352
353$(top_srcdir)/configure:  $(am__configure_deps)
354        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
355$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
356        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
357$(am__aclocal_m4_deps):
358
359mostlyclean-libtool:
360        -rm -f *.lo
361
362clean-libtool:
363        -rm -rf .libs _libs
364tags TAGS:
365
366ctags CTAGS:
367
368cscope cscopelist:
369
370
371distdir: $(DISTFILES)
372        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
373        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
374        list='$(DISTFILES)'; \
375          dist_files=`for file in $$list; do echo $$file; done | \
376          sed -e "s|^$$srcdirstrip/||;t" \
377              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
378        case $$dist_files in \
379          */*) $(MKDIR_P) `echo "$$dist_files" | \
380                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
381                           sort -u` ;; \
382        esac; \
383        for file in $$dist_files; do \
384          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
385          if test -d $$d/$$file; then \
386            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
387            if test -d "$(distdir)/$$file"; then \
388              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
389            fi; \
390            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
391              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
392              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
393            fi; \
394            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
395          else \
396            test -f "$(distdir)/$$file" \
397            || cp -p $$d/$$file "$(distdir)/$$file" \
398            || exit 1; \
399          fi; \
400        done
401check-am: all-am
402check: check-am
403all-am: Makefile $(DATA)
404installdirs:
405install: install-am
406install-exec: install-exec-am
407install-data: install-data-am
408uninstall: uninstall-am
409
410install-am: all-am
411        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
412
413installcheck: installcheck-am
414install-strip:
415        if test -z '$(STRIP)'; then \
416          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
417            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
418              install; \
419        else \
420          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
421            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
422            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
423        fi
424mostlyclean-generic:
425
426clean-generic:
427        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
428
429distclean-generic:
430        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
431        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
432
433maintainer-clean-generic:
434        @echo "This command is intended for maintainers to use"
435        @echo "it deletes files that may require special tools to rebuild."
436clean: clean-am
437
438clean-am: clean-generic clean-libtool mostlyclean-am
439
440distclean: distclean-am
441        -rm -f Makefile
442distclean-am: clean-am distclean-generic
443
444dvi: dvi-am
445
446dvi-am:
447
448html: html-am
449
450html-am:
451
452info: info-am
453
454info-am:
455
456install-data-am: install-data-local
457
458install-dvi: install-dvi-am
459
460install-dvi-am:
461
462install-exec-am:
463
464install-html: install-html-am
465
466install-html-am:
467
468install-info: install-info-am
469
470install-info-am:
471
472install-man:
473
474install-pdf: install-pdf-am
475
476install-pdf-am:
477
478install-ps: install-ps-am
479
480install-ps-am:
481
482installcheck-am:
483
484maintainer-clean: maintainer-clean-am
485        -rm -f Makefile
486maintainer-clean-am: distclean-am maintainer-clean-generic
487
488mostlyclean: mostlyclean-am
489
490mostlyclean-am: mostlyclean-generic mostlyclean-libtool
491
492pdf: pdf-am
493
494pdf-am:
495
496ps: ps-am
497
498ps-am:
499
500uninstall-am: uninstall-local
501
502.MAKE: install-am install-strip
503
504.PHONY: all all-am check check-am clean clean-generic clean-libtool \
505        cscopelist-am ctags-am distclean distclean-generic \
506        distclean-libtool distdir dvi dvi-am html html-am info info-am \
507        install install-am install-data install-data-am \
508        install-data-local install-dvi install-dvi-am install-exec \
509        install-exec-am install-html install-html-am install-info \
510        install-info-am install-man install-pdf install-pdf-am \
511        install-ps install-ps-am install-strip installcheck \
512        installcheck-am installdirs maintainer-clean \
513        maintainer-clean-generic mostlyclean mostlyclean-generic \
514        mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
515        uninstall-am uninstall-local
516
517
518install-data-local: install-filezilla-catalogs
519
520install-filezilla-catalogs: allmo
521        for i in @FILEZILLA_LINGUAS@ ; do \
522          $(mkinstalldirs) $(DESTDIR)$(localedir)/$$i/LC_MESSAGES ; \
523          $(INSTALL_DATA) $$i.mo $(DESTDIR)$(localedir)/$$i/LC_MESSAGES/filezilla.mo ; \
524        done
525
526uninstall-local:
527        for i in @FILEZILLA_LINGUAS@ ; do \
528          rm $(DESTDIR)$(localedir)/$$i/LC_MESSAGES/filezilla.mo ; \
529        done
530
531# implicit rules
532%.mo: %.po.new
533        $(MSGFMT) -o $@ $< || exit 1
534
535# a PO file must be updated from wxstd.po to include new translations
536%.po.new: $(srcdir)/%.po filezilla.pot
537        file=$@; \
538        cat $(srcdir)/$${file%.po.new}.po > $@
539        if [ ! -f $@ ]; then \
540          exit 1; \
541        fi
542        $(MSGMERGE) $@ filezilla.pot -o $@~ || exit 1
543        @mv $@~ $@
544
545# touch file so that timestamp is newer than that of filezilla.pot
546        @touch $@;
547
548# generate resources.h from the xrc files. We have to do this since
549# xgettext cannot handle xrc files. So export all translatable strings from
550# the resource files into resources.h using wxrc.
551resources.h: $(srcdir)/../src/interface/resources/xrc/*.xrc
552        @if [ -f $@~ ]; then rm $@~; fi
553
554        @WXRC@ -g -e $(srcdir)/../src/interface/resources/xrc/*.xrc > "$@~" || exit 1
555
556# strip strings not marked for translation (enclosed in <>)
557        cat $@~ | sed "s/_(\"<.*>\")\;//" > $@~~ || exit 1
558        @mv $@~~ $@~
559
560# In resource files we have no format specifiers
561        cat $@~ | sed -e '/%/ s/$$/ \/\/xgettext:no-c-format/' > $@ || exit 1
562
563        @if [ -f $@~ ]; then rm $@~; fi
564
565filezilla.pot: resources.h $(srcdir)/../src/include/*.h $(srcdir)/../src/engine/*.h $(srcdir)/../src/interface/*.h  $(srcdir)/../src/engine/*.cpp $(srcdir)/../src/interface/*.cpp
566        @rm -f $@.new
567        @touch $@.new
568
569        FILES="resources.h `find $(srcdir)/../src -name '*.h' -o -name '*.cpp'`"; \
570        $(XGETTEXT) $(XGETTEXT_ARGS) -o $@.new $$FILES || exit 1
571
572# change charset declaration in template file to UTF-8
573        cat $@.new | sed -e "s/^\"Content-Type: .*$$/\"Content-Type: text\\/plain; charset=UTF-8\\\\n\"/" > $@.new~
574        @mv $@.new~ $@.new
575
576        if [ -f $@ ]; then \
577          touch $@; \
578          $(MSGMERGE) -U $@ $@.new || exit 1; \
579        else \
580          mv $@.new $@; \
581        fi;
582
583        @if [ -f $@.pot~ ]; then rm $@~; fi
584        @if [ -f $@.new ]; then rm $@.new; fi
585
586allpo: @FILEZILLA_LINGUAS_PO_NEW@
587
588# this target which will not be called automatically will update the .po files
589updatepo: @FILEZILLA_LINGUAS_PO_NEW@
590        for t in @FILEZILLA_LINGUAS@; do \
591          cp $$t.po.new $(srcdir)/$$t.po || exit 1; \
592        done
593
594allmo: @FILEZILLA_LINGUAS_MO@
595
596@MACAPPBUNDLE_TRUE@$(top_builddir)/FileZilla.app/Contents/SharedSupport/locales: allmo
597@MACAPPBUNDLE_TRUE@     mkdir -p $(top_builddir)/FileZilla.app/Contents/SharedSupport/locales
598@MACAPPBUNDLE_TRUE@     for i in @FILEZILLA_LINGUAS@ ; do \
599@MACAPPBUNDLE_TRUE@       mkdir -p $(top_builddir)/FileZilla.app/Contents/Resources/$$i.lproj; \
600@MACAPPBUNDLE_TRUE@       mkdir -p $(top_builddir)/FileZilla.app/Contents/SharedSupport/locales/$$i; \
601@MACAPPBUNDLE_TRUE@       cp -f $$i.mo $(top_builddir)/FileZilla.app/Contents/SharedSupport/locales/$$i/filezilla.mo; \
602@MACAPPBUNDLE_TRUE@     done
603@MACAPPBUNDLE_TRUE@     mkdir -p $(top_builddir)/FileZilla.app/Contents/Resources/en.lproj
604
605all: allmo
606
607.PHONY: allpo allmo force-update FORCE
608
609# Tell versions [3.59,3.63) of GNU make to not export all variables.
610# Otherwise a system limit (for SysV at least) may be exceeded.
611.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.