]> git.cworth.org Git - gzip/blob - lib/gnulib.mk
Avoid creating an undersized buffer for the hufts table.
[gzip] / lib / gnulib.mk
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2004-2007 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=libgzip --source-base=lib --m4-base=m4 --doc-base=doc --aux-dir=build-aux --avoid=getline --avoid=rpmatch --no-libtool --macro-prefix=gl fcntl fcntl-safer fdl getopt stat-time sys_stat time utimens xalloc yesno
13
14 AUTOMAKE_OPTIONS = 1.5 gnits
15
16 noinst_HEADERS =
17 noinst_LIBRARIES =
18 noinst_LTLIBRARIES =
19 EXTRA_DIST =
20 BUILT_SOURCES =
21 SUFFIXES =
22 MOSTLYCLEANFILES = core *.stackdump
23 MOSTLYCLEANDIRS =
24 CLEANFILES =
25 DISTCLEANFILES =
26 MAINTAINERCLEANFILES =
27
28 AM_CPPFLAGS =
29
30 noinst_LIBRARIES += libgzip.a
31
32 libgzip_a_SOURCES =
33 libgzip_a_LIBADD = $(gl_LIBOBJS)
34 libgzip_a_DEPENDENCIES = $(gl_LIBOBJS)
35 EXTRA_libgzip_a_SOURCES =
36
37 ## begin gnulib module error
38
39
40 EXTRA_DIST += error.c error.h
41
42 EXTRA_libgzip_a_SOURCES += error.c
43
44 ## end   gnulib module error
45
46 ## begin gnulib module exitfail
47
48
49 EXTRA_DIST += exitfail.c exitfail.h
50
51 EXTRA_libgzip_a_SOURCES += exitfail.c
52
53 ## end   gnulib module exitfail
54
55 ## begin gnulib module fcntl
56
57 BUILT_SOURCES += $(FCNTL_H)
58
59 # We need the following in order to create <fcntl.h> when the system
60 # doesn't have one that works with the given compiler.
61 fcntl.h: fcntl_.h
62         rm -f $@-t $@
63         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
64           sed -e 's|@''ABSOLUTE_FCNTL_H''@|$(ABSOLUTE_FCNTL_H)|g' \
65               < $(srcdir)/fcntl_.h; \
66         } > $@-t
67         mv $@-t $@
68 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
69
70 EXTRA_DIST += fcntl_.h
71
72 ## end   gnulib module fcntl
73
74 ## begin gnulib module fcntl-safer
75
76
77 EXTRA_DIST += creat-safer.c fcntl--.h fcntl-safer.h open-safer.c
78
79 EXTRA_libgzip_a_SOURCES += creat-safer.c open-safer.c
80
81 ## end   gnulib module fcntl-safer
82
83 ## begin gnulib module getopt
84
85 BUILT_SOURCES += $(GETOPT_H)
86
87 # We need the following in order to create <getopt.h> when the system
88 # doesn't have one that works with the given compiler.
89 getopt.h: getopt_.h
90         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
91           cat $(srcdir)/getopt_.h; \
92         } > $@-t
93         mv -f $@-t $@
94 MOSTLYCLEANFILES += getopt.h getopt.h-t
95
96 EXTRA_DIST += getopt.c getopt1.c getopt_.h getopt_int.h
97
98 EXTRA_libgzip_a_SOURCES += getopt.c getopt1.c
99
100 ## end   gnulib module getopt
101
102 ## begin gnulib module gettext-h
103
104 libgzip_a_SOURCES += gettext.h
105
106 ## end   gnulib module gettext-h
107
108 ## begin gnulib module link-warning
109
110 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
111
112 ## end   gnulib module link-warning
113
114 ## begin gnulib module stat-time
115
116
117 EXTRA_DIST += stat-time.h
118
119 ## end   gnulib module stat-time
120
121 ## begin gnulib module stdbool
122
123 BUILT_SOURCES += $(STDBOOL_H)
124
125 # We need the following in order to create <stdbool.h> when the system
126 # doesn't have one that works.
127 stdbool.h: stdbool_.h
128         rm -f $@-t $@
129         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
130           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h; \
131         } > $@-t
132         mv $@-t $@
133 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
134
135 EXTRA_DIST += stdbool_.h
136
137 ## end   gnulib module stdbool
138
139 ## begin gnulib module stdlib
140
141 BUILT_SOURCES += stdlib.h
142
143 # We need the following in order to create <stdlib.h> when the system
144 # doesn't have one that works with the given compiler.
145 stdlib.h: stdlib_.h
146         rm -f $@-t $@
147         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
148           sed -e 's|@''ABSOLUTE_STDLIB_H''@|$(ABSOLUTE_STDLIB_H)|g' \
149               -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
150               -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
151               -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
152               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
153               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
154               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
155               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
156               < $(srcdir)/stdlib_.h; \
157         } > $@-t
158         mv $@-t $@
159 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
160
161 EXTRA_DIST += stdlib_.h
162
163 ## end   gnulib module stdlib
164
165 ## begin gnulib module sys_stat
166
167 BUILT_SOURCES += $(SYS_STAT_H)
168
169 # We need the following in order to create <sys/stat.h> when the system
170 # has one that is incomplete.
171 sys/stat.h: stat_.h
172         @MKDIR_P@ sys
173         rm -f $@-t $@
174         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
175           sed -e 's|@''ABSOLUTE_SYS_STAT_H''@|$(ABSOLUTE_SYS_STAT_H)|g' \
176               < $(srcdir)/stat_.h; \
177         } > $@-t
178         mv $@-t $@
179 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
180 MOSTLYCLEANDIRS += sys
181
182 EXTRA_DIST += stat_.h
183
184 ## end   gnulib module sys_stat
185
186 ## begin gnulib module sys_time
187
188 BUILT_SOURCES += $(SYS_TIME_H)
189
190 # We need the following in order to create <sys/time.h> when the system
191 # doesn't have one that works with the given compiler.
192 sys/time.h: sys_time_.h
193         @MKDIR_P@ sys
194         rm -f $@-t $@
195         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
196           sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
197               -e 's|@''ABSOLUTE_SYS_TIME_H''@|$(ABSOLUTE_SYS_TIME_H)|g' \
198               -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
199               -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
200               < $(srcdir)/sys_time_.h; \
201         } > $@-t
202         mv $@-t $@
203 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
204
205 EXTRA_DIST += sys_time_.h
206
207 ## end   gnulib module sys_time
208
209 ## begin gnulib module time
210
211 BUILT_SOURCES += time.h
212
213 # We need the following in order to create <time.h> when the system
214 # doesn't have one that works with the given compiler.
215 time.h: time_.h
216         rm -f $@-t $@
217         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
218           sed -e 's|@ABSOLUTE_TIME_H''@|$(ABSOLUTE_TIME_H)|g' \
219               -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
220               -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
221               -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
222               -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
223               -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
224               -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
225               < $(srcdir)/time_.h; \
226         } > $@-t
227         mv $@-t $@
228 MOSTLYCLEANFILES += time.h time.h-t
229
230 EXTRA_DIST += time_.h
231
232 ## end   gnulib module time
233
234 ## begin gnulib module unistd
235
236 BUILT_SOURCES += unistd.h
237
238 # We need the following in order to create an empty placeholder for
239 # <unistd.h> when the system doesn't have one.
240 unistd.h: unistd_.h
241         rm -f $@-t $@
242         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
243           sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
244               -e 's|@''ABSOLUTE_UNISTD_H''@|$(ABSOLUTE_UNISTD_H)|g' \
245               -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
246               -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
247               -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
248               -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
249               -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
250               -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
251               -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
252               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
253               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
254               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
255               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
256               -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
257               -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
258               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
259               < $(srcdir)/unistd_.h; \
260         } > $@-t
261         mv $@-t $@
262 MOSTLYCLEANFILES += unistd.h unistd.h-t
263
264 EXTRA_DIST += unistd_.h
265
266 ## end   gnulib module unistd
267
268 ## begin gnulib module unistd-safer
269
270
271 EXTRA_DIST += dup-safer.c fd-safer.c pipe-safer.c unistd--.h unistd-safer.h
272
273 EXTRA_libgzip_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
274
275 ## end   gnulib module unistd-safer
276
277 ## begin gnulib module utimens
278
279
280 EXTRA_DIST += utimens.c utimens.h
281
282 EXTRA_libgzip_a_SOURCES += utimens.c
283
284 ## end   gnulib module utimens
285
286 ## begin gnulib module xalloc
287
288
289 EXTRA_DIST += xalloc.h xmalloc.c
290
291 EXTRA_libgzip_a_SOURCES += xmalloc.c
292
293 ## end   gnulib module xalloc
294
295 ## begin gnulib module xalloc-die
296
297 libgzip_a_SOURCES += xalloc-die.c
298
299 ## end   gnulib module xalloc-die
300
301 ## begin gnulib module yesno
302
303
304 EXTRA_DIST += yesno.c yesno.h
305
306 EXTRA_libgzip_a_SOURCES += yesno.c
307
308 ## end   gnulib module yesno
309
310
311 mostlyclean-local: mostlyclean-generic
312         @for dir in '' $(MOSTLYCLEANDIRS); do \
313           if test -n "$$dir" && test -d $$dir; then \
314             echo "rmdir $$dir"; rmdir $$dir; \
315           fi; \
316         done