Automatic date update in version.in
[deliverable/binutils-gdb.git] / gnulib / Makefile.in
1 # Copyright (C) 1989-2019 Free Software Foundation, Inc.
2
3 # This file is part of GDB.
4
5 # This program 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 program 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 program. If not, see <http://www.gnu.org/licenses/>.
17
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 host_alias = @host_alias@
22 target_alias = @target_alias@
23 program_transform_name = @program_transform_name@
24 bindir = @bindir@
25 libdir = @libdir@
26 tooldir = $(libdir)/$(target_alias)
27
28 datadir = @datadir@
29 localedir = @localedir@
30 mandir = @mandir@
31 man1dir = $(mandir)/man1
32 man2dir = $(mandir)/man2
33 man3dir = $(mandir)/man3
34 man4dir = $(mandir)/man4
35 man5dir = $(mandir)/man5
36 man6dir = $(mandir)/man6
37 man7dir = $(mandir)/man7
38 man8dir = $(mandir)/man8
39 man9dir = $(mandir)/man9
40 infodir = @infodir@
41 datarootdir = @datarootdir@
42 docdir = @docdir@
43 htmldir = @htmldir@
44 pdfdir = @pdfdir@
45 includedir = @includedir@
46
47 SHELL = @SHELL@
48 EXEEXT = @EXEEXT@
49
50 INSTALL = @INSTALL@
51 INSTALL_PROGRAM = @INSTALL_PROGRAM@
52 INSTALL_DATA = @INSTALL_DATA@
53
54 DESTDIR =
55
56 AR = @AR@
57 AR_FLAGS = qv
58 RANLIB = @RANLIB@
59 DLLTOOL = @DLLTOOL@
60
61 SUBDIRS = import
62 CLEANDIRS = $(SUBDIRS)
63 REQUIRED_SUBDIRS = $(SUBDIRS)
64
65 CC=@CC@
66
67 # Directory containing source files.
68 srcdir = @srcdir@
69 VPATH = @srcdir@
70
71 CC_LD=$(CC)
72
73 # CFLAGS is specifically reserved for setting from the command line
74 # when running make. I.E. "make CFLAGS=-Wmissing-prototypes".
75 CFLAGS = @CFLAGS@
76
77 # LDFLAGS is specifically reserved for setting from the command line
78 # when running make.
79 LDFLAGS = @LDFLAGS@
80
81 FLAGS_TO_PASS = \
82 "prefix=$(prefix)" \
83 "exec_prefix=$(exec_prefix)" \
84 "infodir=$(infodir)" \
85 "datarootdir=$(datarootdir)" \
86 "docdir=$(docdir)" \
87 "htmldir=$(htmldir)" \
88 "pdfdir=$(pdfdir)" \
89 "libdir=$(libdir)" \
90 "mandir=$(mandir)" \
91 "datadir=$(datadir)" \
92 "includedir=$(includedir)" \
93 "against=$(against)" \
94 "DESTDIR=$(DESTDIR)" \
95 "AR=$(AR)" \
96 "AR_FLAGS=$(AR_FLAGS)" \
97 "CC=$(CC)" \
98 "CFLAGS=$(CFLAGS)" \
99 "CXX=$(CXX)" \
100 "CXXFLAGS=$(CXXFLAGS)" \
101 "DLLTOOL=$(DLLTOOL)" \
102 "LDFLAGS=$(LDFLAGS)" \
103 "RANLIB=$(RANLIB)" \
104 "MAKEINFO=$(MAKEINFO)" \
105 "MAKEINFOFLAGS=$(MAKEINFOFLAGS)" \
106 "MAKEINFO_EXTRA_FLAGS=$(MAKEINFO_EXTRA_FLAGS)" \
107 "MAKEHTML=$(MAKEHTML)" \
108 "MAKEHTMLFLAGS=$(MAKEHTMLFLAGS)" \
109 "INSTALL=$(INSTALL)" \
110 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
111 "INSTALL_DATA=$(INSTALL_DATA)" \
112 "RUNTEST=$(RUNTEST)" \
113 "RUNTESTFLAGS=$(RUNTESTFLAGS)"
114
115 all installcheck check info install-info clean-info dvi pdf install-pdf html install-html: force
116 @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
117
118 # Traditionally "install" depends on "all". But it may be useful
119 # not to; for example, if the user has made some trivial change to a
120 # source file and doesn't care about rebuilding or just wants to save the
121 # time it takes for make to check that all is up to date.
122 # install-only is intended to address that need.
123 install: all
124 @$(MAKE) $(FLAGS_TO_PASS) install-only
125
126 install-only: $(CONFIG_INSTALL)
127 @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
128
129 uninstall: force $(CONFIG_UNINSTALL)
130 @$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
131
132 # Convenience rule to handle recursion.
133 $(LIBGNU) $(GNULIB_H): all-lib
134 all-lib: import/Makefile
135 @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=import subdir_do
136 .PHONY: all-lib
137
138 clean mostlyclean: $(CONFIG_CLEAN)
139 @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(CLEANDIRS)" subdir_do
140
141 distclean: clean
142 @$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(CLEANDIRS)" subdir_do
143 rm -f config.status config.h stamp-h
144 rm -f config.log config.cache
145 rm -f Makefile
146 rm -rf $(DEPDIR)
147
148 maintainer-clean: local-maintainer-clean do-maintainer-clean distclean
149 realclean: maintainer-clean
150
151 local-maintainer-clean:
152 @echo "This command is intended for maintainers to use;"
153 @echo "it deletes files that may require special tools to rebuild."
154 rm -f config.status
155
156 do-maintainer-clean:
157 @$(MAKE) $(FLAGS_TO_PASS) DO=maintainer-clean "DODIRS=$(CLEANDIRS)" \
158 subdir_do
159
160 subdir_do: force
161 @for i in $(DODIRS); do \
162 case $$i in \
163 $(REQUIRED_SUBDIRS)) \
164 if [ ! -f ./$$i/Makefile ] ; then \
165 echo "Missing $$i/Makefile" >&2 ; \
166 exit 1 ; \
167 fi ;; \
168 esac ; \
169 if [ -f ./$$i/Makefile ] ; then \
170 if (cd ./$$i; \
171 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
172 else exit 1 ; fi ; \
173 else true ; fi ; \
174 done
175
176 Makefile: Makefile.in config.status
177 # Regenerate the Makefile.
178 CONFIG_FILES="Makefile" \
179 CONFIG_COMMANDS= \
180 CONFIG_HEADERS= \
181 $(SHELL) config.status
182
183 gnulib/Makefile: gnulib/Makefile.in config.status
184 CONFIG_FILES="gnulib/Makefile" \
185 CONFIG_COMMANDS="depfiles" \
186 CONFIG_HEADERS= \
187 CONFIG_LINKS= \
188 $(SHELL) config.status
189
190 config.h: stamp-h ; @true
191 stamp-h: $(srcdir)/config.in config.status
192 CONFIG_HEADERS=config.h:config.in \
193 CONFIG_COMMANDS="default depdir" \
194 CONFIG_FILES= \
195 CONFIG_LINKS= \
196 $(SHELL) config.status
197
198 config.status: $(srcdir)/configure
199 $(SHELL) config.status --recheck
200
201 ACLOCAL = aclocal
202 ACLOCAL_AMFLAGS = -I import/m4 -I ../config
203
204 include $(srcdir)/aclocal-m4-deps.mk
205
206 $(srcdir)/aclocal.m4: @MAINTAINER_MODE_TRUE@ configure.ac $(aclocal_m4_deps)
207 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
208
209 AUTOCONF = autoconf
210 configure_deps = $(srcdir)/configure.ac $(srcdir)/aclocal.m4
211 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(configure_deps)
212 cd $(srcdir) && $(AUTOCONF)
213
214 AUTOHEADER = autoheader
215 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(configure_deps)
216 cd $(srcdir) && $(AUTOHEADER)
217 rm -f stamp-h
218 touch $@
219
220 # automatic rebuilding in automake-generated Makefiles requires
221 # this rule in the toplevel Makefile, which, with GNU make, causes
222 # the desired updates through the implicit regeneration of the Makefile
223 # and all of its prerequisites.
224 am--refresh:
225 @:
226
227 force:
228
229 force_update:
230
231 # GNU Make has an annoying habit of putting *all* the Makefile variables
232 # into the environment, unless you include this target as a circumvention.
233 # Rumor is that this will be fixed (and this target can be removed)
234 # in GNU Make 4.0.
235 .NOEXPORT:
236
237 # GNU Make 3.63 has a different problem: it keeps tacking command line
238 # overrides onto the definition of $(MAKE). This variable setting
239 # will remove them.
240 MAKEOVERRIDES=
241
242 # Disable implicit make rules.
243 include $(srcdir)/../gdb/disable-implicit-rules.mk
244
245 ### end of the libgnu Makefile.in.
This page took 0.034476 seconds and 4 git commands to generate.