Merge from emacs-23; up to 2010-05-26T14:19:15Z!monnier@iro.umontreal.ca.
[bpt/emacs.git] / lib / gnulib.mk
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2011 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=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --makefile-name=gnulib.mk --no-libtool --macro-prefix=gl --no-vc-files dtoastr getopt-gnu ignore-value mktime strftime
13
14
15 MOSTLYCLEANFILES += core *.stackdump
16
17 noinst_LIBRARIES += libgnu.a
18
19 libgnu_a_SOURCES =
20 libgnu_a_LIBADD = $(gl_LIBOBJS)
21 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
22 EXTRA_libgnu_a_SOURCES =
23
24 ## begin gnulib module arg-nonnull
25
26 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
27 # statements but through direct file reference. Therefore this snippet must be
28 # present in all Makefile.am that need it. This is ensured by the applicability
29 # 'all' defined above.
30
31 BUILT_SOURCES += arg-nonnull.h
32 # The arg-nonnull.h that gets inserted into generated .h files is the same as
33 # build-aux/arg-nonnull.h, except that it has the copyright header cut off.
34 arg-nonnull.h: $(top_srcdir)/./arg-nonnull.h
35 $(AM_V_GEN)rm -f $@-t $@ && \
36 sed -n -e '/GL_ARG_NONNULL/,$$p' \
37 < $(top_srcdir)/./arg-nonnull.h \
38 > $@-t && \
39 mv $@-t $@
40 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
41
42 ARG_NONNULL_H=arg-nonnull.h
43
44 EXTRA_DIST += $(top_srcdir)/./arg-nonnull.h
45
46 ## end gnulib module arg-nonnull
47
48 ## begin gnulib module c++defs
49
50 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
51 # statements but through direct file reference. Therefore this snippet must be
52 # present in all Makefile.am that need it. This is ensured by the applicability
53 # 'all' defined above.
54
55 BUILT_SOURCES += c++defs.h
56 # The c++defs.h that gets inserted into generated .h files is the same as
57 # build-aux/c++defs.h, except that it has the copyright header cut off.
58 c++defs.h: $(top_srcdir)/./c++defs.h
59 $(AM_V_GEN)rm -f $@-t $@ && \
60 sed -n -e '/_GL_CXXDEFS/,$$p' \
61 < $(top_srcdir)/./c++defs.h \
62 > $@-t && \
63 mv $@-t $@
64 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
65
66 CXXDEFS_H=c++defs.h
67
68 EXTRA_DIST += $(top_srcdir)/./c++defs.h
69
70 ## end gnulib module c++defs
71
72 ## begin gnulib module dtoastr
73
74 libgnu_a_SOURCES += dtoastr.c
75
76 EXTRA_DIST += ftoastr.c ftoastr.h
77
78 EXTRA_libgnu_a_SOURCES += ftoastr.c
79
80 ## end gnulib module dtoastr
81
82 ## begin gnulib module getopt-posix
83
84 BUILT_SOURCES += $(GETOPT_H)
85
86 # We need the following in order to create <getopt.h> when the system
87 # doesn't have one that works with the given compiler.
88 getopt.h: getopt.in.h $(ARG_NONNULL_H)
89 $(AM_V_GEN)rm -f $@-t $@ && \
90 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
91 sed -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
92 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
93 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
94 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
95 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
96 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
97 < $(srcdir)/getopt.in.h; \
98 } > $@-t && \
99 mv -f $@-t $@
100 MOSTLYCLEANFILES += getopt.h getopt.h-t
101
102 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
103
104 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
105
106 ## end gnulib module getopt-posix
107
108 ## begin gnulib module gettext-h
109
110 libgnu_a_SOURCES += gettext.h
111
112 ## end gnulib module gettext-h
113
114 ## begin gnulib module ignore-value
115
116 libgnu_a_SOURCES += ignore-value.h
117
118 ## end gnulib module ignore-value
119
120 ## begin gnulib module intprops
121
122
123 EXTRA_DIST += intprops.h
124
125 ## end gnulib module intprops
126
127 ## begin gnulib module mktime
128
129
130 EXTRA_DIST += mktime-internal.h mktime.c
131
132 EXTRA_libgnu_a_SOURCES += mktime.c
133
134 ## end gnulib module mktime
135
136 ## begin gnulib module stdbool
137
138 BUILT_SOURCES += $(STDBOOL_H)
139
140 # We need the following in order to create <stdbool.h> when the system
141 # doesn't have one that works.
142 stdbool.h: stdbool.in.h
143 $(AM_V_GEN)rm -f $@-t $@ && \
144 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
145 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
146 } > $@-t && \
147 mv $@-t $@
148 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
149
150 EXTRA_DIST += stdbool.in.h
151
152 ## end gnulib module stdbool
153
154 ## begin gnulib module stddef
155
156 BUILT_SOURCES += $(STDDEF_H)
157
158 # We need the following in order to create <stddef.h> when the system
159 # doesn't have one that works with the given compiler.
160 stddef.h: stddef.in.h
161 $(AM_V_GEN)rm -f $@-t $@ && \
162 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
163 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
164 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
165 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
166 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
167 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
168 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
169 < $(srcdir)/stddef.in.h; \
170 } > $@-t && \
171 mv $@-t $@
172 MOSTLYCLEANFILES += stddef.h stddef.h-t
173
174 EXTRA_DIST += stddef.in.h
175
176 ## end gnulib module stddef
177
178 ## begin gnulib module strftime
179
180
181 EXTRA_DIST += strftime.c strftime.h
182
183 EXTRA_libgnu_a_SOURCES += strftime.c
184
185 ## end gnulib module strftime
186
187 ## begin gnulib module time
188
189 BUILT_SOURCES += time.h
190
191 # We need the following in order to create <time.h> when the system
192 # doesn't have one that works with the given compiler.
193 time.h: time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
194 $(AM_V_GEN)rm -f $@-t $@ && \
195 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
196 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
197 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
198 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
199 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
200 -e 's|@''GNULIB_MKTIME''@|$(GNULIB_MKTIME)|g' \
201 -e 's|@''GNULIB_NANOSLEEP''@|$(GNULIB_NANOSLEEP)|g' \
202 -e 's|@''GNULIB_STRPTIME''@|$(GNULIB_STRPTIME)|g' \
203 -e 's|@''GNULIB_TIMEGM''@|$(GNULIB_TIMEGM)|g' \
204 -e 's|@''GNULIB_TIME_R''@|$(GNULIB_TIME_R)|g' \
205 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
206 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
207 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
208 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
209 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
210 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
211 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
212 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
213 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
214 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
215 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
216 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
217 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
218 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
219 < $(srcdir)/time.in.h; \
220 } > $@-t && \
221 mv $@-t $@
222 MOSTLYCLEANFILES += time.h time.h-t
223
224 EXTRA_DIST += time.in.h
225
226 ## end gnulib module time
227
228 ## begin gnulib module time_r
229
230
231 EXTRA_DIST += time_r.c
232
233 EXTRA_libgnu_a_SOURCES += time_r.c
234
235 ## end gnulib module time_r
236
237 ## begin gnulib module unistd
238
239 BUILT_SOURCES += unistd.h
240
241 # We need the following in order to create an empty placeholder for
242 # <unistd.h> when the system doesn't have one.
243 unistd.h: unistd.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
244 $(AM_V_GEN)rm -f $@-t $@ && \
245 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
246 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
247 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
248 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
249 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
250 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
251 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
252 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
253 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
254 -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
255 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
256 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
257 -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
258 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
259 -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
260 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
261 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
262 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
263 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
264 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
265 -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
266 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
267 -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
268 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
269 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
270 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
271 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
272 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
273 -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
274 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
275 -e 's|@''GNULIB_PIPE''@|$(GNULIB_PIPE)|g' \
276 -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
277 -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
278 -e 's|@''GNULIB_PWRITE''@|$(GNULIB_PWRITE)|g' \
279 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
280 -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
281 -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
282 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
283 -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
284 -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
285 -e 's|@''GNULIB_TTYNAME_R''@|$(GNULIB_TTYNAME_R)|g' \
286 -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
287 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
288 -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
289 -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
290 -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
291 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
292 < $(srcdir)/unistd.in.h | \
293 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
294 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
295 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
296 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
297 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
298 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
299 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
300 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
301 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
302 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
303 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
304 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
305 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
306 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
307 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
308 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
309 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
310 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
311 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
312 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
313 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
314 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
315 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
316 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
317 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
318 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
319 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
320 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
321 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
322 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
323 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
324 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
325 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
326 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
327 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
328 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
329 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
330 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
331 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
332 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
333 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
334 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
335 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
336 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
337 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
338 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
339 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
340 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
341 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
342 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
343 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
344 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
345 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
346 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
347 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
348 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
349 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
350 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
351 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
352 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
353 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
354 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
355 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
356 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
357 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
358 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
359 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
360 } > $@-t && \
361 mv $@-t $@
362 MOSTLYCLEANFILES += unistd.h unistd.h-t
363
364 EXTRA_DIST += unistd.in.h
365
366 ## end gnulib module unistd
367
368 ## begin gnulib module warn-on-use
369
370 BUILT_SOURCES += warn-on-use.h
371 # The warn-on-use.h that gets inserted into generated .h files is the same as
372 # build-aux/warn-on-use.h, except that it has the copyright header cut off.
373 warn-on-use.h: $(top_srcdir)/./warn-on-use.h
374 $(AM_V_GEN)rm -f $@-t $@ && \
375 sed -n -e '/^.ifndef/,$$p' \
376 < $(top_srcdir)/./warn-on-use.h \
377 > $@-t && \
378 mv $@-t $@
379 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
380
381 WARN_ON_USE_H=warn-on-use.h
382
383 EXTRA_DIST += $(top_srcdir)/./warn-on-use.h
384
385 ## end gnulib module warn-on-use
386
387
388 mostlyclean-local: mostlyclean-generic
389 @for dir in '' $(MOSTLYCLEANDIRS); do \
390 if test -n "$$dir" && test -d $$dir; then \
391 echo "rmdir $$dir"; rmdir $$dir; \
392 fi; \
393 done; \
394 :