1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2022 Free Software Foundation, Inc.
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this file. If not, see <https://www.gnu.org/licenses/>.
18 # As a special exception to the GNU General Public License,
19 # this file may be distributed as part of a program that
20 # contains a configuration script generated by Autoconf, under
21 # the same distribution terms as the rest of that program.
23 # Generated by gnulib-tool.
25 # gnulib-tool --import --local-dir=gl \
30 # --tests-base=tests \
31 # --aux-dir=build-aux \
32 # --no-conditional-dependencies \
44 AUTOMAKE_OPTIONS = 1.14 gnits
53 MOSTLYCLEANFILES = core *.stackdump
57 MAINTAINERCLEANFILES =
63 noinst_LIBRARIES += libgnu.a
66 libgnu_a_CFLAGS = $(AM_CFLAGS) $(GL_CFLAG_GNULIB_WARNINGS)
67 libgnu_a_LIBADD = $(gl_LIBOBJS)
68 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
69 EXTRA_libgnu_a_SOURCES =
71 ## begin gnulib module alloca
74 libgnu_a_LIBADD += @ALLOCA@
75 libgnu_a_DEPENDENCIES += @ALLOCA@
76 EXTRA_DIST += alloca.c
78 EXTRA_libgnu_a_SOURCES += alloca.c
80 ## end gnulib module alloca
82 ## begin gnulib module alloca-opt
84 BUILT_SOURCES += $(ALLOCA_H)
86 # We need the following in order to create <alloca.h> when the system
87 # doesn't have one that works with the given compiler.
88 if GL_GENERATE_ALLOCA_H
89 alloca.h: alloca.in.h $(top_builddir)/config.status
90 $(gl_V_at)$(SED_HEADER_STDOUT) \
91 -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' \
92 $(srcdir)/alloca.in.h > $@-t
95 alloca.h: $(top_builddir)/config.status
98 MOSTLYCLEANFILES += alloca.h alloca.h-t
100 EXTRA_DIST += alloca.in.h
102 ## end gnulib module alloca-opt
104 ## begin gnulib module concat-filename
106 libgnu_a_SOURCES += concat-filename.c
108 EXTRA_DIST += concat-filename.h
110 ## end gnulib module concat-filename
112 ## begin gnulib module filename
115 EXTRA_DIST += filename.h
117 ## end gnulib module filename
119 ## begin gnulib module findprog-in
121 libgnu_a_SOURCES += findprog.h findprog-in.c
123 ## end gnulib module findprog-in
125 ## begin gnulib module gen-header
127 # In 'sed', replace the pattern space with a "DO NOT EDIT" comment.
128 SED_HEADER_NOEDIT = s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,
130 # '$(SED_HEADER_STDOUT) -e "..."' runs 'sed' but first outputs "DO NOT EDIT".
131 SED_HEADER_STDOUT = sed -e 1h -e '1$(SED_HEADER_NOEDIT)' -e 1G
133 # '$(SED_HEADER_TO_AT_t) FILE' copies FILE to $@-t, prepending a leading
134 # "DO_NOT_EDIT". Although this could be done more simply via:
135 # SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) > $@-t
136 # the -n and 'w' avoid a fork+exec, at least when GNU Make is used.
137 SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) -n -e 'w $@-t'
139 # Use $(gl_V_at) instead of $(AM_V_GEN) or $(AM_V_at) on a line that
140 gl_V_at = $(AM_V_GEN)
142 ## end gnulib module gen-header
144 ## begin gnulib module getloadavg
146 if GL_COND_OBJ_GETLOADAVG
147 libgnu_a_SOURCES += getloadavg.c
150 ## end gnulib module getloadavg
152 ## begin gnulib module intprops
155 EXTRA_DIST += intprops.h
157 ## end gnulib module intprops
159 ## begin gnulib module make-glob
162 libgnu_a_SOURCES += fnmatch.c
164 BUILT_SOURCES += fnmatch.h
166 fnmatch.h: fnmatch.in.h $(top_builddir)/config.status
167 $(AM_V_GEN)rm -f $@-t $@ && \
168 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
169 cat $(srcdir)/fnmatch.in.h; \
173 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
175 libgnu_a_SOURCES += glob.c
177 BUILT_SOURCES += glob.h
179 glob.h: glob.in.h $(top_builddir)/config.status
180 $(AM_V_GEN)rm -f $@-t $@ && \
181 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
182 cat $(srcdir)/glob.in.h; \
186 MOSTLYCLEANFILES += glob.h glob.h-t
189 EXTRA_DIST += fnmatch.in.h glob.in.h
191 EXTRA_DIST += fnmatch.c fnmatch.in.h glob.c glob.in.h
193 EXTRA_libgnu_a_SOURCES += fnmatch.c glob.c
195 ## end gnulib module make-glob
197 ## begin gnulib module snippet/warn-on-use
199 # Because this Makefile snippet defines a variable used by other
200 # gnulib Makefile snippets, it must be present in all makefiles that
201 # need it. This is ensured by the applicability 'all' defined above.
203 WARN_ON_USE_H=$(srcdir)/warn-on-use.h
205 EXTRA_DIST += warn-on-use.h
207 ## end gnulib module snippet/warn-on-use
209 ## begin gnulib module stdbool
211 BUILT_SOURCES += $(STDBOOL_H)
213 # We need the following in order to create <stdbool.h> when the system
214 # doesn't have one that works.
215 if GL_GENERATE_STDBOOL_H
216 stdbool.h: stdbool.in.h $(top_builddir)/config.status
217 $(gl_V_at)$(SED_HEADER_STDOUT) \
218 -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' \
219 $(srcdir)/stdbool.in.h > $@-t
222 stdbool.h: $(top_builddir)/config.status
225 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
227 EXTRA_DIST += stdbool.in.h
229 ## end gnulib module stdbool
232 mostlyclean-local: mostlyclean-generic
233 @for dir in '' $(MOSTLYCLEANDIRS); do \
234 if test -n "$$dir" && test -d $$dir; then \
235 echo "rmdir $$dir"; rmdir $$dir; \
239 distclean-local: distclean-gnulib-libobjs
240 distclean-gnulib-libobjs:
241 -rm -f @gl_LIBOBJDEPS@
242 maintainer-clean-local: distclean-gnulib-libobjs