~ubuntu-branches/ubuntu/vivid/diffutils/vivid

« back to all changes in this revision

Viewing changes to lib/gnulib.mk

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2010-02-13 11:49:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100213114900-09lz8jx6wct52qp8
Tags: 1:2.9-1
* New upstream release, now under GPL version 3 or later.
* There is now a --tab-size option. Closes: #82923.
* Manpage for cmp describes exit status. Closes: #200614.
* Manpage for diff describes exit status. Closes: #228441, #473233.
* The file de.po is now more recent. Closes: #313686.
* Fixed bad sdiff behaviour. Closes: #320222.
* Added wdiff to Suggests. Closes: #324627.
* Fixed cmp behaviour regarding stdout and stderr. Closes: #356083.
* The file ru.po is now more recent. Closes: #409274.
* The file es.po is now more recent. Closes: #418005, #481708.
* The file nl.po is now more recent. Closes: #427370.
* Modified watch file to use http instead of ftp.
* Removed .comment section from executables.
* Added Homepage field to control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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.
 
4
#
 
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.
 
10
#
 
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
 
13
 
 
14
AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
 
15
 
 
16
SUBDIRS =
 
17
noinst_HEADERS =
 
18
noinst_LIBRARIES =
 
19
noinst_LTLIBRARIES =
 
20
EXTRA_DIST =
 
21
BUILT_SOURCES =
 
22
SUFFIXES =
 
23
MOSTLYCLEANFILES = core *.stackdump
 
24
MOSTLYCLEANDIRS =
 
25
CLEANFILES =
 
26
DISTCLEANFILES =
 
27
MAINTAINERCLEANFILES =
 
28
 
 
29
AM_CPPFLAGS =
 
30
AM_CFLAGS =
 
31
 
 
32
noinst_LIBRARIES += libdiffutils.a
 
33
 
 
34
libdiffutils_a_SOURCES =
 
35
libdiffutils_a_LIBADD = $(gl_LIBOBJS)
 
36
libdiffutils_a_DEPENDENCIES = $(gl_LIBOBJS)
 
37
EXTRA_libdiffutils_a_SOURCES =
 
38
 
 
39
## begin gnulib module alloca
 
40
 
 
41
 
 
42
EXTRA_DIST += alloca.c
 
43
 
 
44
EXTRA_libdiffutils_a_SOURCES += alloca.c
 
45
 
 
46
libdiffutils_a_LIBADD += @ALLOCA@
 
47
libdiffutils_a_DEPENDENCIES += @ALLOCA@
 
48
## end   gnulib module alloca
 
49
 
 
50
## begin gnulib module alloca-opt
 
51
 
 
52
BUILT_SOURCES += $(ALLOCA_H)
 
53
 
 
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.
 
56
alloca.h: alloca.in.h
 
57
        $(AM_V_GEN)rm -f $@-t $@ && \
 
58
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
 
59
          cat $(srcdir)/alloca.in.h; \
 
60
        } > $@-t && \
 
61
        mv -f $@-t $@
 
62
MOSTLYCLEANFILES += alloca.h alloca.h-t
 
63
 
 
64
EXTRA_DIST += alloca.in.h
 
65
 
 
66
## end   gnulib module alloca-opt
 
67
 
 
68
## begin gnulib module announce-gen
 
69
 
 
70
 
 
71
EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
 
72
 
 
73
## end   gnulib module announce-gen
 
74
 
 
75
## begin gnulib module arg-nonnull
 
76
 
 
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.
 
81
 
 
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 \
 
89
          > $@-t && \
 
90
        mv $@-t $@
 
91
MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
 
92
 
 
93
ARG_NONNULL_H=arg-nonnull.h
 
94
 
 
95
EXTRA_DIST += $(top_srcdir)/build-aux/arg-nonnull.h
 
96
 
 
97
## end   gnulib module arg-nonnull
 
98
 
 
99
## begin gnulib module bitrotate
 
100
 
 
101
libdiffutils_a_SOURCES += bitrotate.h
 
102
 
 
103
## end   gnulib module bitrotate
 
104
 
 
105
## begin gnulib module btowc
 
106
 
 
107
 
 
108
EXTRA_DIST += btowc.c
 
109
 
 
110
EXTRA_libdiffutils_a_SOURCES += btowc.c
 
111
 
 
112
## end   gnulib module btowc
 
113
 
 
114
## begin gnulib module c-ctype
 
115
 
 
116
libdiffutils_a_SOURCES += c-ctype.h c-ctype.c
 
117
 
 
118
## end   gnulib module c-ctype
 
119
 
 
120
## begin gnulib module c-stack
 
121
 
 
122
libdiffutils_a_SOURCES += c-stack.h c-stack.c
 
123
 
 
124
## end   gnulib module c-stack
 
125
 
 
126
## begin gnulib module c-strcase
 
127
 
 
128
libdiffutils_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
 
129
 
 
130
## end   gnulib module c-strcase
 
131
 
 
132
## begin gnulib module configmake
 
133
 
 
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.
 
138
#
 
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
 
144
# compilation error.
 
145
#
 
146
# Another advantage is that 'make' output is shorter.
 
147
#
 
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 \
 
183
          rm -f $@-t; \
 
184
        else \
 
185
          rm -f $@; mv $@-t $@; \
 
186
        fi
 
187
 
 
188
BUILT_SOURCES += configmake.h
 
189
CLEANFILES += configmake.h configmake.h-t
 
190
 
 
191
## end   gnulib module configmake
 
192
 
 
193
## begin gnulib module diffseq
 
194
 
 
195
libdiffutils_a_SOURCES += diffseq.h
 
196
 
 
197
## end   gnulib module diffseq
 
