~ubuntu-branches/ubuntu/breezy/gettext/breezy

« back to all changes in this revision

Viewing changes to gettext-tools/src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2004-03-14 17:40:02 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040314174002-p1ad5ldve1hqzhye
Tags: 0.14.1-2
* Added libexpat1-dev to Build-Depends, for glade support.
* Added libc0.1-dev to Build-Depends, for GNU/kFreeBSD.
* Removed special-casing of knetbsd-gnu in debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Makefile for the gettext-tools/src subdirectory of GNU gettext
 
2
## Copyright (C) 1995-1998, 2000-2003 Free Software Foundation, Inc.
 
3
##
 
4
## This program is free software; you can redistribute it and/or modify
 
5
## it under the terms of the GNU General Public License as published by
 
6
## the Free Software Foundation; either version 2, or (at your option)
 
7
## any later version.
 
8
##
 
9
## This program is distributed in the hope that it will be useful,
 
10
## but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
## GNU General Public License for more details.
 
13
##
 
14
## You should have received a copy of the GNU General Public License
 
15
## along with this program; if not, write to the Free Software
 
16
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
17
 
 
18
## Process this file with automake to produce Makefile.in.
 
19
 
 
20
AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies
 
21
EXTRA_DIST =
 
22
CLEANFILES =
 
23
DISTCLEANFILES =
 
24
 
 
25
RM = rm -f
 
26
 
 
27
bin_PROGRAMS = \
 
28
msgcmp msgfmt msgmerge msgunfmt xgettext \
 
29
msgattrib msgcat msgcomm msgconv msgen msgexec msgfilter msggrep msginit msguniq
 
30
 
 
31
noinst_PROGRAMS = hostname urlget
 
32
 
 
33
lib_LTLIBRARIES = libgettextsrc.la libgettextpo.la
 
34
 
 
35
include_HEADERS = gettext-po.h
 
36
 
 
37
noinst_HEADERS = pos.h message.h po-gram.h po-hash.h po-charset.h po-lex.h \
 
38
open-po.h read-po-abstract.h read-po.h read-properties.h read-stringtable.h \
 
39
str-list.h write-po.h write-properties.h write-stringtable.h dir-list.h \
 
40
file-list.h po-gram-gen.h po-gram-gen2.h po-hash-gen.h msgl-charset.h \
 
41
msgl-equal.h msgl-iconv.h msgl-ascii.h msgl-cat.h msgl-english.h msgfmt.h \
 
42
msgunfmt.h plural-count.h read-mo.h write-mo.h read-java.h write-java.h \
 
43
read-csharp.h write-csharp.h read-resources.h write-resources.h read-tcl.h \
 
44
write-tcl.h write-qt.h po-time.h plural-table.h format.h \
 
45
xgettext.h x-c.h x-po.h x-sh.h x-python.h x-lisp.h x-elisp.h x-librep.h \
 
46
x-smalltalk.h x-java.h x-properties.h x-csharp.h x-awk.h x-ycp.h x-tcl.h \
 
47
x-perl.h x-php.h x-stringtable.h x-rst.h x-glade.h
 
48
 
 
49
EXTRA_DIST += FILES project-id ChangeLog.0
 
50
 
 
51
localedir = $(datadir)/locale
 
52
aliaspath = $(localedir)
 
53
jardir = $(datadir)/gettext
 
54
pkgdatadir = $(datadir)/gettext
 
55
projectsdir = $(pkgdatadir)/projects
 
56
pkglibdir = $(libdir)/gettext
 
57
 
 
58
AM_CPPFLAGS = \
 
59
  -I. -I$(srcdir) \
 
60
  -I.. \
 
61
  -I$(top_srcdir)/libuniname \
 
62
  -I../lib -I$(top_srcdir)/lib \
 
63
  -I../intl -I$(top_srcdir)/../gettext-runtime/intl
 
64
DEFS = \
 
65
  -DLOCALEDIR=\"$(localedir)\" \
 
66
  -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \
 
67
  -DUSEJEXE=$(USEJEXE) \
 
68
  -DGETTEXTJEXEDIR=\"$(pkglibdir)\" \
 
69
  -DGETTEXTJAR=\"$(jardir)/gettext.jar\" \
 
70
  -DLIBDIR=\"$(libdir)\" \
 
71
  -DGETTEXTDATADIR=\"$(pkgdatadir)\" \
 
72
  -DPROJECTSDIR=\"$(projectsdir)\" @DEFS@
 
73
LDADD = ../lib/libgettextlib.la @LTLIBINTL@
 
