Commit | Line | Data |
---|---|---|
a74b0e1b EZ |
1 | ## This file is an edited copy if ../lib/gnulib.mk. |
2 | ## | |
3 | ## The purpose of the edits is to avoid generating any headers | |
4 | ## which would conflict with either the headers we have in nt/inc, | |
5 | ## or with MinGW system headers and subsequent redirection of some | |
6 | ## functions in nt/inc/ms-w32.h. | |
7 | ## | |
8 | ## In general, do NOT remove anything from ../lib/gnulib.mk that | |
9 | ## doesn't need to be removed, to minimize the differences from | |
10 | ## upstream gnulib.mk and thus make the maintenance easier. Every | |
11 | ## header file whose generation is controlled by configure-time tests | |
12 | ## does NOT need to be removed; instead, force the configure script to | |
13 | ## accept whatever MinGW has to offer, by defining the appropriate | |
14 | ## Autoconf variable in the nt/mingw-cfg.site file. Headers that are | |
15 | ## generated conditionally have the tell-tale "if GL_GENERATE_foo_H" | |
16 | ## condition before their Makefile snippet in this file. Likewise, do | |
17 | ## NOT remove gnulib modules which introduce header files that don't | |
18 | ## exist in MinGW and in nt/inc/, since they cannot possibly clash | |
19 | ## with anything. Gnulib modules that introduce source *.c files also | |
20 | ## need not be removed; if they define functions that could clash with | |
21 | ## the w32 substitutes in Emacs, disable their compilation by defining | |
22 | ## suitable variables in nt/mingw-cfg.site. | |
23 | ## | |
24 | ## Process this file with automake to produce Makefile.in. | |
25 | # Copyright (C) 2002-2013 Free Software Foundation, Inc. | |
26 | # | |
27 | # This file is free software; you can redistribute it and/or modify | |
28 | # it under the terms of the GNU General Public License as published by | |
29 | # the Free Software Foundation; either version 3 of the License, or | |
30 | # (at your option) any later version. | |
31 | # | |
32 | # This file is distributed in the hope that it will be useful, | |
33 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
34 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
35 | # GNU General Public License for more details. | |
36 | # | |
37 | # You should have received a copy of the GNU General Public License | |
38 | # along with this file. If not, see <http://www.gnu.org/licenses/>. | |
39 | # | |
40 | # As a special exception to the GNU General Public License, | |
41 | # this file may be distributed as part of a program that | |
42 | # contains a configuration script generated by Autoconf, under | |
43 | # the same distribution terms as the rest of that program. | |
44 | # | |
45 | # Generated by gnulib-tool. | |
9e5b5c79 | 46 | # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=dup --avoid=fchdir --avoid=fcntl --avoid=fstat --avoid=malloc-posix --avoid=msvc-inval --avoid=msvc-nothrow --avoid=open --avoid=openat-die --avoid=opendir --avoid=raise --avoid=save-cwd --avoid=select --avoid=sigprocmask --avoid=sys_types --avoid=threadlib --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt c-ctype c-strcase careadlinkat close-stream crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dtotimespec dup2 environ execinfo faccessat fcntl-h fdatasync fdopendir filemode fstatat fsync getloadavg getopt-gnu gettime gettimeofday ignore-value intprops largefile lstat manywarnings memrchr mktime pselect pthread_sigmask putenv qacl readlink readlinkat sig2str socklen stat-time stdalign stdarg stdbool stdio strftime strtoimax strtoumax symlink sys_stat sys_time time timer-time timespec-add timespec-sub unsetenv utimens warnings |
a74b0e1b EZ |
47 | |
48 | ||
49 | MOSTLYCLEANFILES += core *.stackdump | |
50 | ||
51 | noinst_LIBRARIES += libgnu.a | |
52 | ||
53 | libgnu_a_SOURCES = | |
54 | libgnu_a_LIBADD = $(gl_LIBOBJS) | |
55 | libgnu_a_DEPENDENCIES = $(gl_LIBOBJS) | |
56 | EXTRA_libgnu_a_SOURCES = | |
57 | ||
58 | ## begin gnulib module alloca-opt | |
59 | ||
60 | BUILT_SOURCES += $(ALLOCA_H) | |
61 | ||
62 | # We need the following in order to create <alloca.h> when the system | |
63 | # doesn't have one that works with the given compiler. | |
64 | if GL_GENERATE_ALLOCA_H | |
65 | alloca.h: alloca.in.h $(top_builddir)/config.status | |
66 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
67 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
68 | cat $(srcdir)/alloca.in.h; \ | |
69 | } > $@-t && \ | |
70 | mv -f $@-t $@ | |
71 | else | |
72 | alloca.h: $(top_builddir)/config.status | |
73 | rm -f $@ | |
74 | endif | |
75 | MOSTLYCLEANFILES += alloca.h alloca.h-t | |
76 | ||
77 | EXTRA_DIST += alloca.in.h | |
78 | ||
79 | ## end gnulib module alloca-opt | |
80 | ||
81 | ## begin gnulib module c-ctype | |
82 | ||
83 | libgnu_a_SOURCES += c-ctype.h c-ctype.c | |
84 | ||
85 | ## end gnulib module c-ctype | |
86 | ||
87 | ## begin gnulib module c-strcase | |
88 | ||
89 | libgnu_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c | |
90 | ||
91 | ## end gnulib module c-strcase | |
92 | ||
93 | ## begin gnulib module close-stream | |
94 | ||
95 | libgnu_a_SOURCES += close-stream.c | |
96 | ||
97 | EXTRA_DIST += close-stream.h | |
98 | ||
99 | ## end gnulib module close-stream | |
100 | ||
101 | ## begin gnulib module crypto/md5 | |
102 | ||
103 | libgnu_a_SOURCES += md5.c | |
104 | ||
105 | EXTRA_DIST += md5.h | |
106 | ||
107 | ## end gnulib module crypto/md5 | |
108 | ||
109 | ## begin gnulib module crypto/sha1 | |
110 | ||
111 | libgnu_a_SOURCES += sha1.c | |
112 | ||
113 | EXTRA_DIST += sha1.h | |
114 | ||
115 | ## end gnulib module crypto/sha1 | |
116 | ||
117 | ## begin gnulib module crypto/sha256 | |
118 | ||
119 | libgnu_a_SOURCES += sha256.c | |
120 | ||
121 | EXTRA_DIST += sha256.h | |
122 | ||
123 | ## end gnulib module crypto/sha256 | |
124 | ||
125 | ## begin gnulib module crypto/sha512 | |
126 | ||
127 | libgnu_a_SOURCES += sha512.c | |
128 | ||
129 | EXTRA_DIST += sha512.h | |
130 | ||
131 | ## end gnulib module crypto/sha512 | |
132 | ||
133 | ## begin gnulib module dosname | |
134 | ||
135 | if gl_GNULIB_ENABLED_dosname | |
136 | ||
137 | endif | |
138 | EXTRA_DIST += dosname.h | |
139 | ||
140 | ## end gnulib module dosname | |
141 | ||
142 | ## begin gnulib module dtoastr | |
143 | ||
144 | libgnu_a_SOURCES += dtoastr.c | |
145 | ||
146 | EXTRA_DIST += ftoastr.c ftoastr.h | |
147 | ||
148 | EXTRA_libgnu_a_SOURCES += ftoastr.c | |
149 | ||
150 | ## end gnulib module dtoastr | |
151 | ||
152 | ## begin gnulib module dtotimespec | |
153 | ||
154 | libgnu_a_SOURCES += dtotimespec.c | |
155 | ||
156 | ## end gnulib module dtotimespec | |
157 | ||
158 | ## begin gnulib module dup2 | |
159 | ||
160 | ||
161 | EXTRA_DIST += dup2.c | |
162 | ||
163 | EXTRA_libgnu_a_SOURCES += dup2.c | |
164 | ||
165 | ## end gnulib module dup2 | |
166 | ||
9e5b5c79 EZ |
167 | ## begin gnulib module errno |
168 | ||
169 | BUILT_SOURCES += $(ERRNO_H) | |
170 | ||
171 | # We need the following in order to create <errno.h> when the system | |
172 | # doesn't have one that is POSIX compliant. | |
173 | if GL_GENERATE_ERRNO_H | |
174 | errno.h: errno.in.h $(top_builddir)/config.status | |
175 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
176 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
177 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ | |
178 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
179 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
180 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
181 | -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \ | |
182 | -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \ | |
183 | -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \ | |
184 | -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \ | |
185 | -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \ | |
186 | -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \ | |
187 | -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \ | |
188 | < $(srcdir)/errno.in.h; \ | |
189 | } > $@-t && \ | |
190 | mv $@-t $@ | |
191 | else | |
192 | errno.h: $(top_builddir)/config.status | |
193 | rm -f $@ | |
194 | endif | |
195 | MOSTLYCLEANFILES += errno.h errno.h-t | |
196 | ||
197 | EXTRA_DIST += errno.in.h | |
198 | ||
199 | ## end gnulib module errno | |
200 | ||
a74b0e1b EZ |
201 | ## begin gnulib module euidaccess |
202 | ||
203 | if gl_GNULIB_ENABLED_euidaccess | |
204 | ||
205 | endif | |
206 | EXTRA_DIST += euidaccess.c | |
207 | ||
208 | EXTRA_libgnu_a_SOURCES += euidaccess.c | |
209 | ||
210 | ## end gnulib module euidaccess | |
211 | ||
212 | ## begin gnulib module execinfo | |
213 | ||
214 | BUILT_SOURCES += $(EXECINFO_H) | |
215 | ||
216 | # We need the following in order to create <execinfo.h> when the system | |
217 | # doesn't have one that works. | |
218 | if GL_GENERATE_EXECINFO_H | |
219 | execinfo.h: execinfo.in.h $(top_builddir)/config.status | |
220 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
221 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
222 | cat $(srcdir)/execinfo.in.h; \ | |
223 | } > $@-t && \ | |
224 | mv $@-t $@ | |
225 | else | |
226 | execinfo.h: $(top_builddir)/config.status | |
227 | rm -f $@ | |
228 | endif | |
229 | MOSTLYCLEANFILES += execinfo.h execinfo.h-t | |
230 | ||
231 | EXTRA_DIST += execinfo.c execinfo.in.h | |
232 | ||
233 | EXTRA_libgnu_a_SOURCES += execinfo.c | |
234 | ||
235 | ## end gnulib module execinfo | |
236 | ||
237 | ## begin gnulib module faccessat | |
238 | ||
239 | ||
240 | EXTRA_DIST += at-func.c faccessat.c | |
241 | ||
242 | EXTRA_libgnu_a_SOURCES += at-func.c faccessat.c | |
243 | ||
244 | ## end gnulib module faccessat | |
245 | ||
246 | ## begin gnulib module fdatasync | |
247 | ||
248 | ||
249 | EXTRA_DIST += fdatasync.c | |
250 | ||
251 | EXTRA_libgnu_a_SOURCES += fdatasync.c | |
252 | ||
253 | ## end gnulib module fdatasync | |
254 | ||
255 | ## begin gnulib module fdopendir | |
256 | ||
257 | ||
258 | EXTRA_DIST += fdopendir.c | |
259 | ||
260 | EXTRA_libgnu_a_SOURCES += fdopendir.c | |
261 | ||
262 | ## end gnulib module fdopendir | |
263 | ||
264 | ## begin gnulib module filemode | |
265 | ||
266 | libgnu_a_SOURCES += filemode.c | |
267 | ||
268 | EXTRA_DIST += filemode.h | |
269 | ||
270 | ## end gnulib module filemode | |
271 | ||
272 | ## begin gnulib module fpending | |
273 | ||
274 | ||
275 | EXTRA_DIST += fpending.c fpending.h | |
276 | ||
277 | EXTRA_libgnu_a_SOURCES += fpending.c | |
278 | ||
279 | ## end gnulib module fpending | |
280 | ||
281 | ## begin gnulib module fstatat | |
282 | ||
283 | ||
284 | EXTRA_DIST += at-func.c fstatat.c | |
285 | ||
286 | EXTRA_libgnu_a_SOURCES += at-func.c fstatat.c | |
287 | ||
288 | ## end gnulib module fstatat | |
289 | ||
290 | ## begin gnulib module fsync | |
291 | ||
292 | ||
293 | EXTRA_DIST += fsync.c | |
294 | ||
295 | EXTRA_libgnu_a_SOURCES += fsync.c | |
296 | ||
297 | ## end gnulib module fsync | |
298 | ||
299 | ## begin gnulib module getgroups | |
300 | ||
301 | if gl_GNULIB_ENABLED_getgroups | |
302 | ||
303 | endif | |
304 | EXTRA_DIST += getgroups.c | |
305 | ||
306 | EXTRA_libgnu_a_SOURCES += getgroups.c | |
307 | ||
308 | ## end gnulib module getgroups | |
309 | ||
310 | ## begin gnulib module getloadavg | |
311 | ||
312 | ||
313 | EXTRA_DIST += getloadavg.c | |
314 | ||
315 | EXTRA_libgnu_a_SOURCES += getloadavg.c | |
316 | ||
317 | ## end gnulib module getloadavg | |
318 | ||
319 | ## begin gnulib module getopt-posix | |
320 | ||
321 | BUILT_SOURCES += $(GETOPT_H) | |
322 | ||
323 | # We need the following in order to create <getopt.h> when the system | |
324 | # doesn't have one that works with the given compiler. | |
325 | getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H) | |
326 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
327 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
328 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ | |
329 | -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \ | |
330 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
331 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
332 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
333 | -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \ | |
334 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | |
335 | < $(srcdir)/getopt.in.h; \ | |
336 | } > $@-t && \ | |
337 | mv -f $@-t $@ | |
338 | MOSTLYCLEANFILES += getopt.h getopt.h-t | |
339 | ||
340 | EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h | |
341 | ||
342 | EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c | |
343 | ||
344 | ## end gnulib module getopt-posix | |
345 | ||
346 | ## begin gnulib module gettext-h | |
347 | ||
348 | if gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36 | |
349 | libgnu_a_SOURCES += gettext.h | |
350 | ||
351 | endif | |
352 | ## end gnulib module gettext-h | |
353 | ||
354 | ## begin gnulib module gettime | |
355 | ||
356 | libgnu_a_SOURCES += gettime.c | |
357 | ||
358 | ## end gnulib module gettime | |
359 | ||
360 | ## begin gnulib module gettimeofday | |
361 | ||
362 | ||
363 | EXTRA_DIST += gettimeofday.c | |
364 | ||
365 | EXTRA_libgnu_a_SOURCES += gettimeofday.c | |
366 | ||
367 | ## end gnulib module gettimeofday | |
368 | ||
369 | ## begin gnulib module group-member | |
370 | ||
371 | if gl_GNULIB_ENABLED_a9786850e999ae65a836a6041e8e5ed1 | |
372 | ||
373 | endif | |
374 | EXTRA_DIST += group-member.c | |
375 | ||
376 | EXTRA_libgnu_a_SOURCES += group-member.c | |
377 | ||
378 | ## end gnulib module group-member | |
379 | ||
380 | ## begin gnulib module ignore-value | |
381 | ||
382 | ||
383 | EXTRA_DIST += ignore-value.h | |
384 | ||
385 | ## end gnulib module ignore-value | |
386 | ||
387 | ## begin gnulib module intprops | |
388 | ||
389 | ||
390 | EXTRA_DIST += intprops.h | |
391 | ||
392 | ## end gnulib module intprops | |
393 | ||
394 | ## begin gnulib module lstat | |
395 | ||
396 | ||
397 | EXTRA_DIST += lstat.c | |
398 | ||
399 | EXTRA_libgnu_a_SOURCES += lstat.c | |
400 | ||
401 | ## end gnulib module lstat | |
402 | ||
403 | ## begin gnulib module memrchr | |
404 | ||
405 | ||
406 | EXTRA_DIST += memrchr.c | |
407 | ||
408 | EXTRA_libgnu_a_SOURCES += memrchr.c | |
409 | ||
410 | ## end gnulib module memrchr | |
411 | ||
412 | ## begin gnulib module mktime | |
413 | ||
414 | ||
415 | EXTRA_DIST += mktime-internal.h mktime.c | |
416 | ||
417 | EXTRA_libgnu_a_SOURCES += mktime.c | |
418 | ||
419 | ## end gnulib module mktime | |
420 | ||
421 | ## begin gnulib module openat-h | |
422 | ||
423 | if gl_GNULIB_ENABLED_03e0aaad4cb89ca757653bd367a6ccb7 | |
424 | ||
425 | endif | |
426 | EXTRA_DIST += openat.h | |
427 | ||
428 | ## end gnulib module openat-h | |
429 | ||
430 | ## begin gnulib module pathmax | |
431 | ||
432 | if gl_GNULIB_ENABLED_pathmax | |
433 | ||
434 | endif | |
435 | EXTRA_DIST += pathmax.h | |
436 | ||
437 | ## end gnulib module pathmax | |
438 | ||
439 | ## begin gnulib module pselect | |
440 | ||
441 | ||
442 | EXTRA_DIST += pselect.c | |
443 | ||
444 | EXTRA_libgnu_a_SOURCES += pselect.c | |
445 | ||
446 | ## end gnulib module pselect | |
447 | ||
448 | ## begin gnulib module pthread_sigmask | |
449 | ||
450 | ||
451 | EXTRA_DIST += pthread_sigmask.c | |
452 | ||
453 | EXTRA_libgnu_a_SOURCES += pthread_sigmask.c | |
454 | ||
455 | ## end gnulib module pthread_sigmask | |
456 | ||
457 | ## begin gnulib module putenv | |
458 | ||
459 | ||
460 | EXTRA_DIST += putenv.c | |
461 | ||
462 | EXTRA_libgnu_a_SOURCES += putenv.c | |
463 | ||
464 | ## end gnulib module putenv | |
465 | ||
466 | ## begin gnulib module readlink | |
467 | ||
468 | ||
469 | EXTRA_DIST += readlink.c | |
470 | ||
471 | EXTRA_libgnu_a_SOURCES += readlink.c | |
472 | ||
473 | ## end gnulib module readlink | |
474 | ||
475 | ## begin gnulib module readlinkat | |
476 | ||
477 | ||
478 | EXTRA_DIST += at-func.c readlinkat.c | |
479 | ||
480 | EXTRA_libgnu_a_SOURCES += at-func.c readlinkat.c | |
481 | ||
482 | ## end gnulib module readlinkat | |
483 | ||
484 | ## begin gnulib module root-uid | |
485 | ||
486 | if gl_GNULIB_ENABLED_6099e9737f757db36c47fa9d9f02e88c | |
487 | ||
488 | endif | |
489 | EXTRA_DIST += root-uid.h | |
490 | ||
491 | ## end gnulib module root-uid | |
492 | ||
493 | ## begin gnulib module sig2str | |
494 | ||
495 | ||
496 | EXTRA_DIST += sig2str.c sig2str.h | |
497 | ||
498 | EXTRA_libgnu_a_SOURCES += sig2str.c | |
499 | ||
500 | ## end gnulib module sig2str | |
501 | ||
502 | ## begin gnulib module snippet/_Noreturn | |
503 | ||
504 | # Because this Makefile snippet defines a variable used by other | |
505 | # gnulib Makefile snippets, it must be present in all Makefile.am that | |
506 | # need it. This is ensured by the applicability 'all' defined above. | |
507 | ||
508 | _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h | |
509 | ||
510 | EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h | |
511 | ||
512 | ## end gnulib module snippet/_Noreturn | |
513 | ||
514 | ## begin gnulib module snippet/arg-nonnull | |
515 | ||
516 | # The BUILT_SOURCES created by this Makefile snippet are not used via #include | |
517 | # statements but through direct file reference. Therefore this snippet must be | |
518 | # present in all Makefile.am that need it. This is ensured by the applicability | |
519 | # 'all' defined above. | |
520 | ||
521 | BUILT_SOURCES += arg-nonnull.h | |
522 | # The arg-nonnull.h that gets inserted into generated .h files is the same as | |
523 | # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut | |
524 | # off. | |
525 | arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h | |
526 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
527 | sed -n -e '/GL_ARG_NONNULL/,$$p' \ | |
528 | < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \ | |
529 | > $@-t && \ | |
530 | mv $@-t $@ | |
531 | MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t | |
532 | ||
533 | ARG_NONNULL_H=arg-nonnull.h | |
534 | ||
535 | EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h | |
536 | ||
537 | ## end gnulib module snippet/arg-nonnull | |
538 | ||
539 | ## begin gnulib module snippet/c++defs | |
540 | ||
541 | # The BUILT_SOURCES created by this Makefile snippet are not used via #include | |
542 | # statements but through direct file reference. Therefore this snippet must be | |
543 | # present in all Makefile.am that need it. This is ensured by the applicability | |
544 | # 'all' defined above. | |
545 | ||
546 | BUILT_SOURCES += c++defs.h | |
547 | # The c++defs.h that gets inserted into generated .h files is the same as | |
548 | # build-aux/snippet/c++defs.h, except that it has the copyright header cut off. | |
549 | c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h | |
550 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
551 | sed -n -e '/_GL_CXXDEFS/,$$p' \ | |
552 | < $(top_srcdir)/build-aux/snippet/c++defs.h \ | |
553 | > $@-t && \ | |
554 | mv $@-t $@ | |
555 | MOSTLYCLEANFILES += c++defs.h c++defs.h-t | |
556 | ||
557 | CXXDEFS_H=c++defs.h | |
558 | ||
559 | EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h | |
560 | ||
561 | ## end gnulib module snippet/c++defs | |
562 | ||
563 | ## begin gnulib module snippet/warn-on-use | |
564 | ||
565 | BUILT_SOURCES += warn-on-use.h | |
566 | # The warn-on-use.h that gets inserted into generated .h files is the same as | |
567 | # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut | |
568 | # off. | |
569 | warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h | |
570 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
571 | sed -n -e '/^.ifndef/,$$p' \ | |
572 | < $(top_srcdir)/build-aux/snippet/warn-on-use.h \ | |
573 | > $@-t && \ | |
574 | mv $@-t $@ | |
575 | MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t | |
576 | ||
577 | WARN_ON_USE_H=warn-on-use.h | |
578 | ||
579 | EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h | |
580 | ||
581 | ## end gnulib module snippet/warn-on-use | |
582 | ||
583 | ## begin gnulib module stat | |
584 | ||
585 | if gl_GNULIB_ENABLED_stat | |
586 | ||
587 | endif | |
588 | EXTRA_DIST += stat.c | |
589 | ||
590 | EXTRA_libgnu_a_SOURCES += stat.c | |
591 | ||
592 | ## end gnulib module stat | |
593 | ||
594 | ## begin gnulib module stat-time | |
595 | ||
596 | libgnu_a_SOURCES += stat-time.c | |
597 | ||
598 | EXTRA_DIST += stat-time.h | |
599 | ||
600 | ## end gnulib module stat-time | |
601 | ||
602 | ## begin gnulib module stdalign | |
603 | ||
604 | BUILT_SOURCES += $(STDALIGN_H) | |
605 | ||
606 | # We need the following in order to create <stdalign.h> when the system | |
607 | # doesn't have one that works. | |
608 | if GL_GENERATE_STDALIGN_H | |
609 | stdalign.h: stdalign.in.h $(top_builddir)/config.status | |
610 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
611 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
612 | cat $(srcdir)/stdalign.in.h; \ | |
613 | } > $@-t && \ | |
614 | mv $@-t $@ | |
615 | else | |
616 | stdalign.h: $(top_builddir)/config.status | |
617 | rm -f $@ | |
618 | endif | |
619 | MOSTLYCLEANFILES += stdalign.h stdalign.h-t | |
620 | ||
621 | EXTRA_DIST += stdalign.in.h | |
622 | ||
623 | ## end gnulib module stdalign | |
624 | ||
625 | ## begin gnulib module stdarg | |
626 | ||
627 | BUILT_SOURCES += $(STDARG_H) | |
628 | ||
629 | # We need the following in order to create <stdarg.h> when the system | |
630 | # doesn't have one that works with the given compiler. | |
631 | if GL_GENERATE_STDARG_H | |
632 | stdarg.h: stdarg.in.h $(top_builddir)/config.status | |
633 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
634 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
635 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ | |
636 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
637 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
638 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
639 | -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \ | |
640 | < $(srcdir)/stdarg.in.h; \ | |
641 | } > $@-t && \ | |
642 | mv $@-t $@ | |
643 | else | |
644 | stdarg.h: $(top_builddir)/config.status | |
645 | rm -f $@ | |
646 | endif | |
647 | MOSTLYCLEANFILES += stdarg.h stdarg.h-t | |
648 | ||
649 | EXTRA_DIST += stdarg.in.h | |
650 | ||
651 | ## end gnulib module stdarg | |
652 | ||
653 | ## begin gnulib module stdbool | |
654 | ||
655 | BUILT_SOURCES += $(STDBOOL_H) | |
656 | ||
657 | # We need the following in order to create <stdbool.h> when the system | |
658 | # doesn't have one that works. | |
659 | if GL_GENERATE_STDBOOL_H | |
660 | stdbool.h: stdbool.in.h $(top_builddir)/config.status | |
661 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
662 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
663 | sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \ | |
664 | } > $@-t && \ | |
665 | mv $@-t $@ | |
666 | else | |
667 | stdbool.h: $(top_builddir)/config.status | |
668 | rm -f $@ | |
669 | endif | |
670 | MOSTLYCLEANFILES += stdbool.h stdbool.h-t | |
671 | ||
672 | EXTRA_DIST += stdbool.in.h | |
673 | ||
674 | ## end gnulib module stdbool | |
675 | ||
676 | ## begin gnulib module stddef | |
677 | ||
678 | BUILT_SOURCES += $(STDDEF_H) | |
679 | ||
680 | # We need the following in order to create <stddef.h> when the system | |
681 | # doesn't have one that works with the given compiler. | |
682 | if GL_GENERATE_STDDEF_H | |
683 | stddef.h: stddef.in.h $(top_builddir)/config.status | |
684 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
685 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ | |
686 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ | |
687 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
688 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
689 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
690 | -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \ | |
691 | -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \ | |
692 | -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \ | |
693 | < $(srcdir)/stddef.in.h; \ | |
694 | } > $@-t && \ | |
695 | mv $@-t $@ | |
696 | else | |
697 | stddef.h: $(top_builddir)/config.status | |
698 | rm -f $@ | |
699 | endif | |
700 | MOSTLYCLEANFILES += stddef.h stddef.h-t | |
701 | ||
702 | EXTRA_DIST += stddef.in.h | |
703 | ||
704 | ## end gnulib module stddef | |
705 | ||
706 | ## begin gnulib module stdint | |
707 | ||
708 | BUILT_SOURCES += $(STDINT_H) | |
709 | ||
710 | # We need the following in order to create <stdint.h> when the system | |
711 | # doesn't have one that works with the given compiler. | |
712 | if GL_GENERATE_STDINT_H | |
713 | stdint.h: stdint.in.h $(top_builddir)/config.status | |
714 | $(AM_V_GEN)rm -f $@-t $@ && \ | |
715 | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
716 | sed -e 's|@''GUARD_PREFIX''@|GL|g' \ | |
717 | -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ | |
718 | -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
719 | -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
720 | -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
721 | -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \ | |
722 | -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \ | |
723 | -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ | |
724 | -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ | |
725 | -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \ | |
726 | -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \ | |
727 | -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ | |
728 | -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ | |
729 | -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ | |
730 | -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \ | |
731 | -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \ | |
732 | -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \ | |
733 | -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \ | |
734 | -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \ | |
735 | -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \ | |
736 | -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \ | |
737 | -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \ | |
738 | -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \ | |
739 | -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \ | |
740 | -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ | |
741 | -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ | |
742 | -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ | |
743 | < $(srcdir)/stdint.in.h; \ | |
744 | } > $@-t && \ | |
745 | mv $@-t $@ | |
746 | else | |
747 | stdint.h: $(top_builddir)/config.status | |
748 | rm -f $@ | |
749 | endif | |
750 | MOSTLYCLEANFILES += stdint.h stdint.h-t | |
751 | ||
752 | EXTRA_DIST += stdint.in.h | |
753 | ||
754 | ## end gnulib module stdint | |
755 | ||
756 | ## begin gnulib module strftime | |
757 | ||
758 | libgnu_a_SOURCES += strftime.c | |
759 | ||
760 | EXTRA_DIST += strftime.h | |
761 | ||
762 | ## end gnulib module strftime | |
763 | ||
764 | ## begin gnulib module strtoimax | |
765 | ||
766 | ||
767 | EXTRA_DIST += strtoimax.c | |
768 | ||
769 | EXTRA_libgnu_a_SOURCES += strtoimax.c | |
770 | ||
771 | ## end gnulib module strtoimax | |
772 | ||
773 | ## begin gnulib module strtoll | |
774 | ||
775 | if gl_GNULIB_ENABLED_strtoll | |
776 | ||
777 | endif | |
778 | EXTRA_DIST += strtol.c strtoll.c | |
779 | ||
780 | EXTRA_libgnu_a_SOURCES += strtol.c strtoll.c | |
781 | ||
782 | ## end gnulib module strtoll | |
783 | ||
784 | ## begin gnulib module strtoull | |
785 | ||
786 | if gl_GNULIB_ENABLED_strtoull | |
787 | ||
788 | endif | |
789 | EXTRA_DIST += strtol.c strtoul.c strtoull.c | |
790 | ||
791 | EXTRA_libgnu_a_SOURCES += strtol.c strtoul.c strtoull.c | |
792 | ||
793 | ## end gnulib module strtoull | |
794 | ||
795 | ## begin gnulib module strtoumax | |
796 | ||
797 | ||
798 | EXTRA_DIST += strtoimax.c strtoumax.c | |
799 | ||
800 | EXTRA_libgnu_a_SOURCES += strtoimax.c strtoumax.c | |
801 | ||
802 | ## end gnulib module strtoumax | |
803 | ||
804 | ## begin gnulib module symlink | |
805 | ||
806 | ||
807 | EXTRA_DIST += symlink.c | |
808 | ||
809 | EXTRA_libgnu_a_SOURCES += symlink.c | |
810 | ||
811 | ## end gnulib module symlink | |
812 | ||
813 | ## begin gnulib module time_r | |
814 | ||
815 | ||
816 | EXTRA_DIST += time_r.c | |
817 | ||
818 | EXTRA_libgnu_a_SOURCES += time_r.c | |
819 | ||
820 | ## end gnulib module time_r | |
821 | ||
822 | ## begin gnulib module timespec | |
823 | ||
824 | libgnu_a_SOURCES += timespec.c | |
825 | ||
826 | EXTRA_DIST += timespec.h | |
827 | ||
828 | ## end gnulib module timespec | |
829 | ||
830 | ## begin gnulib module timespec-add | |
831 | ||
832 | libgnu_a_SOURCES += timespec-add.c | |
833 | ||
834 | ## end gnulib module timespec-add | |
835 | ||
836 | ## begin gnulib module timespec-sub | |
837 | ||
838 | libgnu_a_SOURCES += timespec-sub.c | |
839 | ||
840 | ## end gnulib module timespec-sub | |
841 | ||
842 | ## begin gnulib module u64 | |
843 | ||
844 | libgnu_a_SOURCES += u64.c | |
845 | ||
846 | EXTRA_DIST += u64.h | |
847 | ||
848 | ## end gnulib module u64 | |
849 | ||
850 | ## begin gnulib module unsetenv | |
851 | ||
852 | ||
853 | EXTRA_DIST += unsetenv.c | |
854 | ||
855 | EXTRA_libgnu_a_SOURCES += unsetenv.c | |
856 | ||
857 | ## end gnulib module unsetenv | |
858 | ||
859 | ## begin gnulib module utimens | |
860 | ||
861 | libgnu_a_SOURCES += utimens.c | |
862 | ||
863 | EXTRA_DIST += utimens.h | |
864 | ||
865 | ## end gnulib module utimens | |
866 | ||
867 | ## begin gnulib module verify | |
868 | ||
869 | if gl_GNULIB_ENABLED_verify | |
870 | ||
871 | endif | |
872 | EXTRA_DIST += verify.h | |
873 | ||
874 | ## end gnulib module verify | |
875 | ||
876 | ## begin gnulib module xalloc-oversized | |
877 | ||
878 | if gl_GNULIB_ENABLED_682e609604ccaac6be382e4ee3a4eaec | |
879 | ||
880 | endif | |
881 | EXTRA_DIST += xalloc-oversized.h | |
882 | ||
883 | ## end gnulib module xalloc-oversized | |
884 | ||
885 | ||
886 | mostlyclean-local: mostlyclean-generic | |
887 | @for dir in '' $(MOSTLYCLEANDIRS); do \ | |
888 | if test -n "$$dir" && test -d $$dir; then \ | |
889 | echo "rmdir $$dir"; rmdir $$dir; \ | |
890 | fi; \ | |
891 | done; \ | |
892 | : |