198
 
 
199
## begin gnulib module dirname
 
200
 
 
201
 
 
202
EXTRA_DIST += basename.c dirname.c stripslash.c
 
203
 
 
204
EXTRA_libdiffutils_a_SOURCES += basename.c dirname.c stripslash.c
 
205
 
 
206
## end   gnulib module dirname
 
207
 
 
208
## begin gnulib module dirname-lgpl
 
209
 
 
210
 
 
211
EXTRA_DIST += basename-lgpl.c dirname-lgpl.c dirname.h stripslash.c
 
212
 
 
213
EXTRA_libdiffutils_a_SOURCES += basename-lgpl.c dirname-lgpl.c stripslash.c
 
214
 
 
215
## end   gnulib module dirname-lgpl
 
216
 
 
217
## begin gnulib module do-release-commit-and-tag
 
218
 
 
219
 
 
220
EXTRA_DIST += $(top_srcdir)/build-aux/do-release-commit-and-tag
 
221
 
 
222
## end   gnulib module do-release-commit-and-tag
 
223
 
 
224
## begin gnulib module dup2
 
225
 
 
226
 
 
227
EXTRA_DIST += dup2.c
 
228
 
 
229
EXTRA_libdiffutils_a_SOURCES += dup2.c
 
230
 
 
231
## end   gnulib module dup2
 
232
 
 
233
## begin gnulib module errno
 
234
 
 
235
BUILT_SOURCES += $(ERRNO_H)
 
236
 
 
237
# We need the following in order to create <errno.h> when the system
 
238
# doesn't have one that is POSIX compliant.
 
239
errno.h: errno.in.h
 
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; \
 
252
        } > $@-t && \
 
253
        mv $@-t $@
 
254
MOSTLYCLEANFILES += errno.h errno.h-t
 
255
 
 
256
EXTRA_DIST += errno.in.h
 
257
 
 
258
## end   gnulib module errno
 
259
 
 
260
## begin gnulib module error
 
261
 
 
262
 
 
263
EXTRA_DIST += error.c error.h
 
264
 
 
265
EXTRA_libdiffutils_a_SOURCES += error.c
 
266
 
 
267
## end   gnulib module error
 
268
 
 
269
## begin gnulib module exclude
 
270
 
 
271
 
 
272
EXTRA_DIST += exclude.c exclude.h
 
273
 
 
274
EXTRA_libdiffutils_a_SOURCES += exclude.c
 
275
 
 
276
## end   gnulib module exclude
 
277
 
 
278
## begin gnulib module exitfail
 
279
 
 
280
 
 
281
EXTRA_DIST += exitfail.c exitfail.h
 
282
 
 
283
EXTRA_libdiffutils_a_SOURCES += exitfail.c
 
284
 
 
285
## end   gnulib module exitfail
 
286
 
 
287
## begin gnulib module fcntl
 
288
 
 
289
 
 
290
EXTRA_DIST += fcntl.c
 
291
 
 
292
EXTRA_libdiffutils_a_SOURCES += fcntl.c
 
293
 
 
294
## end   gnulib module fcntl
 
295
 
 
296
## begin gnulib module fcntl-h
 
297
 
 
298
BUILT_SOURCES += fcntl.h
 
299
 
 
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; \
 
319
        } > $@-t && \
 
320
        mv $@-t $@
 
321
MOSTLYCLEANFILES += fcntl.h fcntl.h-t
 
322
 
 
323
EXTRA_DIST += fcntl.in.h
 
324
 
 
325
## end   gnulib module fcntl-h
 
326
 
 
327
## begin gnulib module file-type
 
328
 
 
329
 
 
330
EXTRA_DIST += file-type.c file-type.h
 
331
 
 
332
EXTRA_libdiffutils_a_SOURCES += file-type.c
 
333
 
 
334
## end   gnulib module file-type
 
335
 
 
336
## begin gnulib module fnmatch
 
337
 
 
338
BUILT_SOURCES += $(FNMATCH_H)
 
339
 
 
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; \
 
347
        } > $@-t && \
 
348
        mv -f $@-t $@
 
349
MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
 
350
 
 
351
EXTRA_DIST += fnmatch.c fnmatch.in.h fnmatch_loop.c
 
352
 
 
353
EXTRA_libdiffutils_a_SOURCES += fnmatch.c fnmatch_loop.c
 
354
 
 
355
## end   gnulib module fnmatch
 
356
 
 
357
## begin gnulib module freopen
 
358
 
 
359
 
 
360
EXTRA_DIST += freopen.c
 
361
 
 
362
EXTRA_libdiffutils_a_SOURCES += freopen.c
 
363
 
 
364
## end   gnulib module freopen
 
365
 
 
366
## begin gnulib module freopen-safer
 
367
 
 
368
 
 
369
EXTRA_DIST += freopen-safer.c stdio--.h stdio-safer.h
 
370
 
 
371
EXTRA_libdiffutils_a_SOURCES += freopen-safer.c
 
372
 
 
373
## end   gnulib module freopen-safer
 
374
 
 
375
## begin gnulib module gendocs
 
376
 
 
377
 
 
378
EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
 
379
 
 
380
## end   gnulib module gendocs
 
381
 
 
382
## begin gnulib module getopt-posix
 
383
 
 
384
BUILT_SOURCES += $(GETOPT_H)
 
385
 
 
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; \
 
397
        } > $@-t && \
 
398
        mv -f $@-t $@
 
399
MOSTLYCLEANFILES += getopt.h getopt.h-t
 
400
 
 
401
EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
 
402
 
 
403
EXTRA_libdiffutils_a_SOURCES += getopt.c getopt1.c
 
