17
# $Id: Makefile.am,v 1.7 2004/11/06 22:05:59 karl Exp $
18
# Makefile.am for texinfo/lib.
19
# Run automake in .. to produce Makefile.in from this.
21
# This file is free software; as a special exception the author gives
22
# unlimited permission to copy and/or distribute it, with or without
23
# modifications, as long as this notice is preserved.
25
# This program is distributed in the hope that it will be useful, but
26
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
27
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
29
SOURCES = $(libtxi_a_SOURCES)
19
32
top_srcdir = @top_srcdir@
22
exec_prefix = @exec_prefix@
26
libexecdir = @libexecdir@
28
sysconfdir = @sysconfdir@
29
sharedstatedir = @sharedstatedir@
30
localstatedir = @localstatedir@
34
includedir = @includedir@
35
oldincludedir = /usr/include
36
34
pkgdatadir = $(datadir)/@PACKAGE@
37
35
pkglibdir = $(libdir)/@PACKAGE@
38
36
pkgincludedir = $(includedir)/@PACKAGE@
44
AUTOHEADER = @AUTOHEADER@
38
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
46
39
INSTALL = @INSTALL@
47
INSTALL_PROGRAM = @INSTALL_PROGRAM@
48
INSTALL_DATA = @INSTALL_DATA@
49
INSTALL_SCRIPT = @INSTALL_SCRIPT@
40
install_sh_DATA = $(install_sh) -c -m 644
41
install_sh_PROGRAM = $(install_sh) -c
42
install_sh_SCRIPT = $(install_sh) -c
50
43
INSTALL_HEADER = $(INSTALL_DATA)
51
transform = @program_transform_name@
44
transform = $(program_transform_name)
55
48
NORMAL_UNINSTALL = :
58
host_alias = @host_alias@
51
build_triplet = @build@
59
52
host_triplet = @host@
54
DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
55
alloca.c memcpy.c memmove.c mkstemp.c strcasecmp.c strdup.c \
56
strerror.c strncasecmp.c tempname.c
57
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
58
am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \
59
$(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \
60
$(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \
61
$(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \
62
$(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \
63
$(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/lib-ld.m4 \
64
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
65
$(top_srcdir)/m4/longdouble.m4 $(top_srcdir)/m4/longlong.m4 \
66
$(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/nls.m4 \
67
$(top_srcdir)/m4/onceonly_2_57.m4 $(top_srcdir)/m4/po.m4 \
68
$(top_srcdir)/m4/printf-posix.m4 $(top_srcdir)/m4/progtest.m4 \
69
$(top_srcdir)/m4/signed.m4 $(top_srcdir)/m4/size_max.m4 \
70
$(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/strcase.m4 \
71
$(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \
72
$(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \
73
$(top_srcdir)/m4/xsize.m4 $(top_srcdir)/configure.ac
74
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
76
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
77
CONFIG_HEADER = $(top_builddir)/config.h
79
LIBRARIES = $(noinst_LIBRARIES)
82
libtxi_a_AR = $(AR) $(ARFLAGS)
83
am__DEPENDENCIES_1 = @LIBOBJS@
84
am__DEPENDENCIES_2 = @ALLOCA@
85
am_libtxi_a_OBJECTS = getopt.$(OBJEXT) getopt1.$(OBJEXT) \
86
substring.$(OBJEXT) xexit.$(OBJEXT) xmalloc.$(OBJEXT) \
88
libtxi_a_OBJECTS = $(am_libtxi_a_OBJECTS)
89
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
90
depcomp = $(SHELL) $(top_srcdir)/depcomp
91
am__depfiles_maybe = depfiles
92
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
93
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
95
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
96
SOURCES = $(libtxi_a_SOURCES)
97
DIST_SOURCES = $(libtxi_a_SOURCES)
100
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
103
AMDEP_FALSE = @AMDEP_FALSE@
104
AMDEP_TRUE = @AMDEP_TRUE@
106
AUTOCONF = @AUTOCONF@
107
AUTOHEADER = @AUTOHEADER@
108
AUTOMAKE = @AUTOMAKE@
62
110
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
63
111
CATOBJEXT = @CATOBJEXT@
113
CCDEPMODE = @CCDEPMODE@
116
CPPFLAGS = @CPPFLAGS@
117
CYGPATH_W = @CYGPATH_W@
65
118
DATADIRNAME = @DATADIRNAME@
69
127
GLIBC21 = @GLIBC21@
70
128
GMSGFMT = @GMSGFMT@
129
HAVE_ASPRINTF = @HAVE_ASPRINTF@
130
HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
131
HAVE_SNPRINTF = @HAVE_SNPRINTF@
132
HAVE_WPRINTF = @HAVE_WPRINTF@
133
HELP2MAN = @HELP2MAN@
134
INSTALL_DATA = @INSTALL_DATA@
135
INSTALL_PROGRAM = @INSTALL_PROGRAM@
136
INSTALL_SCRIPT = @INSTALL_SCRIPT@
72
137
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
138
INSTALL_WARNINGS_FALSE = @INSTALL_WARNINGS_FALSE@
139
INSTALL_WARNINGS_TRUE = @INSTALL_WARNINGS_TRUE@
73
140
INSTOBJEXT = @INSTOBJEXT@
74
141
INTLBISON = @INTLBISON@
75
142
INTLLIBS = @INTLLIBS@
76
143
INTLOBJS = @INTLOBJS@
77
144
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
79
146
LIBICONV = @LIBICONV@
80
147
LIBINTL = @LIBINTL@
82
150
LTLIBICONV = @LTLIBICONV@
83
151
LTLIBINTL = @LTLIBINTL@
152
LTLIBOBJS = @LTLIBOBJS@
154
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
155
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
156
MAKEINFO = @MAKEINFO@
84
157
MKINSTALLDIRS = @MKINSTALLDIRS@
159
MSGMERGE = @MSGMERGE@
86
161
PACKAGE = @PACKAGE@
162
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
163
PACKAGE_NAME = @PACKAGE_NAME@
164
PACKAGE_STRING = @PACKAGE_STRING@
165
PACKAGE_TARNAME = @PACKAGE_TARNAME@
166
PACKAGE_VERSION = @PACKAGE_VERSION@
167
PATH_SEPARATOR = @PATH_SEPARATOR@
170
SET_MAKE = @SET_MAKE@
89
173
TERMLIBS = @TERMLIBS@
174
TOOLS_ONLY_FALSE = @TOOLS_ONLY_FALSE@
175
TOOLS_ONLY_TRUE = @TOOLS_ONLY_TRUE@
90
176
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
91
177
USE_NLS = @USE_NLS@
92
178
VERSION = @VERSION@
179
XGETTEXT = @XGETTEXT@
180
ac_ct_CC = @ac_ct_CC@
181
ac_ct_RANLIB = @ac_ct_RANLIB@
182
ac_ct_STRIP = @ac_ct_STRIP@
183
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
184
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
93
185
am__include = @am__include@
186
am__leading_dot = @am__leading_dot@
94
187
am__quote = @am__quote@
189
am__untar = @am__untar@
192
build_alias = @build_alias@
193
build_cpu = @build_cpu@
194
build_os = @build_os@
195
build_vendor = @build_vendor@
197
exec_prefix = @exec_prefix@
199
host_alias = @host_alias@
200
host_cpu = @host_cpu@
202
host_vendor = @host_vendor@
203
includedir = @includedir@
95
205
install_sh = @install_sh@
207
libexecdir = @libexecdir@
208
localstatedir = @localstatedir@
211
native_tools = @native_tools@
212
oldincludedir = @oldincludedir@
214
program_transform_name = @program_transform_name@
216
sharedstatedir = @sharedstatedir@
217
sysconfdir = @sysconfdir@
218
target_alias = @target_alias@
97
219
noinst_LIBRARIES = libtxi.a
98
220
INCLUDES = -I../intl
100
222
# Don't need to list alloca.c, etc., Automake includes them.
101
libtxi_a_SOURCES = getopt.c getopt.h getopt1.c gettext.h substring.c system.h \
102
xexit.c xmalloc.c xstrdup.c
223
libtxi_a_SOURCES = getopt.c getopt.h getopt1.c getopt_.h getopt_int.h \
225
strcase.h strdup.h substring.c system.h \
226
xalloc.h xexit.c xmalloc.c xstrdup.c
104
libtxi_a_LIBADD = @LIBOBJS@ @ALLOCA@
228
libtxi_a_LIBADD = $(LIBOBJS) $(ALLOCA)
105
229
libtxi_a_DEPENDENCIES = $(libtxi_a_LIBADD)
107
230
EXTRA_DIST = README
109
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
110
CONFIG_HEADER = $(top_builddir)/config.h
112
LIBRARIES = $(noinst_LIBRARIES)
114
libtxi_a_AR = $(AR) cru
115
am_libtxi_a_OBJECTS = getopt.$(OBJEXT) getopt1.$(OBJEXT) \
116
substring.$(OBJEXT) xexit.$(OBJEXT) xmalloc.$(OBJEXT) \
118
libtxi_a_OBJECTS = $(am_libtxi_a_OBJECTS)
121
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
122
CPPFLAGS = @CPPFLAGS@
125
depcomp = $(SHELL) $(top_srcdir)/depcomp
126
@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/alloca.Po $(DEPDIR)/getopt.Po \
127
@AMDEP_TRUE@ $(DEPDIR)/getopt1.Po $(DEPDIR)/memcpy.Po \
128
@AMDEP_TRUE@ $(DEPDIR)/memmove.Po $(DEPDIR)/strcasecmp.Po \
129
@AMDEP_TRUE@ $(DEPDIR)/strdup.Po $(DEPDIR)/strerror.Po \
130
@AMDEP_TRUE@ $(DEPDIR)/strncasecmp.Po $(DEPDIR)/substring.Po \
131
@AMDEP_TRUE@ $(DEPDIR)/xexit.Po $(DEPDIR)/xmalloc.Po \
132
@AMDEP_TRUE@ $(DEPDIR)/xstrdup.Po
133
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
134
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
136
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
138
DIST_SOURCES = $(libtxi_a_SOURCES)
139
DIST_COMMON = README Makefile.am Makefile.in alloca.c memcpy.c \
140
memmove.c strcasecmp.c strdup.c strerror.c strncasecmp.c
141
SOURCES = $(libtxi_a_SOURCES)
146
234
.SUFFIXES: .c .o .obj
147
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
235
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
237
case '$(am__configure_deps)' in \
239
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
244
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu lib/Makefile'; \
148
245
cd $(top_srcdir) && \
149
246
$(AUTOMAKE) --gnu lib/Makefile
150
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
151
cd $(top_builddir) && \
152
CONFIG_HEADERS= CONFIG_LINKS= \
153
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
248
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
251
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
253
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
254
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
257
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
258
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
260
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
261
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
262
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
263
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
157
265
clean-noinstLIBRARIES:
158
266
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
162
270
$(RANLIB) libtxi.a
164
272
mostlyclean-compile:
165
-rm -f *.$(OBJEXT) core *.core
167
275
distclean-compile:
170
278
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/alloca.Po@am__quote@
171
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getopt.Po@am__quote@
172
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getopt1.Po@am__quote@
173
279
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/memcpy.Po@am__quote@
174
280
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/memmove.Po@am__quote@
281
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/mkstemp.Po@am__quote@
175
282
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strcasecmp.Po@am__quote@
176
283
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strdup.Po@am__quote@
177
284
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strerror.Po@am__quote@
178
285
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strncasecmp.Po@am__quote@
179
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/substring.Po@am__quote@
180
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/xexit.Po@am__quote@
181
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/xmalloc.Po@am__quote@
182
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/xstrdup.Po@am__quote@
286
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/tempname.Po@am__quote@
287
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@
288
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@
289
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/substring.Po@am__quote@
290
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xexit.Po@am__quote@
291
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xmalloc.Po@am__quote@
292
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xstrdup.Po@am__quote@
188
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
189
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
190
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
191
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
295
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
296
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
297
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
298
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
299
@am__fastdepCC_FALSE@ $(COMPILE) -c $<
194
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
195
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
196
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
197
$(COMPILE) -c `cygpath -w $<`
198
CCDEPMODE = @CCDEPMODE@
302
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
303
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
304
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
305
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
306
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
199
307
uninstall-info-am:
309
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
310
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
311
unique=`for i in $$list; do \
312
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
314
$(AWK) ' { files[$$0] = 1; } \
315
END { for (i in files) print i; }'`; \
203
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
204
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
205
unique=`for i in $$list; do \
206
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
208
$(AWK) ' { files[$$0] = 1; } \
209
END { for (i in files) print i; }'`; \
210
mkid -fID $$unique $(LISP)
212
319
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
213
320
$(TAGS_FILES) $(LISP)
216
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
217
unique=`for i in $$list; do \
218
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
220
$(AWK) ' { files[$$0] = 1; } \
221
END { for (i in files) print i; }'`; \
222
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
223
|| etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
323
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
324
unique=`for i in $$list; do \
325
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
327
$(AWK) ' { files[$$0] = 1; } \
328
END { for (i in files) print i; }'`; \
329
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
330
test -n "$$unique" || unique=$$empty_fix; \
331
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
335
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
336
$(TAGS_FILES) $(LISP)
339
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
340
unique=`for i in $$list; do \
341
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
343
$(AWK) ' { files[$$0] = 1; } \
344
END { for (i in files) print i; }'`; \
345
test -z "$(CTAGS_ARGS)$$tags$$unique" \
346
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
226
here=`CDPATH=: && cd $(top_builddir) && pwd` \
350
here=`$(am__cd) $(top_builddir) && pwd` \
227
351
&& cd $(top_srcdir) \
228
352
&& gtags -i $(GTAGS_ARGS) $$here
231
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
233
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
236
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
355
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
238
357
distdir: $(DISTFILES)
239
@for file in $(DISTFILES); do \
240
if test -f $$file; then d=.; else d=$(srcdir); fi; \
358
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
359
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
360
list='$(DISTFILES)'; for file in $$list; do \
362
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
363
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
365
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
241
366
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
242
367
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
243
$(mkinstalldirs) "$(distdir)/$$dir"; \
369
$(mkdir_p) "$(distdir)$$dir"; \
245
373
if test -d $$d/$$file; then \
246
cp -pR $$d/$$file $(distdir) \
374
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
375
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
377
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
249
379
test -f $(distdir)/$$file \
250
380
|| cp -p $$d/$$file $(distdir)/$$file \