Warn if add-symbol-file does not provide any symbols
[deliverable/binutils-gdb.git] / gdb / gnulib / Makefile.in
CommitLineData
42a4f53d 1# Copyright (C) 1989-2019 Free Software Foundation, Inc.
c971b7fa
PA
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
18prefix = @prefix@
19exec_prefix = @exec_prefix@
20
21host_alias = @host_alias@
22target_alias = @target_alias@
23program_transform_name = @program_transform_name@
24bindir = @bindir@
25libdir = @libdir@
26tooldir = $(libdir)/$(target_alias)
27
28datadir = @datadir@
29localedir = @localedir@
30mandir = @mandir@
31man1dir = $(mandir)/man1
32man2dir = $(mandir)/man2
33man3dir = $(mandir)/man3
34man4dir = $(mandir)/man4
35man5dir = $(mandir)/man5
36man6dir = $(mandir)/man6
37man7dir = $(mandir)/man7
38man8dir = $(mandir)/man8
39man9dir = $(mandir)/man9
40infodir = @infodir@
41datarootdir = @datarootdir@
42docdir = @docdir@
43htmldir = @htmldir@
44pdfdir = @pdfdir@
45includedir = @includedir@
46
47SHELL = @SHELL@
48EXEEXT = @EXEEXT@
49
50INSTALL = @INSTALL@
51INSTALL_PROGRAM = @INSTALL_PROGRAM@
52INSTALL_DATA = @INSTALL_DATA@
53
54DESTDIR =
55
56AR = @AR@
57AR_FLAGS = qv
58RANLIB = @RANLIB@
59DLLTOOL = @DLLTOOL@
60
61SUBDIRS = import
62CLEANDIRS = $(SUBDIRS)
63REQUIRED_SUBDIRS = $(SUBDIRS)
64
c971b7fa
PA
65CC=@CC@
66
67# Directory containing source files.
68srcdir = @srcdir@
69VPATH = @srcdir@
70
71CC_LD=$(CC)
72
73# CFLAGS is specifically reserved for setting from the command line
74# when running make. I.E. "make CFLAGS=-Wmissing-prototypes".
75CFLAGS = @CFLAGS@
76
77# LDFLAGS is specifically reserved for setting from the command line
78# when running make.
79LDFLAGS = @LDFLAGS@
80
81FLAGS_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
115all 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.
123install: all
124 @$(MAKE) $(FLAGS_TO_PASS) install-only
125
126install-only: $(CONFIG_INSTALL)
127 @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
128
129uninstall: 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
134all-lib: import/Makefile
135 @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=import subdir_do
136.PHONY: all-lib
137
138clean mostlyclean: $(CONFIG_CLEAN)
139 @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(CLEANDIRS)" subdir_do
140
141distclean: 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
148maintainer-clean: local-maintainer-clean do-maintainer-clean distclean
149realclean: maintainer-clean
150
151local-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
156do-maintainer-clean:
157 @$(MAKE) $(FLAGS_TO_PASS) DO=maintainer-clean "DODIRS=$(CLEANDIRS)" \
158 subdir_do
159
160subdir_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
176Makefile: Makefile.in config.status
177 # Regenerate the Makefile.
178 CONFIG_FILES="Makefile" \
179 CONFIG_COMMANDS= \
180 CONFIG_HEADERS= \
181 $(SHELL) config.status
182
183gnulib/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
190config.h: stamp-h ; @true
191stamp-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
198config.status: $(srcdir)/configure
199 $(SHELL) config.status --recheck
200
201ACLOCAL = aclocal
202ACLOCAL_AMFLAGS = -I import/m4 -I ../../config
fcc9b044
SDJ
203
204include $(srcdir)/aclocal-m4-deps.mk
205
206$(srcdir)/aclocal.m4: @MAINTAINER_MODE_TRUE@ configure.ac $(aclocal_m4_deps)
c971b7fa
PA
207 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
208
209AUTOCONF = autoconf
210configure_deps = $(srcdir)/configure.ac $(srcdir)/aclocal.m4
211$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(configure_deps)
212 cd $(srcdir) && $(AUTOCONF)
213
214AUTOHEADER = 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.
224am--refresh:
225 @:
226
227force:
228
229force_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.
240MAKEOVERRIDES=
241
ad02e4fe
SM
242# Disable implicit make rules.
243include $(srcdir)/../disable-implicit-rules.mk
244
c971b7fa 245### end of the libgnu Makefile.in.
This page took 0.821757 seconds and 4 git commands to generate.