74
 
 
75
SED = sed
 
76
YACC = @YACC@ -d
 
77
GCJ = @GCJ@
 
78
GCJFLAGS = @GCJFLAGS@
 
79
JAR = @JAR@
 
80
JAVACOMP = $(SHELL) ../lib/javacomp.sh
 
81
CSHARPCOMP = $(SHELL) ../lib/csharpcomp.sh
 
82
CSHARPCOMPFLAGS = -O -g
 
83
 
 
84
 
 
85
# All programs deal with message lists.
 
86
# All programs must read PO files. (msgunfmt also, for read-java.c,
 
87
# read-csharp.c and read-resources.c.)
 
88
# message.c -> str-list.c.
 
89
# (read-po-abstract.c <--> po-hash-gen.y <--> po-gram-gen.y <--> po-lex.c) -> str-list.c.
 
90
# (read-po-abstract.c <--> po-hash-gen.y <--> po-gram-gen.y <--> po-lex.c) -> open-po.c -> dir-list.c -> str-list.c.
 
91
# (read-po-abstract.c <--> po-hash-gen.y <--> po-gram-gen.y <--> po-lex.c) -> po-charset.c.
 
92
# (read-po-abstract.c <--> po-hash-gen.y <--> po-gram-gen.y <--> po-lex.c) -> message.c -> str-list.c.
 
93
COMMON_SOURCE = message.c \
 
94
read-po-abstract.c po-lex.c po-gram-gen.y po-hash-gen.y po-charset.c \
 
95
read-properties.c read-stringtable.c open-po.c dir-list.c str-list.c
 
96
 
 
97
# xgettext and msgfmt deal with format strings.
 
98
FORMAT_SOURCE = format.c format-invalid.h \
 
99
format-c.c format-sh.c format-python.c format-lisp.c format-elisp.c \
 
100
format-librep.c format-java.c format-csharp.c format-awk.c format-pascal.c \
 
101
format-ycp.c format-tcl.c format-perl.c format-perl-brace.c format-php.c \
 
102
format-gcc-internal.c format-qt.c
 
103
 
 
104
# libgettextsrc contains all code that is needed by at least two programs.
 
105
libgettextsrc_la_SOURCES = \
 
106
$(COMMON_SOURCE) read-po.c write-properties.c write-stringtable.c write-po.c \
 
107
msgl-ascii.c msgl-iconv.c msgl-equal.c msgl-cat.c msgl-english.c file-list.c \
 
108
msgl-charset.c po-time.c plural.c plural-table.c $(FORMAT_SOURCE)
 
109
 
 
110
# libgettextpo contains the public API for PO files.
 
111
libgettextpo_la_SOURCES = gettext-po.c
 
112
# Libtool's library version information for libgettextpo.
 
113
# See the libtool documentation, section "Library interface versions".
 
114
LTV_CURRENT=1
 
115
LTV_REVISION=0
 
116
LTV_AGE=1
 
117
 
 
118
# x-python needs table of Unicode character names.
 
119
LIBUNINAME = ../libuniname/libuniname.a
 
120
 
 
121
# Source dependencies.
 
122
msgcmp_SOURCES = msgcmp.c
 
123
msgfmt_SOURCES = msgfmt.c \
 
124
  write-mo.c write-java.c write-csharp.c write-resources.c write-tcl.c \
 
125
  write-qt.c plural-eval.c
 
126
msgmerge_SOURCES = msgmerge.c plural-count.c
 
127
msgunfmt_SOURCES = msgunfmt.c \
 
128
  read-mo.c read-java.c read-csharp.c read-resources.c read-tcl.c
 
129
xgettext_SOURCES = xgettext.c \
 
130
  x-c.c x-po.c x-sh.c x-python.c x-lisp.c x-elisp.c x-librep.c x-smalltalk.c \
 
131
  x-java.c x-csharp.c x-awk.c x-ycp.c x-tcl.c x-perl.c x-php.c x-rst.c \
 
132
  x-glade.c
 
133
msgattrib_SOURCES = msgattrib.c
 
134
msgcat_SOURCES = msgcat.c
 
135
msgcomm_SOURCES = msgcomm.c
 
136
msgconv_SOURCES = msgconv.c
 
137
msgen_SOURCES = msgen.c
 
138
msgexec_SOURCES = msgexec.c
 
139
msgfilter_SOURCES = msgfilter.c
 
140
msggrep_SOURCES = msggrep.c
 
141
msginit_SOURCES = msginit.c ../../gettext-runtime/intl/localealias.c
 
