Commit | Line | Data |
---|---|---|
642c7534 BE |
1 | # Makefile for the libiberty library. |
2 | # Originally written by K. Richard Pixley <rich@cygnus.com>. | |
252b5132 | 3 | # |
2a8ae714 | 4 | # Copyright (C) 1990-2018 Free Software Foundation, Inc. |
252b5132 RH |
5 | # |
6 | # This file is part of the libiberty library. | |
7 | # Libiberty is free software; you can redistribute it and/or | |
8 | # modify it under the terms of the GNU Library General Public | |
9 | # License as published by the Free Software Foundation; either | |
10 | # version 2 of the License, or (at your option) any later version. | |
11 | # | |
12 | # Libiberty is distributed in the hope that it will be useful, | |
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
15 | # Library General Public License for more details. | |
16 | # | |
17 | # You should have received a copy of the GNU Library General Public | |
18 | # License along with libiberty; see the file COPYING.LIB. If not, | |
979c05d3 NC |
19 | # write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, |
20 | # Boston, MA 02110-1301, USA. | |
252b5132 | 21 | |
85b9a938 | 22 | libiberty_topdir = @libiberty_topdir@ |
252b5132 | 23 | srcdir = @srcdir@ |
252b5132 RH |
24 | |
25 | prefix = @prefix@ | |
26 | ||
27 | exec_prefix = @exec_prefix@ | |
28 | bindir = @bindir@ | |
29 | libdir = @libdir@ | |
50d4562d DD |
30 | includedir = @includedir@ |
31 | target_header_dir = @target_header_dir@ | |
497462ef | 32 | objext = @OBJEXT@ |
252b5132 RH |
33 | |
34 | SHELL = @SHELL@ | |
35 | ||
36 | # Multilib support variables. | |
37 | MULTISRCTOP = | |
38 | MULTIBUILDTOP = | |
39 | MULTIDIRS = | |
40 | MULTISUBDIR = | |
41 | MULTIDO = true | |
42 | MULTICLEAN = true | |
43 | ||
44 | INSTALL = @INSTALL@ | |
45 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
46 | INSTALL_DATA = @INSTALL_DATA@ | |
85b9a938 | 47 | mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs |
252b5132 | 48 | |
46a10049 DD |
49 | # Some compilers can't handle cc -c blah.c -o foo/blah.o. |
50 | OUTPUT_OPTION = @OUTPUT_OPTION@ | |
51 | ||
252b5132 RH |
52 | AR = @AR@ |
53 | AR_FLAGS = rc | |
54 | ||
55 | CC = @CC@ | |
56 | CFLAGS = @CFLAGS@ | |
bb52de30 | 57 | CPPFLAGS = @CPPFLAGS@ |
252b5132 | 58 | RANLIB = @RANLIB@ |
39423523 DD |
59 | MAKEINFO = @MAKEINFO@ |
60 | PERL = @PERL@ | |
252b5132 | 61 | |
c779bab8 | 62 | PICFLAG = @PICFLAG@ |
3f48575a | 63 | NOASANFLAG = @NOASANFLAG@ |
252b5132 RH |
64 | |
65 | MAKEOVERRIDES = | |
66 | ||
37254c9a DD |
67 | TARGETLIB = ./libiberty.a |
68 | TESTLIB = ./testlib.a | |
252b5132 RH |
69 | |
70 | LIBOBJS = @LIBOBJS@ | |
252b5132 RH |
71 | |
72 | # A configuration can specify extra .o files that should be included, | |
73 | # even if they are in libc. (Perhaps the libc version is buggy.) | |
74 | EXTRA_OFILES = | |
75 | ||
76 | # Flags to pass to a recursive make. | |
77 | FLAGS_TO_PASS = \ | |
78 | "AR=$(AR)" \ | |
79 | "AR_FLAGS=$(AR_FLAGS)" \ | |
80 | "CC=$(CC)" \ | |
81 | "CFLAGS=$(CFLAGS)" \ | |
bb52de30 | 82 | "CPPFLAGS=$(CPPFLAGS)" \ |
27a39a5f | 83 | "DESTDIR=$(DESTDIR)" \ |
252b5132 RH |
84 | "EXTRA_OFILES=$(EXTRA_OFILES)" \ |
85 | "HDEFINES=$(HDEFINES)" \ | |
86 | "INSTALL=$(INSTALL)" \ | |
87 | "INSTALL_DATA=$(INSTALL_DATA)" \ | |
88 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ | |
89 | "LDFLAGS=$(LDFLAGS)" \ | |
90 | "LOADLIBES=$(LOADLIBES)" \ | |
91 | "RANLIB=$(RANLIB)" \ | |
0c0a36a4 ILT |
92 | "SHELL=$(SHELL)" \ |
93 | "prefix=$(prefix)" \ | |
94 | "exec_prefix=$(exec_prefix)" \ | |
95 | "libdir=$(libdir)" \ | |
96 | "libsubdir=$(libsubdir)" \ | |
97 | "tooldir=$(tooldir)" | |
252b5132 | 98 | |
0c0a36a4 ILT |
99 | # Subdirectories to recurse into. We need to override this during cleaning |
100 | SUBDIRS = testsuite | |
101 | ||
39423523 | 102 | # FIXME: add @BUILD_INFO@ once we're sure it works for everyone. |
3f48575a | 103 | all: stamp-picdir stamp-noasandir $(TARGETLIB) required-list all-subdir |
178bead7 | 104 | @: $(MAKE) ; $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all |
252b5132 RH |
105 | |
106 | .PHONY: check installcheck | |
0c0a36a4 ILT |
107 | check: check-subdir |
108 | installcheck: installcheck-subdir | |
252b5132 RH |
109 | |
110 | @host_makefile_frag@ | |
111 | ||
112 | INCDIR=$(srcdir)/$(MULTISRCTOP)../include | |
113 | ||
f91ca6bc IB |
114 | COMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) \ |
115 | $(HDEFINES) @ac_libiberty_warn_cflags@ -D_GNU_SOURCE | |
37254c9a DD |
116 | |
117 | # Just to make sure we don't use a built-in rule with VPATH | |
497462ef | 118 | .c.$(objext): |
37254c9a | 119 | false |
252b5132 | 120 | |
252b5132 | 121 | # NOTE: If you add new files to the library, add them to this list |
46a10049 DD |
122 | # (alphabetical), and add them to REQUIRED_OFILES, or |
123 | # CONFIGURED_OFILES and funcs in configure.ac. Also run "make maint-deps" | |
124 | # to build the new rules. | |
cc096b71 DD |
125 | CFILES = alloca.c argv.c asprintf.c atexit.c \ |
126 | basename.c bcmp.c bcopy.c bsearch.c bzero.c \ | |
127 | calloc.c choose-temp.c clock.c concat.c cp-demangle.c \ | |
6e881691 | 128 | cp-demint.c cplus-dem.c crc32.c \ |
b55f9678 | 129 | d-demangle.c dwarfnames.c dyn-string.c \ |
9c577e89 DD |
130 | fdmatch.c ffs.c fibheap.c filename_cmp.c floatformat.c \ |
131 | fnmatch.c fopen_unlocked.c \ | |
cc096b71 | 132 | getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \ |
8ec32723 | 133 | gettimeofday.c \ |
cc096b71 DD |
134 | hashtab.c hex.c \ |
135 | index.c insque.c \ | |
136 | lbasename.c \ | |
ba61a412 | 137 | lrealpath.c \ |
2a80c0a4 | 138 | make-relative-prefix.c \ |
10e1b6bb DD |
139 | make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmem.c \ |
140 | memmove.c mempcpy.c memset.c mkstemps.c \ | |
cc096b71 | 141 | objalloc.c obstack.c \ |
b109e79a ILT |
142 | partition.c pexecute.c \ |
143 | pex-common.c pex-djgpp.c pex-msdos.c pex-one.c \ | |
5a17353c | 144 | pex-unix.c pex-win32.c \ |
4938384a | 145 | physmem.c putenv.c \ |
cc096b71 | 146 | random.c regex.c rename.c rindex.c \ |
535aade6 | 147 | rust-demangle.c \ |
9711ae4d | 148 | safe-ctype.c setenv.c setproctitle.c sha1.c sigsetmask.c \ |
ffa54e5c | 149 | simple-object.c simple-object-coff.c simple-object-elf.c \ |
07a8e9f0 | 150 | simple-object-mach-o.c simple-object-xcoff.c \ |
9711ae4d | 151 | snprintf.c sort.c \ |
26ac1280 DD |
152 | spaces.c splay-tree.c stack-limit.c stpcpy.c stpncpy.c \ |
153 | strcasecmp.c strchr.c strdup.c strerror.c strncasecmp.c \ | |
154 | strncmp.c strrchr.c strsignal.c strstr.c strtod.c strtol.c \ | |
abdef8eb JBG |
155 | strtoll.c strtoul.c strtoull.c strndup.c strnlen.c \ |
156 | strverscmp.c timeval-utils.c tmpnam.c \ | |
190eb137 | 157 | unlink-if-ordinary.c \ |
7c89917f RE |
158 | vasprintf.c vfork.c vfprintf.c vprintf.c vprintf-support.c \ |
159 | vsnprintf.c vsprintf.c \ | |
cc096b71 | 160 | waitpid.c \ |
7c89917f RE |
161 | xasprintf.c xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c \ |
162 | xstrerror.c xstrndup.c xvasprintf.c | |
cc096b71 DD |
163 | |
164 | # These are always included in the library. The first four are listed | |
165 | # first and by compile time to optimize parallel builds. | |
b68965a0 | 166 | REQUIRED_OFILES = \ |
497462ef DD |
167 | ./regex.$(objext) ./cplus-dem.$(objext) ./cp-demangle.$(objext) \ |
168 | ./md5.$(objext) ./sha1.$(objext) ./alloca.$(objext) \ | |
169 | ./argv.$(objext) \ | |
170 | ./choose-temp.$(objext) ./concat.$(objext) \ | |
b55f9678 | 171 | ./cp-demint.$(objext) ./crc32.$(objext) ./d-demangle.$(objext) \ |
fa66ec53 | 172 | ./dwarfnames.$(objext) ./dyn-string.$(objext) \ |
497462ef DD |
173 | ./fdmatch.$(objext) ./fibheap.$(objext) \ |
174 | ./filename_cmp.$(objext) ./floatformat.$(objext) \ | |
175 | ./fnmatch.$(objext) ./fopen_unlocked.$(objext) \ | |
176 | ./getopt.$(objext) ./getopt1.$(objext) ./getpwd.$(objext) \ | |
177 | ./getruntime.$(objext) ./hashtab.$(objext) ./hex.$(objext) \ | |
178 | ./lbasename.$(objext) ./lrealpath.$(objext) \ | |
179 | ./make-relative-prefix.$(objext) ./make-temp-file.$(objext) \ | |
ffa54e5c DD |
180 | ./objalloc.$(objext) \ |
181 | ./obstack.$(objext) \ | |
497462ef DD |
182 | ./partition.$(objext) ./pexecute.$(objext) ./physmem.$(objext) \ |
183 | ./pex-common.$(objext) ./pex-one.$(objext) \ | |
7c89917f | 184 | ./@pexecute@.$(objext) ./vprintf-support.$(objext) \ |
535aade6 | 185 | ./rust-demangle.$(objext) \ |
ffa54e5c DD |
186 | ./safe-ctype.$(objext) \ |
187 | ./simple-object.$(objext) ./simple-object-coff.$(objext) \ | |
188 | ./simple-object-elf.$(objext) ./simple-object-mach-o.$(objext) \ | |
07a8e9f0 | 189 | ./simple-object-xcoff.$(objext) \ |
ffa54e5c | 190 | ./sort.$(objext) ./spaces.$(objext) \ |
26ac1280 | 191 | ./splay-tree.$(objext) ./stack-limit.$(objext) \ |
cf185ad7 DD |
192 | ./strerror.$(objext) ./strsignal.$(objext) \ |
193 | ./timeval-utils.$(objext) ./unlink-if-ordinary.$(objext) \ | |
7c89917f RE |
194 | ./xasprintf.$(objext) ./xatexit.$(objext) ./xexit.$(objext) \ |
195 | ./xmalloc.$(objext) ./xmemdup.$(objext) ./xstrdup.$(objext) \ | |
196 | ./xstrerror.$(objext) ./xstrndup.$(objext) \ | |
197 | ./xvasprintf.$(objext) | |
30673bf5 | 198 | |
39423523 | 199 | # These are all the objects that configure may add to the library via |
cc096b71 DD |
200 | # $funcs or EXTRA_OFILES. This list exists here only for "make |
201 | # maint-missing" and "make check". | |
497462ef DD |
202 | CONFIGURED_OFILES = ./asprintf.$(objext) ./atexit.$(objext) \ |
203 | ./basename.$(objext) ./bcmp.$(objext) ./bcopy.$(objext) \ | |
204 | ./bsearch.$(objext) ./bzero.$(objext) \ | |
205 | ./calloc.$(objext) ./clock.$(objext) ./copysign.$(objext) \ | |
206 | ./_doprnt.$(objext) \ | |
207 | ./ffs.$(objext) \ | |
208 | ./getcwd.$(objext) ./getpagesize.$(objext) \ | |
209 | ./gettimeofday.$(objext) \ | |
210 | ./index.$(objext) ./insque.$(objext) \ | |
211 | ./memchr.$(objext) ./memcmp.$(objext) ./memcpy.$(objext) \ | |
212 | ./memmem.$(objext) ./memmove.$(objext) \ | |
213 | ./mempcpy.$(objext) ./memset.$(objext) ./mkstemps.$(objext) \ | |
214 | ./pex-djgpp.$(objext) ./pex-msdos.$(objext) \ | |
215 | ./pex-unix.$(objext) ./pex-win32.$(objext) \ | |
216 | ./putenv.$(objext) \ | |
217 | ./random.$(objext) ./rename.$(objext) ./rindex.$(objext) \ | |
9711ae4d DD |
218 | ./setenv.$(objext) \ |
219 | ./setproctitle.$(objext) \ | |
220 | ./sigsetmask.$(objext) ./snprintf.$(objext) \ | |
497462ef DD |
221 | ./stpcpy.$(objext) ./stpncpy.$(objext) ./strcasecmp.$(objext) \ |
222 | ./strchr.$(objext) ./strdup.$(objext) ./strncasecmp.$(objext) \ | |
995b61fe DD |
223 | ./strncmp.$(objext) ./strndup.$(objext) ./strnlen.$(objext) \ |
224 | ./strrchr.$(objext) ./strstr.$(objext) ./strtod.$(objext) \ | |
abdef8eb JBG |
225 | ./strtol.$(objext) ./strtoul.$(objext) strtoll.$(objext) \ |
226 | ./strtoull.$(objext) ./tmpnam.$(objext) ./strverscmp.$(objext) \ | |
497462ef DD |
227 | ./vasprintf.$(objext) ./vfork.$(objext) ./vfprintf.$(objext) \ |
228 | ./vprintf.$(objext) ./vsnprintf.$(objext) ./vsprintf.$(objext) \ | |
229 | ./waitpid.$(objext) | |
39423523 | 230 | |
50d4562d DD |
231 | # These files are installed if the library has been configured to do so. |
232 | INSTALLED_HEADERS = \ | |
233 | $(INCDIR)/ansidecl.h \ | |
234 | $(INCDIR)/demangle.h \ | |
235 | $(INCDIR)/dyn-string.h \ | |
236 | $(INCDIR)/fibheap.h \ | |
237 | $(INCDIR)/floatformat.h \ | |
238 | $(INCDIR)/hashtab.h \ | |
239 | $(INCDIR)/libiberty.h \ | |
240 | $(INCDIR)/objalloc.h \ | |
241 | $(INCDIR)/partition.h \ | |
242 | $(INCDIR)/safe-ctype.h \ | |
243 | $(INCDIR)/sort.h \ | |
cf185ad7 DD |
244 | $(INCDIR)/splay-tree.h \ |
245 | $(INCDIR)/timeval-utils.h | |
50d4562d | 246 | |
46a10049 | 247 | $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) |
3f48575a | 248 | -rm -f $(TARGETLIB) pic/$(TARGETLIB) noasan/$(TARGETLIB) |
46a10049 DD |
249 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ |
250 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) | |
251 | $(RANLIB) $(TARGETLIB) | |
252 | if [ x"$(PICFLAG)" != x ]; then \ | |
253 | cd pic; \ | |
3bc62f91 DD |
254 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ |
255 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ | |
256 | $(RANLIB) $(TARGETLIB); \ | |
257 | cd ..; \ | |
3f48575a | 258 | else true; fi; \ |
259 | if [ x"$(NOASANFLAG)" != x ]; then \ | |
260 | cd noasan; \ | |
261 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ | |
262 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ | |
263 | $(RANLIB) $(TARGETLIB); \ | |
264 | cd ..; \ | |
3bc62f91 | 265 | else true; fi |
252b5132 | 266 | |
46a10049 DD |
267 | $(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES) |
268 | -rm -f $(TESTLIB) | |
269 | $(AR) $(AR_FLAGS) $(TESTLIB) \ | |
270 | $(REQUIRED_OFILES) $(CONFIGURED_OFILES) | |
271 | $(RANLIB) $(TESTLIB) | |
cc096b71 | 272 | |
39423523 DD |
273 | info: libiberty.info info-subdir |
274 | install-info: install-info-subdir | |
275 | clean-info: clean-info-subdir | |
276 | dvi: libiberty.dvi dvi-subdir | |
d7831e7c DD |
277 | |
278 | LIBIBERTY_PDFFILES = libiberty.pdf | |
279 | ||
280 | pdf: $(LIBIBERTY_PDFFILES) pdf-subdir | |
281 | ||
282 | .PHONY: install-pdf | |
283 | ||
284 | pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`; | |
285 | ||
286 | install-pdf: $(LIBIBERTY_PDFFILES) | |
287 | @$(NORMAL_INSTALL) | |
288 | test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)" | |
289 | @list='$(LIBIBERTY_PDFFILES)'; for p in $$list; do \ | |
290 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | |
291 | f=$(pdf__strip_dir) \ | |
292 | echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \ | |
293 | $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \ | |
294 | done | |
545c9aee DD |
295 | |
296 | # html, install-html targets | |
297 | HTMLS = libiberty.html | |
298 | ||
299 | html: $(HTMLS) | |
300 | ||
7a0801a9 | 301 | .PHONY: install-html install-html-am |
545c9aee DD |
302 | |
303 | NORMAL_INSTALL = : | |
304 | mkdir_p = mkdir -p -- | |
497462ef | 305 | |
545c9aee DD |
306 | html__strip_dir = `echo $$p | sed -e 's|^.*/||'`; |
307 | ||
7a0801a9 | 308 | install-html: install-html-am |
545c9aee DD |
309 | |
310 | install-html-am: $(HTMLS) | |
311 | @$(NORMAL_INSTALL) | |
312 | test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)" | |
313 | @list='$(HTMLS)'; for p in $$list; do \ | |
314 | if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \ | |
315 | f=$(html__strip_dir) \ | |
316 | if test -d "$$d$$p"; then \ | |
317 | echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \ | |
318 | $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \ | |
319 | echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \ | |
320 | $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \ | |
321 | else \ | |
322 | echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \ | |
323 | $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \ | |
324 | fi; \ | |
325 | done | |
326 | ||
39423523 DD |
327 | TEXISRC = \ |
328 | $(srcdir)/libiberty.texi \ | |
329 | $(srcdir)/copying-lib.texi \ | |
330 | $(srcdir)/obstacks.texi \ | |
331 | $(srcdir)/functions.texi | |
332 | ||
333 | # Additional files that have texi snippets that need to be collected | |
ba19b94f DD |
334 | # and sorted. Some are here because the sources are imported from |
335 | # elsewhere. Others represent headers in ../include. | |
ffa54e5c | 336 | TEXIFILES = fnmatch.txh pexecute.txh simple-object.txh |
39423523 DD |
337 | |
338 | libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC) | |
339 | $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi | |
340 | ||
341 | libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC) | |
342 | texi2dvi $(srcdir)/libiberty.texi | |
343 | ||
bff368bd DD |
344 | libiberty.pdf : $(srcdir)/libiberty.texi $(TEXISRC) |
345 | texi2pdf $(srcdir)/libiberty.texi | |
346 | ||
39423523 | 347 | libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC) |
6cfb3176 | 348 | $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $< |
39423523 DD |
349 | |
350 | @MAINT@$(srcdir)/functions.texi : stamp-functions | |
351 | @MAINT@ @true | |
352 | ||
67f3cb05 | 353 | @MAINT@stamp-functions : $(CFILES:%=$(srcdir)/%) $(TEXIFILES:%=$(srcdir)/%) $(srcdir)/gather-docs Makefile |
39423523 DD |
354 | @MAINT@@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES) |
355 | @MAINT@ echo stamp > stamp-functions | |
356 | ||
252b5132 | 357 | INSTALL_DEST = @INSTALL_DEST@ |
0c0a36a4 | 358 | install: install_to_$(INSTALL_DEST) install-subdir |
9b980aa1 RW |
359 | install-strip: install |
360 | ||
361 | .PHONY: install install-strip | |
252b5132 | 362 | |
563d09a5 EB |
363 | # This is tricky. Even though CC in the Makefile contains |
364 | # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the | |
eff85da5 | 365 | # default multilib, so we have to take CFLAGS into account as well, |
563d09a5 | 366 | # since it will be passed the multilib flags. |
eff85da5 | 367 | MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory` |
252b5132 | 368 | install_to_libdir: all |
50d4562d | 369 | if test -n "${target_header_dir}"; then \ |
a4818a05 DD |
370 | ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR); \ |
371 | $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n; \ | |
372 | ( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n ); \ | |
373 | mv -f $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB); \ | |
374 | case "${target_header_dir}" in \ | |
375 | /*) thd=${target_header_dir};; \ | |
376 | *) thd=${includedir}/${target_header_dir};; \ | |
377 | esac; \ | |
378 | ${mkinstalldirs} $(DESTDIR)$${thd}; \ | |
379 | for h in ${INSTALLED_HEADERS}; do \ | |
380 | ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \ | |
381 | done; \ | |
50d4562d | 382 | fi |
252b5132 RH |
383 | @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install |
384 | ||
385 | install_to_tooldir: all | |
aa072e59 AO |
386 | ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) |
387 | $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n | |
6816f995 | 388 | ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n ) |
aa072e59 | 389 | mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB) |
252b5132 RH |
390 | @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install |
391 | ||
252b5132 RH |
392 | # required-list was used when building a shared bfd/opcodes/libiberty |
393 | # library. I don't know if it used by anything currently. | |
394 | required-list: Makefile | |
395 | echo $(REQUIRED_OFILES) > required-list | |
396 | ||
46a10049 DD |
397 | stamp-picdir: |
398 | if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \ | |
399 | mkdir pic; \ | |
400 | else true; fi | |
401 | touch stamp-picdir | |
402 | ||
3f48575a | 403 | stamp-noasandir: |
404 | if [ x"$(NOASANFLAG)" != x ] && [ ! -d noasan ]; then \ | |
405 | mkdir noasan; \ | |
406 | else true; fi | |
407 | touch stamp-noasandir | |
408 | ||
1e924157 | 409 | .PHONY: all etags tags TAGS ls clean stage1 stage2 |
252b5132 | 410 | |
1e924157 | 411 | etags tags TAGS: etags-subdir |
f3363926 | 412 | cd $(srcdir) && etags $(CFILES) |
252b5132 RH |
413 | |
414 | # The standalone demangler (c++filt) has been moved to binutils. | |
664aa91f DD |
415 | # But make this target work anyway for demangler hacking. |
416 | demangle: $(ALL) $(srcdir)/cp-demangle.c | |
252b5132 RH |
417 | @echo "The standalone demangler, now named c++filt, is now" |
418 | @echo "a part of binutils." | |
664aa91f DD |
419 | $(CC) @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) \ |
420 | $(srcdir)/cp-demangle.c -DSTANDALONE_DEMANGLER $(TARGETLIB) -o $@ | |
252b5132 RH |
421 | |
422 | ls: | |
30673bf5 | 423 | @echo Makefile $(CFILES) |
252b5132 | 424 | |
39423523 DD |
425 | # Various targets for maintainers. |
426 | ||
427 | maint-missing : | |
46a10049 | 428 | @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES) |
39423523 | 429 | |
46a10049 | 430 | maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES) |
39423523 DD |
431 | @true |
432 | ||
ba19b94f DD |
433 | maint-undoc : $(srcdir)/functions.texi |
434 | @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc | |
435 | ||
cc096b71 DD |
436 | maint-deps : |
437 | @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR) | |
438 | ||
252b5132 RH |
439 | # Need to deal with profiled libraries, too. |
440 | ||
0c0a36a4 ILT |
441 | # Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS |
442 | # multiple times, hence our explicit recursion with an empty SUBDIRS. | |
443 | mostlyclean: mostlyclean-subdir | |
3f48575a | 444 | -rm -rf *.$(objext) pic noasan core errs \#* *.E a.out |
e1ad6b9a | 445 | -rm -f errors dummy config.h stamp-* |
3f48575a | 446 | -rm -f $(CONFIG_H) stamp-picdir stamp-noasandir |
39423523 DD |
447 | -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky |
448 | -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg | |
449 | -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr | |
450 | -rm -f libtexi.stamp | |
252b5132 | 451 | @$(MULTICLEAN) multi-clean DO=mostlyclean |
0c0a36a4 ILT |
452 | clean: clean-subdir |
453 | $(MAKE) SUBDIRS="" mostlyclean | |
c00c39ed | 454 | -rm -f *.a required-list tmpmulti.out |
bff368bd | 455 | -rm -f libiberty.dvi libiberty.pdf libiberty.info* libiberty.html |
252b5132 | 456 | @$(MULTICLEAN) multi-clean DO=clean |
0c0a36a4 ILT |
457 | distclean: distclean-subdir |
458 | $(MAKE) SUBDIRS="" clean | |
252b5132 | 459 | @$(MULTICLEAN) multi-clean DO=distclean |
3795d586 | 460 | -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out |
c00c39ed | 461 | -rm -f config.log |
4415a860 | 462 | -rmdir testsuite 2>/dev/null |
0c0a36a4 ILT |
463 | maintainer-clean realclean: maintainer-clean-subdir |
464 | $(MAKE) SUBDIRS="" distclean | |
252b5132 RH |
465 | |
466 | force: | |
467 | ||
468 | Makefile: $(srcdir)/Makefile.in config.status | |
469 | CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status | |
470 | ||
fec50157 DD |
471 | # Depending on Makefile makes sure that config.status has been re-run |
472 | # if needed. This prevents problems with parallel builds. | |
252b5132 | 473 | config.h: stamp-h ; @true |
37254c9a DD |
474 | stamp-h: $(srcdir)/config.in config.status Makefile |
475 | CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status | |
252b5132 | 476 | |
4cf896a5 | 477 | config.status: $(srcdir)/configure |
252b5132 RH |
478 | $(SHELL) ./config.status --recheck |
479 | ||
626aaf89 DD |
480 | AUTOCONF = autoconf |
481 | configure_deps = $(srcdir)/aclocal.m4 \ | |
482 | $(srcdir)/../config/acx.m4 \ | |
483 | $(srcdir)/../config/no-executables.m4 \ | |
484 | $(srcdir)/../config/override.m4 \ | |
e495212d AM |
485 | $(srcdir)/../config/picflag.m4 \ |
486 | $(srcdir)/../config/warnings.m4 | |
626aaf89 DD |
487 | |
488 | $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(configure_deps) | |
489 | cd $(srcdir) && $(AUTOCONF) | |
490 | ||
b7d9aef1 | 491 | # Depending on config.h makes sure that config.status has been re-run |
fec50157 DD |
492 | # if needed. This prevents problems with parallel builds, in case |
493 | # subdirectories need to run config.status also. | |
0c0a36a4 | 494 | all-subdir check-subdir installcheck-subdir info-subdir \ |
bff368bd | 495 | install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir \ |
0c0a36a4 | 496 | etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \ |
b7d9aef1 | 497 | maintainer-clean-subdir: config.h |
010c70e1 | 498 | @subdirs='$(SUBDIRS)'; \ |
19be4303 | 499 | target=`echo $@ | sed -e 's/-subdir//'`; \ |
010c70e1 | 500 | for dir in $$subdirs ; do \ |
578460f2 | 501 | cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \ |
0c0a36a4 ILT |
502 | done |
503 | ||
3f48575a | 504 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir stamp-noasandir |
505 | $(CONFIGURED_OFILES): stamp-picdir stamp-noasandir | |
46a10049 | 506 | |
8ec32723 DD |
507 | # Don't export variables to the environment, in order to not confuse |
508 | # configure. | |
509 | .NOEXPORT: | |
510 | ||
cc096b71 DD |
511 | # The dependencies in the remainder of this file are automatically |
512 | # generated by "make maint-deps". Manual edits will be lost. | |
252b5132 | 513 | |
497462ef | 514 | ./_doprnt.$(objext): $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \ |
cc096b71 | 515 | $(INCDIR)/safe-ctype.h |
46a10049 DD |
516 | if [ x"$(PICFLAG)" != x ]; then \ |
517 | $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \ | |
518 | else true; fi | |
3f48575a | 519 | if [ x"$(NOASANFLAG)" != x ]; then \ |
520 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/_doprnt.c -o noasan/$@; \ | |
521 | else true; fi | |
46a10049 | 522 | $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION) |
37254c9a | 523 | |
497462ef | 524 | ./alloca.$(objext): $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \ |
b7d9aef1 | 525 | $(INCDIR)/libiberty.h |
46a10049 DD |
526 | if [ x"$(PICFLAG)" != x ]; then \ |
527 | $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \ | |
528 | else true; fi | |
3f48575a | 529 | if [ x"$(NOASANFLAG)" != x ]; then \ |
530 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/alloca.c -o noasan/$@; \ | |
531 | else true; fi | |
46a10049 | 532 | $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION) |
37254c9a | 533 | |
497462ef DD |
534 | ./argv.$(objext): $(srcdir)/argv.c config.h $(INCDIR)/ansidecl.h \ |
535 | $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h | |
46a10049 DD |
536 | if [ x"$(PICFLAG)" != x ]; then \ |
537 | $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \ | |
538 | else true; fi | |
3f48575a | 539 | if [ x"$(NOASANFLAG)" != x ]; then \ |
540 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/argv.c -o noasan/$@; \ | |
541 | else true; fi | |
46a10049 | 542 | $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION) |
37254c9a | 543 | |
497462ef | 544 | ./asprintf.$(objext): $(srcdir)/asprintf.c config.h $(INCDIR)/ansidecl.h \ |
75919f94 | 545 | $(INCDIR)/libiberty.h |
46a10049 DD |
546 | if [ x"$(PICFLAG)" != x ]; then \ |
547 | $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \ | |
548 | else true; fi | |
3f48575a | 549 | if [ x"$(NOASANFLAG)" != x ]; then \ |
550 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/asprintf.c -o noasan/$@; \ | |
551 | else true; fi | |
46a10049 | 552 | $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION) |
37254c9a | 553 | |
497462ef | 554 | ./atexit.$(objext): $(srcdir)/atexit.c config.h |
46a10049 DD |
555 | if [ x"$(PICFLAG)" != x ]; then \ |
556 | $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \ | |
557 | else true; fi | |
3f48575a | 558 | if [ x"$(NOASANFLAG)" != x ]; then \ |
559 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/atexit.c -o noasan/$@; \ | |
560 | else true; fi | |
46a10049 | 561 | $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION) |
37254c9a | 562 | |
497462ef | 563 | ./basename.$(objext): $(srcdir)/basename.c config.h $(INCDIR)/ansidecl.h \ |
75919f94 | 564 | $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h |
46a10049 DD |
565 | if [ x"$(PICFLAG)" != x ]; then \ |
566 | $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \ | |
567 | else true; fi | |
3f48575a | 568 | if [ x"$(NOASANFLAG)" != x ]; then \ |
569 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/basename.c -o noasan/$@; \ | |
570 | else true; fi | |
46a10049 | 571 | $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION) |
37254c9a | 572 | |
497462ef | 573 | ./bcmp.$(objext): $(srcdir)/bcmp.c |
46a10049 DD |
574 | if [ x"$(PICFLAG)" != x ]; then \ |
575 | $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \ | |
576 | else true; fi | |
3f48575a | 577 | if [ x"$(NOASANFLAG)" != x ]; then \ |
578 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcmp.c -o noasan/$@; \ | |
579 | else true; fi | |
46a10049 | 580 | $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION) |
37254c9a | 581 | |
497462ef | 582 | ./bcopy.$(objext): $(srcdir)/bcopy.c |
46a10049 DD |
583 | if [ x"$(PICFLAG)" != x ]; then \ |
584 | $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \ | |
585 | else true; fi | |
3f48575a | 586 | if [ x"$(NOASANFLAG)" != x ]; then \ |
587 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcopy.c -o noasan/$@; \ | |
588 | else true; fi | |
46a10049 | 589 | $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION) |
37254c9a | 590 | |
497462ef | 591 | ./bsearch.$(objext): $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h |
46a10049 DD |
592 | if [ x"$(PICFLAG)" != x ]; then \ |
593 | $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \ | |
594 | else true; fi | |
3f48575a | 595 | if [ x"$(NOASANFLAG)" != x ]; then \ |
596 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bsearch.c -o noasan/$@; \ | |
597 | else true; fi | |
46a10049 | 598 | $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION) |
37254c9a | 599 | |
497462ef | 600 | ./bzero.$(objext): $(srcdir)/bzero.c |
46a10049 DD |
601 | if [ x"$(PICFLAG)" != x ]; then \ |
602 | $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \ | |
603 | else true; fi | |
3f48575a | 604 | if [ x"$(NOASANFLAG)" != x ]; then \ |
605 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bzero.c -o noasan/$@; \ | |
606 | else true; fi | |
46a10049 | 607 | $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION) |
37254c9a | 608 | |
497462ef | 609 | ./calloc.$(objext): $(srcdir)/calloc.c $(INCDIR)/ansidecl.h |
46a10049 DD |
610 | if [ x"$(PICFLAG)" != x ]; then \ |
611 | $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \ | |
612 | else true; fi | |
3f48575a | 613 | if [ x"$(NOASANFLAG)" != x ]; then \ |
614 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/calloc.c -o noasan/$@; \ | |
615 | else true; fi | |
46a10049 | 616 | $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION) |
37254c9a | 617 | |
497462ef | 618 | ./choose-temp.$(objext): $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 619 | $(INCDIR)/libiberty.h |
46a10049 DD |
620 | if [ x"$(PICFLAG)" != x ]; then \ |
621 | $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \ | |
622 | else true; fi | |
3f48575a | 623 | if [ x"$(NOASANFLAG)" != x ]; then \ |
624 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/choose-temp.c -o noasan/$@; \ | |
625 | else true; fi | |
46a10049 | 626 | $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION) |
37254c9a | 627 | |
497462ef | 628 | ./clock.$(objext): $(srcdir)/clock.c config.h |
46a10049 DD |
629 | if [ x"$(PICFLAG)" != x ]; then \ |
630 | $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \ | |
631 | else true; fi | |
3f48575a | 632 | if [ x"$(NOASANFLAG)" != x ]; then \ |
633 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/clock.c -o noasan/$@; \ | |
634 | else true; fi | |
46a10049 | 635 | $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION) |
37254c9a | 636 | |
497462ef | 637 | ./concat.$(objext): $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \ |
b7d9aef1 | 638 | $(INCDIR)/libiberty.h |
46a10049 DD |
639 | if [ x"$(PICFLAG)" != x ]; then \ |
640 | $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \ | |
641 | else true; fi | |
3f48575a | 642 | if [ x"$(NOASANFLAG)" != x ]; then \ |
643 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/concat.c -o noasan/$@; \ | |
644 | else true; fi | |
46a10049 | 645 | $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION) |
37254c9a | 646 | |
497462ef | 647 | ./copysign.$(objext): $(srcdir)/copysign.c $(INCDIR)/ansidecl.h |
46a10049 DD |
648 | if [ x"$(PICFLAG)" != x ]; then \ |
649 | $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \ | |
650 | else true; fi | |
3f48575a | 651 | if [ x"$(NOASANFLAG)" != x ]; then \ |
652 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/copysign.c -o noasan/$@; \ | |
653 | else true; fi | |
46a10049 | 654 | $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION) |
37254c9a | 655 | |
497462ef | 656 | ./cp-demangle.$(objext): $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a DD |
657 | $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \ |
658 | $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h | |
46a10049 DD |
659 | if [ x"$(PICFLAG)" != x ]; then \ |
660 | $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \ | |
661 | else true; fi | |
3f48575a | 662 | if [ x"$(NOASANFLAG)" != x ]; then \ |
663 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demangle.c -o noasan/$@; \ | |
664 | else true; fi | |
46a10049 | 665 | $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION) |
37254c9a | 666 | |
497462ef | 667 | ./cp-demint.$(objext): $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 668 | $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \ |
cc096b71 | 669 | $(INCDIR)/libiberty.h |
46a10049 DD |
670 | if [ x"$(PICFLAG)" != x ]; then \ |
671 | $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \ | |
672 | else true; fi | |
3f48575a | 673 | if [ x"$(NOASANFLAG)" != x ]; then \ |
674 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demint.c -o noasan/$@; \ | |
675 | else true; fi | |
46a10049 | 676 | $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION) |
37254c9a | 677 | |
497462ef | 678 | ./cplus-dem.$(objext): $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a DD |
679 | $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \ |
680 | $(INCDIR)/safe-ctype.h | |
46a10049 DD |
681 | if [ x"$(PICFLAG)" != x ]; then \ |
682 | $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \ | |
683 | else true; fi | |
3f48575a | 684 | if [ x"$(NOASANFLAG)" != x ]; then \ |
685 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cplus-dem.c -o noasan/$@; \ | |
686 | else true; fi | |
46a10049 | 687 | $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION) |
37254c9a | 688 | |
497462ef DD |
689 | ./crc32.$(objext): $(srcdir)/crc32.c config.h $(INCDIR)/ansidecl.h \ |
690 | $(INCDIR)/libiberty.h | |
6e881691 DD |
691 | if [ x"$(PICFLAG)" != x ]; then \ |
692 | $(COMPILE.c) $(PICFLAG) $(srcdir)/crc32.c -o pic/$@; \ | |
693 | else true; fi | |
3f48575a | 694 | if [ x"$(NOASANFLAG)" != x ]; then \ |
695 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/crc32.c -o noasan/$@; \ | |
696 | else true; fi | |
6e881691 DD |
697 | $(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION) |
698 | ||
abdef8eb JBG |
699 | ./d-demangle.$(objext): $(srcdir)/d-demangle.c config.h $(INCDIR)/ansidecl.h \ |
700 | $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \ | |
701 | $(INCDIR)/safe-ctype.h | |
702 | if [ x"$(PICFLAG)" != x ]; then \ | |
703 | $(COMPILE.c) $(PICFLAG) $(srcdir)/d-demangle.c -o pic/$@; \ | |
704 | else true; fi | |
705 | if [ x"$(NOASANFLAG)" != x ]; then \ | |
706 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/d-demangle.c -o noasan/$@; \ | |
707 | else true; fi | |
708 | $(COMPILE.c) $(srcdir)/d-demangle.c $(OUTPUT_OPTION) | |
709 | ||
995b61fe DD |
710 | ./dwarfnames.$(objext): $(srcdir)/dwarfnames.c $(INCDIR)/dwarf2.def \ |
711 | $(INCDIR)/dwarf2.h | |
fa66ec53 DD |
712 | if [ x"$(PICFLAG)" != x ]; then \ |
713 | $(COMPILE.c) $(PICFLAG) $(srcdir)/dwarfnames.c -o pic/$@; \ | |
714 | else true; fi | |
3f48575a | 715 | if [ x"$(NOASANFLAG)" != x ]; then \ |
716 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dwarfnames.c -o noasan/$@; \ | |
717 | else true; fi | |
fa66ec53 DD |
718 | $(COMPILE.c) $(srcdir)/dwarfnames.c $(OUTPUT_OPTION) |
719 | ||
497462ef | 720 | ./dyn-string.$(objext): $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 721 | $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h |
46a10049 DD |
722 | if [ x"$(PICFLAG)" != x ]; then \ |
723 | $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \ | |
724 | else true; fi | |
3f48575a | 725 | if [ x"$(NOASANFLAG)" != x ]; then \ |
726 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dyn-string.c -o noasan/$@; \ | |
727 | else true; fi | |
46a10049 | 728 | $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION) |
37254c9a | 729 | |
497462ef | 730 | ./fdmatch.$(objext): $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \ |
75919f94 | 731 | $(INCDIR)/libiberty.h |
46a10049 DD |
732 | if [ x"$(PICFLAG)" != x ]; then \ |
733 | $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \ | |
734 | else true; fi | |
3f48575a | 735 | if [ x"$(NOASANFLAG)" != x ]; then \ |
736 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fdmatch.c -o noasan/$@; \ | |
737 | else true; fi | |
46a10049 | 738 | $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION) |
37254c9a | 739 | |
497462ef | 740 | ./ffs.$(objext): $(srcdir)/ffs.c |
46a10049 DD |
741 | if [ x"$(PICFLAG)" != x ]; then \ |
742 | $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \ | |
743 | else true; fi | |
3f48575a | 744 | if [ x"$(NOASANFLAG)" != x ]; then \ |
745 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/ffs.c -o noasan/$@; \ | |
746 | else true; fi | |
46a10049 | 747 | $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION) |
37254c9a | 748 | |
497462ef | 749 | ./fibheap.$(objext): $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \ |
b7d9aef1 | 750 | $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h |
46a10049 DD |
751 | if [ x"$(PICFLAG)" != x ]; then \ |
752 | $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \ | |
753 | else true; fi | |
3f48575a | 754 | if [ x"$(NOASANFLAG)" != x ]; then \ |
755 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fibheap.c -o noasan/$@; \ | |
756 | else true; fi | |
46a10049 | 757 | $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION) |
37254c9a | 758 | |
995b61fe DD |
759 | ./filename_cmp.$(objext): $(srcdir)/filename_cmp.c config.h $(INCDIR)/ansidecl.h \ |
760 | $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \ | |
73bdefcf | 761 | $(INCDIR)/safe-ctype.h |
9c577e89 DD |
762 | if [ x"$(PICFLAG)" != x ]; then \ |
763 | $(COMPILE.c) $(PICFLAG) $(srcdir)/filename_cmp.c -o pic/$@; \ | |
764 | else true; fi | |
3f48575a | 765 | if [ x"$(NOASANFLAG)" != x ]; then \ |
766 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/filename_cmp.c -o noasan/$@; \ | |
767 | else true; fi | |
9c577e89 DD |
768 | $(COMPILE.c) $(srcdir)/filename_cmp.c $(OUTPUT_OPTION) |
769 | ||
497462ef | 770 | ./floatformat.$(objext): $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 771 | $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h |
46a10049 DD |
772 | if [ x"$(PICFLAG)" != x ]; then \ |
773 | $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \ | |
774 | else true; fi | |
3f48575a | 775 | if [ x"$(NOASANFLAG)" != x ]; then \ |
776 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/floatformat.c -o noasan/$@; \ | |
777 | else true; fi | |
46a10049 | 778 | $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION) |
37254c9a | 779 | |
497462ef | 780 | ./fnmatch.$(objext): $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \ |
37254c9a | 781 | $(INCDIR)/safe-ctype.h |
46a10049 DD |
782 | if [ x"$(PICFLAG)" != x ]; then \ |
783 | $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \ | |
784 | else true; fi | |
3f48575a | 785 | if [ x"$(NOASANFLAG)" != x ]; then \ |
786 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fnmatch.c -o noasan/$@; \ | |
787 | else true; fi | |
46a10049 | 788 | $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION) |
37254c9a | 789 | |
497462ef DD |
790 | ./fopen_unlocked.$(objext): $(srcdir)/fopen_unlocked.c config.h \ |
791 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
ac119ae8 DD |
792 | if [ x"$(PICFLAG)" != x ]; then \ |
793 | $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \ | |
794 | else true; fi | |
3f48575a | 795 | if [ x"$(NOASANFLAG)" != x ]; then \ |
796 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fopen_unlocked.c -o noasan/$@; \ | |
797 | else true; fi | |
ac119ae8 DD |
798 | $(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION) |
799 | ||
497462ef | 800 | ./getcwd.$(objext): $(srcdir)/getcwd.c config.h |
46a10049 DD |
801 | if [ x"$(PICFLAG)" != x ]; then \ |
802 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \ | |
803 | else true; fi | |
3f48575a | 804 | if [ x"$(NOASANFLAG)" != x ]; then \ |
805 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getcwd.c -o noasan/$@; \ | |
806 | else true; fi | |
46a10049 | 807 | $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION) |
37254c9a | 808 | |
497462ef DD |
809 | ./getopt.$(objext): $(srcdir)/getopt.c config.h $(INCDIR)/ansidecl.h \ |
810 | $(INCDIR)/getopt.h | |
46a10049 DD |
811 | if [ x"$(PICFLAG)" != x ]; then \ |
812 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \ | |
813 | else true; fi | |
3f48575a | 814 | if [ x"$(NOASANFLAG)" != x ]; then \ |
815 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt.c -o noasan/$@; \ | |
816 | else true; fi | |
46a10049 | 817 | $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION) |
37254c9a | 818 | |
497462ef | 819 | ./getopt1.$(objext): $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h |
46a10049 DD |
820 | if [ x"$(PICFLAG)" != x ]; then \ |
821 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \ | |
822 | else true; fi | |
3f48575a | 823 | if [ x"$(NOASANFLAG)" != x ]; then \ |
824 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt1.c -o noasan/$@; \ | |
825 | else true; fi | |
46a10049 | 826 | $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION) |
37254c9a | 827 | |
497462ef | 828 | ./getpagesize.$(objext): $(srcdir)/getpagesize.c config.h |
46a10049 DD |
829 | if [ x"$(PICFLAG)" != x ]; then \ |
830 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \ | |
831 | else true; fi | |
3f48575a | 832 | if [ x"$(NOASANFLAG)" != x ]; then \ |
833 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpagesize.c -o noasan/$@; \ | |
834 | else true; fi | |
46a10049 | 835 | $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION) |
37254c9a | 836 | |
497462ef | 837 | ./getpwd.$(objext): $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \ |
b7d9aef1 | 838 | $(INCDIR)/libiberty.h |
46a10049 DD |
839 | if [ x"$(PICFLAG)" != x ]; then \ |
840 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \ | |
841 | else true; fi | |
3f48575a | 842 | if [ x"$(NOASANFLAG)" != x ]; then \ |
843 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpwd.c -o noasan/$@; \ | |
844 | else true; fi | |
46a10049 | 845 | $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION) |
37254c9a | 846 | |
497462ef | 847 | ./getruntime.$(objext): $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \ |
cc096b71 | 848 | $(INCDIR)/libiberty.h |
46a10049 DD |
849 | if [ x"$(PICFLAG)" != x ]; then \ |
850 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \ | |
851 | else true; fi | |
3f48575a | 852 | if [ x"$(NOASANFLAG)" != x ]; then \ |
853 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getruntime.c -o noasan/$@; \ | |
854 | else true; fi | |
46a10049 | 855 | $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION) |
37254c9a | 856 | |
497462ef | 857 | ./gettimeofday.$(objext): $(srcdir)/gettimeofday.c config.h $(INCDIR)/ansidecl.h \ |
8ec32723 DD |
858 | $(INCDIR)/libiberty.h |
859 | if [ x"$(PICFLAG)" != x ]; then \ | |
860 | $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \ | |
861 | else true; fi | |
3f48575a | 862 | if [ x"$(NOASANFLAG)" != x ]; then \ |
863 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/gettimeofday.c -o noasan/$@; \ | |
864 | else true; fi | |
8ec32723 DD |
865 | $(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION) |
866 | ||
497462ef | 867 | ./hashtab.$(objext): $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \ |
b7d9aef1 | 868 | $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h |
46a10049 DD |
869 | if [ x"$(PICFLAG)" != x ]; then \ |
870 | $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \ | |
871 | else true; fi | |
3f48575a | 872 | if [ x"$(NOASANFLAG)" != x ]; then \ |
873 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hashtab.c -o noasan/$@; \ | |
874 | else true; fi | |
46a10049 | 875 | $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION) |
37254c9a | 876 | |
497462ef DD |
877 | ./hex.$(objext): $(srcdir)/hex.c config.h $(INCDIR)/ansidecl.h \ |
878 | $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h | |
46a10049 DD |
879 | if [ x"$(PICFLAG)" != x ]; then \ |
880 | $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \ | |
881 | else true; fi | |
3f48575a | 882 | if [ x"$(NOASANFLAG)" != x ]; then \ |
883 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hex.c -o noasan/$@; \ | |
884 | else true; fi | |
46a10049 | 885 | $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION) |
37254c9a | 886 | |
497462ef | 887 | ./index.$(objext): $(srcdir)/index.c |
46a10049 DD |
888 | if [ x"$(PICFLAG)" != x ]; then \ |
889 | $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \ | |
890 | else true; fi | |
3f48575a | 891 | if [ x"$(NOASANFLAG)" != x ]; then \ |
892 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/index.c -o noasan/$@; \ | |
893 | else true; fi | |
46a10049 | 894 | $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION) |
37254c9a | 895 | |
497462ef | 896 | ./insque.$(objext): $(srcdir)/insque.c |
46a10049 DD |
897 | if [ x"$(PICFLAG)" != x ]; then \ |
898 | $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \ | |
899 | else true; fi | |
3f48575a | 900 | if [ x"$(NOASANFLAG)" != x ]; then \ |
901 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/insque.c -o noasan/$@; \ | |
902 | else true; fi | |
46a10049 | 903 | $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION) |
37254c9a | 904 | |
497462ef | 905 | ./lbasename.$(objext): $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \ |
995b61fe | 906 | $(INCDIR)/filenames.h $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h \ |
497462ef | 907 | $(INCDIR)/safe-ctype.h |
46a10049 DD |
908 | if [ x"$(PICFLAG)" != x ]; then \ |
909 | $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \ | |
910 | else true; fi | |
3f48575a | 911 | if [ x"$(NOASANFLAG)" != x ]; then \ |
912 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lbasename.c -o noasan/$@; \ | |
913 | else true; fi | |
46a10049 | 914 | $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION) |
37254c9a | 915 | |
497462ef | 916 | ./lrealpath.$(objext): $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 917 | $(INCDIR)/libiberty.h |
46a10049 DD |
918 | if [ x"$(PICFLAG)" != x ]; then \ |
919 | $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \ | |
920 | else true; fi | |
3f48575a | 921 | if [ x"$(NOASANFLAG)" != x ]; then \ |
922 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lrealpath.c -o noasan/$@; \ | |
923 | else true; fi | |
46a10049 | 924 | $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION) |
37254c9a | 925 | |
497462ef | 926 | ./make-relative-prefix.$(objext): $(srcdir)/make-relative-prefix.c config.h \ |
37254c9a | 927 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
46a10049 DD |
928 | if [ x"$(PICFLAG)" != x ]; then \ |
929 | $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \ | |
930 | else true; fi | |
3f48575a | 931 | if [ x"$(NOASANFLAG)" != x ]; then \ |
932 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-relative-prefix.c -o noasan/$@; \ | |
933 | else true; fi | |
46a10049 | 934 | $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION) |
37254c9a | 935 | |
497462ef DD |
936 | ./make-temp-file.$(objext): $(srcdir)/make-temp-file.c config.h \ |
937 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
46a10049 DD |
938 | if [ x"$(PICFLAG)" != x ]; then \ |
939 | $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \ | |
940 | else true; fi | |
3f48575a | 941 | if [ x"$(NOASANFLAG)" != x ]; then \ |
942 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-temp-file.c -o noasan/$@; \ | |
943 | else true; fi | |
46a10049 | 944 | $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION) |
37254c9a | 945 | |
497462ef | 946 | ./md5.$(objext): $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h |
46a10049 DD |
947 | if [ x"$(PICFLAG)" != x ]; then \ |
948 | $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \ | |
949 | else true; fi | |
3f48575a | 950 | if [ x"$(NOASANFLAG)" != x ]; then \ |
951 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/md5.c -o noasan/$@; \ | |
952 | else true; fi | |
46a10049 | 953 | $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION) |
37254c9a | 954 | |
497462ef | 955 | ./memchr.$(objext): $(srcdir)/memchr.c $(INCDIR)/ansidecl.h |
46a10049 DD |
956 | if [ x"$(PICFLAG)" != x ]; then \ |
957 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \ | |
958 | else true; fi | |
3f48575a | 959 | if [ x"$(NOASANFLAG)" != x ]; then \ |
960 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memchr.c -o noasan/$@; \ | |
961 | else true; fi | |
46a10049 | 962 | $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION) |
37254c9a | 963 | |
497462ef | 964 | ./memcmp.$(objext): $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h |
46a10049 DD |
965 | if [ x"$(PICFLAG)" != x ]; then \ |
966 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \ | |
967 | else true; fi | |
3f48575a | 968 | if [ x"$(NOASANFLAG)" != x ]; then \ |
969 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcmp.c -o noasan/$@; \ | |
970 | else true; fi | |
46a10049 | 971 | $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION) |
37254c9a | 972 | |
497462ef | 973 | ./memcpy.$(objext): $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h |
46a10049 DD |
974 | if [ x"$(PICFLAG)" != x ]; then \ |
975 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \ | |
976 | else true; fi | |
3f48575a | 977 | if [ x"$(NOASANFLAG)" != x ]; then \ |
978 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcpy.c -o noasan/$@; \ | |
979 | else true; fi | |
46a10049 | 980 | $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION) |
37254c9a | 981 | |
497462ef | 982 | ./memmem.$(objext): $(srcdir)/memmem.c config.h |
10e1b6bb DD |
983 | if [ x"$(PICFLAG)" != x ]; then \ |
984 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memmem.c -o pic/$@; \ | |
985 | else true; fi | |
3f48575a | 986 | if [ x"$(NOASANFLAG)" != x ]; then \ |
987 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmem.c -o noasan/$@; \ | |
988 | else true; fi | |
10e1b6bb DD |
989 | $(COMPILE.c) $(srcdir)/memmem.c $(OUTPUT_OPTION) |
990 | ||
497462ef | 991 | ./memmove.$(objext): $(srcdir)/memmove.c $(INCDIR)/ansidecl.h |
46a10049 DD |
992 | if [ x"$(PICFLAG)" != x ]; then \ |
993 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \ | |
994 | else true; fi | |
3f48575a | 995 | if [ x"$(NOASANFLAG)" != x ]; then \ |
996 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmove.c -o noasan/$@; \ | |
997 | else true; fi | |
46a10049 | 998 | $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION) |
37254c9a | 999 | |
497462ef | 1000 | ./mempcpy.$(objext): $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1001 | if [ x"$(PICFLAG)" != x ]; then \ |
1002 | $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \ | |
1003 | else true; fi | |
3f48575a | 1004 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1005 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mempcpy.c -o noasan/$@; \ | |
1006 | else true; fi | |
46a10049 | 1007 | $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION) |
37254c9a | 1008 | |
497462ef | 1009 | ./memset.$(objext): $(srcdir)/memset.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1010 | if [ x"$(PICFLAG)" != x ]; then \ |
1011 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \ | |
1012 | else true; fi | |
3f48575a | 1013 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1014 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memset.c -o noasan/$@; \ | |
1015 | else true; fi | |
46a10049 | 1016 | $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION) |
37254c9a | 1017 | |
497462ef | 1018 | ./mkstemps.$(objext): $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h |
46a10049 DD |
1019 | if [ x"$(PICFLAG)" != x ]; then \ |
1020 | $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \ | |
1021 | else true; fi | |
3f48575a | 1022 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1023 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mkstemps.c -o noasan/$@; \ | |
1024 | else true; fi | |
46a10049 | 1025 | $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION) |
37254c9a | 1026 | |
497462ef | 1027 | ./msdos.$(objext): $(srcdir)/msdos.c |
46a10049 DD |
1028 | if [ x"$(PICFLAG)" != x ]; then \ |
1029 | $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \ | |
1030 | else true; fi | |
3f48575a | 1031 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1032 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/msdos.c -o noasan/$@; \ | |
1033 | else true; fi | |
46a10049 | 1034 | $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION) |
37254c9a | 1035 | |
497462ef | 1036 | ./objalloc.$(objext): $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1037 | $(INCDIR)/objalloc.h |
46a10049 DD |
1038 | if [ x"$(PICFLAG)" != x ]; then \ |
1039 | $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \ | |
1040 | else true; fi | |
3f48575a | 1041 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1042 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/objalloc.c -o noasan/$@; \ | |
1043 | else true; fi | |
46a10049 | 1044 | $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION) |
37254c9a | 1045 | |
497462ef | 1046 | ./obstack.$(objext): $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h |
46a10049 DD |
1047 | if [ x"$(PICFLAG)" != x ]; then \ |
1048 | $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \ | |
1049 | else true; fi | |
3f48575a | 1050 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1051 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/obstack.c -o noasan/$@; \ | |
1052 | else true; fi | |
46a10049 | 1053 | $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION) |
37254c9a | 1054 | |
497462ef | 1055 | ./partition.$(objext): $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1056 | $(INCDIR)/libiberty.h $(INCDIR)/partition.h |
46a10049 DD |
1057 | if [ x"$(PICFLAG)" != x ]; then \ |
1058 | $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \ | |
1059 | else true; fi | |
3f48575a | 1060 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1061 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/partition.c -o noasan/$@; \ | |
1062 | else true; fi | |
46a10049 | 1063 | $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION) |
37254c9a | 1064 | |
497462ef | 1065 | ./pex-common.$(objext): $(srcdir)/pex-common.c config.h $(INCDIR)/ansidecl.h \ |
b109e79a ILT |
1066 | $(INCDIR)/libiberty.h $(srcdir)/pex-common.h |
1067 | if [ x"$(PICFLAG)" != x ]; then \ | |
1068 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-common.c -o pic/$@; \ | |
1069 | else true; fi | |
3f48575a | 1070 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1071 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-common.c -o noasan/$@; \ | |
1072 | else true; fi | |
b109e79a ILT |
1073 | $(COMPILE.c) $(srcdir)/pex-common.c $(OUTPUT_OPTION) |
1074 | ||
497462ef | 1075 | ./pex-djgpp.$(objext): $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1076 | $(INCDIR)/libiberty.h $(srcdir)/pex-common.h |
46a10049 DD |
1077 | if [ x"$(PICFLAG)" != x ]; then \ |
1078 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \ | |
1079 | else true; fi | |
3f48575a | 1080 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1081 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-djgpp.c -o noasan/$@; \ | |
1082 | else true; fi | |
46a10049 | 1083 | $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION) |
37254c9a | 1084 | |
497462ef | 1085 | ./pex-msdos.$(objext): $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a DD |
1086 | $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \ |
1087 | $(INCDIR)/safe-ctype.h | |
46a10049 DD |
1088 | if [ x"$(PICFLAG)" != x ]; then \ |
1089 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \ | |
1090 | else true; fi | |
3f48575a | 1091 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1092 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-msdos.c -o noasan/$@; \ | |
1093 | else true; fi | |
46a10049 | 1094 | $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION) |
37254c9a | 1095 | |
497462ef | 1096 | ./pex-one.$(objext): $(srcdir)/pex-one.c config.h $(INCDIR)/ansidecl.h \ |
b109e79a ILT |
1097 | $(INCDIR)/libiberty.h |
1098 | if [ x"$(PICFLAG)" != x ]; then \ | |
1099 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-one.c -o pic/$@; \ | |
1100 | else true; fi | |
3f48575a | 1101 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1102 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-one.c -o noasan/$@; \ | |
1103 | else true; fi | |
b109e79a ILT |
1104 | $(COMPILE.c) $(srcdir)/pex-one.c $(OUTPUT_OPTION) |
1105 | ||
497462ef | 1106 | ./pex-unix.$(objext): $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1107 | $(INCDIR)/libiberty.h $(srcdir)/pex-common.h |
46a10049 DD |
1108 | if [ x"$(PICFLAG)" != x ]; then \ |
1109 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \ | |
1110 | else true; fi | |
3f48575a | 1111 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1112 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-unix.c -o noasan/$@; \ | |
1113 | else true; fi | |
46a10049 | 1114 | $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION) |
37254c9a | 1115 | |
497462ef | 1116 | ./pex-win32.$(objext): $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1117 | $(INCDIR)/libiberty.h $(srcdir)/pex-common.h |
46a10049 DD |
1118 | if [ x"$(PICFLAG)" != x ]; then \ |
1119 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \ | |
1120 | else true; fi | |
3f48575a | 1121 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1122 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-win32.c -o noasan/$@; \ | |
1123 | else true; fi | |
46a10049 | 1124 | $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION) |
37254c9a | 1125 | |
497462ef | 1126 | ./pexecute.$(objext): $(srcdir)/pexecute.c config.h $(INCDIR)/ansidecl.h \ |
b109e79a ILT |
1127 | $(INCDIR)/libiberty.h |
1128 | if [ x"$(PICFLAG)" != x ]; then \ | |
1129 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pexecute.c -o pic/$@; \ | |
1130 | else true; fi | |
3f48575a | 1131 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1132 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pexecute.c -o noasan/$@; \ | |
1133 | else true; fi | |
b109e79a ILT |
1134 | $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION) |
1135 | ||
497462ef | 1136 | ./physmem.$(objext): $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1137 | $(INCDIR)/libiberty.h |
46a10049 DD |
1138 | if [ x"$(PICFLAG)" != x ]; then \ |
1139 | $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \ | |
1140 | else true; fi | |
3f48575a | 1141 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1142 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/physmem.c -o noasan/$@; \ | |
1143 | else true; fi | |
46a10049 | 1144 | $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION) |
37254c9a | 1145 | |
497462ef | 1146 | ./putenv.$(objext): $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h |
46a10049 DD |
1147 | if [ x"$(PICFLAG)" != x ]; then \ |
1148 | $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \ | |
1149 | else true; fi | |
3f48575a | 1150 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1151 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/putenv.c -o noasan/$@; \ | |
1152 | else true; fi | |
46a10049 | 1153 | $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION) |
37254c9a | 1154 | |
497462ef | 1155 | ./random.$(objext): $(srcdir)/random.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1156 | if [ x"$(PICFLAG)" != x ]; then \ |
1157 | $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \ | |
1158 | else true; fi | |
3f48575a | 1159 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1160 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/random.c -o noasan/$@; \ | |
1161 | else true; fi | |
46a10049 | 1162 | $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION) |
37254c9a | 1163 | |
497462ef DD |
1164 | ./regex.$(objext): $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h \ |
1165 | $(INCDIR)/xregex.h $(INCDIR)/xregex2.h | |
46a10049 DD |
1166 | if [ x"$(PICFLAG)" != x ]; then \ |
1167 | $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \ | |
1168 | else true; fi | |
3f48575a | 1169 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1170 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/regex.c -o noasan/$@; \ | |
1171 | else true; fi | |
46a10049 | 1172 | $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION) |
37254c9a | 1173 | |
497462ef | 1174 | ./rename.$(objext): $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h |
46a10049 DD |
1175 | if [ x"$(PICFLAG)" != x ]; then \ |
1176 | $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \ | |
1177 | else true; fi | |
3f48575a | 1178 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1179 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rename.c -o noasan/$@; \ | |
1180 | else true; fi | |
46a10049 | 1181 | $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION) |
37254c9a | 1182 | |
497462ef | 1183 | ./rindex.$(objext): $(srcdir)/rindex.c |
46a10049 DD |
1184 | if [ x"$(PICFLAG)" != x ]; then \ |
1185 | $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \ | |
1186 | else true; fi | |
3f48575a | 1187 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1188 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rindex.c -o noasan/$@; \ | |
1189 | else true; fi | |
46a10049 | 1190 | $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION) |
37254c9a | 1191 | |
535aade6 DT |
1192 | ./rust-demangle.$(objext): $(srcdir)/rust-demangle.c config.h \ |
1193 | $(INCDIR)/ansidecl.h $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \ | |
1194 | $(INCDIR)/safe-ctype.h | |
1195 | if [ x"$(PICFLAG)" != x ]; then \ | |
1196 | $(COMPILE.c) $(PICFLAG) $(srcdir)/rust-demangle.c -o pic/$@; \ | |
1197 | else true; fi | |
1198 | if [ x"$(NOASANFLAG)" != x ]; then \ | |
1199 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rust-demangle.c -o noasan/$@; \ | |
1200 | else true; fi | |
1201 | $(COMPILE.c) $(srcdir)/rust-demangle.c $(OUTPUT_OPTION) | |
1202 | ||
497462ef | 1203 | ./safe-ctype.$(objext): $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \ |
37254c9a | 1204 | $(INCDIR)/safe-ctype.h |
46a10049 DD |
1205 | if [ x"$(PICFLAG)" != x ]; then \ |
1206 | $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \ | |
1207 | else true; fi | |
3f48575a | 1208 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1209 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/safe-ctype.c -o noasan/$@; \ | |
1210 | else true; fi | |
46a10049 | 1211 | $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION) |
37254c9a | 1212 | |
497462ef | 1213 | ./setenv.$(objext): $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h |
46a10049 DD |
1214 | if [ x"$(PICFLAG)" != x ]; then \ |
1215 | $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \ | |
1216 | else true; fi | |
3f48575a | 1217 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1218 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setenv.c -o noasan/$@; \ | |
1219 | else true; fi | |
46a10049 | 1220 | $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION) |
37254c9a | 1221 | |
9711ae4d DD |
1222 | ./setproctitle.$(objext): $(srcdir)/setproctitle.c config.h $(INCDIR)/ansidecl.h |
1223 | if [ x"$(PICFLAG)" != x ]; then \ | |
1224 | $(COMPILE.c) $(PICFLAG) $(srcdir)/setproctitle.c -o pic/$@; \ | |
1225 | else true; fi | |
3f48575a | 1226 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1227 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setproctitle.c -o noasan/$@; \ | |
1228 | else true; fi | |
9711ae4d DD |
1229 | $(COMPILE.c) $(srcdir)/setproctitle.c $(OUTPUT_OPTION) |
1230 | ||
497462ef | 1231 | ./sha1.$(objext): $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h |
b68965a0 DD |
1232 | if [ x"$(PICFLAG)" != x ]; then \ |
1233 | $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \ | |
1234 | else true; fi | |
3f48575a | 1235 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1236 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sha1.c -o noasan/$@; \ | |
1237 | else true; fi | |
b68965a0 DD |
1238 | $(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION) |
1239 | ||
497462ef | 1240 | ./sigsetmask.$(objext): $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1241 | if [ x"$(PICFLAG)" != x ]; then \ |
1242 | $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \ | |
1243 | else true; fi | |
3f48575a | 1244 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1245 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sigsetmask.c -o noasan/$@; \ | |
1246 | else true; fi | |
46a10049 | 1247 | $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION) |
37254c9a | 1248 | |
ffa54e5c DD |
1249 | ./simple-object-coff.$(objext): $(srcdir)/simple-object-coff.c config.h \ |
1250 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ | |
1251 | $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h | |
1252 | if [ x"$(PICFLAG)" != x ]; then \ | |
1253 | $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-coff.c -o pic/$@; \ | |
1254 | else true; fi | |
3f48575a | 1255 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1256 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-coff.c -o noasan/$@; \ | |
1257 | else true; fi | |
ffa54e5c DD |
1258 | $(COMPILE.c) $(srcdir)/simple-object-coff.c $(OUTPUT_OPTION) |
1259 | ||
1260 | ./simple-object-elf.$(objext): $(srcdir)/simple-object-elf.c config.h \ | |
1261 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ | |
1262 | $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h | |
1263 | if [ x"$(PICFLAG)" != x ]; then \ | |
1264 | $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-elf.c -o pic/$@; \ | |
1265 | else true; fi | |
3f48575a | 1266 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1267 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-elf.c -o noasan/$@; \ | |
1268 | else true; fi | |
ffa54e5c DD |
1269 | $(COMPILE.c) $(srcdir)/simple-object-elf.c $(OUTPUT_OPTION) |
1270 | ||
1271 | ./simple-object-mach-o.$(objext): $(srcdir)/simple-object-mach-o.c config.h \ | |
1272 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ | |
1273 | $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h | |
1274 | if [ x"$(PICFLAG)" != x ]; then \ | |
1275 | $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-mach-o.c -o pic/$@; \ | |
1276 | else true; fi | |
3f48575a | 1277 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1278 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-mach-o.c -o noasan/$@; \ | |
1279 | else true; fi | |
ffa54e5c DD |
1280 | $(COMPILE.c) $(srcdir)/simple-object-mach-o.c $(OUTPUT_OPTION) |
1281 | ||
07a8e9f0 DD |
1282 | ./simple-object-xcoff.$(objext): $(srcdir)/simple-object-xcoff.c config.h \ |
1283 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ | |
1284 | $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h | |
1285 | if [ x"$(PICFLAG)" != x ]; then \ | |
1286 | $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-xcoff.c -o pic/$@; \ | |
1287 | else true; fi | |
3f48575a | 1288 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1289 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-xcoff.c -o noasan/$@; \ | |
1290 | else true; fi | |
07a8e9f0 DD |
1291 | $(COMPILE.c) $(srcdir)/simple-object-xcoff.c $(OUTPUT_OPTION) |
1292 | ||
ffa54e5c DD |
1293 | ./simple-object.$(objext): $(srcdir)/simple-object.c config.h \ |
1294 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ | |
1295 | $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h | |
1296 | if [ x"$(PICFLAG)" != x ]; then \ | |
1297 | $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object.c -o pic/$@; \ | |
1298 | else true; fi | |
3f48575a | 1299 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1300 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object.c -o noasan/$@; \ | |
1301 | else true; fi | |
ffa54e5c DD |
1302 | $(COMPILE.c) $(srcdir)/simple-object.c $(OUTPUT_OPTION) |
1303 | ||
497462ef | 1304 | ./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1305 | if [ x"$(PICFLAG)" != x ]; then \ |
1306 | $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \ | |
1307 | else true; fi | |
3f48575a | 1308 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1309 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/snprintf.c -o noasan/$@; \ | |
1310 | else true; fi | |
46a10049 | 1311 | $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION) |
37254c9a | 1312 | |
497462ef DD |
1313 | ./sort.$(objext): $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h \ |
1314 | $(INCDIR)/libiberty.h $(INCDIR)/sort.h | |
46a10049 DD |
1315 | if [ x"$(PICFLAG)" != x ]; then \ |
1316 | $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \ | |
1317 | else true; fi | |
3f48575a | 1318 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1319 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sort.c -o noasan/$@; \ | |
1320 | else true; fi | |
46a10049 | 1321 | $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION) |
37254c9a | 1322 | |
497462ef | 1323 | ./spaces.$(objext): $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \ |
b7d9aef1 | 1324 | $(INCDIR)/libiberty.h |
46a10049 DD |
1325 | if [ x"$(PICFLAG)" != x ]; then \ |
1326 | $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \ | |
1327 | else true; fi | |
3f48575a | 1328 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1329 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/spaces.c -o noasan/$@; \ | |
1330 | else true; fi | |
46a10049 | 1331 | $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION) |
37254c9a | 1332 | |
497462ef | 1333 | ./splay-tree.$(objext): $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1334 | $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h |
46a10049 DD |
1335 | if [ x"$(PICFLAG)" != x ]; then \ |
1336 | $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \ | |
1337 | else true; fi | |
3f48575a | 1338 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1339 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/splay-tree.c -o noasan/$@; \ | |
1340 | else true; fi | |
46a10049 | 1341 | $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION) |
37254c9a | 1342 | |
995b61fe | 1343 | ./stack-limit.$(objext): $(srcdir)/stack-limit.c config.h $(INCDIR)/ansidecl.h |
26ac1280 DD |
1344 | if [ x"$(PICFLAG)" != x ]; then \ |
1345 | $(COMPILE.c) $(PICFLAG) $(srcdir)/stack-limit.c -o pic/$@; \ | |
1346 | else true; fi | |
3f48575a | 1347 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1348 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stack-limit.c -o noasan/$@; \ | |
1349 | else true; fi | |
26ac1280 DD |
1350 | $(COMPILE.c) $(srcdir)/stack-limit.c $(OUTPUT_OPTION) |
1351 | ||
497462ef | 1352 | ./stpcpy.$(objext): $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1353 | if [ x"$(PICFLAG)" != x ]; then \ |
1354 | $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \ | |
1355 | else true; fi | |
3f48575a | 1356 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1357 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpcpy.c -o noasan/$@; \ | |
1358 | else true; fi | |
46a10049 | 1359 | $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION) |
37254c9a | 1360 | |
497462ef | 1361 | ./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1362 | if [ x"$(PICFLAG)" != x ]; then \ |
1363 | $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \ | |
1364 | else true; fi | |
3f48575a | 1365 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1366 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpncpy.c -o noasan/$@; \ | |
1367 | else true; fi | |
46a10049 | 1368 | $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION) |
37254c9a | 1369 | |
497462ef | 1370 | ./strcasecmp.$(objext): $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1371 | if [ x"$(PICFLAG)" != x ]; then \ |
1372 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \ | |
1373 | else true; fi | |
3f48575a | 1374 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1375 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strcasecmp.c -o noasan/$@; \ | |
1376 | else true; fi | |
46a10049 | 1377 | $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION) |
37254c9a | 1378 | |
497462ef | 1379 | ./strchr.$(objext): $(srcdir)/strchr.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1380 | if [ x"$(PICFLAG)" != x ]; then \ |
1381 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \ | |
1382 | else true; fi | |
3f48575a | 1383 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1384 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strchr.c -o noasan/$@; \ | |
1385 | else true; fi | |
46a10049 | 1386 | $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION) |
37254c9a | 1387 | |
497462ef | 1388 | ./strdup.$(objext): $(srcdir)/strdup.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1389 | if [ x"$(PICFLAG)" != x ]; then \ |
1390 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \ | |
1391 | else true; fi | |
3f48575a | 1392 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1393 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strdup.c -o noasan/$@; \ | |
1394 | else true; fi | |
46a10049 | 1395 | $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION) |
37254c9a | 1396 | |
497462ef | 1397 | ./strerror.$(objext): $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1398 | $(INCDIR)/libiberty.h |
46a10049 DD |
1399 | if [ x"$(PICFLAG)" != x ]; then \ |
1400 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \ | |
1401 | else true; fi | |
3f48575a | 1402 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1403 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strerror.c -o noasan/$@; \ | |
1404 | else true; fi | |
46a10049 | 1405 | $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION) |
37254c9a | 1406 | |
497462ef | 1407 | ./strncasecmp.$(objext): $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1408 | if [ x"$(PICFLAG)" != x ]; then \ |
1409 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \ | |
1410 | else true; fi | |
3f48575a | 1411 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1412 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncasecmp.c -o noasan/$@; \ | |
1413 | else true; fi | |
46a10049 | 1414 | $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION) |
37254c9a | 1415 | |
497462ef | 1416 | ./strncmp.$(objext): $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1417 | if [ x"$(PICFLAG)" != x ]; then \ |
1418 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \ | |
1419 | else true; fi | |
3f48575a | 1420 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1421 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncmp.c -o noasan/$@; \ | |
1422 | else true; fi | |
46a10049 | 1423 | $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION) |
37254c9a | 1424 | |
497462ef | 1425 | ./strndup.$(objext): $(srcdir)/strndup.c $(INCDIR)/ansidecl.h |
0fad4bdb DD |
1426 | if [ x"$(PICFLAG)" != x ]; then \ |
1427 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \ | |
1428 | else true; fi | |
3f48575a | 1429 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1430 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strndup.c -o noasan/$@; \ | |
1431 | else true; fi | |
0fad4bdb DD |
1432 | $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION) |
1433 | ||
995b61fe DD |
1434 | ./strnlen.$(objext): $(srcdir)/strnlen.c config.h |
1435 | if [ x"$(PICFLAG)" != x ]; then \ | |
1436 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strnlen.c -o pic/$@; \ | |
1437 | else true; fi | |
3f48575a | 1438 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1439 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strnlen.c -o noasan/$@; \ | |
1440 | else true; fi | |
995b61fe DD |
1441 | $(COMPILE.c) $(srcdir)/strnlen.c $(OUTPUT_OPTION) |
1442 | ||
497462ef | 1443 | ./strrchr.$(objext): $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1444 | if [ x"$(PICFLAG)" != x ]; then \ |
1445 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \ | |
1446 | else true; fi | |
3f48575a | 1447 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1448 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strrchr.c -o noasan/$@; \ | |
1449 | else true; fi | |
46a10049 | 1450 | $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION) |
37254c9a | 1451 | |
497462ef | 1452 | ./strsignal.$(objext): $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1453 | $(INCDIR)/libiberty.h |
46a10049 DD |
1454 | if [ x"$(PICFLAG)" != x ]; then \ |
1455 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \ | |
1456 | else true; fi | |
3f48575a | 1457 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1458 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strsignal.c -o noasan/$@; \ | |
1459 | else true; fi | |
46a10049 | 1460 | $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION) |
37254c9a | 1461 | |
497462ef | 1462 | ./strstr.$(objext): $(srcdir)/strstr.c |
46a10049 DD |
1463 | if [ x"$(PICFLAG)" != x ]; then \ |
1464 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \ | |
1465 | else true; fi | |
3f48575a | 1466 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1467 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strstr.c -o noasan/$@; \ | |
1468 | else true; fi | |
46a10049 | 1469 | $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION) |
37254c9a | 1470 | |
497462ef DD |
1471 | ./strtod.$(objext): $(srcdir)/strtod.c $(INCDIR)/ansidecl.h \ |
1472 | $(INCDIR)/safe-ctype.h | |
46a10049 DD |
1473 | if [ x"$(PICFLAG)" != x ]; then \ |
1474 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \ | |
1475 | else true; fi | |
3f48575a | 1476 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1477 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtod.c -o noasan/$@; \ | |
1478 | else true; fi | |
46a10049 | 1479 | $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION) |
37254c9a | 1480 | |
497462ef | 1481 | ./strtol.$(objext): $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h |
46a10049 DD |
1482 | if [ x"$(PICFLAG)" != x ]; then \ |
1483 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \ | |
1484 | else true; fi | |
3f48575a | 1485 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1486 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtol.c -o noasan/$@; \ | |
1487 | else true; fi | |
46a10049 | 1488 | $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION) |
37254c9a | 1489 | |
abdef8eb JBG |
1490 | ./strtoll.$(objext): $(srcdir)/strtoll.c config.h $(INCDIR)/safe-ctype.h |
1491 | if [ x"$(PICFLAG)" != x ]; then \ | |
1492 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoll.c -o pic/$@; \ | |
1493 | else true; fi | |
1494 | if [ x"$(NOASANFLAG)" != x ]; then \ | |
1495 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoll.c -o noasan/$@; \ | |
1496 | else true; fi | |
1497 | $(COMPILE.c) $(srcdir)/strtoll.c $(OUTPUT_OPTION) | |
1498 | ||
497462ef | 1499 | ./strtoul.$(objext): $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1500 | $(INCDIR)/safe-ctype.h |
46a10049 DD |
1501 | if [ x"$(PICFLAG)" != x ]; then \ |
1502 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \ | |
1503 | else true; fi | |
3f48575a | 1504 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1505 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoul.c -o noasan/$@; \ | |
1506 | else true; fi | |
46a10049 | 1507 | $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION) |
37254c9a | 1508 | |
abdef8eb JBG |
1509 | ./strtoull.$(objext): $(srcdir)/strtoull.c config.h $(INCDIR)/ansidecl.h \ |
1510 | $(INCDIR)/safe-ctype.h | |
1511 | if [ x"$(PICFLAG)" != x ]; then \ | |
1512 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoull.c -o pic/$@; \ | |
1513 | else true; fi | |
1514 | if [ x"$(NOASANFLAG)" != x ]; then \ | |
1515 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoull.c -o noasan/$@; \ | |
1516 | else true; fi | |
1517 | $(COMPILE.c) $(srcdir)/strtoull.c $(OUTPUT_OPTION) | |
1518 | ||
497462ef DD |
1519 | ./strverscmp.$(objext): $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h \ |
1520 | $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h | |
67f3cb05 GK |
1521 | if [ x"$(PICFLAG)" != x ]; then \ |
1522 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \ | |
1523 | else true; fi | |
3f48575a | 1524 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1525 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strverscmp.c -o noasan/$@; \ | |
1526 | else true; fi | |
67f3cb05 GK |
1527 | $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION) |
1528 | ||
cf185ad7 DD |
1529 | ./timeval-utils.$(objext): $(srcdir)/timeval-utils.c config.h \ |
1530 | $(INCDIR)/timeval-utils.h | |
1531 | if [ x"$(PICFLAG)" != x ]; then \ | |
1532 | $(COMPILE.c) $(PICFLAG) $(srcdir)/timeval-utils.c -o pic/$@; \ | |
1533 | else true; fi | |
3f48575a | 1534 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1535 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/timeval-utils.c -o noasan/$@; \ | |
1536 | else true; fi | |
cf185ad7 DD |
1537 | $(COMPILE.c) $(srcdir)/timeval-utils.c $(OUTPUT_OPTION) |
1538 | ||
497462ef | 1539 | ./tmpnam.$(objext): $(srcdir)/tmpnam.c |
46a10049 DD |
1540 | if [ x"$(PICFLAG)" != x ]; then \ |
1541 | $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \ | |
1542 | else true; fi | |
3f48575a | 1543 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1544 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/tmpnam.c -o noasan/$@; \ | |
1545 | else true; fi | |
46a10049 | 1546 | $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION) |
37254c9a | 1547 | |
497462ef | 1548 | ./unlink-if-ordinary.$(objext): $(srcdir)/unlink-if-ordinary.c config.h \ |
8ec32723 | 1549 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
190eb137 DD |
1550 | if [ x"$(PICFLAG)" != x ]; then \ |
1551 | $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \ | |
1552 | else true; fi | |
3f48575a | 1553 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1554 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/unlink-if-ordinary.c -o noasan/$@; \ | |
1555 | else true; fi | |
190eb137 DD |
1556 | $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION) |
1557 | ||
497462ef | 1558 | ./vasprintf.$(objext): $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \ |
7c89917f | 1559 | $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h |
46a10049 DD |
1560 | if [ x"$(PICFLAG)" != x ]; then \ |
1561 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \ | |
1562 | else true; fi | |
3f48575a | 1563 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1564 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vasprintf.c -o noasan/$@; \ | |
1565 | else true; fi | |
46a10049 | 1566 | $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION) |
37254c9a | 1567 | |
497462ef | 1568 | ./vfork.$(objext): $(srcdir)/vfork.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1569 | if [ x"$(PICFLAG)" != x ]; then \ |
1570 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \ | |
1571 | else true; fi | |
3f48575a | 1572 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1573 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfork.c -o noasan/$@; \ | |
1574 | else true; fi | |
46a10049 | 1575 | $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION) |
37254c9a | 1576 | |
497462ef | 1577 | ./vfprintf.$(objext): $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1578 | if [ x"$(PICFLAG)" != x ]; then \ |
1579 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \ | |
1580 | else true; fi | |
3f48575a | 1581 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1582 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfprintf.c -o noasan/$@; \ | |
1583 | else true; fi | |
46a10049 | 1584 | $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION) |
37254c9a | 1585 | |
7c89917f RE |
1586 | ./vprintf-support.$(objext): $(srcdir)/vprintf-support.c config.h \ |
1587 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
1588 | if [ x"$(PICFLAG)" != x ]; then \ | |
1589 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf-support.c -o pic/$@; \ | |
1590 | else true; fi | |
1591 | if [ x"$(NOASANFLAG)" != x ]; then \ | |
1592 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf-support.c -o noasan/$@; \ | |
1593 | else true; fi | |
1594 | $(COMPILE.c) $(srcdir)/vprintf-support.c $(OUTPUT_OPTION) | |
1595 | ||
497462ef | 1596 | ./vprintf.$(objext): $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1597 | if [ x"$(PICFLAG)" != x ]; then \ |
1598 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \ | |
1599 | else true; fi | |
3f48575a | 1600 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1601 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf.c -o noasan/$@; \ | |
1602 | else true; fi | |
46a10049 | 1603 | $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION) |
37254c9a | 1604 | |
497462ef | 1605 | ./vsnprintf.$(objext): $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1606 | $(INCDIR)/libiberty.h |
46a10049 DD |
1607 | if [ x"$(PICFLAG)" != x ]; then \ |
1608 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \ | |
1609 | else true; fi | |
3f48575a | 1610 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1611 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsnprintf.c -o noasan/$@; \ | |
1612 | else true; fi | |
46a10049 | 1613 | $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION) |
37254c9a | 1614 | |
497462ef | 1615 | ./vsprintf.$(objext): $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1616 | if [ x"$(PICFLAG)" != x ]; then \ |
1617 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \ | |
1618 | else true; fi | |
3f48575a | 1619 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1620 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsprintf.c -o noasan/$@; \ | |
1621 | else true; fi | |
46a10049 | 1622 | $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION) |
37254c9a | 1623 | |
497462ef | 1624 | ./waitpid.$(objext): $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h |
46a10049 DD |
1625 | if [ x"$(PICFLAG)" != x ]; then \ |
1626 | $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \ | |
1627 | else true; fi | |
3f48575a | 1628 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1629 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/waitpid.c -o noasan/$@; \ | |
1630 | else true; fi | |
46a10049 | 1631 | $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION) |
37254c9a | 1632 | |
7c89917f RE |
1633 | ./xasprintf.$(objext): $(srcdir)/xasprintf.c config.h $(INCDIR)/ansidecl.h \ |
1634 | $(INCDIR)/libiberty.h | |
1635 | if [ x"$(PICFLAG)" != x ]; then \ | |
1636 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xasprintf.c -o pic/$@; \ | |
1637 | else true; fi | |
1638 | if [ x"$(NOASANFLAG)" != x ]; then \ | |
1639 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xasprintf.c -o noasan/$@; \ | |
1640 | else true; fi | |
1641 | $(COMPILE.c) $(srcdir)/xasprintf.c $(OUTPUT_OPTION) | |
1642 | ||
497462ef | 1643 | ./xatexit.$(objext): $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \ |
75919f94 | 1644 | $(INCDIR)/libiberty.h |
46a10049 DD |
1645 | if [ x"$(PICFLAG)" != x ]; then \ |
1646 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \ | |
1647 | else true; fi | |
3f48575a | 1648 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1649 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xatexit.c -o noasan/$@; \ | |
1650 | else true; fi | |
46a10049 | 1651 | $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION) |
37254c9a | 1652 | |
497462ef DD |
1653 | ./xexit.$(objext): $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h \ |
1654 | $(INCDIR)/libiberty.h | |
46a10049 DD |
1655 | if [ x"$(PICFLAG)" != x ]; then \ |
1656 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \ | |
1657 | else true; fi | |
3f48575a | 1658 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1659 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xexit.c -o noasan/$@; \ | |
1660 | else true; fi | |
46a10049 | 1661 | $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION) |
37254c9a | 1662 | |
497462ef | 1663 | ./xmalloc.$(objext): $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1664 | $(INCDIR)/libiberty.h |
46a10049 DD |
1665 | if [ x"$(PICFLAG)" != x ]; then \ |
1666 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \ | |
1667 | else true; fi | |
3f48575a | 1668 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1669 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmalloc.c -o noasan/$@; \ | |
1670 | else true; fi | |
46a10049 | 1671 | $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION) |
37254c9a | 1672 | |
497462ef | 1673 | ./xmemdup.$(objext): $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1674 | $(INCDIR)/libiberty.h |
46a10049 DD |
1675 | if [ x"$(PICFLAG)" != x ]; then \ |
1676 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \ | |
1677 | else true; fi | |
3f48575a | 1678 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1679 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmemdup.c -o noasan/$@; \ | |
1680 | else true; fi | |
46a10049 | 1681 | $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION) |
37254c9a | 1682 | |
497462ef | 1683 | ./xstrdup.$(objext): $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1684 | $(INCDIR)/libiberty.h |
46a10049 DD |
1685 | if [ x"$(PICFLAG)" != x ]; then \ |
1686 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \ | |
1687 | else true; fi | |
3f48575a | 1688 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1689 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrdup.c -o noasan/$@; \ | |
1690 | else true; fi | |
46a10049 | 1691 | $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION) |
37254c9a | 1692 | |
497462ef | 1693 | ./xstrerror.$(objext): $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1694 | $(INCDIR)/libiberty.h |
46a10049 DD |
1695 | if [ x"$(PICFLAG)" != x ]; then \ |
1696 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \ | |
1697 | else true; fi | |
3f48575a | 1698 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1699 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrerror.c -o noasan/$@; \ | |
1700 | else true; fi | |
46a10049 | 1701 | $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION) |
37254c9a | 1702 | |
497462ef | 1703 | ./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \ |
0fad4bdb DD |
1704 | $(INCDIR)/libiberty.h |
1705 | if [ x"$(PICFLAG)" != x ]; then \ | |
1706 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \ | |
1707 | else true; fi | |
3f48575a | 1708 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1709 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrndup.c -o noasan/$@; \ | |
1710 | else true; fi | |
0fad4bdb DD |
1711 | $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION) |
1712 | ||
7c89917f RE |
1713 | ./xvasprintf.$(objext): $(srcdir)/xvasprintf.c config.h $(INCDIR)/ansidecl.h \ |
1714 | $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h | |
1715 | if [ x"$(PICFLAG)" != x ]; then \ | |
1716 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xvasprintf.c -o pic/$@; \ | |
1717 | else true; fi | |
1718 | if [ x"$(NOASANFLAG)" != x ]; then \ | |
1719 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xvasprintf.c -o noasan/$@; \ | |
1720 | else true; fi | |
1721 | $(COMPILE.c) $(srcdir)/xvasprintf.c $(OUTPUT_OPTION) |