404
 
 
405
## end   gnulib module getopt-posix
 
406
 
 
407
## begin gnulib module gettext
 
408
 
 
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
 
418
 
 
419
EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
 
420
 
 
421
## end   gnulib module gettext
 
422
 
 
423
## begin gnulib module gettext-h
 
424
 
 
425
libdiffutils_a_SOURCES += gettext.h
 
426
 
 
427
## end   gnulib module gettext-h
 
428
 
 
429
## begin gnulib module gettime
 
430
 
 
431
 
 
432
EXTRA_DIST += gettime.c
 
433
 
 
434
EXTRA_libdiffutils_a_SOURCES += gettime.c
 
435
 
 
436
## end   gnulib module gettime
 
437
 
 
438
## begin gnulib module gettimeofday
 
439
 
 
440
 
 
441
EXTRA_DIST += gettimeofday.c
 
442
 
 
443
EXTRA_libdiffutils_a_SOURCES += gettimeofday.c
 
444
 
 
445
## end   gnulib module gettimeofday
 
446
 
 
447
## begin gnulib module git-version-gen
 
448
 
 
449
 
 
450
EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
 
451
 
 
452
## end   gnulib module git-version-gen
 
453
 
 
454
## begin gnulib module gitlog-to-changelog
 
455
 
 
456
 
 
457
EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog
 
458
 
 
459
## end   gnulib module gitlog-to-changelog
 
460
 
 
461
## begin gnulib module gnu-make
 
462
 
 
463
##Sample usage of gnu-make module:
 
464
#if GNU_MAKE
 
465
#       [nicer features that work only with GNU Make]
 
466
#else
 
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]
 
470
#endif
 
471
 
 
472
## end   gnulib module gnu-make
 
473
 
 
474
## begin gnulib module gnu-web-doc-update
 
475
 
 
476
 
 
477
EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
 
478
 
 
479
## end   gnulib module gnu-web-doc-update
 
480
 
 
481
## begin gnulib module gnumakefile
 
482
 
 
483
distclean-local: clean-GNUmakefile
 
484
clean-GNUmakefile:
 
485
        test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
 
486
 
 
487
EXTRA_DIST += $(top_srcdir)/GNUmakefile
 
488
 
 
489
## end   gnulib module gnumakefile
 
490
 
 
491
## begin gnulib module gnupload
 
492
 
 
493
 
 
494
EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
 
495
 
 
496
## end   gnulib module gnupload
 
497
 
 
498
## begin gnulib module gperf
 
499
 
 
500
GPERF = gperf
 
501
 
 
502
## end   gnulib module gperf
 
503
 
 
504
## begin gnulib module hard-locale
 
505
 
 
506
 
 
507
EXTRA_DIST += hard-locale.c hard-locale.h
 
508
 
 
509
EXTRA_libdiffutils_a_SOURCES += hard-locale.c
 
510
 
 
511
## end   gnulib module hard-locale
 
512
 
 
513
## begin gnulib module hash
 
514
 
 
515
 
 
516
EXTRA_DIST += hash.c hash.h
 
517
 
 
518
EXTRA_libdiffutils_a_SOURCES += hash.c
 
519
 
 
520
## end   gnulib module hash
 
521
 
 
522
## begin gnulib module havelib
 
523
 
 
524
 
 
525
EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
 
526
 
 
527
## end   gnulib module havelib
 
528
 
 
529
## begin gnulib module iconv_open
 
530
 
 
531
BUILT_SOURCES += $(ICONV_H)
 
532
 
 
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; \
 
547
        } > $@-t && \
 
548
        mv $@-t $@
 
549
MOSTLYCLEANFILES += iconv.h iconv.h-t
 
550
 
 
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
 
570
 
 
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
 
572
 
 
573
EXTRA_libdiffutils_a_SOURCES += iconv_open.c
 
574
 
 
575
## end   gnulib module iconv_open
 
576
 
 
577
## begin gnulib module ignore-value
 
578
 
 
579
libdiffutils_a_SOURCES += ignore-value.h
 
580
 
 
581
## end   gnulib module ignore-value
 
582
 
 
583
## begin gnulib module intprops
 
584
 
 
585
 
 
586
EXTRA_DIST += intprops.h
 
587
 
 
588
## end   gnulib module intprops
 
589
 
 
590
## begin gnulib module inttostr
 
591
 
 
592
 
 
593
EXTRA_DIST += imaxtostr.c inttostr.c inttostr.h offtostr.c uinttostr.c umaxtostr.c
 
594
 
 
595
EXTRA_libdiffutils_a_SOURCES += imaxtostr.c inttostr.c offtostr.c uinttostr.c umaxtostr.c
 
596
 
 
597
## end   gnulib module inttostr
 
598
 
 
599
## begin gnulib module inttypes
 
600
 
 
601
BUILT_SOURCES += inttypes.h
 
602
 
 
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; \
 
632
        } > $@-t && \
 
633
        mv $@-t $@
 
634
MOSTLYCLEANFILES += inttypes.h inttypes.h-t
 
635
 
 
636
EXTRA_DIST += inttypes.in.h
 
637
 
 
638
## end   gnulib module inttypes
 
639
 
 
640
## begin gnulib module langinfo
 
641
 
 
642
BUILT_SOURCES += langinfo.h
 
643
 
 
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; \
 
660
        } > $@-t && \
 
661
        mv $@-t $@
 
662
MOSTLYCLEANFILES += langinfo.h langinfo.h-t
 
663
 
 
664
EXTRA_DIST += langinfo.in.h
 
665
 
 
666
## end   gnulib module langinfo
 
667
 
 
668
## begin gnulib module localcharset
 
