Remove possible deadlock in scm_join_thread_timed
[bpt/guile.git] / lib / Makefile.am
CommitLineData
103dc4d4
LC
1## DO NOT EDIT! GENERATED AUTOMATICALLY!
2## Process this file with automake to produce Makefile.in.
4a462e35 3# Copyright (C) 2002-2009 Free Software Foundation, Inc.
103dc4d4
LC
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.
b579617b 12# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --lgpl --libtool --macro-prefix=gl --no-vc-files alloca-opt autobuild count-one-bits environ extensions flock fpieee full-read full-write lib-symbol-visibility putenv stdlib strcase strftime
103dc4d4
LC
13
14AUTOMAKE_OPTIONS = 1.5 gnits
15
aa7a939c 16SUBDIRS =
103dc4d4
LC
17noinst_HEADERS =
18noinst_LIBRARIES =
19noinst_LTLIBRARIES =
20EXTRA_DIST =
21BUILT_SOURCES =
22SUFFIXES =
23MOSTLYCLEANFILES = core *.stackdump
24MOSTLYCLEANDIRS =
25CLEANFILES =
26DISTCLEANFILES =
27MAINTAINERCLEANFILES =
28
29AM_CPPFLAGS =
f240aacb 30AM_CFLAGS =
103dc4d4
LC
31
32noinst_LTLIBRARIES += libgnu.la
33
34libgnu_la_SOURCES =
35libgnu_la_LIBADD = $(gl_LTLIBOBJS)
36libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
37EXTRA_libgnu_la_SOURCES =
38libgnu_la_LDFLAGS = $(AM_LDFLAGS)
39
103dc4d4
LC
40## begin gnulib module alloca-opt
41
42BUILT_SOURCES += $(ALLOCA_H)
43
44# We need the following in order to create <alloca.h> when the system
45# doesn't have one that works with the given compiler.
46alloca.h: alloca.in.h
47 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
48 cat $(srcdir)/alloca.in.h; \
49 } > $@-t
50 mv -f $@-t $@
51MOSTLYCLEANFILES += alloca.h alloca.h-t
52
53EXTRA_DIST += alloca.in.h
54
55## end gnulib module alloca-opt
56
4a462e35
NJ
57## begin gnulib module configmake
58
59# Retrieve values of the variables through 'configure' followed by
60# 'make', not directly through 'configure', so that a user who
61# sets some of these variables consistently on the 'make' command
62# line gets correct results.
63#
64# One advantage of this approach, compared to the classical
65# approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
66# is that it protects against the use of undefined variables.
67# If, say, $(libdir) is not set in the Makefile, LIBDIR is not
68# defined by this module, and code using LIBDIR gives a
69# compilation error.
70#
71# Another advantage is that 'make' output is shorter.
72#
73# Listed in the same order as the GNU makefile conventions.
74# The Automake-defined pkg* macros are appended, in the order
75# listed in the Automake 1.10a+ documentation.
76configmake.h: Makefile
f240aacb 77 rm -f $@-t
4a462e35
NJ
78 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
79 echo '#define PREFIX "$(prefix)"'; \
80 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
81 echo '#define BINDIR "$(bindir)"'; \
82 echo '#define SBINDIR "$(sbindir)"'; \
83 echo '#define LIBEXECDIR "$(libexecdir)"'; \
84 echo '#define DATAROOTDIR "$(datarootdir)"'; \
85 echo '#define DATADIR "$(datadir)"'; \
86 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
87 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
88 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
89 echo '#define INCLUDEDIR "$(includedir)"'; \
90 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
91 echo '#define DOCDIR "$(docdir)"'; \
92 echo '#define INFODIR "$(infodir)"'; \
93 echo '#define HTMLDIR "$(htmldir)"'; \
94 echo '#define DVIDIR "$(dvidir)"'; \
95 echo '#define PDFDIR "$(pdfdir)"'; \
96 echo '#define PSDIR "$(psdir)"'; \
97 echo '#define LIBDIR "$(libdir)"'; \
98 echo '#define LISPDIR "$(lispdir)"'; \
99 echo '#define LOCALEDIR "$(localedir)"'; \
100 echo '#define MANDIR "$(mandir)"'; \
101 echo '#define MANEXT "$(manext)"'; \
102 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
103 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
104 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
105 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
106 } | sed '/""/d' > $@-t
f240aacb
LC
107 if test -f $@ && cmp $@-t $@ > /dev/null; then \
108 rm -f $@-t; \
109 else \
110 rm -f $@; mv $@-t $@; \
111 fi
112
4a462e35
NJ
113BUILT_SOURCES += configmake.h
114CLEANFILES += configmake.h configmake.h-t
115
116## end gnulib module configmake
117
d7014610
LC
118## begin gnulib module count-one-bits
119
120
121EXTRA_DIST += count-one-bits.h
122
123## end gnulib module count-one-bits
124
f240aacb
LC
125## begin gnulib module flock
126
127
128EXTRA_DIST += flock.c
129
130EXTRA_libgnu_la_SOURCES += flock.c
131
132## end gnulib module flock
133
9b36a80c
LC
134## begin gnulib module full-read
135
136libgnu_la_SOURCES += full-read.h full-read.c
137
138## end gnulib module full-read
139
140## begin gnulib module full-write
141
142libgnu_la_SOURCES += full-write.h full-write.c
143
144## end gnulib module full-write
145
d9a9e182
AW
146## begin gnulib module lib-symbol-visibility
147
148# The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the
149# compilation of all sources that make up the library. This line here does it
150# only for the gnulib part of it. The developer is responsible for adding
151# $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library.
152AM_CFLAGS += $(CFLAG_VISIBILITY)
153
154## end gnulib module lib-symbol-visibility
155
103dc4d4
LC
156## begin gnulib module link-warning
157
158LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
159
160EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
161
162## end gnulib module link-warning
163
4a462e35
NJ
164## begin gnulib module localcharset
165
166libgnu_la_SOURCES += localcharset.h localcharset.c
167
168# We need the following in order to install a simple file in $(libdir)
169# which is shared with other installed packages. We use a list of referencing
170# packages so that "make uninstall" will remove the file if and only if it
171# is not used by another installed package.
172# On systems with glibc-2.1 or newer, the file is redundant, therefore we
173# avoid installing it.
174
175all-local: charset.alias ref-add.sed ref-del.sed
176
177charset_alias = $(DESTDIR)$(libdir)/charset.alias
178charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
f240aacb
LC
179install-exec-local: install-exec-localcharset
180install-exec-localcharset: all-local
181 if test $(GLIBC21) = no; then \
182 case '$(host_os)' in \
183 darwin[56]*) \
184 need_charset_alias=true ;; \
185 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
186 need_charset_alias=false ;; \
187 *) \
188 need_charset_alias=true ;; \
189 esac ; \
190 else \
191 need_charset_alias=false ; \
192 fi ; \
193 if $$need_charset_alias; then \
194 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
195 fi ; \
4a462e35
NJ
196 if test -f $(charset_alias); then \
197 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
198 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
199 rm -f $(charset_tmp) ; \
200 else \
f240aacb 201 if $$need_charset_alias; then \
4a462e35
NJ
202 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
203 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
204 rm -f $(charset_tmp) ; \
205 fi ; \
206 fi
207
f240aacb
LC
208uninstall-local: uninstall-localcharset
209uninstall-localcharset: all-local
4a462e35
NJ
210 if test -f $(charset_alias); then \
211 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
212 if grep '^# Packages using this file: $$' $(charset_tmp) \
213 > /dev/null; then \
214 rm -f $(charset_alias); \
215 else \
216 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
217 fi; \
218 rm -f $(charset_tmp); \
219 fi
220
221charset.alias: config.charset
222 rm -f t-$@ $@
223 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
224 mv t-$@ $@
225
226SUFFIXES += .sed .sin
227.sin.sed:
228 rm -f t-$@ $@
229 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
230 mv t-$@ $@
231
232CLEANFILES += charset.alias ref-add.sed ref-del.sed
233
234EXTRA_DIST += config.charset ref-add.sin ref-del.sin
235
236## end gnulib module localcharset
237
f240aacb
LC
238## begin gnulib module malloc-posix
239
240
241EXTRA_DIST += malloc.c
242
243EXTRA_libgnu_la_SOURCES += malloc.c
244
245## end gnulib module malloc-posix
246
4a462e35
NJ
247## begin gnulib module mbrlen
248
249
250EXTRA_DIST += mbrlen.c
251
252EXTRA_libgnu_la_SOURCES += mbrlen.c
253
254## end gnulib module mbrlen
255
256## begin gnulib module mbrtowc
257
258
259EXTRA_DIST += mbrtowc.c
260
261EXTRA_libgnu_la_SOURCES += mbrtowc.c
262
263## end gnulib module mbrtowc
264
265## begin gnulib module mbsinit
266
267
268EXTRA_DIST += mbsinit.c
269
270EXTRA_libgnu_la_SOURCES += mbsinit.c
271
272## end gnulib module mbsinit
273
f240aacb
LC
274## begin gnulib module putenv
275
276
277EXTRA_DIST += putenv.c
278
279EXTRA_libgnu_la_SOURCES += putenv.c
280
281## end gnulib module putenv
282
9b36a80c
LC
283## begin gnulib module safe-read
284
285
286EXTRA_DIST += safe-read.c safe-read.h
287
288EXTRA_libgnu_la_SOURCES += safe-read.c
289
290## end gnulib module safe-read
291
292## begin gnulib module safe-write
293
294
295EXTRA_DIST += safe-write.c safe-write.h
296
297EXTRA_libgnu_la_SOURCES += safe-write.c
298
299## end gnulib module safe-write
300
e65fc94b
LC
301## begin gnulib module stdbool
302
303BUILT_SOURCES += $(STDBOOL_H)
304
305# We need the following in order to create <stdbool.h> when the system
306# doesn't have one that works.
307stdbool.h: stdbool.in.h
308 rm -f $@-t $@
309 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
310 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
311 } > $@-t
312 mv $@-t $@
313MOSTLYCLEANFILES += stdbool.h stdbool.h-t
314
315EXTRA_DIST += stdbool.in.h
316
317## end gnulib module stdbool
318
f240aacb
LC
319## begin gnulib module stdint
320
321BUILT_SOURCES += $(STDINT_H)
322
323# We need the following in order to create <stdint.h> when the system
324# doesn't have one that works with the given compiler.
325stdint.h: stdint.in.h
326 rm -f $@-t $@
327 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
328 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
329 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
330 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
331 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
332 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
333 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
334 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
335 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
336 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
337 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
338 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
339 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
340 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
341 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
342 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
343 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
344 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
345 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
346 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
347 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
348 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
349 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
350 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
351 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
352 < $(srcdir)/stdint.in.h; \
353 } > $@-t
354 mv $@-t $@
355MOSTLYCLEANFILES += stdint.h stdint.h-t
356
357EXTRA_DIST += stdint.in.h
358
359## end gnulib module stdint
360
361## begin gnulib module stdlib
362
363BUILT_SOURCES += stdlib.h
364
365# We need the following in order to create <stdlib.h> when the system
366# doesn't have one that works with the given compiler.
367stdlib.h: stdlib.in.h
368 rm -f $@-t $@
369 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
370 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
371 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
372 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
373 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
374 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
375 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
376 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
377 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
378 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
379 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
380 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
381 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
382 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
383 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
384 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
385 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
386 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
387 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
388 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
389 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
390 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
391 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
392 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
393 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
394 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
395 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
396 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
397 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
398 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
399 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
400 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
401 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
402 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
403 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
404 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
405 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
406 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
407 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
408 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
409 -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
410 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
411 < $(srcdir)/stdlib.in.h; \
412 } > $@-t
413 mv $@-t $@
414MOSTLYCLEANFILES += stdlib.h stdlib.h-t
415
416EXTRA_DIST += stdlib.in.h
417
418## end gnulib module stdlib
419
103dc4d4
LC
420## begin gnulib module strcase
421
422
423EXTRA_DIST += strcasecmp.c strncasecmp.c
424
425EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c
426
427## end gnulib module strcase
428
4a462e35
NJ
429## begin gnulib module streq
430
431
432EXTRA_DIST += streq.h
433
434## end gnulib module streq
435
e65fc94b
LC
436## begin gnulib module strftime
437
438
439EXTRA_DIST += strftime.c strftime.h
440
441EXTRA_libgnu_la_SOURCES += strftime.c
442
443## end gnulib module strftime
444
103dc4d4
LC
445## begin gnulib module strings
446
447BUILT_SOURCES += strings.h
448
449# We need the following in order to create <strings.h> when the system
450# doesn't have one that works with the given compiler.
451strings.h: strings.in.h
452 rm -f $@-t $@
453 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
e65fc94b
LC
454 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
455 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
103dc4d4
LC
456 -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
457 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
458 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
459 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
460 < $(srcdir)/strings.in.h; \
461 } > $@-t
462 mv $@-t $@
463MOSTLYCLEANFILES += strings.h strings.h-t
464
465EXTRA_DIST += strings.in.h
466
467## end gnulib module strings
468
f240aacb
LC
469## begin gnulib module sys_file
470
471BUILT_SOURCES += $(SYS_FILE_H)
472
473# We need the following in order to create <sys/file.h> when the system
474# has one that is incomplete.
475sys/file.h: sys_file.in.h
476 @MKDIR_P@ sys
477 rm -f $@-t $@
478 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
479 sed -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \
480 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
481 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
482 -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \
483 -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \
484 -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \
485 < $(srcdir)/sys_file.in.h; \
486 } > $@-t
487 mv $@-t $@
488MOSTLYCLEANFILES += sys/file.h sys/file.h-t
489MOSTLYCLEANDIRS += sys
490
491EXTRA_DIST += sys_file.in.h
492
493## end gnulib module sys_file
494
e65fc94b
LC
495## begin gnulib module time
496
497BUILT_SOURCES += time.h
498
499# We need the following in order to create <time.h> when the system
500# doesn't have one that works with the given compiler.
501time.h: time.in.h
502 rm -f $@-t $@
503 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
504 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
505 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
506 -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
507 -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
508 -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
509 -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
510 -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
511 -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
512 -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
513 < $(srcdir)/time.in.h; \
514 } > $@-t
515 mv $@-t $@
516MOSTLYCLEANFILES += time.h time.h-t
517
518EXTRA_DIST += time.in.h
519
520## end gnulib module time
521
522## begin gnulib module time_r
523
524
525EXTRA_DIST += time_r.c
526
527EXTRA_libgnu_la_SOURCES += time_r.c
528
529## end gnulib module time_r
530
9b36a80c
LC
531## begin gnulib module unistd
532
533BUILT_SOURCES += unistd.h
534
535# We need the following in order to create an empty placeholder for
536# <unistd.h> when the system doesn't have one.
537unistd.h: unistd.in.h
538 rm -f $@-t $@
539 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
540 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
541 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
542 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
543 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
544 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
545 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
546 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
547 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
548 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
549 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
550 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
551 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
552 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
553 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
554 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
555 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
556 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
557 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
558 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
559 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
f240aacb 560 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
9b36a80c
LC
561 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
562 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
563 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
564 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
565 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
566 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
567 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
568 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
569 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
570 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
571 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
572 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
573 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
574 -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
f240aacb 575 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
9b36a80c
LC
576 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
577 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
578 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
579 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
580 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
581 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
582 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
583 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
584 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
585 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
586 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
587 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
588 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
589 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
590 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
591 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
592 < $(srcdir)/unistd.in.h; \
593 } > $@-t
594 mv $@-t $@
595MOSTLYCLEANFILES += unistd.h unistd.h-t
596
597EXTRA_DIST += unistd.in.h
598
599## end gnulib module unistd
600
d7014610
LC
601## begin gnulib module verify
602
603libgnu_la_SOURCES += verify.h
604
605## end gnulib module verify
606
e65fc94b
LC
607## begin gnulib module wchar
608
609BUILT_SOURCES += $(WCHAR_H)
610
611# We need the following in order to create <wchar.h> when the system
612# version does not work standalone.
613wchar.h: wchar.in.h
614 rm -f $@-t $@
615 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
616 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
617 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
618 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
4a462e35
NJ
619 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
620 -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
621 -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
622 -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
623 -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
624 -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
625 -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
626 -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
627 -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
628 -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
629 -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
e65fc94b 630 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
4a462e35
NJ
631 -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
632 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
633 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
634 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
635 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
636 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
637 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
638 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
639 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
640 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
641 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
e65fc94b 642 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
4a462e35
NJ
643 -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
644 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
645 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
646 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
647 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
648 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
649 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
650 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
651 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
652 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
f240aacb 653 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
e65fc94b
LC
654 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
655 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
656 < $(srcdir)/wchar.in.h; \
657 } > $@-t
658 mv $@-t $@
659MOSTLYCLEANFILES += wchar.h wchar.h-t
660
661EXTRA_DIST += wchar.in.h
662
663## end gnulib module wchar
664
9b36a80c
LC
665## begin gnulib module write
666
667
668EXTRA_DIST += write.c
103dc4d4 669
9b36a80c 670EXTRA_libgnu_la_SOURCES += write.c
103dc4d4 671
9b36a80c 672## end gnulib module write
103dc4d4
LC
673
674
675mostlyclean-local: mostlyclean-generic
676 @for dir in '' $(MOSTLYCLEANDIRS); do \
677 if test -n "$$dir" && test -d $$dir; then \
678 echo "rmdir $$dir"; rmdir $$dir; \
679 fi; \
680 done; \
681 :