1
## DO NOT EDIT! GENERATED AUTOMATICALLY!
2
## Process this file with automake to produce Makefile.in.
3
# Copyright (C) 2002-2010 Free Software Foundation, Inc.
5
# This file is free software, distributed under the terms of the GNU
6
# General Public License. As a special exception to the GNU General
7
# Public License, this file may be distributed as part of a program
8
# that contains a configuration script generated by Autoconf, under
9
# the same distribution terms as the rest of that program.
11
# Generated by gnulib-tool.
12
# Reproduce by: gnulib-tool --import --dir=. --local-dir=gl --lib=libdiffutils --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=gnulib-tests --aux-dir=build-aux --with-tests --no-libtool --macro-prefix=gl announce-gen c-stack config-h diffseq dirname do-release-commit-and-tag dup2 error exclude exit exitfail extensions fcntl fdl file-type fnmatch-gnu getopt gettext gettime git-version-gen gitlog-to-changelog gnu-make gnu-web-doc-update gnumakefile gnupload hard-locale inttostr inttypes maintainer-makefile manywarnings mbrtowc mkstemp mktime progname propername regex sh-quote stat-macros stat-time strcase strftime strptime strtoumax timegm unistd unlocked-io update-copyright verify version-etc version-etc-fsf wcwidth xalloc xfreopen xstrtoumax
14
AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
23
MOSTLYCLEANFILES = core *.stackdump
27
MAINTAINERCLEANFILES =
32
noinst_LIBRARIES += libdiffutils.a
34
libdiffutils_a_SOURCES =
35
libdiffutils_a_LIBADD = $(gl_LIBOBJS)
36
libdiffutils_a_DEPENDENCIES = $(gl_LIBOBJS)
37
EXTRA_libdiffutils_a_SOURCES =
39
## begin gnulib module alloca
42
EXTRA_DIST += alloca.c
44
EXTRA_libdiffutils_a_SOURCES += alloca.c
46
libdiffutils_a_LIBADD += @ALLOCA@
47
libdiffutils_a_DEPENDENCIES += @ALLOCA@
48
## end gnulib module alloca
50
## begin gnulib module alloca-opt
52
BUILT_SOURCES += $(ALLOCA_H)
54
# We need the following in order to create <alloca.h> when the system
55
# doesn't have one that works with the given compiler.
57
$(AM_V_GEN)rm -f $@-t $@ && \
58
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
59
cat $(srcdir)/alloca.in.h; \
62
MOSTLYCLEANFILES += alloca.h alloca.h-t
64
EXTRA_DIST += alloca.in.h
66
## end gnulib module alloca-opt
68
## begin gnulib module announce-gen
71
EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
73
## end gnulib module announce-gen
75
## begin gnulib module arg-nonnull
77
# The BUILT_SOURCES created by this Makefile snippet are not used via #include
78
# statements but through direct file reference. Therefore this snippet must be
79
# present in all Makefile.am that need it. This is ensured by the applicability
80
# 'all' defined above.
82
BUILT_SOURCES += arg-nonnull.h
83
# The arg-nonnull.h that gets inserted into generated .h files is the same as
84
# build-aux/arg-nonnull.h, except that it has the copyright header cut off.
85
arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h
86
$(AM_V_GEN)rm -f $@-t $@ && \
87
sed -n -e '/GL_ARG_NONNULL/,$$p' \
88
< $(top_srcdir)/build-aux/arg-nonnull.h \
91
MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
93
ARG_NONNULL_H=arg-nonnull.h
95
EXTRA_DIST += $(top_srcdir)/build-aux/arg-nonnull.h
97
## end gnulib module arg-nonnull
99
## begin gnulib module bitrotate
101
libdiffutils_a_SOURCES += bitrotate.h
103
## end gnulib module bitrotate
105
## begin gnulib module btowc
108
EXTRA_DIST += btowc.c
110
EXTRA_libdiffutils_a_SOURCES += btowc.c
112
## end gnulib module btowc
114
## begin gnulib module c-ctype
116
libdiffutils_a_SOURCES += c-ctype.h c-ctype.c
118
## end gnulib module c-ctype
120
## begin gnulib module c-stack
122
libdiffutils_a_SOURCES += c-stack.h c-stack.c
124
## end gnulib module c-stack
126
## begin gnulib module c-strcase
128
libdiffutils_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
130
## end gnulib module c-strcase
132
## begin gnulib module configmake
134
# Retrieve values of the variables through 'configure' followed by
135
# 'make', not directly through 'configure', so that a user who
136
# sets some of these variables consistently on the 'make' command
137
# line gets correct results.
139
# One advantage of this approach, compared to the classical
140
# approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
141
# is that it protects against the use of undefined variables.
142
# If, say, $(libdir) is not set in the Makefile, LIBDIR is not
143
# defined by this module, and code using LIBDIR gives a
146
# Another advantage is that 'make' output is shorter.
148
# Listed in the same order as the GNU makefile conventions.
149
# The Automake-defined pkg* macros are appended, in the order
150
# listed in the Automake 1.10a+ documentation.
151
configmake.h: Makefile
152
$(AM_V_GEN)rm -f $@-t && \
153
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
154
echo '#define PREFIX "$(prefix)"'; \
155
echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
156
echo '#define BINDIR "$(bindir)"'; \
157
echo '#define SBINDIR "$(sbindir)"'; \
158
echo '#define LIBEXECDIR "$(libexecdir)"'; \
159
echo '#define DATAROOTDIR "$(datarootdir)"'; \
160
echo '#define DATADIR "$(datadir)"'; \
161
echo '#define SYSCONFDIR "$(sysconfdir)"'; \
162
echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
163
echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
164
echo '#define INCLUDEDIR "$(includedir)"'; \
165
echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
166
echo '#define DOCDIR "$(docdir)"'; \
167
echo '#define INFODIR "$(infodir)"'; \
168
echo '#define HTMLDIR "$(htmldir)"'; \
169
echo '#define DVIDIR "$(dvidir)"'; \
170
echo '#define PDFDIR "$(pdfdir)"'; \
171
echo '#define PSDIR "$(psdir)"'; \
172
echo '#define LIBDIR "$(libdir)"'; \
173
echo '#define LISPDIR "$(lispdir)"'; \
174
echo '#define LOCALEDIR "$(localedir)"'; \
175
echo '#define MANDIR "$(mandir)"'; \
176
echo '#define MANEXT "$(manext)"'; \
177
echo '#define PKGDATADIR "$(pkgdatadir)"'; \
178
echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
179
echo '#define PKGLIBDIR "$(pkglibdir)"'; \
180
echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
181
} | sed '/""/d' > $@-t && \
182
if test -f $@ && cmp $@-t $@ > /dev/null; then \
185
rm -f $@; mv $@-t $@; \
188
BUILT_SOURCES += configmake.h
189
CLEANFILES += configmake.h configmake.h-t
191
## end gnulib module configmake
193
## begin gnulib module diffseq
195
libdiffutils_a_SOURCES += diffseq.h
197
## end gnulib module diffseq
199
## begin gnulib module dirname
202
EXTRA_DIST += basename.c dirname.c stripslash.c
204
EXTRA_libdiffutils_a_SOURCES += basename.c dirname.c stripslash.c
206
## end gnulib module dirname
208
## begin gnulib module dirname-lgpl
211
EXTRA_DIST += basename-lgpl.c dirname-lgpl.c dirname.h stripslash.c
213
EXTRA_libdiffutils_a_SOURCES += basename-lgpl.c dirname-lgpl.c stripslash.c
215
## end gnulib module dirname-lgpl
217
## begin gnulib module do-release-commit-and-tag
220
EXTRA_DIST += $(top_srcdir)/build-aux/do-release-commit-and-tag
222
## end gnulib module do-release-commit-and-tag
224
## begin gnulib module dup2
229
EXTRA_libdiffutils_a_SOURCES += dup2.c
231
## end gnulib module dup2
233
## begin gnulib module errno
235
BUILT_SOURCES += $(ERRNO_H)
237
# We need the following in order to create <errno.h> when the system
238
# doesn't have one that is POSIX compliant.
240
$(AM_V_GEN)rm -f $@-t $@ && \
241
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
242
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
243
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
244
-e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
245
-e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
246
-e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
247
-e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
248
-e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
249
-e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
250
-e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
251
< $(srcdir)/errno.in.h; \
254
MOSTLYCLEANFILES += errno.h errno.h-t
256
EXTRA_DIST += errno.in.h
258
## end gnulib module errno
260
## begin gnulib module error
263
EXTRA_DIST += error.c error.h
265
EXTRA_libdiffutils_a_SOURCES += error.c
267
## end gnulib module error
269
## begin gnulib module exclude
272
EXTRA_DIST += exclude.c exclude.h
274
EXTRA_libdiffutils_a_SOURCES += exclude.c
276
## end gnulib module exclude
278
## begin gnulib module exitfail
281
EXTRA_DIST += exitfail.c exitfail.h
283
EXTRA_libdiffutils_a_SOURCES += exitfail.c
285
## end gnulib module exitfail
287
## begin gnulib module fcntl
290
EXTRA_DIST += fcntl.c
292
EXTRA_libdiffutils_a_SOURCES += fcntl.c
294
## end gnulib module fcntl
296
## begin gnulib module fcntl-h
298
BUILT_SOURCES += fcntl.h
300
# We need the following in order to create <fcntl.h> when the system
301
# doesn't have one that works with the given compiler.
302
fcntl.h: fcntl.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
303
$(AM_V_GEN)rm -f $@-t $@ && \
304
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
305
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
306
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
307
-e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
308
-e 's|@''GNULIB_FCNTL''@|$(GNULIB_FCNTL)|g' \
309
-e 's|@''GNULIB_OPEN''@|$(GNULIB_OPEN)|g' \
310
-e 's|@''GNULIB_OPENAT''@|$(GNULIB_OPENAT)|g' \
311
-e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
312
-e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
313
-e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
314
-e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
315
-e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
316
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
317
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
318
< $(srcdir)/fcntl.in.h; \
321
MOSTLYCLEANFILES += fcntl.h fcntl.h-t
323
EXTRA_DIST += fcntl.in.h
325
## end gnulib module fcntl-h
327
## begin gnulib module file-type
330
EXTRA_DIST += file-type.c file-type.h
332
EXTRA_libdiffutils_a_SOURCES += file-type.c
334
## end gnulib module file-type
336
## begin gnulib module fnmatch
338
BUILT_SOURCES += $(FNMATCH_H)
340
# We need the following in order to create <fnmatch.h> when the system
341
# doesn't have one that supports the required API.
342
fnmatch.h: fnmatch.in.h $(ARG_NONNULL_H)
343
$(AM_V_GEN)rm -f $@-t $@ && \
344
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
345
sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
346
< $(srcdir)/fnmatch.in.h; \
349
MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
351
EXTRA_DIST += fnmatch.c fnmatch.in.h fnmatch_loop.c
353
EXTRA_libdiffutils_a_SOURCES += fnmatch.c fnmatch_loop.c
355
## end gnulib module fnmatch
357
## begin gnulib module freopen
360
EXTRA_DIST += freopen.c
362
EXTRA_libdiffutils_a_SOURCES += freopen.c
364
## end gnulib module freopen
366
## begin gnulib module freopen-safer
369
EXTRA_DIST += freopen-safer.c stdio--.h stdio-safer.h
371
EXTRA_libdiffutils_a_SOURCES += freopen-safer.c
373
## end gnulib module freopen-safer
375
## begin gnulib module gendocs
378
EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
380
## end gnulib module gendocs
382
## begin gnulib module getopt-posix
384
BUILT_SOURCES += $(GETOPT_H)
386
# We need the following in order to create <getopt.h> when the system
387
# doesn't have one that works with the given compiler.
388
getopt.h: getopt.in.h $(ARG_NONNULL_H)
389
$(AM_V_GEN)rm -f $@-t $@ && \
390
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
391
sed -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
392
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
393
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
394
-e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
395
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
396
< $(srcdir)/getopt.in.h; \
399
MOSTLYCLEANFILES += getopt.h getopt.h-t
401
EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
403
EXTRA_libdiffutils_a_SOURCES += getopt.c getopt1.c
405
## end gnulib module getopt-posix
407
## begin gnulib module gettext
409
# This is for those projects which use "gettextize --intl" to put a source-code
410
# copy of libintl into their package. In such projects, every Makefile.am needs
411
# -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
412
# For the Makefile.ams in other directories it is the maintainer's
413
# responsibility; for the one from gnulib we do it here.
414
# This option has no effect when the user disables NLS (because then the intl
415
# directory contains no libintl.h file) or when the project does not use
416
# "gettextize --intl".
417
#AM_CPPFLAGS += -I$(top_builddir)/intl
419
EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
421
## end gnulib module gettext
423
## begin gnulib module gettext-h
425
libdiffutils_a_SOURCES += gettext.h
427
## end gnulib module gettext-h
429
## begin gnulib module gettime
432
EXTRA_DIST += gettime.c
434
EXTRA_libdiffutils_a_SOURCES += gettime.c
436
## end gnulib module gettime
438
## begin gnulib module gettimeofday
441
EXTRA_DIST += gettimeofday.c
443
EXTRA_libdiffutils_a_SOURCES += gettimeofday.c
445
## end gnulib module gettimeofday
447
## begin gnulib module git-version-gen
450
EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
452
## end gnulib module git-version-gen
454
## begin gnulib module gitlog-to-changelog
457
EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog
459
## end gnulib module gitlog-to-changelog
461
## begin gnulib module gnu-make
463
##Sample usage of gnu-make module:
465
# [nicer features that work only with GNU Make]
467
# [fallback features that work in any 'make' implementation; see
468
# http://www.opengroup.org/susv3/utilities/make.html
469
# for the 2004 POSIX specification]
472
## end gnulib module gnu-make
474
## begin gnulib module gnu-web-doc-update
477
EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
479
## end gnulib module gnu-web-doc-update
481
## begin gnulib module gnumakefile
483
distclean-local: clean-GNUmakefile
485
test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
487
EXTRA_DIST += $(top_srcdir)/GNUmakefile
489
## end gnulib module gnumakefile
491
## begin gnulib module gnupload
494
EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
496
## end gnulib module gnupload
498
## begin gnulib module gperf
502
## end gnulib module gperf
504
## begin gnulib module hard-locale
507
EXTRA_DIST += hard-locale.c hard-locale.h
509
EXTRA_libdiffutils_a_SOURCES += hard-locale.c
511
## end gnulib module hard-locale
513
## begin gnulib module hash
516
EXTRA_DIST += hash.c hash.h
518
EXTRA_libdiffutils_a_SOURCES += hash.c
520
## end gnulib module hash
522
## begin gnulib module havelib
525
EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
527
## end gnulib module havelib
529
## begin gnulib module iconv_open
531
BUILT_SOURCES += $(ICONV_H)
533
# We need the following in order to create <iconv.h> when the system
534
# doesn't have one that works with the given compiler.
535
iconv.h: iconv.in.h $(ARG_NONNULL_H)
536
$(AM_V_GEN)rm -f $@-t $@ && \
537
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
538
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
539
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
540
-e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
541
-e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
542
-e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
543
-e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
544
-e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
545
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
546
< $(srcdir)/iconv.in.h; \
549
MOSTLYCLEANFILES += iconv.h iconv.h-t
551
iconv_open-aix.h: iconv_open-aix.gperf
552
$(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
553
mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
554
iconv_open-hpux.h: iconv_open-hpux.gperf
555
$(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
556
mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
557
iconv_open-irix.h: iconv_open-irix.gperf
558
$(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
559
mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
560
iconv_open-osf.h: iconv_open-osf.gperf
561
$(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
562
mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
563
iconv_open-solaris.h: iconv_open-solaris.gperf
564
$(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
565
mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
566
BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
567
MOSTLYCLEANFILES += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t iconv_open-solaris.h-t
568
MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
569
EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
571
EXTRA_DIST += iconv.in.h iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open-solaris.gperf iconv_open.c
573
EXTRA_libdiffutils_a_SOURCES += iconv_open.c
575
## end gnulib module iconv_open
577
## begin gnulib module ignore-value
579
libdiffutils_a_SOURCES += ignore-value.h
581
## end gnulib module ignore-value
583
## begin gnulib module intprops
586
EXTRA_DIST += intprops.h
588
## end gnulib module intprops
590
## begin gnulib module inttostr
593
EXTRA_DIST += imaxtostr.c inttostr.c inttostr.h offtostr.c uinttostr.c umaxtostr.c
595
EXTRA_libdiffutils_a_SOURCES += imaxtostr.c inttostr.c offtostr.c uinttostr.c umaxtostr.c
597
## end gnulib module inttostr
599
## begin gnulib module inttypes
601
BUILT_SOURCES += inttypes.h
603
# We need the following in order to create <inttypes.h> when the system
604
# doesn't have one that works with the given compiler.
605
inttypes.h: inttypes.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
606
$(AM_V_GEN)rm -f $@-t $@ && \
607
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
608
sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
609
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
610
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
611
-e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
612
-e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
613
-e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
614
-e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
615
-e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
616
-e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
617
-e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
618
-e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
619
-e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
620
-e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
621
-e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
622
-e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
623
-e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
624
-e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
625
-e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
626
-e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
627
-e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
628
-e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
629
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
630
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
631
< $(srcdir)/inttypes.in.h; \
634
MOSTLYCLEANFILES += inttypes.h inttypes.h-t
636
EXTRA_DIST += inttypes.in.h
638
## end gnulib module inttypes
640
## begin gnulib module langinfo
642
BUILT_SOURCES += langinfo.h
644
# We need the following in order to create an empty placeholder for
645
# <langinfo.h> when the system doesn't have one.
646
langinfo.h: langinfo.in.h $(WARN_ON_USE_H)
647
$(AM_V_GEN)rm -f $@-t $@ && \
648
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
649
sed -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
650
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
651
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
652
-e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
653
-e 's|@''GNULIB_NL_LANGINFO''@|$(GNULIB_NL_LANGINFO)|g' \
654
-e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
655
-e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
656
-e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
657
-e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
658
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
659
< $(srcdir)/langinfo.in.h; \
662
MOSTLYCLEANFILES += langinfo.h langinfo.h-t
664
EXTRA_DIST += langinfo.in.h
666
## end gnulib module langinfo
668
## begin gnulib module localcharset
670
libdiffutils_a_SOURCES += localcharset.h localcharset.c
672
# We need the following in order to install a simple file in $(libdir)
673
# which is shared with other installed packages. We use a list of referencing
674
# packages so that "make uninstall" will remove the file if and only if it
675
# is not used by another installed package.
676
# On systems with glibc-2.1 or newer, the file is redundant, therefore we
677
# avoid installing it.
679
all-local: charset.alias ref-add.sed ref-del.sed
681
charset_alias = $(DESTDIR)$(libdir)/charset.alias
682
charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
683
install-exec-local: install-exec-localcharset
684
install-exec-localcharset: all-local
685
if test $(GLIBC21) = no; then \
686
case '$(host_os)' in \
688
need_charset_alias=true ;; \
689
darwin* | cygwin* | mingw* | pw32* | cegcc*) \
690
need_charset_alias=false ;; \
692
need_charset_alias=true ;; \
695
need_charset_alias=false ; \
697
if $$need_charset_alias; then \
698
$(mkinstalldirs) $(DESTDIR)$(libdir) ; \
700
if test -f $(charset_alias); then \
701
sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
702
$(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
703
rm -f $(charset_tmp) ; \
705
if $$need_charset_alias; then \
706
sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
707
$(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
708
rm -f $(charset_tmp) ; \
712
uninstall-local: uninstall-localcharset
713
uninstall-localcharset: all-local
714
if test -f $(charset_alias); then \
715
sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
716
if grep '^# Packages using this file: $$' $(charset_tmp) \
718
rm -f $(charset_alias); \
720
$(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
722
rm -f $(charset_tmp); \
725
charset.alias: config.charset
726
$(AM_V_GEN)rm -f t-$@ $@ && \
727
$(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
730
SUFFIXES += .sed .sin
732
$(AM_V_GEN)rm -f t-$@ $@ && \
733
sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
736
CLEANFILES += charset.alias ref-add.sed ref-del.sed
738
EXTRA_DIST += config.charset ref-add.sin ref-del.sin
740
## end gnulib module localcharset
742
## begin gnulib module lstat
745
EXTRA_DIST += lstat.c
747
EXTRA_libdiffutils_a_SOURCES += lstat.c
749
## end gnulib module lstat
751
## begin gnulib module maintainer-makefile
753
EXTRA_DIST += $(top_srcdir)/maint.mk
755
## end gnulib module maintainer-makefile
757
## begin gnulib module malloc
760
EXTRA_DIST += malloc.c
762
EXTRA_libdiffutils_a_SOURCES += malloc.c
764
## end gnulib module malloc
766
## begin gnulib module malloc-posix
769
EXTRA_DIST += malloc.c
771
EXTRA_libdiffutils_a_SOURCES += malloc.c
773
## end gnulib module malloc-posix
775
## begin gnulib module malloca
777
libdiffutils_a_SOURCES += malloca.c
779
EXTRA_DIST += malloca.h malloca.valgrind
781
## end gnulib module malloca
783
## begin gnulib module mbchar
785
libdiffutils_a_SOURCES += mbchar.c
787
EXTRA_DIST += mbchar.h
789
## end gnulib module mbchar
791
## begin gnulib module mbiter
793
libdiffutils_a_SOURCES += mbiter.h
795
## end gnulib module mbiter
797
## begin gnulib module mbrlen
800
EXTRA_DIST += mbrlen.c
802
EXTRA_libdiffutils_a_SOURCES += mbrlen.c
804
## end gnulib module mbrlen
806
## begin gnulib module mbrtowc
809
EXTRA_DIST += mbrtowc.c
811
EXTRA_libdiffutils_a_SOURCES += mbrtowc.c
813
## end gnulib module mbrtowc
815
## begin gnulib module mbscasecmp
817
libdiffutils_a_SOURCES += mbscasecmp.c
819
## end gnulib module mbscasecmp
821
## begin gnulib module mbsinit
824
EXTRA_DIST += mbsinit.c
826
EXTRA_libdiffutils_a_SOURCES += mbsinit.c
828
## end gnulib module mbsinit
830
## begin gnulib module mbslen
832
libdiffutils_a_SOURCES += mbslen.c
834
## end gnulib module mbslen
836
## begin gnulib module mbsrtowcs
839
EXTRA_DIST += mbsrtowcs-state.c mbsrtowcs.c
841
EXTRA_libdiffutils_a_SOURCES += mbsrtowcs-state.c mbsrtowcs.c
843
## end gnulib module mbsrtowcs
845
## begin gnulib module mbsstr
847
libdiffutils_a_SOURCES += mbsstr.c
849
EXTRA_DIST += str-kmp.h
851
## end gnulib module mbsstr
853
## begin gnulib module mbuiter
855
libdiffutils_a_SOURCES += mbuiter.h
857
## end gnulib module mbuiter
859
## begin gnulib module memchr
862
EXTRA_DIST += memchr.c memchr.valgrind
864
EXTRA_libdiffutils_a_SOURCES += memchr.c
866
## end gnulib module memchr
868
## begin gnulib module mkstemp
871
EXTRA_DIST += mkstemp.c
873
EXTRA_libdiffutils_a_SOURCES += mkstemp.c
875
## end gnulib module mkstemp
877
## begin gnulib module mktime
880
EXTRA_DIST += mktime-internal.h mktime.c
882
EXTRA_libdiffutils_a_SOURCES += mktime.c
884
## end gnulib module mktime
886
## begin gnulib module nl_langinfo
889
EXTRA_DIST += nl_langinfo.c
891
EXTRA_libdiffutils_a_SOURCES += nl_langinfo.c
893
## end gnulib module nl_langinfo
895
## begin gnulib module open
900
EXTRA_libdiffutils_a_SOURCES += open.c
902
## end gnulib module open
904
## begin gnulib module progname
906
libdiffutils_a_SOURCES += progname.h progname.c
908
## end gnulib module progname
910
## begin gnulib module propername
912
libdiffutils_a_SOURCES += propername.h propername.c
914
## end gnulib module propername
916
## begin gnulib module quote
919
EXTRA_DIST += quote.c quote.h
921
EXTRA_libdiffutils_a_SOURCES += quote.c
923
## end gnulib module quote
925
## begin gnulib module quotearg
928
EXTRA_DIST += quotearg.c quotearg.h
930
EXTRA_libdiffutils_a_SOURCES += quotearg.c
932
## end gnulib module quotearg
934
## begin gnulib module regex
937
EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
939
EXTRA_libdiffutils_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
941
## end gnulib module regex
943
## begin gnulib module sh-quote
945
libdiffutils_a_SOURCES += sh-quote.h sh-quote.c
947
## end gnulib module sh-quote
949
## begin gnulib module sigaction
952
EXTRA_DIST += sig-handler.h sigaction.c
954
EXTRA_libdiffutils_a_SOURCES += sigaction.c
956
## end gnulib module sigaction
958
## begin gnulib module signal
960
BUILT_SOURCES += signal.h
962
# We need the following in order to create <signal.h> when the system
963
# doesn't have a complete one.
964
signal.h: signal.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
965
$(AM_V_GEN)rm -f $@-t $@ && \
966
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
967
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
968
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
969
-e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
970
-e 's|@''GNULIB_SIGNAL_H_SIGPIPE''@|$(GNULIB_SIGNAL_H_SIGPIPE)|g' \
971
-e 's|@''GNULIB_SIGPROCMASK''@|$(GNULIB_SIGPROCMASK)|g' \
972
-e 's|@''GNULIB_SIGACTION''@|$(GNULIB_SIGACTION)|g' \
973
-e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
974
-e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
975
-e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
976
-e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
977
-e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
978
-e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
979
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
980
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
981
< $(srcdir)/signal.in.h; \
984
MOSTLYCLEANFILES += signal.h signal.h-t
986
EXTRA_DIST += signal.in.h
988
## end gnulib module signal
990
## begin gnulib module sigprocmask
993
EXTRA_DIST += sigprocmask.c
995
EXTRA_libdiffutils_a_SOURCES += sigprocmask.c
997
## end gnulib module sigprocmask
999
## begin gnulib module stat
1002
EXTRA_DIST += stat.c
1004
EXTRA_libdiffutils_a_SOURCES += stat.c
1006
## end gnulib module stat
1008
## begin gnulib module stat-macros
1011
EXTRA_DIST += stat-macros.h
1013
## end gnulib module stat-macros
1015
## begin gnulib module stat-time
1018
EXTRA_DIST += stat-time.h
1020
## end gnulib module stat-time
1022
## begin gnulib module stdarg
1024
BUILT_SOURCES += $(STDARG_H)
1026
# We need the following in order to create <stdarg.h> when the system
1027
# doesn't have one that works with the given compiler.
1028
stdarg.h: stdarg.in.h
1029
$(AM_V_GEN)rm -f $@-t $@ && \
1030
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1031
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1032
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1033
-e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
1034
< $(srcdir)/stdarg.in.h; \
1037
MOSTLYCLEANFILES += stdarg.h stdarg.h-t
1039
EXTRA_DIST += stdarg.in.h
1041
## end gnulib module stdarg
1043
## begin gnulib module stdbool
1045
BUILT_SOURCES += $(STDBOOL_H)
1047
# We need the following in order to create <stdbool.h> when the system
1048
# doesn't have one that works.
1049
stdbool.h: stdbool.in.h
1050
$(AM_V_GEN)rm -f $@-t $@ && \
1051
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1052
sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
1055
MOSTLYCLEANFILES += stdbool.h stdbool.h-t
1057
EXTRA_DIST += stdbool.in.h
1059
## end gnulib module stdbool
1061
## begin gnulib module stddef
1063
BUILT_SOURCES += $(STDDEF_H)
1065
# We need the following in order to create <stddef.h> when the system
1066
# doesn't have one that works with the given compiler.
1067
stddef.h: stddef.in.h
1068
$(AM_V_GEN)rm -f $@-t $@ && \
1069
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1070
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1071
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1072
-e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
1073
-e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1074
-e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1075
< $(srcdir)/stddef.in.h; \
1078
MOSTLYCLEANFILES += stddef.h stddef.h-t
1080
EXTRA_DIST += stddef.in.h
1082
## end gnulib module stddef
1084
## begin gnulib module stdint
1086
BUILT_SOURCES += $(STDINT_H)
1088
# We need the following in order to create <stdint.h> when the system
1089
# doesn't have one that works with the given compiler.
1090
stdint.h: stdint.in.h
1091
$(AM_V_GEN)rm -f $@-t $@ && \
1092
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1093
sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1094
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1095
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1096
-e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1097
-e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1098
-e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1099
-e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1100
-e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1101
-e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1102
-e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
1103
-e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1104
-e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1105
-e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1106
-e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1107
-e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1108
-e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1109
-e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1110
-e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1111
-e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1112
-e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1113
-e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1114
-e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1115
-e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1116
-e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1117
< $(srcdir)/stdint.in.h; \
1120
MOSTLYCLEANFILES += stdint.h stdint.h-t
1122
EXTRA_DIST += stdint.in.h
1124
## end gnulib module stdint
1126
## begin gnulib module stdio
1128
BUILT_SOURCES += stdio.h
1130
# We need the following in order to create <stdio.h> when the system
1131
# doesn't have one that works with the given compiler.
1132
stdio.h: stdio.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1133
$(AM_V_GEN)rm -f $@-t $@ && \
1134
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1135
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1136
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1137
-e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
1138
-e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
1139
-e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
1140
-e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
1141
-e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
1142
-e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
1143
-e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
1144
-e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
1145
-e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
1146
-e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
1147
-e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
1148
-e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
1149
-e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
1150
-e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
1151
-e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
1152
-e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
1153
-e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
1154
-e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
1155
-e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
1156
-e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
1157
-e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
1158
-e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
1159
-e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
1160
-e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
1161
-e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
1162
-e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
1163
-e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
1164
-e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
1165
-e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
1166
-e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
1167
-e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
1168
-e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
1169
-e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
1170
-e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
1171
-e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
1172
-e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
1173
-e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
1174
-e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
1175
-e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
1176
-e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
1177
-e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
1178
< $(srcdir)/stdio.in.h | \
1179
sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
1180
-e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1181
-e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1182
-e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
1183
-e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
1184
-e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
1185
-e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
1186
-e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
1187
-e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
1188
-e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1189
-e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1190
-e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
1191
-e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
1192
-e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1193
-e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1194
-e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
1195
-e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
1196
-e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
1197
-e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
1198
-e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
1199
-e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
1200
-e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
1201
-e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
1202
-e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
1203
-e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
1204
-e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1205
-e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1206
-e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1207
-e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1208
-e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1209
-e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1210
-e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
1211
-e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
1212
-e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1213
-e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1214
-e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1215
-e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1216
-e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1217
-e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
1218
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1219
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1222
MOSTLYCLEANFILES += stdio.h stdio.h-t
1224
EXTRA_DIST += stdio-write.c stdio.in.h
1226
EXTRA_libdiffutils_a_SOURCES += stdio-write.c
1228
## end gnulib module stdio
1230
## begin gnulib module stdlib
1232
BUILT_SOURCES += stdlib.h
1234
# We need the following in order to create <stdlib.h> when the system
1235
# doesn't have one that works with the given compiler.
1236
stdlib.h: stdlib.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1237
$(AM_V_GEN)rm -f $@-t $@ && \
1238
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1239
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1240
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1241
-e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1242
-e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
1243
-e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
1244
-e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
1245
-e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
1246
-e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
1247
-e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
1248
-e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
1249
-e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
1250
-e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
1251
-e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
1252
-e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
1253
-e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
1254
-e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
1255
-e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
1256
-e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
1257
-e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
1258
-e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
1259
-e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
1260
-e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
1261
-e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
1262
-e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
1263
-e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1264
-e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
1265
-e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1266
-e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1267
-e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1268
-e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
1269
-e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1270
-e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1271
-e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1272
-e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1273
-e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1274
-e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1275
-e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
1276
-e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1277
-e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1278
-e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
1279
-e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1280
-e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1281
-e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1282
-e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1283
-e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1284
-e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
1285
-e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1286
-e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1287
-e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1288
-e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1289
-e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1290
-e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1291
-e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1292
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1293
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1294
< $(srcdir)/stdlib.in.h; \
1297
MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1299
EXTRA_DIST += stdlib.in.h
1301
## end gnulib module stdlib
1303
## begin gnulib module strcase
1306
EXTRA_DIST += strcasecmp.c strncasecmp.c
1308
EXTRA_libdiffutils_a_SOURCES += strcasecmp.c strncasecmp.c
1310
## end gnulib module strcase
1312
## begin gnulib module streq
1315
EXTRA_DIST += streq.h
1317
## end gnulib module streq
1319
## begin gnulib module strerror
1322
EXTRA_DIST += strerror.c
1324
EXTRA_libdiffutils_a_SOURCES += strerror.c
1326
## end gnulib module strerror
1328
## begin gnulib module strftime
1331
EXTRA_DIST += strftime.c strftime.h
1333
EXTRA_libdiffutils_a_SOURCES += strftime.c
1335
## end gnulib module strftime
1337
## begin gnulib module striconv
1339
libdiffutils_a_SOURCES += striconv.h striconv.c
1343
## end gnulib module striconv
1345
## begin gnulib module string
1347
BUILT_SOURCES += string.h
1349
# We need the following in order to create <string.h> when the system
1350
# doesn't have one that works with the given compiler.
1351
string.h: string.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1352
$(AM_V_GEN)rm -f $@-t $@ && \
1353
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1354
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1355
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1356
-e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1357
-e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
1358
-e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
1359
-e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
1360
-e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
1361
-e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
1362
-e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
1363
-e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
1364
-e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
1365
-e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
1366
-e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
1367
-e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
1368
-e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
1369
-e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
1370
-e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
1371
-e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
1372
-e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
1373
-e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
1374
-e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
1375
-e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
1376
-e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
1377
-e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
1378
-e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
1379
-e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
1380
-e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
1381
-e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
1382
-e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
1383
-e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
1384
-e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
1385
-e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
1386
-e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
1387
-e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
1388
-e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
1389
-e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
1390
< $(srcdir)/string.in.h | \
1391
sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1392
-e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1393
-e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1394
-e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1395
-e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1396
-e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1397
-e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1398
-e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1399
-e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1400
-e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1401
-e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1402
-e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1403
-e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1404
-e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1405
-e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1406
-e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
1407
-e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1408
-e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1409
-e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1410
-e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1411
-e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1412
-e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1413
-e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1414
-e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1415
-e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1416
-e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1417
-e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1418
-e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1419
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1420
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1421
< $(srcdir)/string.in.h; \
1424
MOSTLYCLEANFILES += string.h string.h-t
1426
EXTRA_DIST += string.in.h
1428
## end gnulib module string
1430
## begin gnulib module strings
1432
BUILT_SOURCES += strings.h
1434
# We need the following in order to create <strings.h> when the system
1435
# doesn't have one that works with the given compiler.
1436
strings.h: strings.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1437
$(AM_V_GEN)rm -f $@-t $@ && \
1438
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1439
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1440
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1441
-e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
1442
-e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
1443
-e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
1444
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1445
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1446
< $(srcdir)/strings.in.h; \
1449
MOSTLYCLEANFILES += strings.h strings.h-t
1451
EXTRA_DIST += strings.in.h
1453
## end gnulib module strings
1455
## begin gnulib module strndup
1458
EXTRA_DIST += strndup.c
1460
EXTRA_libdiffutils_a_SOURCES += strndup.c
1462
## end gnulib module strndup
1464
## begin gnulib module strnlen
1467
EXTRA_DIST += strnlen.c
1469
EXTRA_libdiffutils_a_SOURCES += strnlen.c
1471
## end gnulib module strnlen
1473
## begin gnulib module strnlen1
1475
libdiffutils_a_SOURCES += strnlen1.h strnlen1.c
1477
## end gnulib module strnlen1
1479
## begin gnulib module strptime
1482
EXTRA_DIST += strptime.c
1484
EXTRA_libdiffutils_a_SOURCES += strptime.c
1486
## end gnulib module strptime
1488
## begin gnulib module strtoimax
1491
EXTRA_DIST += strtoimax.c
1493
EXTRA_libdiffutils_a_SOURCES += strtoimax.c
1495
## end gnulib module strtoimax
1497
## begin gnulib module strtol
1500
EXTRA_DIST += strtol.c
1502
EXTRA_libdiffutils_a_SOURCES += strtol.c
1504
## end gnulib module strtol
1506
## begin gnulib module strtoll
1509
EXTRA_DIST += strtoll.c
1511
EXTRA_libdiffutils_a_SOURCES += strtoll.c
1513
## end gnulib module strtoll
1515
## begin gnulib module strtoul
1518
EXTRA_DIST += strtoul.c
1520
EXTRA_libdiffutils_a_SOURCES += strtoul.c
1522
## end gnulib module strtoul
1524
## begin gnulib module strtoull
1527
EXTRA_DIST += strtoull.c
1529
EXTRA_libdiffutils_a_SOURCES += strtoull.c
1531
## end gnulib module strtoull
1533
## begin gnulib module strtoumax
1536
EXTRA_DIST += strtoumax.c
1538
EXTRA_libdiffutils_a_SOURCES += strtoumax.c
1540
## end gnulib module strtoumax
1542
## begin gnulib module sys_stat
1544
BUILT_SOURCES += sys/stat.h
1546
# We need the following in order to create <sys/stat.h> when the system
1547
# has one that is incomplete.
1548
sys/stat.h: sys_stat.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1549
$(AM_V_at)$(MKDIR_P) sys
1550
$(AM_V_GEN)rm -f $@-t $@ && \
1551
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1552
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1553
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1554
-e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1555
-e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
1556
-e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
1557
-e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
1558
-e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
1559
-e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
1560
-e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
1561
-e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \
1562
-e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
1563
-e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \
1564
-e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
1565
-e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
1566
-e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
1567
-e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1568
-e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1569
-e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1570
-e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1571
-e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1572
-e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1573
-e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1574
-e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1575
-e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1576
-e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1577
-e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1578
-e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1579
-e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1580
-e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1581
-e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1582
-e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1583
-e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1584
-e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1585
-e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1586
-e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1587
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1588
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1589
< $(srcdir)/sys_stat.in.h; \
1592
MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1593
MOSTLYCLEANDIRS += sys
1595
EXTRA_DIST += sys_stat.in.h
1597
## end gnulib module sys_stat
1599
## begin gnulib module sys_time
1601
BUILT_SOURCES += sys/time.h
1603
# We need the following in order to create <sys/time.h> when the system
1604
# doesn't have one that works with the given compiler.
1605
sys/time.h: sys_time.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1606
$(AM_V_at)$(MKDIR_P) sys
1607
$(AM_V_GEN)rm -f $@-t $@ && \
1608
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1609
sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
1610
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1611
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1612
-e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
1613
-e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
1614
-e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
1615
-e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
1616
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1617
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1618
< $(srcdir)/sys_time.in.h; \
1621
MOSTLYCLEANFILES += sys/time.h sys/time.h-t
1623
EXTRA_DIST += sys_time.in.h
1625
## end gnulib module sys_time
1627
## begin gnulib module tempname
1630
EXTRA_DIST += tempname.c tempname.h
1632
EXTRA_libdiffutils_a_SOURCES += tempname.c
1634
## end gnulib module tempname
1636
## begin gnulib module time
1638
BUILT_SOURCES += time.h
1640
# We need the following in order to create <time.h> when the system
1641
# doesn't have one that works with the given compiler.
1642
time.h: time.in.h $(ARG_NONNULL_H)
1643
$(AM_V_GEN)rm -f $@-t $@ && \
1644
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1645
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1646
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1647
-e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1648
-e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1649
-e 's|@REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1650
-e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1651
-e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
1652
-e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1653
-e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1654
-e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1655
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1656
< $(srcdir)/time.in.h; \
1659
MOSTLYCLEANFILES += time.h time.h-t
1661
EXTRA_DIST += time.in.h
1663
## end gnulib module time
1665
## begin gnulib module time_r
1668
EXTRA_DIST += time_r.c
1670
EXTRA_libdiffutils_a_SOURCES += time_r.c
1672
## end gnulib module time_r
1674
## begin gnulib module timegm
1677
EXTRA_DIST += mktime-internal.h timegm.c
1679
EXTRA_libdiffutils_a_SOURCES += timegm.c
1681
## end gnulib module timegm
1683
## begin gnulib module timespec
1686
EXTRA_DIST += timespec.h
1688
## end gnulib module timespec
1690
## begin gnulib module trim
1692
libdiffutils_a_SOURCES += trim.c
1694
EXTRA_DIST += trim.h
1696
## end gnulib module trim
1698
## begin gnulib module unistd
1700
BUILT_SOURCES += unistd.h
1702
# We need the following in order to create an empty placeholder for
1703
# <unistd.h> when the system doesn't have one.
1704
unistd.h: unistd.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1705
$(AM_V_GEN)rm -f $@-t $@ && \
1706
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1707
sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1708
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1709
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1710
-e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1711
-e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
1712
-e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1713
-e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
1714
-e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
1715
-e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
1716
-e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
1717
-e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
1718
-e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
1719
-e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
1720
-e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
1721
-e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
1722
-e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
1723
-e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
1724
-e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
1725
-e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
1726
-e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
1727
-e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
1728
-e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
1729
-e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
1730
-e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
1731
-e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
1732
-e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
1733
-e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
1734
-e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
1735
-e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
1736
-e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
1737
-e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
1738
-e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
1739
-e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
1740
-e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
1741
-e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
1742
-e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
1743
-e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
1744
-e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
1745
-e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
1746
-e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
1747
-e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
1748
-e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
1749
< $(srcdir)/unistd.in.h | \
1750
sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1751
-e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1752
-e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1753
-e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1754
-e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1755
-e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1756
-e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1757
-e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1758
-e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
1759
-e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1760
-e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1761
-e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1762
-e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1763
-e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1764
-e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
1765
-e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1766
-e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1767
-e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1768
-e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1769
-e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1770
-e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1771
-e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1772
-e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1773
-e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1774
-e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1775
-e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1776
-e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1777
-e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1778
-e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1779
-e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1780
-e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1781
-e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1782
-e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1783
-e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1784
-e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1785
-e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
1786
-e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1787
-e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1788
-e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1789
-e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1790
-e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1791
-e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1792
-e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1793
-e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1794
-e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1795
-e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1796
-e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1797
-e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1798
-e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1799
-e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1800
-e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1801
-e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1802
-e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1803
-e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1804
-e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1805
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1806
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1809
MOSTLYCLEANFILES += unistd.h unistd.h-t
1811
EXTRA_DIST += unistd.in.h
1813
## end gnulib module unistd
1815
## begin gnulib module unitypes
1818
EXTRA_DIST += unitypes.h
1820
## end gnulib module unitypes
1822
## begin gnulib module uniwidth/base
1825
EXTRA_DIST += localcharset.h uniwidth.h
1827
## end gnulib module uniwidth/base
1829
## begin gnulib module uniwidth/width
1831
libdiffutils_a_SOURCES += uniwidth/width.c
1833
EXTRA_DIST += uniwidth/cjk.h
1835
## end gnulib module uniwidth/width
1837
## begin gnulib module unlocked-io
1840
EXTRA_DIST += unlocked-io.h
1842
## end gnulib module unlocked-io
1844
## begin gnulib module update-copyright
1847
EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
1849
## end gnulib module update-copyright
1851
## begin gnulib module useless-if-before-free
1854
EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
1856
## end gnulib module useless-if-before-free
1858
## begin gnulib module vc-list-files
1861
EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
1863
## end gnulib module vc-list-files
1865
## begin gnulib module verify
1867
libdiffutils_a_SOURCES += verify.h
1869
## end gnulib module verify
1871
## begin gnulib module version-etc
1873
libdiffutils_a_SOURCES += version-etc.h version-etc.c
1875
## end gnulib module version-etc
1877
## begin gnulib module version-etc-fsf
1879
libdiffutils_a_SOURCES += version-etc-fsf.c
1881
## end gnulib module version-etc-fsf
1883
## begin gnulib module warn-on-use
1885
BUILT_SOURCES += warn-on-use.h
1886
# The warn-on-use.h that gets inserted into generated .h files is the same as
1887
# build-aux/warn-on-use.h, except that it has the copyright header cut off.
1888
warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h
1889
$(AM_V_GEN)rm -f $@-t $@ && \
1890
sed -n -e '/^.ifndef/,$$p' \
1891
< $(top_srcdir)/build-aux/warn-on-use.h \
1894
MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1896
WARN_ON_USE_H=warn-on-use.h
1898
EXTRA_DIST += $(top_srcdir)/build-aux/warn-on-use.h
1900
## end gnulib module warn-on-use
1902
## begin gnulib module wchar
1904
BUILT_SOURCES += wchar.h
1906
# We need the following in order to create <wchar.h> when the system
1907
# version does not work standalone.
1908
wchar.h: wchar.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1909
$(AM_V_GEN)rm -f $@-t $@ && \
1910
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1911
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1912
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1913
-e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1914
-e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1915
-e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
1916
-e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
1917
-e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
1918
-e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
1919
-e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
1920
-e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
1921
-e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
1922
-e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
1923
-e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
1924
-e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
1925
-e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
1926
-e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1927
-e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1928
-e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1929
-e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1930
-e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1931
-e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1932
-e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1933
-e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1934
-e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1935
-e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1936
-e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1937
-e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1938
-e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1939
-e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1940
-e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1941
-e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1942
-e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1943
-e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1944
-e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1945
-e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1946
-e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1947
-e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1948
-e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1949
-e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1950
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1951
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1952
< $(srcdir)/wchar.in.h; \
1955
MOSTLYCLEANFILES += wchar.h wchar.h-t
1957
EXTRA_DIST += wchar.in.h
1959
## end gnulib module wchar
1961
## begin gnulib module wcrtomb
1964
EXTRA_DIST += wcrtomb.c
1966
EXTRA_libdiffutils_a_SOURCES += wcrtomb.c
1968
## end gnulib module wcrtomb
1970
## begin gnulib module wctype
1972
BUILT_SOURCES += $(WCTYPE_H)
1974
# We need the following in order to create <wctype.h> when the system
1975
# doesn't have one that works with the given compiler.
1976
wctype.h: wctype.in.h
1977
$(AM_V_GEN)rm -f $@-t $@ && \
1978
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1979
sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
1980
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1981
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1982
-e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
1983
-e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
1984
-e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
1985
-e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
1986
< $(srcdir)/wctype.in.h; \
1989
MOSTLYCLEANFILES += wctype.h wctype.h-t
1991
EXTRA_DIST += wctype.in.h
1993
## end gnulib module wctype
1995
## begin gnulib module wcwidth
1998
EXTRA_DIST += wcwidth.c
2000
EXTRA_libdiffutils_a_SOURCES += wcwidth.c
2002
## end gnulib module wcwidth
2004
## begin gnulib module xalloc
2007
EXTRA_DIST += xalloc.h xmalloc.c
2009
EXTRA_libdiffutils_a_SOURCES += xmalloc.c
2011
## end gnulib module xalloc
2013
## begin gnulib module xalloc-die
2015
libdiffutils_a_SOURCES += xalloc-die.c
2017
## end gnulib module xalloc-die
2019
## begin gnulib module xfreopen
2021
libdiffutils_a_SOURCES += xfreopen.c xfreopen.h
2023
## end gnulib module xfreopen
2025
## begin gnulib module xstriconv
2027
libdiffutils_a_SOURCES += xstriconv.h xstriconv.c
2029
## end gnulib module xstriconv
2031
## begin gnulib module xstrndup
2033
libdiffutils_a_SOURCES += xstrndup.h xstrndup.c
2035
## end gnulib module xstrndup
2037
## begin gnulib module xstrtol
2040
EXTRA_DIST += xstrtol-error.c xstrtol.c xstrtol.h xstrtoul.c
2042
EXTRA_libdiffutils_a_SOURCES += xstrtol-error.c xstrtol.c xstrtoul.c
2044
## end gnulib module xstrtol
2046
## begin gnulib module xstrtoumax
2048
libdiffutils_a_SOURCES += xstrtoumax.c
2050
## end gnulib module xstrtoumax
2053
mostlyclean-local: mostlyclean-generic
2054
@for dir in '' $(MOSTLYCLEANDIRS); do \
2055
if test -n "$$dir" && test -d $$dir; then \
2056
echo "rmdir $$dir"; rmdir $$dir; \