Mercurial > audlegacy
comparison src/intl/Makefile @ 2313:3149d4b1a9a9 trunk
[svn] - objective-make autodepend fixes
- move all sourcecode into src/ and adjust Makefiles accordingly
author | nenolod |
---|---|
date | Fri, 12 Jan 2007 11:43:40 -0800 |
parents | |
children | 1ab061263ee8 |
comparison
equal
deleted
inserted
replaced
2312:e1a5a66fb9cc | 2313:3149d4b1a9a9 |
---|---|
1 include ../../mk/rules.mk | |
2 include ../../mk/init.mk | |
3 | |
4 localedir = $(datadir)/locale | |
5 gettextsrcdir = $(datadir)/gettext/intl | |
6 aliaspath = $(localedir) | |
7 | |
8 OBJECTIVE_LIBS_NOINST = libintl.a | |
9 | |
10 DEFS += -DLOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \ | |
11 -DLIBDIR=\"$(libdir)\" -DIN_LIBINTL \ | |
12 -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"$(libdir)\" -DINSTALLPREFIX=\"$(libdir)\" -DNO_XMALLOC \ | |
13 -Dset_relocation_prefix=libintl_set_relocation_prefix \ | |
14 -Drelocate=libintl_relocate \ | |
15 -DDEPENDS_ON_LIBICONV=1 | |
16 | |
17 CFLAGS += $(PICFLAGS) -I../ -I. $(DEFS) | |
18 | |
19 SOURCES = \ | |
20 bindtextdom.c \ | |
21 dcgettext.c \ | |
22 dgettext.c \ | |
23 gettext.c \ | |
24 finddomain.c \ | |
25 loadmsgcat.c \ | |
26 localealias.c \ | |
27 textdomain.c \ | |
28 l10nflist.c \ | |
29 explodename.c \ | |
30 dcigettext.c \ | |
31 dcngettext.c \ | |
32 dngettext.c \ | |
33 ngettext.c \ | |
34 plural.c \ | |
35 plural-exp.c \ | |
36 localcharset.c \ | |
37 relocatable.c \ | |
38 localename.c \ | |
39 log.c \ | |
40 osdep.c \ | |
41 os2compat.c \ | |
42 intl-compat.c | |
43 | |
44 OBJECTS = ${SOURCES:.c=.o} | |
45 | |
46 include ../../mk/objective.mk | |
47 | |
48 libintl.a: $(OBJECTS) | |
49 $(AR) cq $@ $(OBJECTS) |