669
 
 
670
libdiffutils_a_SOURCES += localcharset.h localcharset.c
 
671
 
 
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.
 
678
 
 
679
all-local: charset.alias ref-add.sed ref-del.sed
 
680
 
 
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 \
 
687
            darwin[56]*) \
 
688
              need_charset_alias=true ;; \
 
689
            darwin* | cygwin* | mingw* | pw32* | cegcc*) \
 
690
              need_charset_alias=false ;; \
 
691
            *) \
 
692
              need_charset_alias=true ;; \
 
693
          esac ; \
 
694
        else \
 
695
          need_charset_alias=false ; \
 
696
        fi ; \
 
697
        if $$need_charset_alias; then \
 
698
          $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
 
699
        fi ; \
 
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) ; \
 
704
        else \
 
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) ; \
 
709
          fi ; \
 
710
        fi
 
711
 
 
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) \
 
717
              > /dev/null; then \
 
718
            rm -f $(charset_alias); \
 
719
          else \
 
720
            $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
 
721
          fi; \
 
722
          rm -f $(charset_tmp); \
 
723
        fi
 
724
 
 
725
charset.alias: config.charset
 
726
        $(AM_V_GEN)rm -f t-$@ $@ && \
 
727
        $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
 
728
        mv t-$@ $@
 
729
 
 
730
SUFFIXES += .sed .sin
 
731
.sin.sed:
 
732
        $(AM_V_GEN)rm -f t-$@ $@ && \
 
733
        sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
 
734
        mv t-$@ $@
 
735
 
 
736
CLEANFILES += charset.alias ref-add.sed ref-del.sed
 
737
 
 
738
EXTRA_DIST += config.charset ref-add.sin ref-del.sin
 
739
 
 
740
## end   gnulib module localcharset
 
741
 
 
742
## begin gnulib module lstat
 
743
 
 
744
 
 
745
EXTRA_DIST += lstat.c
 
746
 
 
747
EXTRA_libdiffutils_a_SOURCES += lstat.c
 
748
 
 
749
## end   gnulib module lstat
 
750
 
 
751
## begin gnulib module maintainer-makefile
 
752
 
 
753
EXTRA_DIST += $(top_srcdir)/maint.mk
 
754
 
 
755
## end   gnulib module maintainer-makefile
 
756
 
 
757
## begin gnulib module malloc
 
758
 
 
759
 
 
760
EXTRA_DIST += malloc.c
 
761
 
 
762
EXTRA_libdiffutils_a_SOURCES += malloc.c
 
763
 
 
764
## end   gnulib module malloc
 
765
 
 
766
## begin gnulib module malloc-posix
 
767
 
 
768
 
 
769
EXTRA_DIST += malloc.c
 
770
 
 
771
EXTRA_libdiffutils_a_SOURCES += malloc.c
 
772
 
 
773
## end   gnulib module malloc-posix
 
774
 
 
775
## begin gnulib module malloca
 
776
 
 
777
libdiffutils_a_SOURCES += malloca.c
 
778
 
 
779
EXTRA_DIST += malloca.h malloca.valgrind
 
780
 
 
781
## end   gnulib module malloca
 
782
 
 
783
## begin gnulib module mbchar
 
784
 
 
785
libdiffutils_a_SOURCES += mbchar.c
 
786
 
 
787
EXTRA_DIST += mbchar.h
 
788
 
 
789
## end   gnulib module mbchar
 
790
 
 
791
## begin gnulib module mbiter
 
792
 
 
793
libdiffutils_a_SOURCES += mbiter.h
 
794
 
 
795
## end   gnulib module mbiter
 
796
 
 
797
## begin gnulib module mbrlen
 
798
 
 
799
 
 
800
EXTRA_DIST += mbrlen.c
 
801
 
 
802
EXTRA_libdiffutils_a_SOURCES += mbrlen.c
 
803
 
 
804
## end   gnulib module mbrlen
 
805
 
 
806
## begin gnulib module mbrtowc
 
807
 
 
808
 
 
809
EXTRA_DIST += mbrtowc.c
 
810
 
 
811
EXTRA_libdiffutils_a_SOURCES += mbrtowc.c
 
812
 
 
813
## end   gnulib module mbrtowc
 
814
 
 
815
## begin gnulib module mbscasecmp
 
816
 
 
817
libdiffutils_a_SOURCES += mbscasecmp.c
 
818
 
 
819
## end   gnulib module mbscasecmp
 
820
 
 
821
## begin gnulib module mbsinit
 
822
 
 
823
 
 
824
EXTRA_DIST += mbsinit.c
 
825
 
 
826
EXTRA_libdiffutils_a_SOURCES += mbsinit.c
 
827
 
 
828
## end   gnulib module mbsinit
 
829
 
 
830
## begin gnulib module mbslen
 
831
 
 
832
libdiffutils_a_SOURCES += mbslen.c
 
833
 
 
834
## end   gnulib module mbslen
 
835
 
 
836
## begin gnulib module mbsrtowcs
 
837
 
 
838
 
 
839
EXTRA_DIST += mbsrtowcs-state.c mbsrtowcs.c
 
840
 
 
841
EXTRA_libdiffutils_a_SOURCES += mbsrtowcs-state.c mbsrtowcs.c
 
842
 
 
843
## end   gnulib module mbsrtowcs
 
844
 
 
845
## begin gnulib module mbsstr
 
846
 
 
847
libdiffutils_a_SOURCES += mbsstr.c
 
848
 
 
849
EXTRA_DIST += str-kmp.h
 
850
 
 
851
## end   gnulib module mbsstr
 
852
 
 
853
## begin gnulib module mbuiter
 
854
 
 
855
libdiffutils_a_SOURCES += mbuiter.h
 
