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.
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.
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
14 AUTOMAKE_OPTIONS = 1.5 gnits
22 MOSTLYCLEANFILES = core *.stackdump
26 MAINTAINERCLEANFILES =
30 noinst_LIBRARIES += libgzip.a
33 libgzip_a_LIBADD = $(gl_LIBOBJS)
34 libgzip_a_DEPENDENCIES = $(gl_LIBOBJS)
35 EXTRA_libgzip_a_SOURCES =
37 ## begin gnulib module error
40 EXTRA_DIST += error.c error.h
42 EXTRA_libgzip_a_SOURCES += error.c
44 ## end gnulib module error
46 ## begin gnulib module exit
48 libgzip_a_SOURCES += exit.h
50 ## end gnulib module exit
52 ## begin gnulib module exitfail
55 EXTRA_DIST += exitfail.c exitfail.h
57 EXTRA_libgzip_a_SOURCES += exitfail.c
59 ## end gnulib module exitfail
61 ## begin gnulib module fcntl
63 BUILT_SOURCES += $(FCNTL_H)
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.
69 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
70 sed -e 's|@''ABSOLUTE_FCNTL_H''@|$(ABSOLUTE_FCNTL_H)|g' \
71 < $(srcdir)/fcntl_.h; \
74 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
76 EXTRA_DIST += fcntl_.h
78 ## end gnulib module fcntl
80 ## begin gnulib module fcntl-safer
83 EXTRA_DIST += creat-safer.c fcntl--.h fcntl-safer.h open-safer.c
85 EXTRA_libgzip_a_SOURCES += creat-safer.c open-safer.c
87 ## end gnulib module fcntl-safer
89 ## begin gnulib module getopt
91 BUILT_SOURCES += $(GETOPT_H)
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.
96 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
97 cat $(srcdir)/getopt_.h; \
100 MOSTLYCLEANFILES += getopt.h getopt.h-t
102 EXTRA_DIST += getopt.c getopt1.c getopt_.h getopt_int.h
104 EXTRA_libgzip_a_SOURCES += getopt.c getopt1.c
106 ## end gnulib module getopt
108 ## begin gnulib module gettext-h
110 libgzip_a_SOURCES += gettext.h
112 ## end gnulib module gettext-h
114 ## begin gnulib module stat-time
117 EXTRA_DIST += stat-time.h
119 ## end gnulib module stat-time
121 ## begin gnulib module stdbool
123 BUILT_SOURCES += $(STDBOOL_H)
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
129 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
130 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h; \
133 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
135 EXTRA_DIST += stdbool_.h
137 ## end gnulib module stdbool
139 ## begin gnulib module sys_stat
141 BUILT_SOURCES += $(SYS_STAT_H)
143 # We need the following in order to create <sys/stat.h> when the system
144 # has one that is incomplete.
146 test -d sys || mkdir sys
148 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
149 sed -e 's|@''ABSOLUTE_SYS_STAT_H''@|$(ABSOLUTE_SYS_STAT_H)|g' \
150 < $(srcdir)/stat_.h; \
153 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
154 MOSTLYCLEANDIRS += sys
156 EXTRA_DIST += stat_.h
158 ## end gnulib module sys_stat
160 ## begin gnulib module timespec
163 EXTRA_DIST += timespec.h
165 ## end gnulib module timespec
167 ## begin gnulib module unistd
169 BUILT_SOURCES += $(UNISTD_H)
171 # We need the following in order to create an empty placeholder for
172 # <unistd.h> when the system doesn't have one.
174 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
175 echo '/* Empty placeholder for $@. */'; \
177 MOSTLYCLEANFILES += unistd.h
179 ## end gnulib module unistd
181 ## begin gnulib module unistd-safer
184 EXTRA_DIST += dup-safer.c fd-safer.c pipe-safer.c unistd--.h unistd-safer.h
186 EXTRA_libgzip_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
188 ## end gnulib module unistd-safer
190 ## begin gnulib module utimens
193 EXTRA_DIST += utimens.c utimens.h
195 EXTRA_libgzip_a_SOURCES += utimens.c
197 ## end gnulib module utimens
199 ## begin gnulib module xalloc
202 EXTRA_DIST += xalloc.h xmalloc.c
204 EXTRA_libgzip_a_SOURCES += xmalloc.c
206 ## end gnulib module xalloc
208 ## begin gnulib module xalloc-die
210 libgzip_a_SOURCES += xalloc-die.c
212 ## end gnulib module xalloc-die
214 ## begin gnulib module yesno
217 EXTRA_DIST += yesno.c yesno.h
219 EXTRA_libgzip_a_SOURCES += yesno.c
221 ## end gnulib module yesno
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; \