Imported Upstream version 4.4
[platform/upstream/make.git] / lib / Makefile.am
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.
4 #
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.
9 #
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.
14 #
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/>.
17 #
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.
22 #
23 # Generated by gnulib-tool.
24 # Reproduce by:
25 # gnulib-tool --import --local-dir=gl \
26 #  --lib=libgnu \
27 #  --source-base=lib \
28 #  --m4-base=m4 \
29 #  --doc-base=doc \
30 #  --tests-base=tests \
31 #  --aux-dir=build-aux \
32 #  --no-conditional-dependencies \
33 #  --no-libtool \
34 #  --macro-prefix=gl \
35 #  alloca \
36 #  fdl \
37 #  findprog-in \
38 #  getloadavg \
39 #  host-cpu-c-abi \
40 #  largefile \
41 #  make-glob \
42 #  make-macros
43
44 AUTOMAKE_OPTIONS = 1.14 gnits
45
46 SUBDIRS =
47 noinst_HEADERS =
48 noinst_LIBRARIES =
49 noinst_LTLIBRARIES =
50 EXTRA_DIST =
51 BUILT_SOURCES =
52 SUFFIXES =
53 MOSTLYCLEANFILES = core *.stackdump
54 MOSTLYCLEANDIRS =
55 CLEANFILES =
56 DISTCLEANFILES =
57 MAINTAINERCLEANFILES =
58 # No GNU Make output.
59
60 AM_CPPFLAGS =
61 AM_CFLAGS =
62
63 noinst_LIBRARIES += libgnu.a
64
65 libgnu_a_SOURCES =
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 =
70
71 ## begin gnulib module alloca
72
73
74 libgnu_a_LIBADD += @ALLOCA@
75 libgnu_a_DEPENDENCIES += @ALLOCA@
76 EXTRA_DIST += alloca.c
77
78 EXTRA_libgnu_a_SOURCES += alloca.c
79
80 ## end   gnulib module alloca
81
82 ## begin gnulib module alloca-opt
83
84 BUILT_SOURCES += $(ALLOCA_H)
85
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
93         $(AM_V_at)mv $@-t $@
94 else
95 alloca.h: $(top_builddir)/config.status
96         rm -f $@
97 endif
98 MOSTLYCLEANFILES += alloca.h alloca.h-t
99
100 EXTRA_DIST += alloca.in.h
101
102 ## end   gnulib module alloca-opt
103
104 ## begin gnulib module concat-filename
105
106 libgnu_a_SOURCES += concat-filename.c
107
108 EXTRA_DIST += concat-filename.h
109
110 ## end   gnulib module concat-filename
111
112 ## begin gnulib module filename
113
114
115 EXTRA_DIST += filename.h
116
117 ## end   gnulib module filename
118
119 ## begin gnulib module findprog-in
120
121 libgnu_a_SOURCES += findprog.h findprog-in.c
122
123 ## end   gnulib module findprog-in
124
125 ## begin gnulib module gen-header
126
127 # In 'sed', replace the pattern space with a "DO NOT EDIT" comment.
128 SED_HEADER_NOEDIT = s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,
129
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
132
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'
138
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)
141
142 ## end   gnulib module gen-header
143
144 ## begin gnulib module getloadavg
145
146 if GL_COND_OBJ_GETLOADAVG
147 libgnu_a_SOURCES += getloadavg.c
148 endif
149
150 ## end   gnulib module getloadavg
151
152 ## begin gnulib module intprops
153
154
155 EXTRA_DIST += intprops.h
156
157 ## end   gnulib module intprops
158
159 ## begin gnulib module make-glob
160
161 if !USE_SYSTEM_GLOB
162 libgnu_a_SOURCES += fnmatch.c
163
164 BUILT_SOURCES += fnmatch.h
165
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; \
170         } > $@-t && \
171         mv -f $@-t $@
172
173 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
174
175 libgnu_a_SOURCES += glob.c
176
177 BUILT_SOURCES += glob.h
178
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; \
183         } > $@-t && \
184         mv -f $@-t $@
185
186 MOSTLYCLEANFILES += glob.h glob.h-t
187 endif
188
189 EXTRA_DIST += fnmatch.in.h glob.in.h
190
191 EXTRA_DIST += fnmatch.c fnmatch.in.h glob.c glob.in.h
192
193 EXTRA_libgnu_a_SOURCES += fnmatch.c glob.c
194
195 ## end   gnulib module make-glob
196
197 ## begin gnulib module snippet/warn-on-use
198
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.
202
203 WARN_ON_USE_H=$(srcdir)/warn-on-use.h
204
205 EXTRA_DIST += warn-on-use.h
206
207 ## end   gnulib module snippet/warn-on-use
208
209 ## begin gnulib module stdbool
210
211 BUILT_SOURCES += $(STDBOOL_H)
212
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
220         $(AM_V_at)mv $@-t $@
221 else
222 stdbool.h: $(top_builddir)/config.status
223         rm -f $@
224 endif
225 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
226
227 EXTRA_DIST += stdbool.in.h
228
229 ## end   gnulib module stdbool
230
231
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; \
236           fi; \
237         done; \
238         :
239 distclean-local: distclean-gnulib-libobjs
240 distclean-gnulib-libobjs:
241         -rm -f @gl_LIBOBJDEPS@
242 maintainer-clean-local: distclean-gnulib-libobjs