856
 
 
857
## end   gnulib module mbuiter
 
858
 
 
859
## begin gnulib module memchr
 
860
 
 
861
 
 
862
EXTRA_DIST += memchr.c memchr.valgrind
 
863
 
 
864
EXTRA_libdiffutils_a_SOURCES += memchr.c
 
865
 
 
866
## end   gnulib module memchr
 
867
 
 
868
## begin gnulib module mkstemp
 
869
 
 
870
 
 
871
EXTRA_DIST += mkstemp.c
 
872
 
 
873
EXTRA_libdiffutils_a_SOURCES += mkstemp.c
 
874
 
 
875
## end   gnulib module mkstemp
 
876
 
 
877
## begin gnulib module mktime
 
878
 
 
879
 
 
880
EXTRA_DIST += mktime-internal.h mktime.c
 
881
 
 
882
EXTRA_libdiffutils_a_SOURCES += mktime.c
 
883
 
 
884
## end   gnulib module mktime
 
885
 
 
886
## begin gnulib module nl_langinfo
 
887
 
 
888
 
 
889
EXTRA_DIST += nl_langinfo.c
 
890
 
 
891
EXTRA_libdiffutils_a_SOURCES += nl_langinfo.c
 
892
 
 
893
## end   gnulib module nl_langinfo
 
894
 
 
895
## begin gnulib module open
 
896
 
 
897
 
 
898
EXTRA_DIST += open.c
 
899
 
 
900
EXTRA_libdiffutils_a_SOURCES += open.c
 
901
 
 
902
## end   gnulib module open
 
903
 
 
904
## begin gnulib module progname
 
905
 
 
906
libdiffutils_a_SOURCES += progname.h progname.c
 
907
 
 
908
## end   gnulib module progname
 
909
 
 
910
## begin gnulib module propername
 
911
 
 
912
libdiffutils_a_SOURCES += propername.h propername.c
 
913
 
 
914
## end   gnulib module propername
 
915
 
 
916
## begin gnulib module quote
 
917
 
 
918
 
 
919
EXTRA_DIST += quote.c quote.h
 
920
 
 
921
EXTRA_libdiffutils_a_SOURCES += quote.c
 
922
 
 
923
## end   gnulib module quote
 
924
 
 
925
## begin gnulib module quotearg
 
926
 
 
927
 
 
928
EXTRA_DIST += quotearg.c quotearg.h
 
929
 
 
930
EXTRA_libdiffutils_a_SOURCES += quotearg.c
 
931
 
 
932
## end   gnulib module quotearg
 
933
 
 
934
## begin gnulib module regex
 
935
 
 
936
 
 
937
EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
 
938
 
 
939
EXTRA_libdiffutils_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
 
940
 
 
941
## end   gnulib module regex
 
942
 
 
943
## begin gnulib module sh-quote
 
944
 
 
945
libdiffutils_a_SOURCES += sh-quote.h sh-quote.c
 
946
 
 
947
## end   gnulib module sh-quote
 
948
 
 
949
## begin gnulib module sigaction
 
950
 
 
951
 
 
952
EXTRA_DIST += sig-handler.h sigaction.c
 
953
 
 
954
EXTRA_libdiffutils_a_SOURCES += sigaction.c
 
955
 
 
956
## end   gnulib module sigaction
 
957
 
 
958
## begin gnulib module signal
 
959
 
 
960
BUILT_SOURCES += signal.h
 
961
 
 
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; \
 
982
        } > $@-t && \
 
983
        mv $@-t $@
 
984
MOSTLYCLEANFILES += signal.h signal.h-t
 
985
 
 
986
EXTRA_DIST += signal.in.h
 
987
 
 
988
## end   gnulib module signal
 
989
 
 
990
## begin gnulib module sigprocmask
 
991
 
 
992
 
 
993
EXTRA_DIST += sigprocmask.c
 
994
 
 
995
EXTRA_libdiffutils_a_SOURCES += sigprocmask.c
 
996
 
 
997
## end   gnulib module sigprocmask
 
998
 
 
999
## begin gnulib module stat
 
1000
 
 
1001
 
 
1002
EXTRA_DIST += stat.c
 
1003
 
 
1004
EXTRA_libdiffutils_a_SOURCES += stat.c
 
1005
 
 
1006
## end   gnulib module stat
 
1007
 
 
1008
## begin gnulib module stat-macros
 
1009
 
 
1010
 
 
1011
EXTRA_DIST += stat-macros.h
 
1012
 
 
1013
## end   gnulib module stat-macros
 
1014
 
 
1015
## begin gnulib module stat-time
 
1016
 
 
1017
 
 
1018
EXTRA_DIST += stat-time.h
 
1019
 
 
1020
## end   gnulib module stat-time
 
1021
 
 
1022
## begin gnulib module stdarg
 
1023
 
 
1024
BUILT_SOURCES += $(STDARG_H)
 
1025
 
 
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; \
 
1035
        } > $@-t && \
 
1036
        mv $@-t $@
 
1037
MOSTLYCLEANFILES += stdarg.h stdarg.h-t
 
1038
 
 
1039
EXTRA_DIST += stdarg.in.h
 
1040
 
 
1041
## end   gnulib module stdarg
 
1042
 
 
1043
## begin gnulib module stdbool
 
1044
 
 
1045
BUILT_SOURCES += $(STDBOOL_H)
 
1046
 
 
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; \
 
1053
        } > $@-t && \
 
1054
        mv $@-t $@
 
1055
MOSTLYCLEANFILES += stdbool.h stdbool.h-t
 
1056
 
 
1057
EXTRA_DIST += stdbool.in.h
 
