strftime: import from gnulib
[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 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 intprops
115
116
117 EXTRA_DIST += intprops.h
118
119 ## end gnulib module intprops
120
121 ## begin gnulib module mktime
122
123
124 EXTRA_DIST += mktime-internal.h mktime.c
125
126 EXTRA_libgnu_a_SOURCES += mktime.c
127
128 ## end gnulib module mktime
129
130 ## begin gnulib module stdbool
131
132 BUILT_SOURCES += $(STDBOOL_H)
133
134 # We need the following in order to create <stdbool.h> when the system
135 # doesn't have one that works.
136 stdbool.h: stdbool.in.h
137 $(AM_V_GEN)rm -f $@-t $@ && \
138 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
139 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
140 } > $@-t && \
141 mv $@-t $@
142 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
143
144 EXTRA_DIST += stdbool.in.h
145
146 ## end gnulib module stdbool
147
148 ## begin gnulib module stddef
149
150 BUILT_SOURCES += $(STDDEF_H)
151
152 # We need the following in order to create <stddef.h> when the system
153 # doesn't have one that works with the given compiler.
154 stddef.h: stddef.in.h
155 $(AM_V_GEN)rm -f $@-t $@ && \
156 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
157 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
158 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
159 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
160 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
161 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
162 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
163 < $(srcdir)/stddef.in.h; \
164 } > $@-t && \
165 mv $@-t $@
166 MOSTLYCLEANFILES += stddef.h stddef.h-t
167
168 EXTRA_DIST += stddef.in.h
169
170 ## end gnulib module stddef
171
172 ## begin gnulib module strftime
173
174
175 EXTRA_DIST += strftime.c strftime.h
176
177 EXTRA_libgnu_a_SOURCES += strftime.c
178
179 ## end gnulib module strftime
180
181 ## begin gnulib module time
182
183 BUILT_SOURCES += time.h
184
185 # We need the following in order to create <time.h> when the system
186 # doesn't have one that works with the given compiler.
187 time.h: time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
188 $(AM_V_GEN)rm -f $@-t $@ && \
189 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
190 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
191 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
192 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
193 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
194 -e 's|@''GNULIB_MKTIME''@|$(GNULIB_MKTIME)|g' \
195 -e 's|@''GNULIB_NANOSLEEP''@|$(GNULIB_NANOSLEEP)|g' \
196 -e 's|@''GNULIB_STRPTIME''@|$(GNULIB_STRPTIME)|g' \
197 -e 's|@''GNULIB_TIMEGM''@|$(GNULIB_TIMEGM)|g' \
198 -e 's|@''GNULIB_TIME_R''@|$(GNULIB_TIME_R)|g' \
199 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
200 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
201 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
202 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
203 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
204 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
205 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
206 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
207 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
208 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
209 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
210 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
211 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
212 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
213 < $(srcdir)/time.in.h; \
214 } > $@-t && \
215 mv $@-t $@
216 MOSTLYCLEANFILES += time.h time.h-t
217
218 EXTRA_DIST += time.in.h
219
220 ## end gnulib module time
221
222 ## begin gnulib module time_r
223
224
225 EXTRA_DIST += time_r.c
226
227 EXTRA_libgnu_a_SOURCES += time_r.c
228
229 ## end gnulib module time_r
230
231 ## begin gnulib module unistd
232
233 BUILT_SOURCES += unistd.h
234
235 # We need the following in order to create an empty placeholder for
236 # <unistd.h> when the system doesn't have one.
237 unistd.h: unistd.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
238 $(AM_V_GEN)rm -f $@-t $@ && \
239 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
240 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
241 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
242 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
243 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
244 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
245 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
246 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
247 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
248 -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
249 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
250 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
251 -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
252 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
253 -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
254 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
255 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
256 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
257 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
258 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
259 -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
260 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
261 -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
262 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
263 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
264 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
265 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
266 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
267 -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
268 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
269 -e 's|@''GNULIB_PIPE''@|$(GNULIB_PIPE)|g' \
270 -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
271 -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
272 -e 's|@''GNULIB_PWRITE''@|$(GNULIB_PWRITE)|g' \
273 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
274 -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
275 -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
276 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
277 -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
278 -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
279 -e 's|@''GNULIB_TTYNAME_R''@|$(GNULIB_TTYNAME_R)|g' \
280 -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
281 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
282 -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
283 -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
284 -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
285 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
286 < $(srcdir)/unistd.in.h | \
287 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
288 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
289 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
290 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
291 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
292 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
293 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
294 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
295 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
296 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
297 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
298 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
299 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
300 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
301 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
302 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
303 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
304 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
305 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
306 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
307 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
308 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
309 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
310 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
311 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
312 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
313 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
314 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
315 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
316 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
317 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
318 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
319 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
320 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
321 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
322 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
323 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
324 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
325 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
326 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
327 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
328 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
329 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
330 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
331 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
332 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
333 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
334 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
335 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
336 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
337 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
338 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
339 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
340 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
341 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
342 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
343 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
344 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
345 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
346 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
347 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
348 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
349 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
350 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
351 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
352 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
353 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
354 } > $@-t && \
355 mv $@-t $@
356 MOSTLYCLEANFILES += unistd.h unistd.h-t
357
358 EXTRA_DIST += unistd.in.h
359
360 ## end gnulib module unistd
361
362 ## begin gnulib module warn-on-use
363
364 BUILT_SOURCES += warn-on-use.h
365 # The warn-on-use.h that gets inserted into generated .h files is the same as
366 # build-aux/warn-on-use.h, except that it has the copyright header cut off.
367 warn-on-use.h: $(top_srcdir)/./warn-on-use.h
368 $(AM_V_GEN)rm -f $@-t $@ && \
369 sed -n -e '/^.ifndef/,$$p' \
370 < $(top_srcdir)/./warn-on-use.h \
371 > $@-t && \
372 mv $@-t $@
373 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
374
375 WARN_ON_USE_H=warn-on-use.h
376
377 EXTRA_DIST += $(top_srcdir)/./warn-on-use.h
378
379 ## end gnulib module warn-on-use
380
381
382 mostlyclean-local: mostlyclean-generic
383 @for dir in '' $(MOSTLYCLEANDIRS); do \
384 if test -n "$$dir" && test -d $$dir; then \
385 echo "rmdir $$dir"; rmdir $$dir; \
386 fi; \
387 done; \
388 :