annotate intl/Makefile @ 1876:7bbb619fa68c trunk

[svn] - objectify libintl
author nenolod
date Sat, 14 Oct 2006 12:03:26 -0700
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1876
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
1 include ../mk/rules.mk
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
2 include ../mk/init.mk
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
3
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
4 localedir = $(datadir)/locale
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
5 gettextsrcdir = $(datadir)/gettext/intl
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
6 aliaspath = $(localedir)
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
7
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
8 OBJECTIVE_LIBS_NOINST = libintl.a
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
9
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
10 DEFS += -DLOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
11 -DLIBDIR=\"$(libdir)\" -DIN_LIBINTL \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
12 -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"$(libdir)\" -DINSTALLPREFIX=\"$(libdir)\" -DNO_XMALLOC \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
13 -Dset_relocation_prefix=libintl_set_relocation_prefix \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
14 -Drelocate=libintl_relocate \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
15 -DDEPENDS_ON_LIBICONV=1
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
16
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
17 CFLAGS += $(PICFLAGS) -I../ -I. $(DEFS)
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
18
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
19 SOURCES = \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
20 bindtextdom.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
21 dcgettext.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
22 dgettext.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
23 gettext.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
24 finddomain.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
25 loadmsgcat.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
26 localealias.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
27 textdomain.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
28 l10nflist.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
29 explodename.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
30 dcigettext.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
31 dcngettext.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
32 dngettext.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
33 ngettext.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
34 plural.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
35 plural-exp.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
36 localcharset.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
37 relocatable.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
38 localename.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
39 log.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
40 osdep.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
41 os2compat.c \
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
42 intl-compat.c
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
43
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
44 OBJECTS = ${SOURCES:.c=.o}
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
45
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
46 include ../mk/objective.mk
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
47
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
48 libintl.a: $(OBJECTS)
7bbb619fa68c [svn] - objectify libintl
nenolod
parents:
diff changeset
49 $(AR) cq $@ $(OBJECTS)