1058
 
 
1059
## end   gnulib module stdbool
 
1060
 
 
1061
## begin gnulib module stddef
 
1062
 
 
1063
BUILT_SOURCES += $(STDDEF_H)
 
1064
 
 
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; \
 
1076
        } > $@-t && \
 
1077
        mv $@-t $@
 
1078
MOSTLYCLEANFILES += stddef.h stddef.h-t
 
1079
 
 
1080
EXTRA_DIST += stddef.in.h
 
1081
 
 
1082
## end   gnulib module stddef
 
1083
 
 
1084
## begin gnulib module stdint
 
1085
 
 
1086
BUILT_SOURCES += $(STDINT_H)
 
1087
 
 
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; \
 
1118
        } > $@-t && \
 
1119
        mv $@-t $@
 
1120
MOSTLYCLEANFILES += stdint.h stdint.h-t
 
1121
 
 
1122
EXTRA_DIST += stdint.in.h
 
1123
 
 
1124
## end   gnulib module stdint
 
1125
 
 
1126
## begin gnulib module stdio
 
1127
 
 
1128
BUILT_SOURCES += stdio.h
 
1129
 
 
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)'; \
 
1220
        } > $@-t && \
 
1221
        mv $@-t $@
 
1222
MOSTLYCLEANFILES += stdio.h stdio.h-t
 
1223
 
 
1224
EXTRA_DIST += stdio-write.c stdio.in.h
 
1225
 
 
1226
EXTRA_libdiffutils_a_SOURCES += stdio-write.c
 
1227
 
 
1228
## end   gnulib module stdio
 
1229
 
 
1230
## begin gnulib module stdlib
 
1231
 
 
1232
BUILT_SOURCES += stdlib.h
 
1233
 
 
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; \
 
1295
        } > $@-t && \
 
1296
        mv $@-t $@
 
1297
MOSTLYCLEANFILES += stdlib.h stdlib.h-t
 
1298
 
 
1299
EXTRA_DIST += stdlib.in.h
 
1300
 
 
1301
## end   gnulib module stdlib
 
1302
 
 
1303
## begin gnulib module strcase
 
1304
 
 
1305
 
 
1306
EXTRA_DIST += strcasecmp.c strncasecmp.c
 
1307
 
 
1308
EXTRA_libdiffutils_a_SOURCES += strcasecmp.c strncasecmp.c
 
1309
 
 
1310
## end   gnulib module strcase
 
1311
 
 
1312
## begin gnulib module streq
 
1313
 
 
1314
 
 
1315
EXTRA_DIST += streq.h
 
1316
 
 
1317
## end   gnulib module streq
 
1318
 
 
1319
## begin gnulib module strerror
 
1320
 
 
1321
 
 
1322
EXTRA_DIST += strerror.c
 
1323
 
 
1324
EXTRA_libdiffutils_a_SOURCES += strerror.c
 
1325
 
 
1326
## end   gnulib module strerror
 
1327
 
 
1328
## begin gnulib module strftime
 
1329
 
 
1330
 
 
1331
EXTRA_DIST += strftime.c strftime.h
 
1332
 
 
1333
EXTRA_libdiffutils_a_SOURCES += strftime.c
 
1334
 
 
1335
## end   gnulib module strftime
 
1336
 
 
1337
## begin gnulib module striconv
 
1338
 
 
1339
libdiffutils_a_SOURCES += striconv.h striconv.c
 
1340
if GL_COND_LIBTOOL
 
1341
endif
 
1342
 
 
1343
## end   gnulib module striconv
 
1344
 
 
1345
## begin gnulib module string
 
1346
 
 
1347
BUILT_SOURCES += string.h
 
1348
 
 
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; \
 
1422
        } > $@-t && \
 
1423
        mv $@-t $@
 
1424
MOSTLYCLEANFILES += string.h string.h-t
 
1425
 
 
1426
EXTRA_DIST += string.in.h
 
1427
 
 
1428
## end   gnulib module string
 
1429
 
 
1430
## begin gnulib module strings
 
1431
 
 
1432
BUILT_SOURCES += strings.h
 
1433
 
 
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; \
 
1447
        } > $@-t && \
 
1448
        mv $@-t $@
 
1449
MOSTLYCLEANFILES += strings.h strings.h-t
 
1450
 
 
1451
EXTRA_DIST += strings.in.h
 
1452
 
 
1453
## end   gnulib module strings
 
1454
 
 
1455
## begin gnulib module strndup
 
1456
 
 
1457
 
 
1458
EXTRA_DIST += strndup.c
 
1459
 
 
1460
EXTRA_libdiffutils_a_SOURCES += strndup.c
 
1461
 
 
1462
## end   gnulib module strndup
 
1463
 
 
1464
## begin gnulib module strnlen
 
1465
 
 
1466
 
 
1467
EXTRA_DIST += strnlen.c
 
1468
 
 
1469
EXTRA_libdiffutils_a_SOURCES += strnlen.c
 
1470
 
 
1471
## end   gnulib module strnlen
 
1472
 
 
1473
## begin gnulib module strnlen1
 
1474
 
 
1475
libdiffutils_a_SOURCES += strnlen1.h strnlen1.c
 
1476
 
 
1477
## end   gnulib module strnlen1
 
1478
 
 
1479
## begin gnulib module strptime
 
1480
 
 
1481
 
 
1482
EXTRA_DIST += strptime.c
 
1483
 
 
1484
EXTRA_libdiffutils_a_SOURCES += strptime.c
 
1485
 
 
1486
## end   gnulib module strptime
 
1487
 
 
1488
## begin gnulib module strtoimax
 
1489
 
 
1490
 
 
1491
EXTRA_DIST += strtoimax.c
 
