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

Last change on this file since 3185 was 3185, checked in by jrpelegrina, 2 years ago

Update new version: 3.15.02

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@
177LIBFILEZILLA_CFLAGS = @LIBFILEZILLA_CFLAGS@
178LIBFILEZILLA_LIBS = @LIBFILEZILLA_LIBS@
179LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@
180LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@
181LIBGTK_CFLAGS = @LIBGTK_CFLAGS@
182LIBGTK_LIBS = @LIBGTK_LIBS@
183LIBOBJS = @LIBOBJS@
184LIBS = @LIBS@
185LIBSQLITE3_CFLAGS = @LIBSQLITE3_CFLAGS@
186LIBSQLITE3_LIBS = @LIBSQLITE3_LIBS@
187LIBTOOL = @LIBTOOL@
188LIPO = @LIPO@
189LN_S = @LN_S@
190LTLIBOBJS = @LTLIBOBJS@
191MAKEINFO = @MAKEINFO@
192MANIFEST_TOOL = @MANIFEST_TOOL@
193MKDIR_P = @MKDIR_P@
194NM = @NM@
195NMEDIT = @NMEDIT@
196NSIS_64BIT = @NSIS_64BIT@
197OBJDUMP = @OBJDUMP@
198OBJEXT = @OBJEXT@
199OTOOL = @OTOOL@
200OTOOL64 = @OTOOL64@
201PACKAGE = @PACKAGE@
202PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
203PACKAGE_NAME = @PACKAGE_NAME@
204PACKAGE_STRING = @PACKAGE_STRING@
205PACKAGE_TARNAME = @PACKAGE_TARNAME@
206PACKAGE_URL = @PACKAGE_URL@
207PACKAGE_VERSION = @PACKAGE_VERSION@
208PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@
209PACKAGE_VERSION_MICRO = @PACKAGE_VERSION_MICRO@
210PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@
211PACKAGE_VERSION_NANO = @PACKAGE_VERSION_NANO@
212PATH_SEPARATOR = @PATH_SEPARATOR@
213PKG_CONFIG = @PKG_CONFIG@
214PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
215PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
216PUGIXML_LIBS = @PUGIXML_LIBS@
217RANLIB = @RANLIB@
218SED = @SED@
219SET_MAKE = @SET_MAKE@
220SHELL = @SHELL@
221STRIP = @STRIP@
222VERSION = @VERSION@
223WINDRES = @WINDRES@
224WINDRESFLAGS = @WINDRESFLAGS@
225WXRC = @WXRC@
226WX_CFLAGS = @WX_CFLAGS@
227WX_CFLAGS_ONLY = @WX_CFLAGS_ONLY@
228WX_CONFIG_PATH = @WX_CONFIG_PATH@
229WX_CONFIG_WITH_ARGS = @WX_CONFIG_WITH_ARGS@
230WX_CPPFLAGS = @WX_CPPFLAGS@
231WX_CXXFLAGS = @WX_CXXFLAGS@
232WX_CXXFLAGS_ONLY = @WX_CXXFLAGS_ONLY@
233WX_LIBS = @WX_LIBS@
234WX_LIBS_STATIC = @WX_LIBS_STATIC@
235WX_RESCOMP = @WX_RESCOMP@
236WX_VERSION = @WX_VERSION@
237WX_VERSION_MAJOR = @WX_VERSION_MAJOR@
238WX_VERSION_MICRO = @WX_VERSION_MICRO@
239WX_VERSION_MINOR = @WX_VERSION_MINOR@
240abs_builddir = @abs_builddir@
241abs_srcdir = @abs_srcdir@
242abs_top_builddir = @abs_top_builddir@
243abs_top_srcdir = @abs_top_srcdir@
244ac_ct_AR = @ac_ct_AR@
245ac_ct_CC = @ac_ct_CC@
246ac_ct_CXX = @ac_ct_CXX@
247ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
248am__include = @am__include@
249am__leading_dot = @am__leading_dot@
250am__quote = @am__quote@
251am__tar = @am__tar@
252am__untar = @am__untar@
253bindir = @bindir@
254build = @build@
255build_alias = @build_alias@
256build_cpu = @build_cpu@
257build_os = @build_os@
258build_vendor = @build_vendor@
259builddir = @builddir@
260datadir = @datadir@
261datarootdir = @datarootdir@
262docdir = @docdir@
263dvidir = @dvidir@
264exec_prefix = @exec_prefix@
265host = @host@
266host_alias = @host_alias@
267host_cpu = @host_cpu@
268host_os = @host_os@
269host_vendor = @host_vendor@
270htmldir = @htmldir@
271includedir = @includedir@
272infodir = @infodir@
273install_sh = @install_sh@
274libdir = @libdir@
275libexecdir = @libexecdir@
276localedir = @localedir@
277localstatedir = @localstatedir@
278mandir = @mandir@
279mkdir_p = @mkdir_p@
280msgfmt = @msgfmt@
281msgmerge = @msgmerge@
282oldincludedir = @oldincludedir@
283pdfdir = @pdfdir@
284prefix = @prefix@
285program_transform_name = @program_transform_name@
286psdir = @psdir@
287sbindir = @sbindir@
288sharedstatedir = @sharedstatedir@
289srcdir = @srcdir@
290subdirs = @subdirs@
291sysconfdir = @sysconfdir@
292target_alias = @target_alias@
293top_build_prefix = @top_build_prefix@
294top_builddir = @top_builddir@
295top_srcdir = @top_srcdir@
296xdgopen = @xdgopen@
297xgettext = @xgettext@
298CLEANFILES = *.po.new *.mo resources.h filezilla.pot filezilla.pot.new filezilla.pot~
299dist_noinst_DATA = filezilla.pot @FILEZILLA_LINGUAS_PO@
300
301# Unused code
302#WXWIN_LINGUAS  =    de
303
304#install-wxstd-catalogs:
305#       for i in $(WXWIN_LINGUAS) ; do \
306#         $(mkinstalldirs) $(DESTDIR)$(localedir)/$$i ; \
307#         $(INSTALL_DATA) wxwin/$$i.mo $(DESTDIR)$(localedir)/$$i/filezilla-wxstd.mo ; \
308#       done
309
310# ----------------------------------------------------------------------------
311# Logic for catalogs updating follows
312# Try to not modify catalog files if nothing has changed
313# But touch them to make sure the timestamps are correct
314# so that the uptodate checks are only made if neccessary.
315# ----------------------------------------------------------------------------
316
317# the programs we use (TODO: use configure to detect them)
318MSGFMT = @msgfmt@ -c --verbose
319MSGMERGE = @msgmerge@
320XGETTEXT = @xgettext@
321
322# common xgettext args: C++ syntax, use the specified macro names as markers
323XGETTEXT_ARGS = -C -k_ -kwxGetTranslation -kwxTRANSLATE -kTRANSLATE_T -kwxPLURAL:1,2 -kwxPLURAL_LL:1,2 -s -j -c@translator
324
325# on the Mac copy the .mo files into the application bundle
326@MACAPPBUNDLE_TRUE@noinst_DATA = $(top_builddir)/FileZilla.app/Contents/SharedSupport/locales
327all: all-am
328
329.SUFFIXES:
330$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
331        @for dep in $?; do \
332          case '$(am__configure_deps)' in \
333            *$$dep*) \
334              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
335                && { if test -f $@; then exit 0; else break; fi; }; \
336              exit 1;; \
337          esac; \
338        done; \
339        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu locales/Makefile'; \
340        $(am__cd) $(top_srcdir) && \
341          $(AUTOMAKE) --gnu locales/Makefile
342.PRECIOUS: Makefile
343Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
344        @case '$?' in \
345          *config.status*) \
346            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
347          *) \
348            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
349            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
350        esac;
351
352$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
353        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
354
355$(top_srcdir)/configure:  $(am__configure_deps)
356        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
357$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
358        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
359$(am__aclocal_m4_deps):
360
361mostlyclean-libtool:
362        -rm -f *.lo
363
364clean-libtool:
365        -rm -rf .libs _libs
366tags TAGS:
367
368ctags CTAGS:
369
370cscope cscopelist:
371
372
373distdir: $(DISTFILES)
374        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
375        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
376        list='$(DISTFILES)'; \
377          dist_files=`for file in $$list; do echo $$file; done | \
378          sed -e "s|^$$srcdirstrip/||;t" \
379              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
380        case $$dist_files in \
381          */*) $(MKDIR_P) `echo "$$dist_files" | \
382                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
383                           sort -u` ;; \
384        esac; \
385        for file in $$dist_files; do \
386          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
387          if test -d $$d/$$file; then \
388            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
389            if test -d "$(distdir)/$$file"; then \
390              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
391            fi; \
392            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
393              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
394              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
395            fi; \
396            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
397          else \
398            test -f "$(distdir)/$$file" \
399            || cp -p $$d/$$file "$(distdir)/$$file" \
400            || exit 1; \
401          fi; \
402        done
403check-am: all-am
404check: check-am
405all-am: Makefile $(DATA)
406installdirs:
407install: install-am
408install-exec: install-exec-am
409install-data: install-data-am
410uninstall: uninstall-am
411
412install-am: all-am
413        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
414
415installcheck: installcheck-am
416install-strip:
417        if test -z '$(STRIP)'; then \
418          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
419            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
420              install; \
421        else \
422          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
423            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
424            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
425        fi
426mostlyclean-generic:
427
428clean-generic:
429        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
430
431distclean-generic:
432        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
433        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
434
435maintainer-clean-generic:
436        @echo "This command is intended for maintainers to use"
437        @echo "it deletes files that may require special tools to rebuild."
438clean: clean-am
439
440clean-am: clean-generic clean-libtool mostlyclean-am
441
442distclean: distclean-am
443        -rm -f Makefile
444distclean-am: clean-am distclean-generic
445
446dvi: dvi-am
447
448dvi-am:
449
450html: html-am
451
452html-am:
453
454info: info-am
455
456info-am:
457
458install-data-am: install-data-local
459
460install-dvi: install-dvi-am
461
462install-dvi-am:
463
464install-exec-am:
465
466install-html: install-html-am
467
468install-html-am:
469
470install-info: install-info-am
471
472install-info-am:
473
474install-man:
475
476install-pdf: install-pdf-am
477
478install-pdf-am:
479
480install-ps: install-ps-am
481
482install-ps-am:
483
484installcheck-am:
485
486maintainer-clean: maintainer-clean-am
487        -rm -f Makefile
488maintainer-clean-am: distclean-am maintainer-clean-generic
489
490mostlyclean: mostlyclean-am
491
492mostlyclean-am: mostlyclean-generic mostlyclean-libtool
493
494pdf: pdf-am
495
496pdf-am:
497
498ps: ps-am
499
500ps-am:
501
502uninstall-am: uninstall-local
503
504.MAKE: install-am install-strip
505
506.PHONY: all all-am check check-am clean clean-generic clean-libtool \
507        cscopelist-am ctags-am distclean distclean-generic \
508        distclean-libtool distdir dvi dvi-am html html-am info info-am \
509        install install-am install-data install-data-am \
510        install-data-local install-dvi install-dvi-am install-exec \
511        install-exec-am install-html install-html-am install-info \
512        install-info-am install-man install-pdf install-pdf-am \
513        install-ps install-ps-am install-strip installcheck \
514        installcheck-am installdirs maintainer-clean \
515        maintainer-clean-generic mostlyclean mostlyclean-generic \
516        mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
517        uninstall-am uninstall-local
518
519
520install-data-local: install-filezilla-catalogs
521
522install-filezilla-catalogs: allmo
523        for i in @FILEZILLA_LINGUAS@ ; do \
524          $(mkinstalldirs) $(DESTDIR)$(localedir)/$$i/LC_MESSAGES ; \
525          $(INSTALL_DATA) $$i.mo $(DESTDIR)$(localedir)/$$i/LC_MESSAGES/filezilla.mo ; \
526        done
527
528uninstall-local:
529        for i in @FILEZILLA_LINGUAS@ ; do \
530          rm $(DESTDIR)$(localedir)/$$i/LC_MESSAGES/filezilla.mo ; \
531        done
532
533# implicit rules
534%.mo: %.po.new
535        $(MSGFMT) -o $@ $< || exit 1
536
537# a PO file must be updated from wxstd.po to include new translations
538%.po.new: $(srcdir)/%.po filezilla.pot
539        file=$@; \
540        cat $(srcdir)/$${file%.po.new}.po > $@
541        if [ ! -f $@ ]; then \
542          exit 1; \
543        fi
544        $(MSGMERGE) $@ filezilla.pot -o $@~ || exit 1
545        @mv $@~ $@
546
547# touch file so that timestamp is newer than that of filezilla.pot
548        @touch $@;
549
550# generate resources.h from the xrc files. We have to do this since
551# xgettext cannot handle xrc files. So export all translatable strings from
552# the resource files into resources.h using wxrc.
553resources.h: $(srcdir)/../src/interface/resources/xrc/*.xrc
554        @if [ -f $@~ ]; then rm $@~; fi
555
556        @WXRC@ -g -e $(srcdir)/../src/interface/resources/xrc/*.xrc > "$@~" || exit 1
557
558# strip strings not marked for translation (enclosed in <>)
559        cat $@~ | sed "s/_(\"<.*>\")\;//" > $@~~ || exit 1
560        @mv $@~~ $@~
561
562# In resource files we have no format specifiers
563        cat $@~ | sed -e '/%/ s/$$/ \/\/xgettext:no-c-format/' > $@ || exit 1
564
565        @if [ -f $@~ ]; then rm $@~; fi
566
567filezilla.pot: resources.h $(srcdir)/../src/include/*.h $(srcdir)/../src/engine/*.h $(srcdir)/../src/interface/*.h  $(srcdir)/../src/engine/*.cpp $(srcdir)/../src/interface/*.cpp
568        @rm -f $@.new
569        @touch $@.new
570
571        FILES="resources.h `find $(srcdir)/../src -name '*.h' -o -name '*.cpp'`"; \
572        $(XGETTEXT) $(XGETTEXT_ARGS) -o $@.new $$FILES || exit 1
573
574# change charset declaration in template file to UTF-8
575        cat $@.new | sed -e "s/^\"Content-Type: .*$$/\"Content-Type: text\\/plain; charset=UTF-8\\\\n\"/" > $@.new~
576        @mv $@.new~ $@.new
577
578        if [ -f $@ ]; then \
579          touch $@; \
580          $(MSGMERGE) -U $@ $@.new || exit 1; \
581        else \
582          mv $@.new $@; \
583        fi;
584
585        @if [ -f $@.pot~ ]; then rm $@~; fi
586        @if [ -f $@.new ]; then rm $@.new; fi
587
588allpo: @FILEZILLA_LINGUAS_PO_NEW@
589
590# this target which will not be called automatically will update the .po files
591updatepo: @FILEZILLA_LINGUAS_PO_NEW@
592        for t in @FILEZILLA_LINGUAS@; do \
593          cp $$t.po.new $(srcdir)/$$t.po || exit 1; \
594        done
595
596allmo: @FILEZILLA_LINGUAS_MO@
597
598@MACAPPBUNDLE_TRUE@$(top_builddir)/FileZilla.app/Contents/SharedSupport/locales: allmo
599@MACAPPBUNDLE_TRUE@     mkdir -p $(top_builddir)/FileZilla.app/Contents/SharedSupport/locales
600@MACAPPBUNDLE_TRUE@     for i in @FILEZILLA_LINGUAS@ ; do \
601@MACAPPBUNDLE_TRUE@       mkdir -p $(top_builddir)/FileZilla.app/Contents/Resources/$$i.lproj; \
602@MACAPPBUNDLE_TRUE@       mkdir -p $(top_builddir)/FileZilla.app/Contents/SharedSupport/locales/$$i; \
603@MACAPPBUNDLE_TRUE@       cp -f $$i.mo $(top_builddir)/FileZilla.app/Contents/SharedSupport/locales/$$i/filezilla.mo; \
604@MACAPPBUNDLE_TRUE@     done
605@MACAPPBUNDLE_TRUE@     mkdir -p $(top_builddir)/FileZilla.app/Contents/Resources/en.lproj
606
607all: allmo
608
609.PHONY: allpo allmo force-update FORCE
610
611# Tell versions [3.59,3.63) of GNU make to not export all variables.
612# Otherwise a system limit (for SysV at least) may be exceeded.
613.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.