… | |
… | |
27 | LD=ld |
27 | LD=ld |
28 | RM=rm -f |
28 | RM=rm -f |
29 | INSTALL=install |
29 | INSTALL=install |
30 | MSGFMT=msgfmt |
30 | MSGFMT=msgfmt |
31 | |
31 | |
32 | LANGUAGES = cs de es fr it ja nl pt_BR |
32 | LANGUAGES = ca cs da de es et eu fi fr gl hu id it ja nl pl pt_BR ru sl sv tr uk vi zh_CN zh_TW |
33 | MOFILES:=$(patsubst %,po/%.mo,$(LANGUAGES)) |
33 | MOFILES:=$(patsubst %,po/%.mo,$(LANGUAGES)) |
34 | |
34 | |
35 | CPPFLAGS=-DLIBCGETOPT=$(LIBCGETOPT) -DWITH_GETTEXT=$(WITH_GETTEXT) -DLOCALEDIR=\"$(localedir)\" -DNOT_UTIL_LINUX -Dprogram_invocation_short_name=\"$(PACKAGE)\" -Dprogram_version=\"$(VERSION)\" |
35 | CPPFLAGS=-DLIBCGETOPT=$(LIBCGETOPT) -DWITHOUT_GETTEXT=$(WITHOUT_GETTEXT) -DLOCALEDIR=\"$(localedir)\" -DNOT_UTIL_LINUX -Dprogram_invocation_short_name=\"$(PACKAGE)\" -Dprogram_version=\"$(VERSION)\" |
36 | ifeq ($(LIBCGETOPT),0) |
36 | ifeq ($(LIBCGETOPT),0) |
37 | CPPFLAGS+=-I./gnu |
37 | CPPFLAGS+=-I./gnu |
38 | endif |
38 | endif |
39 | WARNINGS=-Wall \ |
39 | WARNINGS=-Wall \ |
40 | -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual \ |
40 | -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual \ |
… | |
… | |
72 | $(INSTALL) -m 755 -d $(DESTDIR)$(getoptdir) |
72 | $(INSTALL) -m 755 -d $(DESTDIR)$(getoptdir) |
73 | $(INSTALL) -m 755 getopt-parse.bash getopt-parse.tcsh \ |
73 | $(INSTALL) -m 755 getopt-parse.bash getopt-parse.tcsh \ |
74 | getopt-test.bash getopt-test.tcsh \ |
74 | getopt-test.bash getopt-test.tcsh \ |
75 | $(DESTDIR)$(getoptdir) |
75 | $(DESTDIR)$(getoptdir) |
76 | |
76 | |
77 | ifeq ($(WITH_GETTEXT),1) |
77 | ifeq ($(WITHOUT_GETTEXT),0) |
78 | all_po: $(MOFILES) |
78 | all_po: $(MOFILES) |
79 | install_po: all_po |
79 | install_po: all_po |
80 | $(INSTALL) -m 755 -d $(DESTDIR)$(localedir) |
80 | $(INSTALL) -m 755 -d $(DESTDIR)$(localedir) |
81 | for lang in $(LANGUAGES) ; do \ |
81 | for lang in $(LANGUAGES) ; do \ |
82 | dir=$(localedir)/$$lang/LC_MESSAGES; \ |
82 | dir=$(localedir)/$$lang/LC_MESSAGES; \ |