142
msguniq_SOURCES = msguniq.c
 
143
hostname_SOURCES = hostname.c
 
144
urlget_SOURCES = urlget.c
 
145
 
 
146
# How to build libgettextsrc.la.
 
147
# Need ../lib/libgettextlib.la.
 
148
# Need @LTLIBINTL@ because many source files use gettext().
 
149
# Need @LTLIBICONV@ because po-charset.c, po-lex.c, msgl-iconv.c, write-po.c
 
150
# use iconv().
 
151
libgettextsrc_la_LDFLAGS = \
 
152
  -release @VERSION@ \
 
153
  ../lib/libgettextlib.la @LTLIBINTL@ @LTLIBICONV@ -lc -no-undefined
 
154
 
 
155
# No need to install libgettextsrc.a.
 
156
install-exec-local: install-libLTLIBRARIES install-exec-clean
 
157
install-exec-clean:
 
158
        $(RM) $(DESTDIR)$(libdir)/libgettextsrc.a
 
159
 
 
160
# How to build libgettextpo.la.
 
161
# Need libgettextsrc.la.
 
162
# Need ../lib/libgettextlib.la because of xmalloc.
 
163
libgettextpo_la_LDFLAGS = \
 
164
  -version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \
 
165
  -rpath $(libdir) \
 
166
  libgettextsrc.la ../lib/libgettextlib.la -lc -no-undefined
 
167
# Build order. Only needed for "make -j[N]".
 
168
libgettextpo_la_DEPENDENCIES = libgettextsrc.la
 
169
 
 
170
# Link dependencies.
 
171
msgcmp_LDADD = libgettextsrc.la
 
172
msgfmt_LDADD = libgettextsrc.la
 
173
msgmerge_LDADD = libgettextsrc.la
 
174
msgunfmt_LDADD = libgettextsrc.la
 
175
xgettext_LDADD = $(LIBUNINAME) libgettextsrc.la @LTLIBEXPAT@
 
176
msgattrib_LDADD = libgettextsrc.la
 
177
msgcat_LDADD = libgettextsrc.la
 
178
msgcomm_LDADD = libgettextsrc.la
 
179
msgconv_LDADD = libgettextsrc.la
 
180
msgen_LDADD = libgettextsrc.la
 
181
msgexec_LDADD = libgettextsrc.la
 
182
msgfilter_LDADD = libgettextsrc.la
 
183
msggrep_LDADD = libgettextsrc.la
 
184
msginit_LDADD = ../intl/localename.@INTL_LIBTOOL_SUFFIX_PREFIX@o \
 
185
                libgettextsrc.la
 
186
msguniq_LDADD = libgettextsrc.la
 
187
 
 
188
# Specify installation directory, for --enable-relocatable.
 
189
msgcmp_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
 
190
msgfmt_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
 
191
msgmerge_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
 
192
msgunfmt_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
 
193
xgettext_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
 
194
msgattrib_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
 
195
msgcat_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
 
196
msgcomm_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
 
197
msgconv_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
 
198
msgen_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
 
199
msgexec_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
 
200
msgfilter_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
 
201
msggrep_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
 
202
msginit_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
 
203
msguniq_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
 
204
hostname_CFLAGS = -DINSTALLDIR=\"$(pkglibdir)\"
 
205
urlget_CFLAGS = -DINSTALLDIR=\"$(pkglibdir)\"
 
206
if RELOCATABLE_VIA_LD
 
207
msgcmp_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
 
208
msgfmt_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
 
209
msgmerge_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
 
210
msgunfmt_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
 
211
xgettext_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
 
212
msgattrib_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
 
213
msgcat_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
 
214
msgcomm_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
 
215
msgconv_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
 
216
msgen_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
 
217
msgexec_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
 
218
msgfilter_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
 
219
msggrep_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
 
220
msginit_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
 
221
msguniq_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
 
222
hostname_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(pkglibdir)`
 
223
urlget_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(pkglibdir)`
 
224
endif
 
225
 
 
226
# Special rules for bison and flex generated files.
 
227
 
 
228
BUILT_SOURCES = \
 
229
  po-gram-gen.c po-gram-gen.h po-gram-gen2.h \
 
230
  po-hash-gen.c po-hash-gen.h
 
231
 
 
232
po-lex.o po-lex.lo: po-gram-gen2.h
 
233
po-gram-gen2.h: po-gram-gen.h
 
234
        $(SED) -e 's/yy/po_gram_/g' -e 's/extern /extern DLL_VARIABLE /' $(srcdir)/po-gram-gen.h > $@-tmp
 
