annotate intl/Makefile.in @ 1530:bdb22d1e6302 trunk

[svn] - don't peg the CPU
author nenolod
date Mon, 07 Aug 2006 23:27:43 -0700
parents 705d4c089fce
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
1 # Makefile for directory with message catalog handling library of GNU gettext
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
2 # Copyright (C) 1995-1998, 2000-2003 Free Software Foundation, Inc.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
3 #
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
4 # This program is free software; you can redistribute it and/or modify it
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
5 # under the terms of the GNU Library General Public License as published
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
6 # by the Free Software Foundation; either version 2, or (at your option)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
7 # any later version.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
8 #
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
9 # This program is distributed in the hope that it will be useful,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
12 # Library General Public License for more details.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
13 #
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
14 # You should have received a copy of the GNU Library General Public
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
15 # License along with this program; if not, write to the Free Software
1459
705d4c089fce [svn] Fix postal code.
chainsaw
parents: 1458
diff changeset
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
17 # USA.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
18
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
19 PACKAGE = @PACKAGE@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
20 VERSION = @VERSION@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
21
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
22 SHELL = /bin/sh
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
23
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
24 srcdir = @srcdir@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
25 top_srcdir = @top_srcdir@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
26 top_builddir = ..
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
27 VPATH = $(srcdir)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
28
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
29 prefix = @prefix@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
30 exec_prefix = @exec_prefix@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
31 transform = @program_transform_name@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
32 libdir = @libdir@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
33 includedir = @includedir@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
34 datadir = @datadir@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
35 localedir = $(datadir)/locale
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
36 gettextsrcdir = $(datadir)/gettext/intl
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
37 aliaspath = $(localedir)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
38 subdir = intl
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
39
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
40 INSTALL = @INSTALL@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
41 INSTALL_DATA = @INSTALL_DATA@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
42 MKINSTALLDIRS = @MKINSTALLDIRS@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
43 mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
44
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
45 l = @INTL_LIBTOOL_SUFFIX_PREFIX@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
46
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
47 AR = ar
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
48 CC = @CC@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
49 LIBTOOL = @LIBTOOL@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
50 RANLIB = @RANLIB@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
51 YACC = @INTLBISON@ -y -d
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
52 YFLAGS = --name-prefix=__gettext
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
53
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
54 DEFS = -DLOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
55 -DLIBDIR=\"$(libdir)\" -DIN_LIBINTL \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
56 -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"$(libdir)\" -DNO_XMALLOC \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
57 -Dset_relocation_prefix=libintl_set_relocation_prefix \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
58 -Drelocate=libintl_relocate \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
59 -DDEPENDS_ON_LIBICONV=1 @DEFS@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
60 CPPFLAGS = @CPPFLAGS@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
61 CFLAGS = @CFLAGS@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
62 LDFLAGS = @LDFLAGS@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
63 LIBS = @LIBS@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
64
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
65 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
66
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
67 HEADERS = \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
68 gmo.h \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
69 gettextP.h \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
70 hash-string.h \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
71 loadinfo.h \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
72 plural-exp.h \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
73 eval-plural.h \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
74 localcharset.h \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
75 relocatable.h \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
76 os2compat.h \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
77 libgnuintl.h.in
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
78 SOURCES = \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
79 bindtextdom.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
80 dcgettext.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
81 dgettext.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
82 gettext.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
83 finddomain.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
84 loadmsgcat.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
85 localealias.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
86 textdomain.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
87 l10nflist.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
88 explodename.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
89 dcigettext.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
90 dcngettext.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
91 dngettext.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
92 ngettext.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
93 plural.y \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
94 plural-exp.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
95 localcharset.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
96 relocatable.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
97 localename.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
98 log.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
99 osdep.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
100 os2compat.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
101 intl-compat.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
102 OBJECTS = \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
103 bindtextdom.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
104 dcgettext.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
105 dgettext.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
106 gettext.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
107 finddomain.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
108 loadmsgcat.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
109 localealias.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
110 textdomain.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
111 l10nflist.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
112 explodename.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
113 dcigettext.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
114 dcngettext.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
115 dngettext.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
116 ngettext.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
117 plural.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
118 plural-exp.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
119 localcharset.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
120 relocatable.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
121 localename.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
122 log.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
123 osdep.$lo \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
124 intl-compat.$lo
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
125 DISTFILES.common = Makefile.in \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
126 config.charset locale.alias ref-add.sin ref-del.sin $(HEADERS) $(SOURCES)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
127 DISTFILES.generated = plural.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
128 DISTFILES.normal = VERSION
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
129 DISTFILES.gettext = COPYING.LIB-2.0 COPYING.LIB-2.1 libintl.glibc \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
130 Makefile.vms libgnuintl.h.msvc-shared README.woe32 Makefile.msvc
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
131 DISTFILES.obsolete = xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
132 COPYING.LIB-2 gettext.h libgettext.h plural-eval.c libgnuintl.h
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
133
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
134 all: all-@USE_INCLUDED_LIBINTL@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
135 all-yes: libintl.$la libintl.h charset.alias ref-add.sed ref-del.sed
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
136 all-no: all-no-@BUILD_INCLUDED_LIBINTL@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
137 all-no-yes: libgnuintl.$la
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
138 all-no-no:
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
139
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
140 libintl.a libgnuintl.a: $(OBJECTS)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
141 rm -f $@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
142 $(AR) cru $@ $(OBJECTS)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
143 $(RANLIB) $@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
144
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
145 libintl.la libgnuintl.la: $(OBJECTS)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
146 $(LIBTOOL) --mode=link \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
147 $(CC) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) $(LDFLAGS) -o $@ \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
148 $(OBJECTS) @LTLIBICONV@ $(LIBS) -lc \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
149 -version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
150 -rpath $(libdir) \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
151 -no-undefined
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
152
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
153 # Libtool's library version information for libintl.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
154 # Before making a gettext release, the gettext maintainer must change this
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
155 # according to the libtool documentation, section "Library interface versions".
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
156 # Maintainers of other packages that include the intl directory must *not*
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
157 # change these values.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
158 LTV_CURRENT=5
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
159 LTV_REVISION=0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
160 LTV_AGE=3
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
161
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
162 .SUFFIXES:
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
163 .SUFFIXES: .c .y .o .lo .sin .sed
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
164
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
165 .c.o:
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
166 $(COMPILE) $<
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
167
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
168 .y.c:
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
169 $(YACC) $(YFLAGS) --output $@ $<
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
170 rm -f $*.h
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
171
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
172 bindtextdom.lo: $(srcdir)/bindtextdom.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
173 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/bindtextdom.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
174 dcgettext.lo: $(srcdir)/dcgettext.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
175 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/dcgettext.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
176 dgettext.lo: $(srcdir)/dgettext.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
177 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/dgettext.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
178 gettext.lo: $(srcdir)/gettext.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
179 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/gettext.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
180 finddomain.lo: $(srcdir)/finddomain.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
181 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/finddomain.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
182 loadmsgcat.lo: $(srcdir)/loadmsgcat.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
183 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/loadmsgcat.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
184 localealias.lo: $(srcdir)/localealias.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
185 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/localealias.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
186 textdomain.lo: $(srcdir)/textdomain.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
187 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/textdomain.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
188 l10nflist.lo: $(srcdir)/l10nflist.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
189 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/l10nflist.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
190 explodename.lo: $(srcdir)/explodename.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
191 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/explodename.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
192 dcigettext.lo: $(srcdir)/dcigettext.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
193 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/dcigettext.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
194 dcngettext.lo: $(srcdir)/dcngettext.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
195 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/dcngettext.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
196 dngettext.lo: $(srcdir)/dngettext.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
197 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/dngettext.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
198 ngettext.lo: $(srcdir)/ngettext.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
199 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/ngettext.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
200 plural.lo: $(srcdir)/plural.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
201 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/plural.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
202 plural-exp.lo: $(srcdir)/plural-exp.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
203 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/plural-exp.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
204 localcharset.lo: $(srcdir)/localcharset.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
205 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/localcharset.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
206 relocatable.lo: $(srcdir)/relocatable.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
207 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/relocatable.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
208 localename.lo: $(srcdir)/localename.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
209 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/localename.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
210 log.lo: $(srcdir)/log.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
211 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/log.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
212 osdep.lo: $(srcdir)/osdep.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
213 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/osdep.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
214 intl-compat.lo: $(srcdir)/intl-compat.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
215 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/intl-compat.c
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
216
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
217 ref-add.sed: $(srcdir)/ref-add.sin
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
218 sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $(srcdir)/ref-add.sin > t-ref-add.sed
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
219 mv t-ref-add.sed ref-add.sed
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
220 ref-del.sed: $(srcdir)/ref-del.sin
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
221 sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $(srcdir)/ref-del.sin > t-ref-del.sed
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
222 mv t-ref-del.sed ref-del.sed
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
223
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
224 INCLUDES = -I. -I$(srcdir) -I..
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
225
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
226 libgnuintl.h: $(srcdir)/libgnuintl.h.in
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
227 cp $(srcdir)/libgnuintl.h.in libgnuintl.h
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
228
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
229 libintl.h: libgnuintl.h
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
230 cp libgnuintl.h libintl.h
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
231
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
232 charset.alias: $(srcdir)/config.charset
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
233 $(SHELL) $(srcdir)/config.charset '@host@' > t-$@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
234 mv t-$@ $@
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
235
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
236 check: all
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
237
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
238 # We must not install the libintl.h/libintl.a files if we are on a
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
239 # system which has the GNU gettext() function in its C library or in a
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
240 # separate library.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
241 # If you want to use the one which comes with this version of the
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
242 # package, you have to use `configure --with-included-gettext'.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
243 install: install-exec install-data
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
244 install-exec: all
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
245 if { test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; } \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
246 && test '@USE_INCLUDED_LIBINTL@' = yes; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
247 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir); \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
248 $(INSTALL_DATA) libintl.h $(DESTDIR)$(includedir)/libintl.h; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
249 $(LIBTOOL) --mode=install \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
250 $(INSTALL_DATA) libintl.$la $(DESTDIR)$(libdir)/libintl.$la; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
251 if test "@RELOCATABLE@" = yes; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
252 dependencies=`sed -n -e 's,^dependency_libs=\(.*\),\1,p' < $(DESTDIR)$(libdir)/libintl.la | sed -e "s,^',," -e "s,'\$$,,"`; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
253 if test -n "$dependencies"; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
254 rm -f $(DESTDIR)$(libdir)/libintl.la; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
255 fi; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
256 fi; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
257 else \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
258 : ; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
259 fi
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
260 if test "$(PACKAGE)" = "gettext-tools" \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
261 && test '@USE_INCLUDED_LIBINTL@' = no; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
262 $(mkinstalldirs) $(DESTDIR)$(libdir); \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
263 $(LIBTOOL) --mode=install \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
264 $(INSTALL_DATA) libgnuintl.$la $(DESTDIR)$(libdir)/libgnuintl.$la; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
265 rm -f $(DESTDIR)$(libdir)/preloadable_libintl.so; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
266 $(INSTALL_DATA) $(DESTDIR)$(libdir)/libgnuintl.so $(DESTDIR)$(libdir)/preloadable_libintl.so; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
267 $(LIBTOOL) --mode=uninstall \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
268 rm -f $(DESTDIR)$(libdir)/libgnuintl.$la; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
269 else \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
270 : ; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
271 fi
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
272 if test '@USE_INCLUDED_LIBINTL@' = yes; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
273 test @GLIBC21@ != no || $(mkinstalldirs) $(DESTDIR)$(libdir); \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
274 temp=$(DESTDIR)$(libdir)/t-charset.alias; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
275 dest=$(DESTDIR)$(libdir)/charset.alias; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
276 if test -f $(DESTDIR)$(libdir)/charset.alias; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
277 orig=$(DESTDIR)$(libdir)/charset.alias; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
278 sed -f ref-add.sed $$orig > $$temp; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
279 $(INSTALL_DATA) $$temp $$dest; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
280 rm -f $$temp; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
281 else \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
282 if test @GLIBC21@ = no; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
283 orig=charset.alias; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
284 sed -f ref-add.sed $$orig > $$temp; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
285 $(INSTALL_DATA) $$temp $$dest; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
286 rm -f $$temp; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
287 fi; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
288 fi; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
289 $(mkinstalldirs) $(DESTDIR)$(localedir); \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
290 test -f $(DESTDIR)$(localedir)/locale.alias \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
291 && orig=$(DESTDIR)$(localedir)/locale.alias \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
292 || orig=$(srcdir)/locale.alias; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
293 temp=$(DESTDIR)$(localedir)/t-locale.alias; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
294 dest=$(DESTDIR)$(localedir)/locale.alias; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
295 sed -f ref-add.sed $$orig > $$temp; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
296 $(INSTALL_DATA) $$temp $$dest; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
297 rm -f $$temp; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
298 else \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
299 : ; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
300 fi
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
301 install-data: all
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
302 if test "$(PACKAGE)" = "gettext-tools"; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
303 $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
304 $(INSTALL_DATA) VERSION $(DESTDIR)$(gettextsrcdir)/VERSION; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
305 $(INSTALL_DATA) ChangeLog.inst $(DESTDIR)$(gettextsrcdir)/ChangeLog; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
306 dists="COPYING.LIB-2.0 COPYING.LIB-2.1 $(DISTFILES.common)"; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
307 for file in $$dists; do \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
308 $(INSTALL_DATA) $(srcdir)/$$file \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
309 $(DESTDIR)$(gettextsrcdir)/$$file; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
310 done; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
311 chmod a+x $(DESTDIR)$(gettextsrcdir)/config.charset; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
312 dists="$(DISTFILES.generated)"; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
313 for file in $$dists; do \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
314 if test -f $$file; then dir=.; else dir=$(srcdir); fi; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
315 $(INSTALL_DATA) $$dir/$$file \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
316 $(DESTDIR)$(gettextsrcdir)/$$file; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
317 done; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
318 dists="$(DISTFILES.obsolete)"; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
319 for file in $$dists; do \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
320 rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
321 done; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
322 else \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
323 : ; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
324 fi
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
325
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
326 install-strip: install
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
327
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
328 installdirs:
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
329 if { test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; } \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
330 && test '@USE_INCLUDED_LIBINTL@' = yes; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
331 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir); \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
332 else \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
333 : ; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
334 fi
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
335 if test "$(PACKAGE)" = "gettext-tools" \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
336 && test '@USE_INCLUDED_LIBINTL@' = no; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
337 $(mkinstalldirs) $(DESTDIR)$(libdir); \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
338 else \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
339 : ; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
340 fi
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
341 if test '@USE_INCLUDED_LIBINTL@' = yes; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
342 test @GLIBC21@ != no || $(mkinstalldirs) $(DESTDIR)$(libdir); \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
343 $(mkinstalldirs) $(DESTDIR)$(localedir); \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
344 else \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
345 : ; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
346 fi
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
347 if test "$(PACKAGE)" = "gettext-tools"; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
348 $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
349 else \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
350 : ; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
351 fi
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
352
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
353 # Define this as empty until I found a useful application.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
354 installcheck:
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
355
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
356 uninstall:
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
357 if { test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; } \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
358 && test '@USE_INCLUDED_LIBINTL@' = yes; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
359 rm -f $(DESTDIR)$(includedir)/libintl.h; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
360 $(LIBTOOL) --mode=uninstall \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
361 rm -f $(DESTDIR)$(libdir)/libintl.$la; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
362 else \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
363 : ; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
364 fi
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
365 if test "$(PACKAGE)" = "gettext-tools" \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
366 && test '@USE_INCLUDED_LIBINTL@' = no; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
367 rm -f $(DESTDIR)$(libdir)/preloadable_libintl.so; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
368 else \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
369 : ; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
370 fi
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
371 if test '@USE_INCLUDED_LIBINTL@' = yes; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
372 if test -f $(DESTDIR)$(libdir)/charset.alias; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
373 temp=$(DESTDIR)$(libdir)/t-charset.alias; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
374 dest=$(DESTDIR)$(libdir)/charset.alias; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
375 sed -f ref-del.sed $$dest > $$temp; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
376 if grep '^# Packages using this file: $$' $$temp > /dev/null; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
377 rm -f $$dest; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
378 else \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
379 $(INSTALL_DATA) $$temp $$dest; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
380 fi; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
381 rm -f $$temp; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
382 fi; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
383 if test -f $(DESTDIR)$(localedir)/locale.alias; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
384 temp=$(DESTDIR)$(localedir)/t-locale.alias; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
385 dest=$(DESTDIR)$(localedir)/locale.alias; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
386 sed -f ref-del.sed $$dest > $$temp; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
387 if grep '^# Packages using this file: $$' $$temp > /dev/null; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
388 rm -f $$dest; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
389 else \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
390 $(INSTALL_DATA) $$temp $$dest; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
391 fi; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
392 rm -f $$temp; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
393 fi; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
394 else \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
395 : ; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
396 fi
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
397 if test "$(PACKAGE)" = "gettext-tools"; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
398 for file in VERSION ChangeLog COPYING.LIB-2.0 COPYING.LIB-2.1 $(DISTFILES.common) $(DISTFILES.generated); do \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
399 rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
400 done; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
401 else \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
402 : ; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
403 fi
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
404
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
405 info dvi ps pdf html:
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
406
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
407 $(OBJECTS): ../config.h libgnuintl.h
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
408 bindtextdom.$lo dcgettext.$lo dcigettext.$lo dcngettext.$lo dgettext.$lo dngettext.$lo finddomain.$lo gettext.$lo intl-compat.$lo loadmsgcat.$lo localealias.$lo ngettext.$lo textdomain.$lo: $(srcdir)/gettextP.h $(srcdir)/gmo.h $(srcdir)/loadinfo.h
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
409 dcigettext.$lo loadmsgcat.$lo: $(srcdir)/hash-string.h
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
410 explodename.$lo l10nflist.$lo: $(srcdir)/loadinfo.h
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
411 dcigettext.$lo loadmsgcat.$lo plural.$lo plural-exp.$lo: $(srcdir)/plural-exp.h
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
412 dcigettext.$lo: $(srcdir)/eval-plural.h
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
413 localcharset.$lo: $(srcdir)/localcharset.h
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
414 localealias.$lo localcharset.$lo relocatable.$lo: $(srcdir)/relocatable.h
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
415
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
416 tags: TAGS
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
417
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
418 TAGS: $(HEADERS) $(SOURCES)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
419 here=`pwd`; cd $(srcdir) && etags -o $$here/TAGS $(HEADERS) $(SOURCES)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
420
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
421 ctags: CTAGS
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
422
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
423 CTAGS: $(HEADERS) $(SOURCES)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
424 here=`pwd`; cd $(srcdir) && ctags -o $$here/CTAGS $(HEADERS) $(SOURCES)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
425
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
426 id: ID
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
427
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
428 ID: $(HEADERS) $(SOURCES)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
429 here=`pwd`; cd $(srcdir) && mkid -f$$here/ID $(HEADERS) $(SOURCES)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
430
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
431
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
432 mostlyclean:
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
433 rm -f *.a *.la *.o *.obj *.lo core core.*
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
434 rm -f libgnuintl.h libintl.h charset.alias ref-add.sed ref-del.sed
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
435 rm -f -r .libs _libs
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
436
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
437 clean: mostlyclean
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
438
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
439 distclean: clean
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
440 rm -f Makefile ID TAGS
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
441 if test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
442 rm -f ChangeLog.inst $(DISTFILES.normal); \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
443 else \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
444 : ; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
445 fi
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
446
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
447 maintainer-clean: distclean
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
448 @echo "This command is intended for maintainers to use;"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
449 @echo "it deletes files that may require special tools to rebuild."
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
450
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
451
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
452 # GNU gettext needs not contain the file `VERSION' but contains some
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
453 # other files which should not be distributed in other packages.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
454 distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
455 dist distdir: Makefile
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
456 if test "$(PACKAGE)" = "gettext-tools"; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
457 : ; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
458 else \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
459 if test "$(PACKAGE)" = "gettext-runtime"; then \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
460 additional="$(DISTFILES.gettext)"; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
461 else \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
462 additional="$(DISTFILES.normal)"; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
463 fi; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
464 $(MAKE) $(DISTFILES.common) $(DISTFILES.generated) $$additional; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
465 for file in ChangeLog $(DISTFILES.common) $(DISTFILES.generated) $$additional; do \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
466 if test -f $$file; then dir=.; else dir=$(srcdir); fi; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
467 cp -p $$dir/$$file $(distdir); \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
468 done; \
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
469 fi
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
470
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
471 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
472 cd $(top_builddir) && $(SHELL) ./config.status
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
473 # This would be more efficient, but doesn't work any more with autoconf-2.57,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
474 # when AC_CONFIG_FILES([intl/Makefile:somedir/Makefile.in]) is used.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
475 # cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
476
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
477 # Tell versions [3.59,3.63) of GNU make not to export all variables.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
478 # Otherwise a system limit (for SysV at least) may be exceeded.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
479 .NOEXPORT: