… | |
… | |
3 | DESTDIR= |
3 | DESTDIR= |
4 | prefix=/usr/local |
4 | prefix=/usr/local |
5 | bindir=$(prefix)/bin |
5 | bindir=$(prefix)/bin |
6 | mandir=$(prefix)/man |
6 | mandir=$(prefix)/man |
7 | man1dir=$(mandir)/man1 |
7 | man1dir=$(mandir)/man1 |
8 | libdir=$(prefix)/lib |
|
|
9 | sharedir=$(prefix)/share |
8 | sharedir=$(prefix)/share |
10 | getoptdir=$(libdir)/getopt |
9 | getoptdir=$(sharedir)/getopt |
11 | localedir=$(sharedir)/locale |
10 | localedir=$(sharedir)/locale |
12 | |
11 | |
13 | # Define this to 0 to use the getopt(3) routines in this package. |
12 | # Define this to 0 to use the getopt(3) routines in this package. |
14 | LIBCGETOPT=1 |
13 | LIBCGETOPT=1 |
15 | |
14 | |
… | |
… | |
31 | MSGFMT=msgfmt |
30 | MSGFMT=msgfmt |
32 | |
31 | |
33 | LANGUAGES = cs de es fr it ja nl pt_BR |
32 | LANGUAGES = cs de es fr it ja nl pt_BR |
34 | MOFILES:=$(patsubst %,po/%.mo,$(LANGUAGES)) |
33 | MOFILES:=$(patsubst %,po/%.mo,$(LANGUAGES)) |
35 | |
34 | |
36 | CPPFLAGS=-DLIBCGETOPT=$(LIBCGETOPT) -DWITH_GETTEXT=$(WITH_GETTEXT) -DLOCALEDIR=\"$(localedir)\" -DNOT_UTIL_LINUX |
35 | CPPFLAGS=-DLIBCGETOPT=$(LIBCGETOPT) -DWITH_GETTEXT=$(WITH_GETTEXT) -DLOCALEDIR=\"$(localedir)\" -DNOT_UTIL_LINUX -Dprogram_invocation_short_name=\"$(PACKAGE)\" -Dprogram_version=\"$(VERSION)\" |
37 | ifeq ($(LIBCGETOPT),0) |
36 | ifeq ($(LIBCGETOPT),0) |
38 | CPPFLAGS+=-I./gnu |
37 | CPPFLAGS+=-I./gnu |
39 | endif |
38 | endif |
40 | WARNINGS=-Wall \ |
39 | WARNINGS=-Wall \ |
41 | -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual \ |
40 | -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual \ |