/[public]/getopt/trunk/Makefile
ViewVC logotype

Diff of /getopt/trunk/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 265 Revision 327
3DESTDIR= 3DESTDIR=
4prefix=/usr/local 4prefix=/usr/local
5bindir=$(prefix)/bin 5bindir=$(prefix)/bin
6mandir=$(prefix)/man 6mandir=$(prefix)/man
7man1dir=$(mandir)/man1 7man1dir=$(mandir)/man1
8libdir=$(prefix)/lib
9sharedir=$(prefix)/share 8sharedir=$(prefix)/share
10getoptdir=$(libdir)/getopt 9getoptdir=$(sharedir)/getopt
11localedir=$(sharedir)/locale 10localedir=$(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.
14LIBCGETOPT=1 13LIBCGETOPT=1
15 14
16# Define this to 1 if you do not have the gettext routines 15# Define this to 1 if you do not have the gettext routines
17WITHOUT_GETTEXT=0 16WITHOUT_GETTEXT=0
18 17
19# For creating the archive 18# For creating the archive
20PACKAGE=getopt 19PACKAGE=getopt
21VERSION=1.1.4 20VERSION=1.1.5
22BASENAME=$(PACKAGE)-$(VERSION) 21BASENAME=$(PACKAGE)-$(VERSION)
23UNLIKELYNAME=a8vwjfd92 22UNLIKELYNAME=a8vwjfd92
24 23
25SHELL=/bin/sh 24SHELL=/bin/sh
26 25
28LD=ld 27LD=ld
29RM=rm -f 28RM=rm -f
30INSTALL=install 29INSTALL=install
31MSGFMT=msgfmt 30MSGFMT=msgfmt
32 31
33LANGUAGES = cs de es fr it ja nl pt_BR 32LANGUAGES = 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
34MOFILES:=$(patsubst %,po/%.mo,$(LANGUAGES)) 33MOFILES:=$(patsubst %,po/%.mo,$(LANGUAGES))
35 34
36CPPFLAGS=-DLIBCGETOPT=$(LIBCGETOPT) -DWITH_GETTEXT=$(WITH_GETTEXT) -DLOCALEDIR=\"$(localedir)\" -DNOT_UTIL_LINUX 35CPPFLAGS=-DLIBCGETOPT=$(LIBCGETOPT) -DWITHOUT_GETTEXT=$(WITHOUT_GETTEXT) -DLOCALEDIR=\"$(localedir)\" -DNOT_UTIL_LINUX -Dprogram_invocation_short_name=\"$(PACKAGE)\" -Dprogram_version=\"$(VERSION)\"
37ifeq ($(LIBCGETOPT),0) 36ifeq ($(LIBCGETOPT),0)
38CPPFLAGS+=-I./gnu 37CPPFLAGS+=-I./gnu
39endif 38endif
40WARNINGS=-Wall \ 39WARNINGS=-Wall \
41 -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual \ 40 -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual \
73 $(INSTALL) -m 755 -d $(DESTDIR)$(getoptdir) 72 $(INSTALL) -m 755 -d $(DESTDIR)$(getoptdir)
74 $(INSTALL) -m 755 getopt-parse.bash getopt-parse.tcsh \ 73 $(INSTALL) -m 755 getopt-parse.bash getopt-parse.tcsh \
75 getopt-test.bash getopt-test.tcsh \ 74 getopt-test.bash getopt-test.tcsh \
76 $(DESTDIR)$(getoptdir) 75 $(DESTDIR)$(getoptdir)
77 76
78ifeq ($(WITH_GETTEXT),1) 77ifeq ($(WITHOUT_GETTEXT),0)
79all_po: $(MOFILES) 78all_po: $(MOFILES)
80install_po: all_po 79install_po: all_po
81 $(INSTALL) -m 755 -d $(DESTDIR)$(localedir) 80 $(INSTALL) -m 755 -d $(DESTDIR)$(localedir)
82 for lang in $(LANGUAGES) ; do \ 81 for lang in $(LANGUAGES) ; do \
83 dir=$(localedir)/$$lang/LC_MESSAGES; \ 82 dir=$(localedir)/$$lang/LC_MESSAGES; \

Legend:
Removed from v.265  
changed lines
  Added in v.327

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26