1492
 
 
1493
EXTRA_libdiffutils_a_SOURCES += strtoimax.c
 
1494
 
 
1495
## end   gnulib module strtoimax
 
1496
 
 
1497
## begin gnulib module strtol
 
1498
 
 
1499
 
 
1500
EXTRA_DIST += strtol.c
 
1501
 
 
1502
EXTRA_libdiffutils_a_SOURCES += strtol.c
 
1503
 
 
1504
## end   gnulib module strtol
 
1505
 
 
1506
## begin gnulib module strtoll
 
1507
 
 
1508
 
 
1509
EXTRA_DIST += strtoll.c
 
1510
 
 
1511
EXTRA_libdiffutils_a_SOURCES += strtoll.c
 
1512
 
 
1513
## end   gnulib module strtoll
 
1514
 
 
1515
## begin gnulib module strtoul
 
1516
 
 
1517
 
 
1518
EXTRA_DIST += strtoul.c
 
1519
 
 
1520
EXTRA_libdiffutils_a_SOURCES += strtoul.c
 
1521
 
 
1522
## end   gnulib module strtoul
 
1523
 
 
1524
## begin gnulib module strtoull
 
1525
 
 
1526
 
 
1527
EXTRA_DIST += strtoull.c
 
1528
 
 
1529
EXTRA_libdiffutils_a_SOURCES += strtoull.c
 
1530
 
 
1531
## end   gnulib module strtoull
 
1532
 
 
1533
## begin gnulib module strtoumax
 
1534
 
 
1535
 
 
1536
EXTRA_DIST += strtoumax.c
 
1537
 
 
1538
EXTRA_libdiffutils_a_SOURCES += strtoumax.c
 
1539
 
 
1540
## end   gnulib module strtoumax
 
1541
 
 
1542
## begin gnulib module sys_stat
 
1543
 
 
1544
BUILT_SOURCES += sys/stat.h
 
1545
 
 
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; \
 
1590
        } > $@-t && \
 
1591
        mv $@-t $@
 
1592
MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
 
1593
MOSTLYCLEANDIRS += sys
 
1594
 
 
1595
EXTRA_DIST += sys_stat.in.h
 
1596
 
 
1597
## end   gnulib module sys_stat
 
1598
 
 
1599
## begin gnulib module sys_time
 
1600
 
 
1601
BUILT_SOURCES += sys/time.h
 
1602
 
 
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; \
 
1619
        } > $@-t && \
 
1620
        mv $@-t $@
 
1621
MOSTLYCLEANFILES += sys/time.h sys/time.h-t
 
1622
 
 
1623
EXTRA_DIST += sys_time.in.h
 
1624
 
 
1625
## end   gnulib module sys_time
 
1626
 
 
1627
## begin gnulib module tempname
 
1628
 
 
1629
 
 
1630
EXTRA_DIST += tempname.c tempname.h
 
1631
 
 
1632
EXTRA_libdiffutils_a_SOURCES += tempname.c
 
1633
 
 
1634
## end   gnulib module tempname
 
1635
 
 
1636
## begin gnulib module time
 
1637
 
 
1638
BUILT_SOURCES += time.h
 
1639
 
 
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; \
 
1657
        } > $@-t && \
 
1658
        mv $@-t $@
 
1659
MOSTLYCLEANFILES += time.h time.h-t
 
1660
 
 
1661
EXTRA_DIST += time.in.h
 
1662
 
 
1663
## end   gnulib module time
 
1664
 
 
1665
## begin gnulib module time_r
 
1666
 
 
1667
 
 
1668
EXTRA_DIST += time_r.c
 
1669
 
 
1670
EXTRA_libdiffutils_a_SOURCES += time_r.c
 
1671
 
 
1672
## end   gnulib module time_r
 
1673
 
 
1674
## begin gnulib module timegm
 
1675
 
 
1676
 
 
1677
EXTRA_DIST += mktime-internal.h timegm.c
 
1678
 
 
1679
EXTRA_libdiffutils_a_SOURCES += timegm.c
 
1680
 
 
1681
## end   gnulib module timegm
 
1682
 
 
1683
## begin gnulib module timespec
 
1684
 
 
1685
 
 
1686
EXTRA_DIST += timespec.h
 
1687
 
 
1688
## end   gnulib module timespec
 
1689
 
 
1690
## begin gnulib module trim
 
1691
 
 
1692
libdiffutils_a_SOURCES += trim.c
 
1693
 
 
1694
EXTRA_DIST += trim.h
 
1695
 
 
1696
## end   gnulib module trim
 
1697
 
 
1698
## begin gnulib module unistd
 
1699
 
 
1700
BUILT_SOURCES += unistd.h
 
1701
 
 
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)'; \
 
1807
        } > $@-t && \
 
1808
        mv $@-t $@
 
1809
MOSTLYCLEANFILES += unistd.h unistd.h-t
 
1810
 
 
1811
EXTRA_DIST += unistd.in.h
 
1812
 
 
1813
## end   gnulib module unistd
 
1814
 
 
1815
## begin gnulib module unitypes
 
1816
 
 
1817
 
 
1818
EXTRA_DIST += unitypes.h
 
1819
 
 
1820
## end   gnulib module unitypes
 
1821
 
 
1822
## begin gnulib module uniwidth/base
 
1823
 
 
1824
 
 
1825
EXTRA_DIST += localcharset.h uniwidth.h
 
1826
 
 
1827
## end   gnulib module uniwidth/base
 
1828
 
 
1829
## begin gnulib module uniwidth/width
 
1830
 
 
1831
libdiffutils_a_SOURCES += uniwidth/width.c
 
