]> git.cworth.org Git - gzip/blob - lib/gnulib.mk
Imported Debian patch 1.3.9-1
[gzip] / lib / gnulib.mk
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2004-2006 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=.#bootmp/lib --m4-base=.#bootmp/m4 --doc-base=.#bootmp/doc --aux-dir=.#bootmp/build-aux --avoid=getline --avoid=rpmatch --no-libtool --macro-prefix=gl fcntl fcntl-safer fdl getopt stat-time sys_stat 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 exit
47
48 libgzip_a_SOURCES += exit.h
49
50 ## end   gnulib module exit
51
52 ## begin gnulib module exitfail
53
54
55 EXTRA_DIST += exitfail.c exitfail.h
56
57 EXTRA_libgzip_a_SOURCES += exitfail.c
58
59 ## end   gnulib module exitfail
60
61 ## begin gnulib module fcntl
62
63 BUILT_SOURCES += $(FCNTL_H)
64
65 # We need the following in order to create <fcntl.h> when the system
66 # doesn't have one that works with the given compiler.
67 fcntl.h: fcntl_.h
68         rm -f $@-t $@
69         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
70           sed -e 's|@''ABSOLUTE_FCNTL_H''@|$(ABSOLUTE_FCNTL_H)|g' \
71               < $(srcdir)/fcntl_.h; \
72         } > $@-t
73         mv $@-t $@
74 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
75
76 EXTRA_DIST += fcntl_.h
77
78 ## end   gnulib module fcntl
79
80 ## begin gnulib module fcntl-safer
81
82
83 EXTRA_DIST += creat-safer.c fcntl--.h fcntl-safer.h open-safer.c
84
85 EXTRA_libgzip_a_SOURCES += creat-safer.c open-safer.c
86
87 ## end   gnulib module fcntl-safer
88
89 ## begin gnulib module getopt
90
91 BUILT_SOURCES += $(GETOPT_H)
92
93 # We need the following in order to create <getopt.h> when the system
94 # doesn't have one that works with the given compiler.
95 getopt.h: getopt_.h
96         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
97           cat $(srcdir)/getopt_.h; \
98         } > $@-t
99         mv -f $@-t $@
100 MOSTLYCLEANFILES += getopt.h getopt.h-t
101
102 EXTRA_DIST += getopt.c getopt1.c getopt_.h getopt_int.h
103
104 EXTRA_libgzip_a_SOURCES += getopt.c getopt1.c
105
106 ## end   gnulib module getopt
107
108 ## begin gnulib module gettext-h
109
110 libgzip_a_SOURCES += gettext.h
111
112 ## end   gnulib module gettext-h
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 sys_stat
140
141 BUILT_SOURCES += $(SYS_STAT_H)
142
143 # We need the following in order to create <sys/stat.h> when the system
144 # has one that is incomplete.
145 sys/stat.h: stat_.h
146         test -d sys || mkdir sys
147         rm -f $@-t $@
148         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
149           sed -e 's|@''ABSOLUTE_SYS_STAT_H''@|$(ABSOLUTE_SYS_STAT_H)|g' \
150               < $(srcdir)/stat_.h; \
151         } > $@-t
152         mv $@-t $@
153 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
154 MOSTLYCLEANDIRS += sys
155
156 EXTRA_DIST += stat_.h
157
158 ## end   gnulib module sys_stat
159
160 ## begin gnulib module timespec
161
162
163 EXTRA_DIST += timespec.h
164
165 ## end   gnulib module timespec
166
167 ## begin gnulib module unistd
168
169 BUILT_SOURCES += $(UNISTD_H)
170
171 # We need the following in order to create an empty placeholder for
172 # <unistd.h> when the system doesn't have one.
173 unistd.h:
174         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
175           echo '/* Empty placeholder for $@.  */'; \
176         } > $@
177 MOSTLYCLEANFILES += unistd.h
178
179 ## end   gnulib module unistd
180
181 ## begin gnulib module unistd-safer
182
183
184 EXTRA_DIST += dup-safer.c fd-safer.c pipe-safer.c unistd--.h unistd-safer.h
185
186 EXTRA_libgzip_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
187
188 ## end   gnulib module unistd-safer
189
190 ## begin gnulib module utimens
191
192
193 EXTRA_DIST += utimens.c utimens.h
194
195 EXTRA_libgzip_a_SOURCES += utimens.c
196
197 ## end   gnulib module utimens
198
199 ## begin gnulib module xalloc
200
201
202 EXTRA_DIST += xalloc.h xmalloc.c
203
204 EXTRA_libgzip_a_SOURCES += xmalloc.c
205
206 ## end   gnulib module xalloc
207
208 ## begin gnulib module xalloc-die
209
210 libgzip_a_SOURCES += xalloc-die.c
211
212 ## end   gnulib module xalloc-die
213
214 ## begin gnulib module yesno
215
216
217 EXTRA_DIST += yesno.c yesno.h
218
219 EXTRA_libgzip_a_SOURCES += yesno.c
220
221 ## end   gnulib module yesno
222
223
224 mostlyclean-local: mostlyclean-generic
225         @for dir in '' $(MOSTLYCLEANDIRS); do \
226           if test -n "$$dir" && test -d $$dir; then \
227             echo "rmdir $$dir"; rmdir $$dir; \
228           fi; \
229         done