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