Mercurial > audlegacy
annotate src/audacious/intl/Makefile @ 3043:59452118044d
MacOS (and others): Relocate libintl to a location where audacious can link to it automatically.
author | William Pitcock <nenolod@atheme-project.org> |
---|---|
date | Thu, 12 Jul 2007 06:01:51 -0500 |
parents | src/intl/Makefile@ecfb79d60c3a |
children | e50fd4eefa5f |
rev | line source |
---|---|
3043
59452118044d
MacOS (and others): Relocate libintl to a location where audacious can link to it automatically.
William Pitcock <nenolod@atheme-project.org>
parents:
2691
diff
changeset
|
1 include ../../../mk/rules.mk |
59452118044d
MacOS (and others): Relocate libintl to a location where audacious can link to it automatically.
William Pitcock <nenolod@atheme-project.org>
parents:
2691
diff
changeset
|
2 include ../../../mk/init.mk |
2313 | 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 | |
2642 | 17 CFLAGS += $(PICFLAGS) -I../.. -I. $(DEFS) |
2313 | 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 | |
3043
59452118044d
MacOS (and others): Relocate libintl to a location where audacious can link to it automatically.
William Pitcock <nenolod@atheme-project.org>
parents:
2691
diff
changeset
|
46 include ../../../mk/objective.mk |