1832
 
 
1833
EXTRA_DIST += uniwidth/cjk.h
 
1834
 
 
1835
## end   gnulib module uniwidth/width
 
1836
 
 
1837
## begin gnulib module unlocked-io
 
1838
 
 
1839
 
 
1840
EXTRA_DIST += unlocked-io.h
 
1841
 
 
1842
## end   gnulib module unlocked-io
 
1843
 
 
1844
## begin gnulib module update-copyright
 
1845
 
 
1846
 
 
1847
EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
 
1848
 
 
1849
## end   gnulib module update-copyright
 
1850
 
 
1851
## begin gnulib module useless-if-before-free
 
1852
 
 
1853
 
 
1854
EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
 
1855
 
 
1856
## end   gnulib module useless-if-before-free
 
1857
 
 
1858
## begin gnulib module vc-list-files
 
1859
 
 
1860
 
 
1861
EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
 
1862
 
 
1863
## end   gnulib module vc-list-files
 
1864
 
 
1865
## begin gnulib module verify
 
1866
 
 
1867
libdiffutils_a_SOURCES += verify.h
 
1868
 
 
1869
## end   gnulib module verify
 
1870
 
 
1871
## begin gnulib module version-etc
 
1872
 
 
1873
libdiffutils_a_SOURCES += version-etc.h version-etc.c
 
1874
 
 
1875
## end   gnulib module version-etc
 
1876
 
 
1877
## begin gnulib module version-etc-fsf
 
1878
 
 
1879
libdiffutils_a_SOURCES += version-etc-fsf.c
 
1880
 
 
1881
## end   gnulib module version-etc-fsf
 
1882
 
 
1883
## begin gnulib module warn-on-use
 
1884
 
 
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 \
 
1892
          > $@-t && \
 
1893
        mv $@-t $@
 
1894
MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
 
1895
 
 
1896
WARN_ON_USE_H=warn-on-use.h
 
1897
 
 
1898
EXTRA_DIST += $(top_srcdir)/build-aux/warn-on-use.h
 
1899
 
 
1900
## end   gnulib module warn-on-use
 
1901
 
 
1902
## begin gnulib module wchar
 
1903
 
 
1904
BUILT_SOURCES += wchar.h
 
1905
 
 
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; \
 
1953
        } > $@-t && \
 
1954
        mv $@-t $@
 
1955
MOSTLYCLEANFILES += wchar.h wchar.h-t
 
1956
 
 
1957
EXTRA_DIST += wchar.in.h
 
1958
 
 
1959
## end   gnulib module wchar
 
1960
 
 
1961
## begin gnulib module wcrtomb
 
1962
 
 
1963
 
 
1964
EXTRA_DIST += wcrtomb.c
 
1965
 
 
1966
EXTRA_libdiffutils_a_SOURCES += wcrtomb.c
 
1967
 
 
1968
## end   gnulib module wcrtomb
 
1969
 
 
1970
## begin gnulib module wctype
 
1971
 
 
1972
BUILT_SOURCES += $(WCTYPE_H)
 
1973
 
 
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; \
 
1987
        } > $@-t && \
 
1988
        mv $@-t $@
 
1989
MOSTLYCLEANFILES += wctype.h wctype.h-t
 
1990
 
 
1991
EXTRA_DIST += wctype.in.h
 
1992
 
 
1993
## end   gnulib module wctype
 
1994
 
 
1995
## begin gnulib module wcwidth
 
1996
 
 
1997
 
 
1998
EXTRA_DIST += wcwidth.c
 
1999
 
 
2000
EXTRA_libdiffutils_a_SOURCES += wcwidth.c
 
2001
 
 
2002
## end   gnulib module wcwidth
 
2003
 
 
2004
## begin gnulib module xalloc
 
2005
 
 
2006
 
 
2007
EXTRA_DIST += xalloc.h xmalloc.c
 
2008
 
 
2009
EXTRA_libdiffutils_a_SOURCES += xmalloc.c
 
2010
 
 
2011
## end   gnulib module xalloc
 
2012
 
 
2013
## begin gnulib module xalloc-die
 
2014
 
 
2015
libdiffutils_a_SOURCES += xalloc-die.c
 
2016
 
 
2017
## end   gnulib module xalloc-die
 
2018
 
 
2019
## begin gnulib module xfreopen
 
2020
 
 
2021
libdiffutils_a_SOURCES += xfreopen.c xfreopen.h
 
2022
 
 
2023
## end   gnulib module xfreopen
 
2024
 
 
2025
## begin gnulib module xstriconv
 
2026
 
 
2027
libdiffutils_a_SOURCES += xstriconv.h xstriconv.c
 
2028
 
 
2029
## end   gnulib module xstriconv
 
2030
 
 
2031
## begin gnulib module xstrndup
 
2032
 
 
2033
libdiffutils_a_SOURCES += xstrndup.h xstrndup.c
 
2034
 
 
2035
## end   gnulib module xstrndup
 
2036
 
 
2037
## begin gnulib module xstrtol
 
2038
 
 
2039
 
 
2040
EXTRA_DIST += xstrtol-error.c xstrtol.c xstrtol.h xstrtoul.c
 
2041
 
 
2042
EXTRA_libdiffutils_a_SOURCES += xstrtol-error.c xstrtol.c xstrtoul.c
 
2043
 
 
2044
## end   gnulib module xstrtol
 
2045
 
 
2046
## begin gnulib module xstrtoumax
 
2047
 
 
2048
libdiffutils_a_SOURCES += xstrtoumax.c
 
2049
 
 
2050
## end   gnulib module xstrtoumax
 
2051
 
 
2052
 
 
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; \
 
2057
          fi; \
 
2058
        done; \
 
2059
        :