235
        mv $@-tmp $@
 
236
 
 
237
 
 
238
# Special rules for installation of auxiliary programs.
 
239
 
 
240
install-exec-local:
 
241
        $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
 
242
        $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) hostname$(EXEEXT) $(DESTDIR)$(pkglibdir)/hostname$(EXEEXT)
 
243
        $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) urlget$(EXEEXT) $(DESTDIR)$(pkglibdir)/urlget$(EXEEXT)
 
244
        $(INSTALL_SCRIPT) user-email $(DESTDIR)$(pkglibdir)/user-email
 
245
        $(INSTALL_SCRIPT) $(srcdir)/project-id $(DESTDIR)$(pkglibdir)/project-id
 
246
 
 
247
installdirs-local:
 
248
        $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
 
249
 
 
250
uninstall-local:
 
251
        $(RM) $(DESTDIR)$(pkglibdir)/hostname$(EXEEXT)
 
252
        $(RM) $(DESTDIR)$(pkglibdir)/urlget$(EXEEXT)
 
253
        $(RM) $(DESTDIR)$(pkglibdir)/user-email
 
254
        $(RM) $(DESTDIR)$(pkglibdir)/project-id
 
255
 
 
256
DISTCLEANFILES += user-email
 
257
 
 
258
 
 
259
# Special rules for Java compilation.
 
260
 
 
261
USEJEXE = $(USEJEXE_@BUILDJAVAEXE@)
 
262
USEJEXE_yes = 1
 
263
USEJEXE_no = 0
 
264
 
 
265
all-local: all-java-@BUILDJAVAEXE@
 
266
all-java-yes: gnu.gettext.DumpResource$(EXEEXT) gnu.gettext.GetURL$(EXEEXT)
 
267
all-java-no: all-java-no-@BUILDJAVA@
 
268
all-java-no-yes: gettext.jar
 
269
all-java-no-no:
 
270
 
 
271
gnu.gettext.DumpResource$(EXEEXT): $(srcdir)/gnu/gettext/DumpResource.java
 
272
        $(GCJ) $(GCJFLAGS) $(srcdir)/gnu/gettext/DumpResource.java --main=gnu.gettext.DumpResource -o $@
 
273
 
 
274
gnu.gettext.GetURL$(EXEEXT): $(srcdir)/gnu/gettext/GetURL.java
 
275
        $(GCJ) $(GCJFLAGS) $(srcdir)/gnu/gettext/GetURL.java --main=gnu.gettext.GetURL -o $@
 
276
 
 
277
gnu/gettext/DumpResource.class: $(srcdir)/gnu/gettext/DumpResource.java
 
278
        $(JAVACOMP) -d . $(srcdir)/gnu/gettext/DumpResource.java
 
279
 
 
280
gnu/gettext/GetURL.class: $(srcdir)/gnu/gettext/GetURL.java
 
281
        $(JAVACOMP) -d . $(srcdir)/gnu/gettext/GetURL.java
 
282
 
 
283
gettext.jar: gnu/gettext/DumpResource.class gnu/gettext/GetURL.class
 
284
        $(JAR) cf $@ gnu/gettext/DumpResource*.class gnu/gettext/GetURL*.class
 
285
 
 
286
EXTRA_DIST += gnu/gettext/DumpResource.java gnu/gettext/GetURL.java
 
287
 
 
288
CLEANFILES += gnu.gettext.DumpResource$(EXEEXT) gnu.gettext.GetURL$(EXEEXT) \
 
