comparison intl/Makefile @ 1876:7bbb619fa68c trunk

[svn] - objectify libintl
author nenolod
date Sat, 14 Oct 2006 12:03:26 -0700
parents
children
comparison
equal deleted inserted replaced
1875:eae19233a2ab 1876:7bbb619fa68c
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)