Commit | Line | Data |
---|---|---|
642c7534 BE |
1 | # Makefile for the libiberty library. |
2 | # Originally written by K. Richard Pixley <rich@cygnus.com>. | |
252b5132 | 3 | # |
642c7534 | 4 | # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, |
3f48575a | 5 | # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, |
6 | # 2012, 2014 Free Software Foundation | |
252b5132 RH |
7 | # |
8 | # This file is part of the libiberty library. | |
9 | # Libiberty is free software; you can redistribute it and/or | |
10 | # modify it under the terms of the GNU Library General Public | |
11 | # License as published by the Free Software Foundation; either | |
12 | # version 2 of the License, or (at your option) any later version. | |
13 | # | |
14 | # Libiberty is distributed in the hope that it will be useful, | |
15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
17 | # Library General Public License for more details. | |
18 | # | |
19 | # You should have received a copy of the GNU Library General Public | |
20 | # License along with libiberty; see the file COPYING.LIB. If not, | |
979c05d3 NC |
21 | # write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, |
22 | # Boston, MA 02110-1301, USA. | |
252b5132 | 23 | |
85b9a938 | 24 | libiberty_topdir = @libiberty_topdir@ |
252b5132 | 25 | srcdir = @srcdir@ |
252b5132 RH |
26 | |
27 | prefix = @prefix@ | |
28 | ||
29 | exec_prefix = @exec_prefix@ | |
30 | bindir = @bindir@ | |
31 | libdir = @libdir@ | |
50d4562d DD |
32 | includedir = @includedir@ |
33 | target_header_dir = @target_header_dir@ | |
497462ef | 34 | objext = @OBJEXT@ |
252b5132 RH |
35 | |
36 | SHELL = @SHELL@ | |
37 | ||
38 | # Multilib support variables. | |
39 | MULTISRCTOP = | |
40 | MULTIBUILDTOP = | |
41 | MULTIDIRS = | |
42 | MULTISUBDIR = | |
43 | MULTIDO = true | |
44 | MULTICLEAN = true | |
45 | ||
46 | INSTALL = @INSTALL@ | |
47 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
48 | INSTALL_DATA = @INSTALL_DATA@ | |
85b9a938 | 49 | mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs |
252b5132 | 50 | |
46a10049 DD |
51 | # Some compilers can't handle cc -c blah.c -o foo/blah.o. |
52 | OUTPUT_OPTION = @OUTPUT_OPTION@ | |
53 | ||
252b5132 RH |
54 | AR = @AR@ |
55 | AR_FLAGS = rc | |
56 | ||
57 | CC = @CC@ | |
58 | CFLAGS = @CFLAGS@ | |
bb52de30 | 59 | CPPFLAGS = @CPPFLAGS@ |
252b5132 | 60 | RANLIB = @RANLIB@ |
39423523 DD |
61 | MAKEINFO = @MAKEINFO@ |
62 | PERL = @PERL@ | |
252b5132 | 63 | |
c779bab8 | 64 | PICFLAG = @PICFLAG@ |
3f48575a | 65 | NOASANFLAG = @NOASANFLAG@ |
252b5132 RH |
66 | |
67 | MAKEOVERRIDES = | |
68 | ||
37254c9a DD |
69 | TARGETLIB = ./libiberty.a |
70 | TESTLIB = ./testlib.a | |
252b5132 RH |
71 | |
72 | LIBOBJS = @LIBOBJS@ | |
252b5132 RH |
73 | |
74 | # A configuration can specify extra .o files that should be included, | |
75 | # even if they are in libc. (Perhaps the libc version is buggy.) | |
76 | EXTRA_OFILES = | |
77 | ||
78 | # Flags to pass to a recursive make. | |
79 | FLAGS_TO_PASS = \ | |
80 | "AR=$(AR)" \ | |
81 | "AR_FLAGS=$(AR_FLAGS)" \ | |
82 | "CC=$(CC)" \ | |
83 | "CFLAGS=$(CFLAGS)" \ | |
bb52de30 | 84 | "CPPFLAGS=$(CPPFLAGS)" \ |
27a39a5f | 85 | "DESTDIR=$(DESTDIR)" \ |
252b5132 RH |
86 | "EXTRA_OFILES=$(EXTRA_OFILES)" \ |
87 | "HDEFINES=$(HDEFINES)" \ | |
88 | "INSTALL=$(INSTALL)" \ | |
89 | "INSTALL_DATA=$(INSTALL_DATA)" \ | |
90 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ | |
91 | "LDFLAGS=$(LDFLAGS)" \ | |
92 | "LOADLIBES=$(LOADLIBES)" \ | |
93 | "RANLIB=$(RANLIB)" \ | |
0c0a36a4 ILT |
94 | "SHELL=$(SHELL)" \ |
95 | "prefix=$(prefix)" \ | |
96 | "exec_prefix=$(exec_prefix)" \ | |
97 | "libdir=$(libdir)" \ | |
98 | "libsubdir=$(libsubdir)" \ | |
99 | "tooldir=$(tooldir)" | |
252b5132 | 100 | |
0c0a36a4 ILT |
101 | # Subdirectories to recurse into. We need to override this during cleaning |
102 | SUBDIRS = testsuite | |
103 | ||
39423523 | 104 | # FIXME: add @BUILD_INFO@ once we're sure it works for everyone. |
3f48575a | 105 | all: stamp-picdir stamp-noasandir $(TARGETLIB) required-list all-subdir |
178bead7 | 106 | @: $(MAKE) ; $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all |
252b5132 RH |
107 | |
108 | .PHONY: check installcheck | |
0c0a36a4 ILT |
109 | check: check-subdir |
110 | installcheck: installcheck-subdir | |
252b5132 RH |
111 | |
112 | @host_makefile_frag@ | |
113 | ||
114 | INCDIR=$(srcdir)/$(MULTISRCTOP)../include | |
115 | ||
bb52de30 | 116 | COMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@ |
37254c9a DD |
117 | |
118 | # Just to make sure we don't use a built-in rule with VPATH | |
497462ef | 119 | .c.$(objext): |
37254c9a | 120 | false |
252b5132 | 121 | |
252b5132 | 122 | # NOTE: If you add new files to the library, add them to this list |
46a10049 DD |
123 | # (alphabetical), and add them to REQUIRED_OFILES, or |
124 | # CONFIGURED_OFILES and funcs in configure.ac. Also run "make maint-deps" | |
125 | # to build the new rules. | |
cc096b71 DD |
126 | CFILES = alloca.c argv.c asprintf.c atexit.c \ |
127 | basename.c bcmp.c bcopy.c bsearch.c bzero.c \ | |
128 | calloc.c choose-temp.c clock.c concat.c cp-demangle.c \ | |
6e881691 | 129 | cp-demint.c cplus-dem.c crc32.c \ |
b55f9678 | 130 | d-demangle.c dwarfnames.c dyn-string.c \ |
9c577e89 DD |
131 | fdmatch.c ffs.c fibheap.c filename_cmp.c floatformat.c \ |
132 | fnmatch.c fopen_unlocked.c \ | |
cc096b71 | 133 | getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \ |
8ec32723 | 134 | gettimeofday.c \ |
cc096b71 DD |
135 | hashtab.c hex.c \ |
136 | index.c insque.c \ | |
137 | lbasename.c \ | |
ba61a412 | 138 | lrealpath.c \ |
2a80c0a4 | 139 | make-relative-prefix.c \ |
10e1b6bb DD |
140 | make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmem.c \ |
141 | memmove.c mempcpy.c memset.c mkstemps.c \ | |
cc096b71 | 142 | objalloc.c obstack.c \ |
b109e79a ILT |
143 | partition.c pexecute.c \ |
144 | pex-common.c pex-djgpp.c pex-msdos.c pex-one.c \ | |
5a17353c | 145 | pex-unix.c pex-win32.c \ |
4938384a | 146 | physmem.c putenv.c \ |
cc096b71 | 147 | random.c regex.c rename.c rindex.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) \ |
ffa54e5c DD |
185 | ./safe-ctype.$(objext) \ |
186 | ./simple-object.$(objext) ./simple-object-coff.$(objext) \ | |
187 | ./simple-object-elf.$(objext) ./simple-object-mach-o.$(objext) \ | |
07a8e9f0 | 188 | ./simple-object-xcoff.$(objext) \ |
ffa54e5c | 189 | ./sort.$(objext) ./spaces.$(objext) \ |
26ac1280 | 190 | ./splay-tree.$(objext) ./stack-limit.$(objext) \ |
cf185ad7 DD |
191 | ./strerror.$(objext) ./strsignal.$(objext) \ |
192 | ./timeval-utils.$(objext) ./unlink-if-ordinary.$(objext) \ | |
7c89917f RE |
193 | ./xasprintf.$(objext) ./xatexit.$(objext) ./xexit.$(objext) \ |
194 | ./xmalloc.$(objext) ./xmemdup.$(objext) ./xstrdup.$(objext) \ | |
195 | ./xstrerror.$(objext) ./xstrndup.$(objext) \ | |
196 | ./xvasprintf.$(objext) | |
30673bf5 | 197 | |
39423523 | 198 | # These are all the objects that configure may add to the library via |
cc096b71 DD |
199 | # $funcs or EXTRA_OFILES. This list exists here only for "make |
200 | # maint-missing" and "make check". | |
497462ef DD |
201 | CONFIGURED_OFILES = ./asprintf.$(objext) ./atexit.$(objext) \ |
202 | ./basename.$(objext) ./bcmp.$(objext) ./bcopy.$(objext) \ | |
203 | ./bsearch.$(objext) ./bzero.$(objext) \ | |
204 | ./calloc.$(objext) ./clock.$(objext) ./copysign.$(objext) \ | |
205 | ./_doprnt.$(objext) \ | |
206 | ./ffs.$(objext) \ | |
207 | ./getcwd.$(objext) ./getpagesize.$(objext) \ | |
208 | ./gettimeofday.$(objext) \ | |
209 | ./index.$(objext) ./insque.$(objext) \ | |
210 | ./memchr.$(objext) ./memcmp.$(objext) ./memcpy.$(objext) \ | |
211 | ./memmem.$(objext) ./memmove.$(objext) \ | |
212 | ./mempcpy.$(objext) ./memset.$(objext) ./mkstemps.$(objext) \ | |
213 | ./pex-djgpp.$(objext) ./pex-msdos.$(objext) \ | |
214 | ./pex-unix.$(objext) ./pex-win32.$(objext) \ | |
215 | ./putenv.$(objext) \ | |
216 | ./random.$(objext) ./rename.$(objext) ./rindex.$(objext) \ | |
9711ae4d DD |
217 | ./setenv.$(objext) \ |
218 | ./setproctitle.$(objext) \ | |
219 | ./sigsetmask.$(objext) ./snprintf.$(objext) \ | |
497462ef DD |
220 | ./stpcpy.$(objext) ./stpncpy.$(objext) ./strcasecmp.$(objext) \ |
221 | ./strchr.$(objext) ./strdup.$(objext) ./strncasecmp.$(objext) \ | |
995b61fe DD |
222 | ./strncmp.$(objext) ./strndup.$(objext) ./strnlen.$(objext) \ |
223 | ./strrchr.$(objext) ./strstr.$(objext) ./strtod.$(objext) \ | |
abdef8eb JBG |
224 | ./strtol.$(objext) ./strtoul.$(objext) strtoll.$(objext) \ |
225 | ./strtoull.$(objext) ./tmpnam.$(objext) ./strverscmp.$(objext) \ | |
497462ef DD |
226 | ./vasprintf.$(objext) ./vfork.$(objext) ./vfprintf.$(objext) \ |
227 | ./vprintf.$(objext) ./vsnprintf.$(objext) ./vsprintf.$(objext) \ | |
228 | ./waitpid.$(objext) | |
39423523 | 229 | |
50d4562d DD |
230 | # These files are installed if the library has been configured to do so. |
231 | INSTALLED_HEADERS = \ | |
232 | $(INCDIR)/ansidecl.h \ | |
233 | $(INCDIR)/demangle.h \ | |
234 | $(INCDIR)/dyn-string.h \ | |
235 | $(INCDIR)/fibheap.h \ | |
236 | $(INCDIR)/floatformat.h \ | |
237 | $(INCDIR)/hashtab.h \ | |
238 | $(INCDIR)/libiberty.h \ | |
239 | $(INCDIR)/objalloc.h \ | |
240 | $(INCDIR)/partition.h \ | |
241 | $(INCDIR)/safe-ctype.h \ | |
242 | $(INCDIR)/sort.h \ | |
cf185ad7 DD |
243 | $(INCDIR)/splay-tree.h \ |
244 | $(INCDIR)/timeval-utils.h | |
50d4562d | 245 | |
46a10049 | 246 | $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) |
3f48575a | 247 | -rm -f $(TARGETLIB) pic/$(TARGETLIB) noasan/$(TARGETLIB) |
46a10049 DD |
248 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ |
249 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) | |
250 | $(RANLIB) $(TARGETLIB) | |
251 | if [ x"$(PICFLAG)" != x ]; then \ | |
252 | cd pic; \ | |
3bc62f91 DD |
253 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ |
254 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ | |
255 | $(RANLIB) $(TARGETLIB); \ | |
256 | cd ..; \ | |
3f48575a | 257 | else true; fi; \ |
258 | if [ x"$(NOASANFLAG)" != x ]; then \ | |
259 | cd noasan; \ | |
260 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ | |
261 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ | |
262 | $(RANLIB) $(TARGETLIB); \ | |
263 | cd ..; \ | |
3bc62f91 | 264 | else true; fi |
252b5132 | 265 | |
46a10049 DD |
266 | $(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES) |
267 | -rm -f $(TESTLIB) | |
268 | $(AR) $(AR_FLAGS) $(TESTLIB) \ | |
269 | $(REQUIRED_OFILES) $(CONFIGURED_OFILES) | |
270 | $(RANLIB) $(TESTLIB) | |
cc096b71 | 271 | |
39423523 DD |
272 | info: libiberty.info info-subdir |
273 | install-info: install-info-subdir | |
274 | clean-info: clean-info-subdir | |
275 | dvi: libiberty.dvi dvi-subdir | |
d7831e7c DD |
276 | |
277 | LIBIBERTY_PDFFILES = libiberty.pdf | |
278 | ||
279 | pdf: $(LIBIBERTY_PDFFILES) pdf-subdir | |
280 | ||
281 | .PHONY: install-pdf | |
282 | ||
283 | pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`; | |
284 | ||
285 | install-pdf: $(LIBIBERTY_PDFFILES) | |
286 | @$(NORMAL_INSTALL) | |
287 | test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)" | |
288 | @list='$(LIBIBERTY_PDFFILES)'; for p in $$list; do \ | |
289 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | |
290 | f=$(pdf__strip_dir) \ | |
291 | echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \ | |
292 | $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \ | |
293 | done | |
545c9aee DD |
294 | |
295 | # html, install-html targets | |
296 | HTMLS = libiberty.html | |
297 | ||
298 | html: $(HTMLS) | |
299 | ||
7a0801a9 | 300 | .PHONY: install-html install-html-am |
545c9aee DD |
301 | |
302 | NORMAL_INSTALL = : | |
303 | mkdir_p = mkdir -p -- | |
497462ef | 304 | |
545c9aee DD |
305 | html__strip_dir = `echo $$p | sed -e 's|^.*/||'`; |
306 | ||
7a0801a9 | 307 | install-html: install-html-am |
545c9aee DD |
308 | |
309 | install-html-am: $(HTMLS) | |
310 | @$(NORMAL_INSTALL) | |
311 | test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)" | |
312 | @list='$(HTMLS)'; for p in $$list; do \ | |
313 | if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \ | |
314 | f=$(html__strip_dir) \ | |
315 | if test -d "$$d$$p"; then \ | |
316 | echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \ | |
317 | $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \ | |
318 | echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \ | |
319 | $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \ | |
320 | else \ | |
321 | echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \ | |
322 | $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \ | |
323 | fi; \ | |
324 | done | |
325 | ||
39423523 DD |
326 | TEXISRC = \ |
327 | $(srcdir)/libiberty.texi \ | |
328 | $(srcdir)/copying-lib.texi \ | |
329 | $(srcdir)/obstacks.texi \ | |
330 | $(srcdir)/functions.texi | |
331 | ||
332 | # Additional files that have texi snippets that need to be collected | |
ba19b94f DD |
333 | # and sorted. Some are here because the sources are imported from |
334 | # elsewhere. Others represent headers in ../include. | |
ffa54e5c | 335 | TEXIFILES = fnmatch.txh pexecute.txh simple-object.txh |
39423523 DD |
336 | |
337 | libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC) | |
338 | $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi | |
339 | ||
340 | libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC) | |
341 | texi2dvi $(srcdir)/libiberty.texi | |
342 | ||
bff368bd DD |
343 | libiberty.pdf : $(srcdir)/libiberty.texi $(TEXISRC) |
344 | texi2pdf $(srcdir)/libiberty.texi | |
345 | ||
39423523 | 346 | libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC) |
6cfb3176 | 347 | $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $< |
39423523 DD |
348 | |
349 | @MAINT@$(srcdir)/functions.texi : stamp-functions | |
350 | @MAINT@ @true | |
351 | ||
67f3cb05 | 352 | @MAINT@stamp-functions : $(CFILES:%=$(srcdir)/%) $(TEXIFILES:%=$(srcdir)/%) $(srcdir)/gather-docs Makefile |
39423523 DD |
353 | @MAINT@@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES) |
354 | @MAINT@ echo stamp > stamp-functions | |
355 | ||
252b5132 | 356 | INSTALL_DEST = @INSTALL_DEST@ |
0c0a36a4 | 357 | install: install_to_$(INSTALL_DEST) install-subdir |
9b980aa1 RW |
358 | install-strip: install |
359 | ||
360 | .PHONY: install install-strip | |
252b5132 | 361 | |
563d09a5 EB |
362 | # This is tricky. Even though CC in the Makefile contains |
363 | # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the | |
eff85da5 | 364 | # default multilib, so we have to take CFLAGS into account as well, |
563d09a5 | 365 | # since it will be passed the multilib flags. |
eff85da5 | 366 | MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory` |
252b5132 | 367 | install_to_libdir: all |
50d4562d | 368 | if test -n "${target_header_dir}"; then \ |
a4818a05 DD |
369 | ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR); \ |
370 | $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n; \ | |
371 | ( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n ); \ | |
372 | mv -f $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB); \ | |
373 | case "${target_header_dir}" in \ | |
374 | /*) thd=${target_header_dir};; \ | |
375 | *) thd=${includedir}/${target_header_dir};; \ | |
376 | esac; \ | |
377 | ${mkinstalldirs} $(DESTDIR)$${thd}; \ | |
378 | for h in ${INSTALLED_HEADERS}; do \ | |
379 | ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \ | |
380 | done; \ | |
50d4562d | 381 | fi |
252b5132 RH |
382 | @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install |
383 | ||
384 | install_to_tooldir: all | |
aa072e59 AO |
385 | ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) |
386 | $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n | |
6816f995 | 387 | ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n ) |
aa072e59 | 388 | mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB) |
252b5132 RH |
389 | @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install |
390 | ||
252b5132 RH |
391 | # required-list was used when building a shared bfd/opcodes/libiberty |
392 | # library. I don't know if it used by anything currently. | |
393 | required-list: Makefile | |
394 | echo $(REQUIRED_OFILES) > required-list | |
395 | ||
46a10049 DD |
396 | stamp-picdir: |
397 | if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \ | |
398 | mkdir pic; \ | |
399 | else true; fi | |
400 | touch stamp-picdir | |
401 | ||
3f48575a | 402 | stamp-noasandir: |
403 | if [ x"$(NOASANFLAG)" != x ] && [ ! -d noasan ]; then \ | |
404 | mkdir noasan; \ | |
405 | else true; fi | |
406 | touch stamp-noasandir | |
407 | ||
252b5132 RH |
408 | .PHONY: all etags tags ls clean stage1 stage2 |
409 | ||
0c0a36a4 | 410 | etags tags: TAGS etags-subdir |
252b5132 | 411 | |
30673bf5 DD |
412 | TAGS: $(CFILES) |
413 | etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done` | |
252b5132 RH |
414 | |
415 | # The standalone demangler (c++filt) has been moved to binutils. | |
664aa91f DD |
416 | # But make this target work anyway for demangler hacking. |
417 | demangle: $(ALL) $(srcdir)/cp-demangle.c | |
252b5132 RH |
418 | @echo "The standalone demangler, now named c++filt, is now" |
419 | @echo "a part of binutils." | |
664aa91f DD |
420 | $(CC) @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) \ |
421 | $(srcdir)/cp-demangle.c -DSTANDALONE_DEMANGLER $(TARGETLIB) -o $@ | |
252b5132 RH |
422 | |
423 | ls: | |
30673bf5 | 424 | @echo Makefile $(CFILES) |
252b5132 | 425 | |
39423523 DD |
426 | # Various targets for maintainers. |
427 | ||
428 | maint-missing : | |
46a10049 | 429 | @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES) |
39423523 | 430 | |
46a10049 | 431 | maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES) |
39423523 DD |
432 | @true |
433 | ||
ba19b94f DD |
434 | maint-undoc : $(srcdir)/functions.texi |
435 | @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc | |
436 | ||
cc096b71 DD |
437 | maint-deps : |
438 | @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR) | |
439 | ||
252b5132 RH |
440 | # Need to deal with profiled libraries, too. |
441 | ||
0c0a36a4 ILT |
442 | # Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS |
443 | # multiple times, hence our explicit recursion with an empty SUBDIRS. | |
444 | mostlyclean: mostlyclean-subdir | |
3f48575a | 445 | -rm -rf *.$(objext) pic noasan core errs \#* *.E a.out |
e1ad6b9a | 446 | -rm -f errors dummy config.h stamp-* |
3f48575a | 447 | -rm -f $(CONFIG_H) stamp-picdir stamp-noasandir |
39423523 DD |
448 | -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky |
449 | -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg | |
450 | -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr | |
451 | -rm -f libtexi.stamp | |
252b5132 | 452 | @$(MULTICLEAN) multi-clean DO=mostlyclean |
0c0a36a4 ILT |
453 | clean: clean-subdir |
454 | $(MAKE) SUBDIRS="" mostlyclean | |
c00c39ed | 455 | -rm -f *.a required-list tmpmulti.out |
bff368bd | 456 | -rm -f libiberty.dvi libiberty.pdf libiberty.info* libiberty.html |
252b5132 | 457 | @$(MULTICLEAN) multi-clean DO=clean |
0c0a36a4 ILT |
458 | distclean: distclean-subdir |
459 | $(MAKE) SUBDIRS="" clean | |
252b5132 | 460 | @$(MULTICLEAN) multi-clean DO=distclean |
3795d586 | 461 | -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out |
c00c39ed | 462 | -rm -f config.log |
4415a860 | 463 | -rmdir testsuite 2>/dev/null |
0c0a36a4 ILT |
464 | maintainer-clean realclean: maintainer-clean-subdir |
465 | $(MAKE) SUBDIRS="" distclean | |
252b5132 RH |
466 | |
467 | force: | |
468 | ||
469 | Makefile: $(srcdir)/Makefile.in config.status | |
470 | CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status | |
471 | ||
fec50157 DD |
472 | # Depending on Makefile makes sure that config.status has been re-run |
473 | # if needed. This prevents problems with parallel builds. | |
252b5132 | 474 | config.h: stamp-h ; @true |
37254c9a DD |
475 | stamp-h: $(srcdir)/config.in config.status Makefile |
476 | CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status | |
252b5132 | 477 | |
4cf896a5 | 478 | config.status: $(srcdir)/configure |
252b5132 RH |
479 | $(SHELL) ./config.status --recheck |
480 | ||
626aaf89 DD |
481 | AUTOCONF = autoconf |
482 | configure_deps = $(srcdir)/aclocal.m4 \ | |
483 | $(srcdir)/../config/acx.m4 \ | |
484 | $(srcdir)/../config/no-executables.m4 \ | |
485 | $(srcdir)/../config/override.m4 \ | |
486 | $(srcdir)/../config/warnings.m4 \ | |
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 | |
497462ef | 1192 | ./safe-ctype.$(objext): $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \ |
37254c9a | 1193 | $(INCDIR)/safe-ctype.h |
46a10049 DD |
1194 | if [ x"$(PICFLAG)" != x ]; then \ |
1195 | $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \ | |
1196 | else true; fi | |
3f48575a | 1197 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1198 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/safe-ctype.c -o noasan/$@; \ | |
1199 | else true; fi | |
46a10049 | 1200 | $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION) |
37254c9a | 1201 | |
497462ef | 1202 | ./setenv.$(objext): $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h |
46a10049 DD |
1203 | if [ x"$(PICFLAG)" != x ]; then \ |
1204 | $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \ | |
1205 | else true; fi | |
3f48575a | 1206 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1207 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setenv.c -o noasan/$@; \ | |
1208 | else true; fi | |
46a10049 | 1209 | $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION) |
37254c9a | 1210 | |
9711ae4d DD |
1211 | ./setproctitle.$(objext): $(srcdir)/setproctitle.c config.h $(INCDIR)/ansidecl.h |
1212 | if [ x"$(PICFLAG)" != x ]; then \ | |
1213 | $(COMPILE.c) $(PICFLAG) $(srcdir)/setproctitle.c -o pic/$@; \ | |
1214 | else true; fi | |
3f48575a | 1215 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1216 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setproctitle.c -o noasan/$@; \ | |
1217 | else true; fi | |
9711ae4d DD |
1218 | $(COMPILE.c) $(srcdir)/setproctitle.c $(OUTPUT_OPTION) |
1219 | ||
497462ef | 1220 | ./sha1.$(objext): $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h |
b68965a0 DD |
1221 | if [ x"$(PICFLAG)" != x ]; then \ |
1222 | $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \ | |
1223 | else true; fi | |
3f48575a | 1224 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1225 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sha1.c -o noasan/$@; \ | |
1226 | else true; fi | |
b68965a0 DD |
1227 | $(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION) |
1228 | ||
497462ef | 1229 | ./sigsetmask.$(objext): $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1230 | if [ x"$(PICFLAG)" != x ]; then \ |
1231 | $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \ | |
1232 | else true; fi | |
3f48575a | 1233 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1234 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sigsetmask.c -o noasan/$@; \ | |
1235 | else true; fi | |
46a10049 | 1236 | $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION) |
37254c9a | 1237 | |
ffa54e5c DD |
1238 | ./simple-object-coff.$(objext): $(srcdir)/simple-object-coff.c config.h \ |
1239 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ | |
1240 | $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h | |
1241 | if [ x"$(PICFLAG)" != x ]; then \ | |
1242 | $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-coff.c -o pic/$@; \ | |
1243 | else true; fi | |
3f48575a | 1244 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1245 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-coff.c -o noasan/$@; \ | |
1246 | else true; fi | |
ffa54e5c DD |
1247 | $(COMPILE.c) $(srcdir)/simple-object-coff.c $(OUTPUT_OPTION) |
1248 | ||
1249 | ./simple-object-elf.$(objext): $(srcdir)/simple-object-elf.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-elf.c -o pic/$@; \ | |
1254 | else true; fi | |
3f48575a | 1255 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1256 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-elf.c -o noasan/$@; \ | |
1257 | else true; fi | |
ffa54e5c DD |
1258 | $(COMPILE.c) $(srcdir)/simple-object-elf.c $(OUTPUT_OPTION) |
1259 | ||
1260 | ./simple-object-mach-o.$(objext): $(srcdir)/simple-object-mach-o.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-mach-o.c -o pic/$@; \ | |
1265 | else true; fi | |
3f48575a | 1266 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1267 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-mach-o.c -o noasan/$@; \ | |
1268 | else true; fi | |
ffa54e5c DD |
1269 | $(COMPILE.c) $(srcdir)/simple-object-mach-o.c $(OUTPUT_OPTION) |
1270 | ||
07a8e9f0 DD |
1271 | ./simple-object-xcoff.$(objext): $(srcdir)/simple-object-xcoff.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-xcoff.c -o pic/$@; \ | |
1276 | else true; fi | |
3f48575a | 1277 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1278 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-xcoff.c -o noasan/$@; \ | |
1279 | else true; fi | |
07a8e9f0 DD |
1280 | $(COMPILE.c) $(srcdir)/simple-object-xcoff.c $(OUTPUT_OPTION) |
1281 | ||
ffa54e5c DD |
1282 | ./simple-object.$(objext): $(srcdir)/simple-object.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.c -o pic/$@; \ | |
1287 | else true; fi | |
3f48575a | 1288 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1289 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object.c -o noasan/$@; \ | |
1290 | else true; fi | |
ffa54e5c DD |
1291 | $(COMPILE.c) $(srcdir)/simple-object.c $(OUTPUT_OPTION) |
1292 | ||
497462ef | 1293 | ./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1294 | if [ x"$(PICFLAG)" != x ]; then \ |
1295 | $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \ | |
1296 | else true; fi | |
3f48575a | 1297 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1298 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/snprintf.c -o noasan/$@; \ | |
1299 | else true; fi | |
46a10049 | 1300 | $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION) |
37254c9a | 1301 | |
497462ef DD |
1302 | ./sort.$(objext): $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h \ |
1303 | $(INCDIR)/libiberty.h $(INCDIR)/sort.h | |
46a10049 DD |
1304 | if [ x"$(PICFLAG)" != x ]; then \ |
1305 | $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \ | |
1306 | else true; fi | |
3f48575a | 1307 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1308 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sort.c -o noasan/$@; \ | |
1309 | else true; fi | |
46a10049 | 1310 | $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION) |
37254c9a | 1311 | |
497462ef | 1312 | ./spaces.$(objext): $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \ |
b7d9aef1 | 1313 | $(INCDIR)/libiberty.h |
46a10049 DD |
1314 | if [ x"$(PICFLAG)" != x ]; then \ |
1315 | $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \ | |
1316 | else true; fi | |
3f48575a | 1317 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1318 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/spaces.c -o noasan/$@; \ | |
1319 | else true; fi | |
46a10049 | 1320 | $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION) |
37254c9a | 1321 | |
497462ef | 1322 | ./splay-tree.$(objext): $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1323 | $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h |
46a10049 DD |
1324 | if [ x"$(PICFLAG)" != x ]; then \ |
1325 | $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \ | |
1326 | else true; fi | |
3f48575a | 1327 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1328 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/splay-tree.c -o noasan/$@; \ | |
1329 | else true; fi | |
46a10049 | 1330 | $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION) |
37254c9a | 1331 | |
995b61fe | 1332 | ./stack-limit.$(objext): $(srcdir)/stack-limit.c config.h $(INCDIR)/ansidecl.h |
26ac1280 DD |
1333 | if [ x"$(PICFLAG)" != x ]; then \ |
1334 | $(COMPILE.c) $(PICFLAG) $(srcdir)/stack-limit.c -o pic/$@; \ | |
1335 | else true; fi | |
3f48575a | 1336 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1337 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stack-limit.c -o noasan/$@; \ | |
1338 | else true; fi | |
26ac1280 DD |
1339 | $(COMPILE.c) $(srcdir)/stack-limit.c $(OUTPUT_OPTION) |
1340 | ||
497462ef | 1341 | ./stpcpy.$(objext): $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1342 | if [ x"$(PICFLAG)" != x ]; then \ |
1343 | $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \ | |
1344 | else true; fi | |
3f48575a | 1345 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1346 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpcpy.c -o noasan/$@; \ | |
1347 | else true; fi | |
46a10049 | 1348 | $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION) |
37254c9a | 1349 | |
497462ef | 1350 | ./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1351 | if [ x"$(PICFLAG)" != x ]; then \ |
1352 | $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \ | |
1353 | else true; fi | |
3f48575a | 1354 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1355 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpncpy.c -o noasan/$@; \ | |
1356 | else true; fi | |
46a10049 | 1357 | $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION) |
37254c9a | 1358 | |
497462ef | 1359 | ./strcasecmp.$(objext): $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1360 | if [ x"$(PICFLAG)" != x ]; then \ |
1361 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \ | |
1362 | else true; fi | |
3f48575a | 1363 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1364 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strcasecmp.c -o noasan/$@; \ | |
1365 | else true; fi | |
46a10049 | 1366 | $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION) |
37254c9a | 1367 | |
497462ef | 1368 | ./strchr.$(objext): $(srcdir)/strchr.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1369 | if [ x"$(PICFLAG)" != x ]; then \ |
1370 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \ | |
1371 | else true; fi | |
3f48575a | 1372 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1373 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strchr.c -o noasan/$@; \ | |
1374 | else true; fi | |
46a10049 | 1375 | $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION) |
37254c9a | 1376 | |
497462ef | 1377 | ./strdup.$(objext): $(srcdir)/strdup.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1378 | if [ x"$(PICFLAG)" != x ]; then \ |
1379 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \ | |
1380 | else true; fi | |
3f48575a | 1381 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1382 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strdup.c -o noasan/$@; \ | |
1383 | else true; fi | |
46a10049 | 1384 | $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION) |
37254c9a | 1385 | |
497462ef | 1386 | ./strerror.$(objext): $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1387 | $(INCDIR)/libiberty.h |
46a10049 DD |
1388 | if [ x"$(PICFLAG)" != x ]; then \ |
1389 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \ | |
1390 | else true; fi | |
3f48575a | 1391 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1392 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strerror.c -o noasan/$@; \ | |
1393 | else true; fi | |
46a10049 | 1394 | $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION) |
37254c9a | 1395 | |
497462ef | 1396 | ./strncasecmp.$(objext): $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1397 | if [ x"$(PICFLAG)" != x ]; then \ |
1398 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \ | |
1399 | else true; fi | |
3f48575a | 1400 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1401 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncasecmp.c -o noasan/$@; \ | |
1402 | else true; fi | |
46a10049 | 1403 | $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION) |
37254c9a | 1404 | |
497462ef | 1405 | ./strncmp.$(objext): $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1406 | if [ x"$(PICFLAG)" != x ]; then \ |
1407 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \ | |
1408 | else true; fi | |
3f48575a | 1409 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1410 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncmp.c -o noasan/$@; \ | |
1411 | else true; fi | |
46a10049 | 1412 | $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION) |
37254c9a | 1413 | |
497462ef | 1414 | ./strndup.$(objext): $(srcdir)/strndup.c $(INCDIR)/ansidecl.h |
0fad4bdb DD |
1415 | if [ x"$(PICFLAG)" != x ]; then \ |
1416 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \ | |
1417 | else true; fi | |
3f48575a | 1418 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1419 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strndup.c -o noasan/$@; \ | |
1420 | else true; fi | |
0fad4bdb DD |
1421 | $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION) |
1422 | ||
995b61fe DD |
1423 | ./strnlen.$(objext): $(srcdir)/strnlen.c config.h |
1424 | if [ x"$(PICFLAG)" != x ]; then \ | |
1425 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strnlen.c -o pic/$@; \ | |
1426 | else true; fi | |
3f48575a | 1427 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1428 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strnlen.c -o noasan/$@; \ | |
1429 | else true; fi | |
995b61fe DD |
1430 | $(COMPILE.c) $(srcdir)/strnlen.c $(OUTPUT_OPTION) |
1431 | ||
497462ef | 1432 | ./strrchr.$(objext): $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1433 | if [ x"$(PICFLAG)" != x ]; then \ |
1434 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \ | |
1435 | else true; fi | |
3f48575a | 1436 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1437 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strrchr.c -o noasan/$@; \ | |
1438 | else true; fi | |
46a10049 | 1439 | $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION) |
37254c9a | 1440 | |
497462ef | 1441 | ./strsignal.$(objext): $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1442 | $(INCDIR)/libiberty.h |
46a10049 DD |
1443 | if [ x"$(PICFLAG)" != x ]; then \ |
1444 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \ | |
1445 | else true; fi | |
3f48575a | 1446 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1447 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strsignal.c -o noasan/$@; \ | |
1448 | else true; fi | |
46a10049 | 1449 | $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION) |
37254c9a | 1450 | |
497462ef | 1451 | ./strstr.$(objext): $(srcdir)/strstr.c |
46a10049 DD |
1452 | if [ x"$(PICFLAG)" != x ]; then \ |
1453 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \ | |
1454 | else true; fi | |
3f48575a | 1455 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1456 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strstr.c -o noasan/$@; \ | |
1457 | else true; fi | |
46a10049 | 1458 | $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION) |
37254c9a | 1459 | |
497462ef DD |
1460 | ./strtod.$(objext): $(srcdir)/strtod.c $(INCDIR)/ansidecl.h \ |
1461 | $(INCDIR)/safe-ctype.h | |
46a10049 DD |
1462 | if [ x"$(PICFLAG)" != x ]; then \ |
1463 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \ | |
1464 | else true; fi | |
3f48575a | 1465 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1466 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtod.c -o noasan/$@; \ | |
1467 | else true; fi | |
46a10049 | 1468 | $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION) |
37254c9a | 1469 | |
497462ef | 1470 | ./strtol.$(objext): $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h |
46a10049 DD |
1471 | if [ x"$(PICFLAG)" != x ]; then \ |
1472 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \ | |
1473 | else true; fi | |
3f48575a | 1474 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1475 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtol.c -o noasan/$@; \ | |
1476 | else true; fi | |
46a10049 | 1477 | $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION) |
37254c9a | 1478 | |
abdef8eb JBG |
1479 | ./strtoll.$(objext): $(srcdir)/strtoll.c config.h $(INCDIR)/safe-ctype.h |
1480 | if [ x"$(PICFLAG)" != x ]; then \ | |
1481 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoll.c -o pic/$@; \ | |
1482 | else true; fi | |
1483 | if [ x"$(NOASANFLAG)" != x ]; then \ | |
1484 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoll.c -o noasan/$@; \ | |
1485 | else true; fi | |
1486 | $(COMPILE.c) $(srcdir)/strtoll.c $(OUTPUT_OPTION) | |
1487 | ||
497462ef | 1488 | ./strtoul.$(objext): $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1489 | $(INCDIR)/safe-ctype.h |
46a10049 DD |
1490 | if [ x"$(PICFLAG)" != x ]; then \ |
1491 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \ | |
1492 | else true; fi | |
3f48575a | 1493 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1494 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoul.c -o noasan/$@; \ | |
1495 | else true; fi | |
46a10049 | 1496 | $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION) |
37254c9a | 1497 | |
abdef8eb JBG |
1498 | ./strtoull.$(objext): $(srcdir)/strtoull.c config.h $(INCDIR)/ansidecl.h \ |
1499 | $(INCDIR)/safe-ctype.h | |
1500 | if [ x"$(PICFLAG)" != x ]; then \ | |
1501 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoull.c -o pic/$@; \ | |
1502 | else true; fi | |
1503 | if [ x"$(NOASANFLAG)" != x ]; then \ | |
1504 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoull.c -o noasan/$@; \ | |
1505 | else true; fi | |
1506 | $(COMPILE.c) $(srcdir)/strtoull.c $(OUTPUT_OPTION) | |
1507 | ||
497462ef DD |
1508 | ./strverscmp.$(objext): $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h \ |
1509 | $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h | |
67f3cb05 GK |
1510 | if [ x"$(PICFLAG)" != x ]; then \ |
1511 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \ | |
1512 | else true; fi | |
3f48575a | 1513 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1514 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strverscmp.c -o noasan/$@; \ | |
1515 | else true; fi | |
67f3cb05 GK |
1516 | $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION) |
1517 | ||
cf185ad7 DD |
1518 | ./timeval-utils.$(objext): $(srcdir)/timeval-utils.c config.h \ |
1519 | $(INCDIR)/timeval-utils.h | |
1520 | if [ x"$(PICFLAG)" != x ]; then \ | |
1521 | $(COMPILE.c) $(PICFLAG) $(srcdir)/timeval-utils.c -o pic/$@; \ | |
1522 | else true; fi | |
3f48575a | 1523 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1524 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/timeval-utils.c -o noasan/$@; \ | |
1525 | else true; fi | |
cf185ad7 DD |
1526 | $(COMPILE.c) $(srcdir)/timeval-utils.c $(OUTPUT_OPTION) |
1527 | ||
497462ef | 1528 | ./tmpnam.$(objext): $(srcdir)/tmpnam.c |
46a10049 DD |
1529 | if [ x"$(PICFLAG)" != x ]; then \ |
1530 | $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \ | |
1531 | else true; fi | |
3f48575a | 1532 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1533 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/tmpnam.c -o noasan/$@; \ | |
1534 | else true; fi | |
46a10049 | 1535 | $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION) |
37254c9a | 1536 | |
497462ef | 1537 | ./unlink-if-ordinary.$(objext): $(srcdir)/unlink-if-ordinary.c config.h \ |
8ec32723 | 1538 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
190eb137 DD |
1539 | if [ x"$(PICFLAG)" != x ]; then \ |
1540 | $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \ | |
1541 | else true; fi | |
3f48575a | 1542 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1543 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/unlink-if-ordinary.c -o noasan/$@; \ | |
1544 | else true; fi | |
190eb137 DD |
1545 | $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION) |
1546 | ||
497462ef | 1547 | ./vasprintf.$(objext): $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \ |
7c89917f | 1548 | $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h |
46a10049 DD |
1549 | if [ x"$(PICFLAG)" != x ]; then \ |
1550 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \ | |
1551 | else true; fi | |
3f48575a | 1552 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1553 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vasprintf.c -o noasan/$@; \ | |
1554 | else true; fi | |
46a10049 | 1555 | $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION) |
37254c9a | 1556 | |
497462ef | 1557 | ./vfork.$(objext): $(srcdir)/vfork.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1558 | if [ x"$(PICFLAG)" != x ]; then \ |
1559 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \ | |
1560 | else true; fi | |
3f48575a | 1561 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1562 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfork.c -o noasan/$@; \ | |
1563 | else true; fi | |
46a10049 | 1564 | $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION) |
37254c9a | 1565 | |
497462ef | 1566 | ./vfprintf.$(objext): $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1567 | if [ x"$(PICFLAG)" != x ]; then \ |
1568 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \ | |
1569 | else true; fi | |
3f48575a | 1570 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1571 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfprintf.c -o noasan/$@; \ | |
1572 | else true; fi | |
46a10049 | 1573 | $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION) |
37254c9a | 1574 | |
7c89917f RE |
1575 | ./vprintf-support.$(objext): $(srcdir)/vprintf-support.c config.h \ |
1576 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
1577 | if [ x"$(PICFLAG)" != x ]; then \ | |
1578 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf-support.c -o pic/$@; \ | |
1579 | else true; fi | |
1580 | if [ x"$(NOASANFLAG)" != x ]; then \ | |
1581 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf-support.c -o noasan/$@; \ | |
1582 | else true; fi | |
1583 | $(COMPILE.c) $(srcdir)/vprintf-support.c $(OUTPUT_OPTION) | |
1584 | ||
497462ef | 1585 | ./vprintf.$(objext): $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1586 | if [ x"$(PICFLAG)" != x ]; then \ |
1587 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \ | |
1588 | else true; fi | |
3f48575a | 1589 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1590 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf.c -o noasan/$@; \ | |
1591 | else true; fi | |
46a10049 | 1592 | $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION) |
37254c9a | 1593 | |
497462ef | 1594 | ./vsnprintf.$(objext): $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1595 | $(INCDIR)/libiberty.h |
46a10049 DD |
1596 | if [ x"$(PICFLAG)" != x ]; then \ |
1597 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \ | |
1598 | else true; fi | |
3f48575a | 1599 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1600 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsnprintf.c -o noasan/$@; \ | |
1601 | else true; fi | |
46a10049 | 1602 | $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION) |
37254c9a | 1603 | |
497462ef | 1604 | ./vsprintf.$(objext): $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h |
46a10049 DD |
1605 | if [ x"$(PICFLAG)" != x ]; then \ |
1606 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \ | |
1607 | else true; fi | |
3f48575a | 1608 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1609 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsprintf.c -o noasan/$@; \ | |
1610 | else true; fi | |
46a10049 | 1611 | $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION) |
37254c9a | 1612 | |
497462ef | 1613 | ./waitpid.$(objext): $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h |
46a10049 DD |
1614 | if [ x"$(PICFLAG)" != x ]; then \ |
1615 | $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \ | |
1616 | else true; fi | |
3f48575a | 1617 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1618 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/waitpid.c -o noasan/$@; \ | |
1619 | else true; fi | |
46a10049 | 1620 | $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION) |
37254c9a | 1621 | |
7c89917f RE |
1622 | ./xasprintf.$(objext): $(srcdir)/xasprintf.c config.h $(INCDIR)/ansidecl.h \ |
1623 | $(INCDIR)/libiberty.h | |
1624 | if [ x"$(PICFLAG)" != x ]; then \ | |
1625 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xasprintf.c -o pic/$@; \ | |
1626 | else true; fi | |
1627 | if [ x"$(NOASANFLAG)" != x ]; then \ | |
1628 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xasprintf.c -o noasan/$@; \ | |
1629 | else true; fi | |
1630 | $(COMPILE.c) $(srcdir)/xasprintf.c $(OUTPUT_OPTION) | |
1631 | ||
497462ef | 1632 | ./xatexit.$(objext): $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \ |
75919f94 | 1633 | $(INCDIR)/libiberty.h |
46a10049 DD |
1634 | if [ x"$(PICFLAG)" != x ]; then \ |
1635 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \ | |
1636 | else true; fi | |
3f48575a | 1637 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1638 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xatexit.c -o noasan/$@; \ | |
1639 | else true; fi | |
46a10049 | 1640 | $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION) |
37254c9a | 1641 | |
497462ef DD |
1642 | ./xexit.$(objext): $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h \ |
1643 | $(INCDIR)/libiberty.h | |
46a10049 DD |
1644 | if [ x"$(PICFLAG)" != x ]; then \ |
1645 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \ | |
1646 | else true; fi | |
3f48575a | 1647 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1648 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xexit.c -o noasan/$@; \ | |
1649 | else true; fi | |
46a10049 | 1650 | $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION) |
37254c9a | 1651 | |
497462ef | 1652 | ./xmalloc.$(objext): $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1653 | $(INCDIR)/libiberty.h |
46a10049 DD |
1654 | if [ x"$(PICFLAG)" != x ]; then \ |
1655 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \ | |
1656 | else true; fi | |
3f48575a | 1657 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1658 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmalloc.c -o noasan/$@; \ | |
1659 | else true; fi | |
46a10049 | 1660 | $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION) |
37254c9a | 1661 | |
497462ef | 1662 | ./xmemdup.$(objext): $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1663 | $(INCDIR)/libiberty.h |
46a10049 DD |
1664 | if [ x"$(PICFLAG)" != x ]; then \ |
1665 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \ | |
1666 | else true; fi | |
3f48575a | 1667 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1668 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmemdup.c -o noasan/$@; \ | |
1669 | else true; fi | |
46a10049 | 1670 | $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION) |
37254c9a | 1671 | |
497462ef | 1672 | ./xstrdup.$(objext): $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1673 | $(INCDIR)/libiberty.h |
46a10049 DD |
1674 | if [ x"$(PICFLAG)" != x ]; then \ |
1675 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \ | |
1676 | else true; fi | |
3f48575a | 1677 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1678 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrdup.c -o noasan/$@; \ | |
1679 | else true; fi | |
46a10049 | 1680 | $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION) |
37254c9a | 1681 | |
497462ef | 1682 | ./xstrerror.$(objext): $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \ |
37254c9a | 1683 | $(INCDIR)/libiberty.h |
46a10049 DD |
1684 | if [ x"$(PICFLAG)" != x ]; then \ |
1685 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \ | |
1686 | else true; fi | |
3f48575a | 1687 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1688 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrerror.c -o noasan/$@; \ | |
1689 | else true; fi | |
46a10049 | 1690 | $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION) |
37254c9a | 1691 | |
497462ef | 1692 | ./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \ |
0fad4bdb DD |
1693 | $(INCDIR)/libiberty.h |
1694 | if [ x"$(PICFLAG)" != x ]; then \ | |
1695 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \ | |
1696 | else true; fi | |
3f48575a | 1697 | if [ x"$(NOASANFLAG)" != x ]; then \ |
1698 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrndup.c -o noasan/$@; \ | |
1699 | else true; fi | |
0fad4bdb DD |
1700 | $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION) |
1701 | ||
7c89917f RE |
1702 | ./xvasprintf.$(objext): $(srcdir)/xvasprintf.c config.h $(INCDIR)/ansidecl.h \ |
1703 | $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h | |
1704 | if [ x"$(PICFLAG)" != x ]; then \ | |
1705 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xvasprintf.c -o pic/$@; \ | |
1706 | else true; fi | |
1707 | if [ x"$(NOASANFLAG)" != x ]; then \ | |
1708 | $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xvasprintf.c -o noasan/$@; \ | |
1709 | else true; fi | |
1710 | $(COMPILE.c) $(srcdir)/xvasprintf.c $(OUTPUT_OPTION) |