289
              gettext.jar gnu/gettext/*.class
 
290
 
 
291
install-exec-local: install-exec-java-@BUILDJAVAEXE@
 
292
install-exec-java-yes: all-java-yes
 
293
        $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
 
294
        $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) gnu.gettext.DumpResource$(EXEEXT) $(DESTDIR)$(pkglibdir)/gnu.gettext.DumpResource$(EXEEXT)
 
295
        $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) gnu.gettext.GetURL$(EXEEXT) $(DESTDIR)$(pkglibdir)/gnu.gettext.GetURL$(EXEEXT)
 
296
install-exec-java-no:
 
297
 
 
298
install-data-local: install-data-java-@BUILDJAVAEXE@
 
299
install-data-java-yes:
 
300
install-data-java-no: install-data-java-no-@BUILDJAVA@
 
301
install-data-java-no-yes: all-java-no-yes
 
302
        $(INSTALL_DATA) gettext.jar $(DESTDIR)$(jardir)/gettext.jar
 
303
install-data-java-no-no:
 
304
 
 
305
installdirs-local: installdirs-java-@BUILDJAVAEXE@
 
306
installdirs-java-yes:
 
307
        $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
 
308
installdirs-java-no: installdirs-java-no-@BUILDJAVA@
 
309
installdirs-java-no-yes:
 
310
        $(mkinstalldirs) $(DESTDIR)$(jardir)
 
311
installdirs-java-no-no:
 
312
 
 
313
uninstall-local: uninstall-java-@BUILDJAVAEXE@
 
314
uninstall-java-yes:
 
315
        $(RM) $(DESTDIR)$(pkglibdir)/gnu.gettext.DumpResource$(EXEEXT)
 
316
        $(RM) $(DESTDIR)$(pkglibdir)/gnu.gettext.GetURL$(EXEEXT)
 
317
uninstall-java-no: uninstall-java-no-@BUILDJAVA@
 
318
uninstall-java-no-yes:
 
319
        $(RM) $(DESTDIR)$(jardir)/gettext.jar
 
320
uninstall-java-no-no:
 
321
 
 
322
 
 
323
# Special rules for C# auxiliary programs.
 
324
 
 
325
EXTRA_DIST += msgfmt.cs msgunfmt.cs
 
326
 
 
327
CLEANFILES += msgfmt.net.exe msgunfmt.net.exe
 
328
 
 
329
all-local: all-csharp-@BUILDCSHARP@
 
330
all-csharp-yes: msgfmt.net.exe msgunfmt.net.exe
 
331
all-csharp-no:
 
332
 
 
333
msgfmt.net.exe: msgfmt.cs
 
334
        $(CSHARPCOMP) $(CSHARPCOMPFLAGS) -o $@ $(srcdir)/msgfmt.cs
 
335
 
 
336
msgunfmt.net.exe: msgunfmt.cs
 
337
        $(CSHARPCOMP) $(CSHARPCOMPFLAGS) -o $@ -L ../../gettext-runtime/intl-csharp -l GNU.Gettext $(srcdir)/msgunfmt.cs
 
338
 
 
339
install-exec-local: install-exec-csharp-@BUILDCSHARP@
 
340
install-exec-csharp-yes: all-csharp-yes
 
341
        $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
 
342
        $(INSTALL_DATA) msgfmt.net.exe $(DESTDIR)$(pkglibdir)/msgfmt.net.exe
 
343
        $(INSTALL_DATA) msgunfmt.net.exe $(DESTDIR)$(pkglibdir)/msgunfmt.net.exe
 
344
install-exec-csharp-no:
 
345
        $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
 
346
 
 
347
installdirs-local: install-csharp
 
348
installdirs-csharp:
 
349
        $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
 
350
 
 
351
uninstall-local: uninstall-csharp-@BUILDCSHARP@
 
352
uninstall-csharp-yes: all-csharp-yes
 
353
        $(RM) $(DESTDIR)$(pkglibdir)/msgfmt.net.exe
 
354
        $(RM) $(DESTDIR)$(pkglibdir)/msgunfmt.net.exe
 
355
uninstall-csharp-no:
 
356
 
 
357
 
 
358
# Special rules for Tcl auxiliary program.
 
359
 
 
360
EXTRA_DIST += msgunfmt.tcl
 
361
 
 
362
install-data-local: install-tcl
 
363
install-tcl:
 
364
        $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
 
365
        $(INSTALL_DATA) $(srcdir)/msgunfmt.tcl $(DESTDIR)$(pkgdatadir)/msgunfmt.tcl
 
366
 
 
367
installdirs-local: installdirs-tcl
 
368
installdirs-tcl:
 
369
        $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
 
370
 
 
371
uninstall-local: uninstall-tcl
 
372
uninstall-tcl:
 
373
        $(RM) $(DESTDIR)$(pkgdatadir)/msgunfmt.tcl
 
374
 
 
375
 
 
376
# Support for relocatability.
 
377
RELOCATABLE_LIBRARY_PATH = $(libdir)
 
378
RELOCATABLE_SRC_DIR = $(top_srcdir)/lib
 
379
RELOCATABLE_BUILD_DIR = ../lib
 
380
RELOCATABLE_CONFIG_H_DIR = ..
 
381
@SET_RELOCATABLE@
 
382
 
 
383
 
 
384
# VMS support.
 
385
 
 
386
EXTRA_DIST += Makefile.vms
 
387
 
 
388
 
 
389
# Woe32 support.
 
390
 
 
391
EXTRA_DIST += Makefile.msvc