]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/Makefile.in
Minor interface cleanups of libgccjit
[thirdparty/gcc.git] / libiberty / Makefile.in
CommitLineData
f4f29b59
BE
1# Makefile for the libiberty library.
2# Originally written by K. Richard Pixley <rich@cygnus.com>.
6599da04 3#
f4f29b59 4# Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
4f148bbc
JJ
5# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
6# 2012, 2014 Free Software Foundation
6599da04
JM
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,
ee58dffd
NC
21# write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
22# Boston, MA 02110-1301, USA.
6599da04 23
d8c22ce7 24libiberty_topdir = @libiberty_topdir@
3affd5f0 25srcdir = @srcdir@
6599da04 26
3affd5f0 27prefix = @prefix@
6599da04 28
3affd5f0
JL
29exec_prefix = @exec_prefix@
30bindir = @bindir@
31libdir = @libdir@
48d7db63
PE
32includedir = @includedir@
33target_header_dir = @target_header_dir@
16f60fcb 34objext = @OBJEXT@
6599da04 35
3affd5f0 36SHELL = @SHELL@
6599da04
JM
37
38# Multilib support variables.
39MULTISRCTOP =
40MULTIBUILDTOP =
41MULTIDIRS =
42MULTISUBDIR =
43MULTIDO = true
44MULTICLEAN = true
45
3affd5f0
JL
46INSTALL = @INSTALL@
47INSTALL_PROGRAM = @INSTALL_PROGRAM@
48INSTALL_DATA = @INSTALL_DATA@
d8c22ce7 49mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs
6599da04 50
24f2cabb
L
51# Some compilers can't handle cc -c blah.c -o foo/blah.o.
52OUTPUT_OPTION = @OUTPUT_OPTION@
53
3affd5f0 54AR = @AR@
6599da04
JM
55AR_FLAGS = rc
56
3affd5f0
JL
57CC = @CC@
58CFLAGS = @CFLAGS@
b36c386c 59CPPFLAGS = @CPPFLAGS@
3affd5f0 60RANLIB = @RANLIB@
aaa5f039
DD
61MAKEINFO = @MAKEINFO@
62PERL = @PERL@
6599da04 63
c91c9c2e 64PICFLAG = @PICFLAG@
4f148bbc 65NOASANFLAG = @NOASANFLAG@
6599da04
JM
66
67MAKEOVERRIDES =
68
398b3deb
DD
69TARGETLIB = ./libiberty.a
70TESTLIB = ./testlib.a
6599da04 71
3affd5f0 72LIBOBJS = @LIBOBJS@
6599da04
JM
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.)
76EXTRA_OFILES =
77
78# Flags to pass to a recursive make.
79FLAGS_TO_PASS = \
80 "AR=$(AR)" \
81 "AR_FLAGS=$(AR_FLAGS)" \
82 "CC=$(CC)" \
83 "CFLAGS=$(CFLAGS)" \
b36c386c 84 "CPPFLAGS=$(CPPFLAGS)" \
90e5b39f 85 "DESTDIR=$(DESTDIR)" \
6599da04
JM
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)" \
6599da04 93 "RANLIB=$(RANLIB)" \
76632dd0
DJ
94 "SHELL=$(SHELL)" \
95 "prefix=$(prefix)" \
96 "exec_prefix=$(exec_prefix)" \
97 "libdir=$(libdir)" \
98 "libsubdir=$(libsubdir)" \
99 "tooldir=$(tooldir)"
6599da04 100
2c375143
NS
101# Subdirectories to recurse into. We need to override this during cleaning
102SUBDIRS = testsuite
103
aaa5f039 104# FIXME: add @BUILD_INFO@ once we're sure it works for everyone.
4f148bbc 105all: stamp-picdir stamp-noasandir $(TARGETLIB) required-list all-subdir
ef74edbd 106 @: $(MAKE) ; $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
6599da04
JM
107
108.PHONY: check installcheck
7c72138a
TT
109check: check-subdir
110installcheck: installcheck-subdir
6599da04 111
3affd5f0 112@host_makefile_frag@
6599da04
JM
113
114INCDIR=$(srcdir)/$(MULTISRCTOP)../include
115
b36c386c 116COMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
398b3deb
DD
117
118# Just to make sure we don't use a built-in rule with VPATH
16f60fcb 119.c.$(objext):
398b3deb 120 false
6599da04 121
6599da04 122# NOTE: If you add new files to the library, add them to this list
24f2cabb
L
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.
9ce3f7e5
DD
126CFILES = 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 \
b524249c 129 cp-demint.c cplus-dem.c crc32.c \
43b1b9ed 130 d-demangle.c dwarfnames.c dyn-string.c \
cde515d9
JB
131 fdmatch.c ffs.c fibheap.c filename_cmp.c floatformat.c \
132 fnmatch.c fopen_unlocked.c \
9ce3f7e5 133 getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \
17049f0b 134 gettimeofday.c \
9ce3f7e5
DD
135 hashtab.c hex.c \
136 index.c insque.c \
137 lbasename.c \
4876b2b4 138 lrealpath.c \
42766f8d 139 make-relative-prefix.c \
5fbd9447
ILT
140 make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmem.c \
141 memmove.c mempcpy.c memset.c mkstemps.c \
9ce3f7e5 142 objalloc.c obstack.c \
a584cf65
ILT
143 partition.c pexecute.c \
144 pex-common.c pex-djgpp.c pex-msdos.c pex-one.c \
55d0e5e0 145 pex-unix.c pex-win32.c \
a354191e 146 physmem.c putenv.c \
9ce3f7e5 147 random.c regex.c rename.c rindex.c \
6e9bd0f8 148 safe-ctype.c setenv.c setproctitle.c sha1.c sigsetmask.c \
1cfabf34 149 simple-object.c simple-object-coff.c simple-object-elf.c \
a9b01f00 150 simple-object-mach-o.c simple-object-xcoff.c \
6e9bd0f8 151 snprintf.c sort.c \
d423df48
JJ
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 \
ea41822a
YG
155 strtoll.c strtoul.c strtoull.c strndup.c strnlen.c \
156 strverscmp.c timeval-utils.c tmpnam.c \
c363985d 157 unlink-if-ordinary.c \
bd3fbc6b 158 vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c \
9ce3f7e5 159 waitpid.c \
17998b22
KG
160 xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c \
161 xstrndup.c
9ce3f7e5
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.
598848e4 165REQUIRED_OFILES = \
16f60fcb
TG
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) \
43b1b9ed 170 ./cp-demint.$(objext) ./crc32.$(objext) ./d-demangle.$(objext) \
11ec770e 171 ./dwarfnames.$(objext) ./dyn-string.$(objext) \
16f60fcb
TG
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) \
1cfabf34
ILT
179 ./objalloc.$(objext) \
180 ./obstack.$(objext) \
16f60fcb
TG
181 ./partition.$(objext) ./pexecute.$(objext) ./physmem.$(objext) \
182 ./pex-common.$(objext) ./pex-one.$(objext) \
183 ./@pexecute@.$(objext) \
1cfabf34
ILT
184 ./safe-ctype.$(objext) \
185 ./simple-object.$(objext) ./simple-object-coff.$(objext) \
186 ./simple-object-elf.$(objext) ./simple-object-mach-o.$(objext) \
a9b01f00 187 ./simple-object-xcoff.$(objext) \
1cfabf34 188 ./sort.$(objext) ./spaces.$(objext) \
d423df48 189 ./splay-tree.$(objext) ./stack-limit.$(objext) \
4092fb6e
DE
190 ./strerror.$(objext) ./strsignal.$(objext) \
191 ./timeval-utils.$(objext) ./unlink-if-ordinary.$(objext) \
16f60fcb
TG
192 ./xatexit.$(objext) ./xexit.$(objext) ./xmalloc.$(objext) \
193 ./xmemdup.$(objext) ./xstrdup.$(objext) ./xstrerror.$(objext) \
194 ./xstrndup.$(objext)
b548dffb 195
aaa5f039 196# These are all the objects that configure may add to the library via
9ce3f7e5
DD
197# $funcs or EXTRA_OFILES. This list exists here only for "make
198# maint-missing" and "make check".
16f60fcb
TG
199CONFIGURED_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) \
6e9bd0f8
AK
215 ./setenv.$(objext) \
216 ./setproctitle.$(objext) \
217 ./sigsetmask.$(objext) ./snprintf.$(objext) \
16f60fcb
TG
218 ./stpcpy.$(objext) ./stpncpy.$(objext) ./strcasecmp.$(objext) \
219 ./strchr.$(objext) ./strdup.$(objext) ./strncasecmp.$(objext) \
9a9baa52
ILT
220 ./strncmp.$(objext) ./strndup.$(objext) ./strnlen.$(objext) \
221 ./strrchr.$(objext) ./strstr.$(objext) ./strtod.$(objext) \
ea41822a
YG
222 ./strtol.$(objext) ./strtoul.$(objext) strtoll.$(objext) \
223 ./strtoull.$(objext) ./tmpnam.$(objext) ./strverscmp.$(objext) \
16f60fcb
TG
224 ./vasprintf.$(objext) ./vfork.$(objext) ./vfprintf.$(objext) \
225 ./vprintf.$(objext) ./vsnprintf.$(objext) ./vsprintf.$(objext) \
226 ./waitpid.$(objext)
aaa5f039 227
48d7db63
PE
228# These files are installed if the library has been configured to do so.
229INSTALLED_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 \
4092fb6e
DE
241 $(INCDIR)/splay-tree.h \
242 $(INCDIR)/timeval-utils.h
48d7db63 243
24f2cabb 244$(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
4f148bbc 245 -rm -f $(TARGETLIB) pic/$(TARGETLIB) noasan/$(TARGETLIB)
24f2cabb
L
246 $(AR) $(AR_FLAGS) $(TARGETLIB) \
247 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
248 $(RANLIB) $(TARGETLIB)
249 if [ x"$(PICFLAG)" != x ]; then \
250 cd pic; \
afb649d5
L
251 $(AR) $(AR_FLAGS) $(TARGETLIB) \
252 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
253 $(RANLIB) $(TARGETLIB); \
254 cd ..; \
4f148bbc
JJ
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 ..; \
afb649d5 262 else true; fi
6599da04 263
24f2cabb
L
264$(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
265 -rm -f $(TESTLIB)
266 $(AR) $(AR_FLAGS) $(TESTLIB) \
267 $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
268 $(RANLIB) $(TESTLIB)
9ce3f7e5 269
aaa5f039
DD
270info: libiberty.info info-subdir
271install-info: install-info-subdir
272clean-info: clean-info-subdir
273dvi: libiberty.dvi dvi-subdir
267686a7
BM
274
275LIBIBERTY_PDFFILES = libiberty.pdf
276
277pdf: $(LIBIBERTY_PDFFILES) pdf-subdir
278
279.PHONY: install-pdf
280
281pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
282
283install-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
cf61af07
CD
292
293# html, install-html targets
294HTMLS = libiberty.html
295
296html: $(HTMLS)
297
2eba9355 298.PHONY: install-html install-html-am
cf61af07
CD
299
300NORMAL_INSTALL = :
301mkdir_p = mkdir -p --
16f60fcb 302
cf61af07
CD
303html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
304
2eba9355 305install-html: install-html-am
cf61af07
CD
306
307install-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
aaa5f039
DD
324TEXISRC = \
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
aac04c15
DD
331# and sorted. Some are here because the sources are imported from
332# elsewhere. Others represent headers in ../include.
1cfabf34 333TEXIFILES = fnmatch.txh pexecute.txh simple-object.txh
aaa5f039
DD
334
335libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC)
336 $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi
337
338libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC)
339 texi2dvi $(srcdir)/libiberty.texi
340
b5422ad7
BM
341libiberty.pdf : $(srcdir)/libiberty.texi $(TEXISRC)
342 texi2pdf $(srcdir)/libiberty.texi
343
aaa5f039 344libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
610784f0 345 $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
aaa5f039
DD
346
347@MAINT@$(srcdir)/functions.texi : stamp-functions
348@MAINT@ @true
349
83fbfe42 350@MAINT@stamp-functions : $(CFILES:%=$(srcdir)/%) $(TEXIFILES:%=$(srcdir)/%) $(srcdir)/gather-docs Makefile
aaa5f039
DD
351@MAINT@@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES)
352@MAINT@ echo stamp > stamp-functions
353
3affd5f0 354INSTALL_DEST = @INSTALL_DEST@
7c72138a 355install: install_to_$(INSTALL_DEST) install-subdir
455c8f48
RW
356install-strip: install
357
358.PHONY: install install-strip
6599da04 359
5f81370d
PB
360# This is tricky. Even though CC in the Makefile contains
361# multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
269f1d98 362# default multilib, so we have to take CFLAGS into account as well,
5f81370d 363# since it will be passed the multilib flags.
269f1d98 364MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
6599da04 365install_to_libdir: all
48d7db63 366 if test -n "${target_header_dir}"; then \
8c9fddf4
MB
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; \
48d7db63 379 fi
6599da04
JM
380 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
381
382install_to_tooldir: all
9f2e0608
AO
383 ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
384 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
706601d9 385 ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n )
9f2e0608 386 mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
6599da04
JM
387 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
388
3affd5f0
JL
389# required-list was used when building a shared bfd/opcodes/libiberty
390# library. I don't know if it used by anything currently.
6599da04
JM
391required-list: Makefile
392 echo $(REQUIRED_OFILES) > required-list
393
24f2cabb
L
394stamp-picdir:
395 if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
396 mkdir pic; \
397 else true; fi
398 touch stamp-picdir
399
4f148bbc
JJ
400stamp-noasandir:
401 if [ x"$(NOASANFLAG)" != x ] && [ ! -d noasan ]; then \
402 mkdir noasan; \
403 else true; fi
404 touch stamp-noasandir
405
3affd5f0 406.PHONY: all etags tags ls clean stage1 stage2
6599da04 407
7c72138a 408etags tags: TAGS etags-subdir
6599da04 409
b548dffb
ZW
410TAGS: $(CFILES)
411 etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
6599da04
JM
412
413# The standalone demangler (c++filt) has been moved to binutils.
d5f4eddd
JM
414# But make this target work anyway for demangler hacking.
415demangle: $(ALL) $(srcdir)/cp-demangle.c
6599da04
JM
416 @echo "The standalone demangler, now named c++filt, is now"
417 @echo "a part of binutils."
d5f4eddd
JM
418 $(CC) @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) \
419 $(srcdir)/cp-demangle.c -DSTANDALONE_DEMANGLER $(TARGETLIB) -o $@
6599da04
JM
420
421ls:
b548dffb 422 @echo Makefile $(CFILES)
6599da04 423
aaa5f039
DD
424# Various targets for maintainers.
425
426maint-missing :
24f2cabb 427 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
aaa5f039 428
24f2cabb 429maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
aaa5f039
DD
430 @true
431
aac04c15
DD
432maint-undoc : $(srcdir)/functions.texi
433 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
434
9ce3f7e5
DD
435maint-deps :
436 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
437
6599da04
JM
438# Need to deal with profiled libraries, too.
439
2c375143
NS
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.
7c72138a 442mostlyclean: mostlyclean-subdir
4f148bbc 443 -rm -rf *.$(objext) pic noasan core errs \#* *.E a.out
ae2040df 444 -rm -f errors dummy config.h stamp-*
4f148bbc 445 -rm -f $(CONFIG_H) stamp-picdir stamp-noasandir
aaa5f039
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
6599da04 450 @$(MULTICLEAN) multi-clean DO=mostlyclean
2c375143
NS
451clean: clean-subdir
452 $(MAKE) SUBDIRS="" mostlyclean
5a2eb52b 453 -rm -f *.a required-list tmpmulti.out
b5422ad7 454 -rm -f libiberty.dvi libiberty.pdf libiberty.info* libiberty.html
6599da04 455 @$(MULTICLEAN) multi-clean DO=clean
2c375143
NS
456distclean: distclean-subdir
457 $(MAKE) SUBDIRS="" clean
6599da04 458 @$(MULTICLEAN) multi-clean DO=distclean
0046e342 459 -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
5a2eb52b 460 -rm -f config.log
b25a8973 461 -rmdir testsuite 2>/dev/null
2c375143
NS
462maintainer-clean realclean: maintainer-clean-subdir
463 $(MAKE) SUBDIRS="" distclean
6599da04
JM
464
465force:
466
3affd5f0
JL
467Makefile: $(srcdir)/Makefile.in config.status
468 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
469
97e620cf
DD
470# Depending on Makefile makes sure that config.status has been re-run
471# if needed. This prevents problems with parallel builds.
3affd5f0 472config.h: stamp-h ; @true
398b3deb
DD
473stamp-h: $(srcdir)/config.in config.status Makefile
474 CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
3affd5f0 475
769b009e 476config.status: $(srcdir)/configure
3affd5f0 477 $(SHELL) ./config.status --recheck
6599da04 478
6efbd53f
RW
479AUTOCONF = autoconf
480configure_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
f59a2f55 489# Depending on config.h makes sure that config.status has been re-run
97e620cf
DD
490# if needed. This prevents problems with parallel builds, in case
491# subdirectories need to run config.status also.
7c72138a 492all-subdir check-subdir installcheck-subdir info-subdir \
b5422ad7 493install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir \
7c72138a 494etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
f59a2f55 495maintainer-clean-subdir: config.h
3b94497c 496 @subdirs='$(SUBDIRS)'; \
7277f72d 497 target=`echo $@ | sed -e 's/-subdir//'`; \
3b94497c 498 for dir in $$subdirs ; do \
4ce1921a 499 cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
2c375143 500 done
7c72138a 501
4f148bbc
JJ
502$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir stamp-noasandir
503$(CONFIGURED_OFILES): stamp-picdir stamp-noasandir
24f2cabb 504
17049f0b
MM
505# Don't export variables to the environment, in order to not confuse
506# configure.
507.NOEXPORT:
508
9ce3f7e5
DD
509# The dependencies in the remainder of this file are automatically
510# generated by "make maint-deps". Manual edits will be lost.
7b195f77 511
16f60fcb 512./_doprnt.$(objext): $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \
9ce3f7e5 513 $(INCDIR)/safe-ctype.h
24f2cabb
L
514 if [ x"$(PICFLAG)" != x ]; then \
515 $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \
516 else true; fi
4f148bbc
JJ
517 if [ x"$(NOASANFLAG)" != x ]; then \
518 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/_doprnt.c -o noasan/$@; \
519 else true; fi
24f2cabb 520 $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION)
398b3deb 521
16f60fcb 522./alloca.$(objext): $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
f59a2f55 523 $(INCDIR)/libiberty.h
24f2cabb
L
524 if [ x"$(PICFLAG)" != x ]; then \
525 $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \
526 else true; fi
4f148bbc
JJ
527 if [ x"$(NOASANFLAG)" != x ]; then \
528 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/alloca.c -o noasan/$@; \
529 else true; fi
24f2cabb 530 $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION)
398b3deb 531
16f60fcb
TG
532./argv.$(objext): $(srcdir)/argv.c config.h $(INCDIR)/ansidecl.h \
533 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
24f2cabb
L
534 if [ x"$(PICFLAG)" != x ]; then \
535 $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \
536 else true; fi
4f148bbc
JJ
537 if [ x"$(NOASANFLAG)" != x ]; then \
538 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/argv.c -o noasan/$@; \
539 else true; fi
24f2cabb 540 $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION)
398b3deb 541
16f60fcb 542./asprintf.$(objext): $(srcdir)/asprintf.c config.h $(INCDIR)/ansidecl.h \
bd7d50f8 543 $(INCDIR)/libiberty.h
24f2cabb
L
544 if [ x"$(PICFLAG)" != x ]; then \
545 $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \
546 else true; fi
4f148bbc
JJ
547 if [ x"$(NOASANFLAG)" != x ]; then \
548 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/asprintf.c -o noasan/$@; \
549 else true; fi
24f2cabb 550 $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION)
398b3deb 551
16f60fcb 552./atexit.$(objext): $(srcdir)/atexit.c config.h
24f2cabb
L
553 if [ x"$(PICFLAG)" != x ]; then \
554 $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \
555 else true; fi
4f148bbc
JJ
556 if [ x"$(NOASANFLAG)" != x ]; then \
557 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/atexit.c -o noasan/$@; \
558 else true; fi
24f2cabb 559 $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION)
398b3deb 560
16f60fcb 561./basename.$(objext): $(srcdir)/basename.c config.h $(INCDIR)/ansidecl.h \
bd7d50f8 562 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
24f2cabb
L
563 if [ x"$(PICFLAG)" != x ]; then \
564 $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \
565 else true; fi
4f148bbc
JJ
566 if [ x"$(NOASANFLAG)" != x ]; then \
567 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/basename.c -o noasan/$@; \
568 else true; fi
24f2cabb 569 $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION)
398b3deb 570
16f60fcb 571./bcmp.$(objext): $(srcdir)/bcmp.c
24f2cabb
L
572 if [ x"$(PICFLAG)" != x ]; then \
573 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \
574 else true; fi
4f148bbc
JJ
575 if [ x"$(NOASANFLAG)" != x ]; then \
576 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcmp.c -o noasan/$@; \
577 else true; fi
24f2cabb 578 $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION)
398b3deb 579
16f60fcb 580./bcopy.$(objext): $(srcdir)/bcopy.c
24f2cabb
L
581 if [ x"$(PICFLAG)" != x ]; then \
582 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \
583 else true; fi
4f148bbc
JJ
584 if [ x"$(NOASANFLAG)" != x ]; then \
585 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcopy.c -o noasan/$@; \
586 else true; fi
24f2cabb 587 $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION)
398b3deb 588
16f60fcb 589./bsearch.$(objext): $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h
24f2cabb
L
590 if [ x"$(PICFLAG)" != x ]; then \
591 $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \
592 else true; fi
4f148bbc
JJ
593 if [ x"$(NOASANFLAG)" != x ]; then \
594 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bsearch.c -o noasan/$@; \
595 else true; fi
24f2cabb 596 $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION)
398b3deb 597
16f60fcb 598./bzero.$(objext): $(srcdir)/bzero.c
24f2cabb
L
599 if [ x"$(PICFLAG)" != x ]; then \
600 $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \
601 else true; fi
4f148bbc
JJ
602 if [ x"$(NOASANFLAG)" != x ]; then \
603 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bzero.c -o noasan/$@; \
604 else true; fi
24f2cabb 605 $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION)
398b3deb 606
16f60fcb 607./calloc.$(objext): $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
24f2cabb
L
608 if [ x"$(PICFLAG)" != x ]; then \
609 $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \
610 else true; fi
4f148bbc
JJ
611 if [ x"$(NOASANFLAG)" != x ]; then \
612 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/calloc.c -o noasan/$@; \
613 else true; fi
24f2cabb 614 $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION)
398b3deb 615
16f60fcb 616./choose-temp.$(objext): $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
398b3deb 617 $(INCDIR)/libiberty.h
24f2cabb
L
618 if [ x"$(PICFLAG)" != x ]; then \
619 $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \
620 else true; fi
4f148bbc
JJ
621 if [ x"$(NOASANFLAG)" != x ]; then \
622 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/choose-temp.c -o noasan/$@; \
623 else true; fi
24f2cabb 624 $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION)
398b3deb 625
16f60fcb 626./clock.$(objext): $(srcdir)/clock.c config.h
24f2cabb
L
627 if [ x"$(PICFLAG)" != x ]; then \
628 $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \
629 else true; fi
4f148bbc
JJ
630 if [ x"$(NOASANFLAG)" != x ]; then \
631 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/clock.c -o noasan/$@; \
632 else true; fi
24f2cabb 633 $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION)
398b3deb 634
16f60fcb 635./concat.$(objext): $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
f59a2f55 636 $(INCDIR)/libiberty.h
24f2cabb
L
637 if [ x"$(PICFLAG)" != x ]; then \
638 $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \
639 else true; fi
4f148bbc
JJ
640 if [ x"$(NOASANFLAG)" != x ]; then \
641 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/concat.c -o noasan/$@; \
642 else true; fi
24f2cabb 643 $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION)
398b3deb 644
16f60fcb 645./copysign.$(objext): $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
24f2cabb
L
646 if [ x"$(PICFLAG)" != x ]; then \
647 $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \
648 else true; fi
4f148bbc
JJ
649 if [ x"$(NOASANFLAG)" != x ]; then \
650 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/copysign.c -o noasan/$@; \
651 else true; fi
24f2cabb 652 $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION)
398b3deb 653
16f60fcb 654./cp-demangle.$(objext): $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
398b3deb
DD
655 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
656 $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
24f2cabb
L
657 if [ x"$(PICFLAG)" != x ]; then \
658 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \
659 else true; fi
4f148bbc
JJ
660 if [ x"$(NOASANFLAG)" != x ]; then \
661 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demangle.c -o noasan/$@; \
662 else true; fi
24f2cabb 663 $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION)
398b3deb 664
16f60fcb 665./cp-demint.$(objext): $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
398b3deb 666 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
9ce3f7e5 667 $(INCDIR)/libiberty.h
24f2cabb
L
668 if [ x"$(PICFLAG)" != x ]; then \
669 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \
670 else true; fi
4f148bbc
JJ
671 if [ x"$(NOASANFLAG)" != x ]; then \
672 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demint.c -o noasan/$@; \
673 else true; fi
24f2cabb 674 $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION)
398b3deb 675
16f60fcb 676./cplus-dem.$(objext): $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
398b3deb
DD
677 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
678 $(INCDIR)/safe-ctype.h
24f2cabb
L
679 if [ x"$(PICFLAG)" != x ]; then \
680 $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \
681 else true; fi
4f148bbc
JJ
682 if [ x"$(NOASANFLAG)" != x ]; then \
683 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cplus-dem.c -o noasan/$@; \
684 else true; fi
24f2cabb 685 $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION)
398b3deb 686
16f60fcb
TG
687./crc32.$(objext): $(srcdir)/crc32.c config.h $(INCDIR)/ansidecl.h \
688 $(INCDIR)/libiberty.h
b524249c
ILT
689 if [ x"$(PICFLAG)" != x ]; then \
690 $(COMPILE.c) $(PICFLAG) $(srcdir)/crc32.c -o pic/$@; \
691 else true; fi
4f148bbc
JJ
692 if [ x"$(NOASANFLAG)" != x ]; then \
693 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/crc32.c -o noasan/$@; \
694 else true; fi
b524249c
ILT
695 $(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION)
696
ea41822a
YG
697./d-demangle.$(objext): $(srcdir)/d-demangle.c config.h $(INCDIR)/ansidecl.h \
698 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
699 $(INCDIR)/safe-ctype.h
700 if [ x"$(PICFLAG)" != x ]; then \
701 $(COMPILE.c) $(PICFLAG) $(srcdir)/d-demangle.c -o pic/$@; \
702 else true; fi
703 if [ x"$(NOASANFLAG)" != x ]; then \
704 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/d-demangle.c -o noasan/$@; \
705 else true; fi
706 $(COMPILE.c) $(srcdir)/d-demangle.c $(OUTPUT_OPTION)
707
9a9baa52
ILT
708./dwarfnames.$(objext): $(srcdir)/dwarfnames.c $(INCDIR)/dwarf2.def \
709 $(INCDIR)/dwarf2.h
11ec770e
TT
710 if [ x"$(PICFLAG)" != x ]; then \
711 $(COMPILE.c) $(PICFLAG) $(srcdir)/dwarfnames.c -o pic/$@; \
712 else true; fi
4f148bbc
JJ
713 if [ x"$(NOASANFLAG)" != x ]; then \
714 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dwarfnames.c -o noasan/$@; \
715 else true; fi
11ec770e
TT
716 $(COMPILE.c) $(srcdir)/dwarfnames.c $(OUTPUT_OPTION)
717
16f60fcb 718./dyn-string.$(objext): $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
398b3deb 719 $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
24f2cabb
L
720 if [ x"$(PICFLAG)" != x ]; then \
721 $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \
722 else true; fi
4f148bbc
JJ
723 if [ x"$(NOASANFLAG)" != x ]; then \
724 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dyn-string.c -o noasan/$@; \
725 else true; fi
24f2cabb 726 $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION)
398b3deb 727
16f60fcb 728./fdmatch.$(objext): $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \
bd7d50f8 729 $(INCDIR)/libiberty.h
24f2cabb
L
730 if [ x"$(PICFLAG)" != x ]; then \
731 $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \
732 else true; fi
4f148bbc
JJ
733 if [ x"$(NOASANFLAG)" != x ]; then \
734 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fdmatch.c -o noasan/$@; \
735 else true; fi
24f2cabb 736 $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION)
398b3deb 737
16f60fcb 738./ffs.$(objext): $(srcdir)/ffs.c
24f2cabb
L
739 if [ x"$(PICFLAG)" != x ]; then \
740 $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \
741 else true; fi
4f148bbc
JJ
742 if [ x"$(NOASANFLAG)" != x ]; then \
743 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/ffs.c -o noasan/$@; \
744 else true; fi
24f2cabb 745 $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION)
398b3deb 746
16f60fcb 747./fibheap.$(objext): $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
f59a2f55 748 $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
24f2cabb
L
749 if [ x"$(PICFLAG)" != x ]; then \
750 $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \
751 else true; fi
4f148bbc
JJ
752 if [ x"$(NOASANFLAG)" != x ]; then \
753 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fibheap.c -o noasan/$@; \
754 else true; fi
24f2cabb 755 $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION)
398b3deb 756
9a9baa52
ILT
757./filename_cmp.$(objext): $(srcdir)/filename_cmp.c config.h $(INCDIR)/ansidecl.h \
758 $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
186c60ab 759 $(INCDIR)/safe-ctype.h
cde515d9
JB
760 if [ x"$(PICFLAG)" != x ]; then \
761 $(COMPILE.c) $(PICFLAG) $(srcdir)/filename_cmp.c -o pic/$@; \
762 else true; fi
4f148bbc
JJ
763 if [ x"$(NOASANFLAG)" != x ]; then \
764 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/filename_cmp.c -o noasan/$@; \
765 else true; fi
cde515d9
JB
766 $(COMPILE.c) $(srcdir)/filename_cmp.c $(OUTPUT_OPTION)
767
16f60fcb 768./floatformat.$(objext): $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
398b3deb 769 $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
24f2cabb
L
770 if [ x"$(PICFLAG)" != x ]; then \
771 $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \
772 else true; fi
4f148bbc
JJ
773 if [ x"$(NOASANFLAG)" != x ]; then \
774 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/floatformat.c -o noasan/$@; \
775 else true; fi
24f2cabb 776 $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION)
398b3deb 777
16f60fcb 778./fnmatch.$(objext): $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
398b3deb 779 $(INCDIR)/safe-ctype.h
24f2cabb
L
780 if [ x"$(PICFLAG)" != x ]; then \
781 $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \
782 else true; fi
4f148bbc
JJ
783 if [ x"$(NOASANFLAG)" != x ]; then \
784 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fnmatch.c -o noasan/$@; \
785 else true; fi
24f2cabb 786 $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION)
398b3deb 787
16f60fcb
TG
788./fopen_unlocked.$(objext): $(srcdir)/fopen_unlocked.c config.h \
789 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
78a7dc90
KG
790 if [ x"$(PICFLAG)" != x ]; then \
791 $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \
792 else true; fi
4f148bbc
JJ
793 if [ x"$(NOASANFLAG)" != x ]; then \
794 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fopen_unlocked.c -o noasan/$@; \
795 else true; fi
78a7dc90
KG
796 $(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION)
797
16f60fcb 798./getcwd.$(objext): $(srcdir)/getcwd.c config.h
24f2cabb
L
799 if [ x"$(PICFLAG)" != x ]; then \
800 $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \
801 else true; fi
4f148bbc
JJ
802 if [ x"$(NOASANFLAG)" != x ]; then \
803 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getcwd.c -o noasan/$@; \
804 else true; fi
24f2cabb 805 $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION)
398b3deb 806
16f60fcb
TG
807./getopt.$(objext): $(srcdir)/getopt.c config.h $(INCDIR)/ansidecl.h \
808 $(INCDIR)/getopt.h
24f2cabb
L
809 if [ x"$(PICFLAG)" != x ]; then \
810 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \
811 else true; fi
4f148bbc
JJ
812 if [ x"$(NOASANFLAG)" != x ]; then \
813 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt.c -o noasan/$@; \
814 else true; fi
24f2cabb 815 $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION)
398b3deb 816
16f60fcb 817./getopt1.$(objext): $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h
24f2cabb
L
818 if [ x"$(PICFLAG)" != x ]; then \
819 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \
820 else true; fi
4f148bbc
JJ
821 if [ x"$(NOASANFLAG)" != x ]; then \
822 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt1.c -o noasan/$@; \
823 else true; fi
24f2cabb 824 $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION)
398b3deb 825
16f60fcb 826./getpagesize.$(objext): $(srcdir)/getpagesize.c config.h
24f2cabb
L
827 if [ x"$(PICFLAG)" != x ]; then \
828 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \
829 else true; fi
4f148bbc
JJ
830 if [ x"$(NOASANFLAG)" != x ]; then \
831 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpagesize.c -o noasan/$@; \
832 else true; fi
24f2cabb 833 $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION)
398b3deb 834
16f60fcb 835./getpwd.$(objext): $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
f59a2f55 836 $(INCDIR)/libiberty.h
24f2cabb
L
837 if [ x"$(PICFLAG)" != x ]; then \
838 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \
839 else true; fi
4f148bbc
JJ
840 if [ x"$(NOASANFLAG)" != x ]; then \
841 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpwd.c -o noasan/$@; \
842 else true; fi
24f2cabb 843 $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION)
398b3deb 844
16f60fcb 845./getruntime.$(objext): $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
9ce3f7e5 846 $(INCDIR)/libiberty.h
24f2cabb
L
847 if [ x"$(PICFLAG)" != x ]; then \
848 $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \
849 else true; fi
4f148bbc
JJ
850 if [ x"$(NOASANFLAG)" != x ]; then \
851 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getruntime.c -o noasan/$@; \
852 else true; fi
24f2cabb 853 $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION)
398b3deb 854
16f60fcb 855./gettimeofday.$(objext): $(srcdir)/gettimeofday.c config.h $(INCDIR)/ansidecl.h \
17049f0b
MM
856 $(INCDIR)/libiberty.h
857 if [ x"$(PICFLAG)" != x ]; then \
858 $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \
859 else true; fi
4f148bbc
JJ
860 if [ x"$(NOASANFLAG)" != x ]; then \
861 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/gettimeofday.c -o noasan/$@; \
862 else true; fi
17049f0b
MM
863 $(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION)
864
16f60fcb 865./hashtab.$(objext): $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
f59a2f55 866 $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
24f2cabb
L
867 if [ x"$(PICFLAG)" != x ]; then \
868 $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \
869 else true; fi
4f148bbc
JJ
870 if [ x"$(NOASANFLAG)" != x ]; then \
871 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hashtab.c -o noasan/$@; \
872 else true; fi
24f2cabb 873 $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION)
398b3deb 874
16f60fcb
TG
875./hex.$(objext): $(srcdir)/hex.c config.h $(INCDIR)/ansidecl.h \
876 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
24f2cabb
L
877 if [ x"$(PICFLAG)" != x ]; then \
878 $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \
879 else true; fi
4f148bbc
JJ
880 if [ x"$(NOASANFLAG)" != x ]; then \
881 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hex.c -o noasan/$@; \
882 else true; fi
24f2cabb 883 $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION)
398b3deb 884
16f60fcb 885./index.$(objext): $(srcdir)/index.c
24f2cabb
L
886 if [ x"$(PICFLAG)" != x ]; then \
887 $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \
888 else true; fi
4f148bbc
JJ
889 if [ x"$(NOASANFLAG)" != x ]; then \
890 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/index.c -o noasan/$@; \
891 else true; fi
24f2cabb 892 $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION)
398b3deb 893
16f60fcb 894./insque.$(objext): $(srcdir)/insque.c
24f2cabb
L
895 if [ x"$(PICFLAG)" != x ]; then \
896 $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \
897 else true; fi
4f148bbc
JJ
898 if [ x"$(NOASANFLAG)" != x ]; then \
899 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/insque.c -o noasan/$@; \
900 else true; fi
24f2cabb 901 $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION)
398b3deb 902
16f60fcb 903./lbasename.$(objext): $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \
9a9baa52 904 $(INCDIR)/filenames.h $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h \
16f60fcb 905 $(INCDIR)/safe-ctype.h
24f2cabb
L
906 if [ x"$(PICFLAG)" != x ]; then \
907 $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \
908 else true; fi
4f148bbc
JJ
909 if [ x"$(NOASANFLAG)" != x ]; then \
910 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lbasename.c -o noasan/$@; \
911 else true; fi
24f2cabb 912 $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION)
398b3deb 913
16f60fcb 914./lrealpath.$(objext): $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
398b3deb 915 $(INCDIR)/libiberty.h
24f2cabb
L
916 if [ x"$(PICFLAG)" != x ]; then \
917 $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \
918 else true; fi
4f148bbc
JJ
919 if [ x"$(NOASANFLAG)" != x ]; then \
920 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lrealpath.c -o noasan/$@; \
921 else true; fi
24f2cabb 922 $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION)
398b3deb 923
16f60fcb 924./make-relative-prefix.$(objext): $(srcdir)/make-relative-prefix.c config.h \
398b3deb 925 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
24f2cabb
L
926 if [ x"$(PICFLAG)" != x ]; then \
927 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \
928 else true; fi
4f148bbc
JJ
929 if [ x"$(NOASANFLAG)" != x ]; then \
930 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-relative-prefix.c -o noasan/$@; \
931 else true; fi
24f2cabb 932 $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION)
398b3deb 933
16f60fcb
TG
934./make-temp-file.$(objext): $(srcdir)/make-temp-file.c config.h \
935 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
24f2cabb
L
936 if [ x"$(PICFLAG)" != x ]; then \
937 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \
938 else true; fi
4f148bbc
JJ
939 if [ x"$(NOASANFLAG)" != x ]; then \
940 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-temp-file.c -o noasan/$@; \
941 else true; fi
24f2cabb 942 $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION)
398b3deb 943
16f60fcb 944./md5.$(objext): $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
24f2cabb
L
945 if [ x"$(PICFLAG)" != x ]; then \
946 $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \
947 else true; fi
4f148bbc
JJ
948 if [ x"$(NOASANFLAG)" != x ]; then \
949 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/md5.c -o noasan/$@; \
950 else true; fi
24f2cabb 951 $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION)
398b3deb 952
16f60fcb 953./memchr.$(objext): $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
24f2cabb
L
954 if [ x"$(PICFLAG)" != x ]; then \
955 $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \
956 else true; fi
4f148bbc
JJ
957 if [ x"$(NOASANFLAG)" != x ]; then \
958 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memchr.c -o noasan/$@; \
959 else true; fi
24f2cabb 960 $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION)
398b3deb 961
16f60fcb 962./memcmp.$(objext): $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
24f2cabb
L
963 if [ x"$(PICFLAG)" != x ]; then \
964 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \
965 else true; fi
4f148bbc
JJ
966 if [ x"$(NOASANFLAG)" != x ]; then \
967 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcmp.c -o noasan/$@; \
968 else true; fi
24f2cabb 969 $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION)
398b3deb 970
16f60fcb 971./memcpy.$(objext): $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
24f2cabb
L
972 if [ x"$(PICFLAG)" != x ]; then \
973 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \
974 else true; fi
4f148bbc
JJ
975 if [ x"$(NOASANFLAG)" != x ]; then \
976 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcpy.c -o noasan/$@; \
977 else true; fi
24f2cabb 978 $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION)
398b3deb 979
16f60fcb 980./memmem.$(objext): $(srcdir)/memmem.c config.h
5fbd9447
ILT
981 if [ x"$(PICFLAG)" != x ]; then \
982 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmem.c -o pic/$@; \
983 else true; fi
4f148bbc
JJ
984 if [ x"$(NOASANFLAG)" != x ]; then \
985 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmem.c -o noasan/$@; \
986 else true; fi
5fbd9447
ILT
987 $(COMPILE.c) $(srcdir)/memmem.c $(OUTPUT_OPTION)
988
16f60fcb 989./memmove.$(objext): $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
24f2cabb
L
990 if [ x"$(PICFLAG)" != x ]; then \
991 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \
992 else true; fi
4f148bbc
JJ
993 if [ x"$(NOASANFLAG)" != x ]; then \
994 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmove.c -o noasan/$@; \
995 else true; fi
24f2cabb 996 $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION)
398b3deb 997
16f60fcb 998./mempcpy.$(objext): $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h
24f2cabb
L
999 if [ x"$(PICFLAG)" != x ]; then \
1000 $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \
1001 else true; fi
4f148bbc
JJ
1002 if [ x"$(NOASANFLAG)" != x ]; then \
1003 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mempcpy.c -o noasan/$@; \
1004 else true; fi
24f2cabb 1005 $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION)
398b3deb 1006
16f60fcb 1007./memset.$(objext): $(srcdir)/memset.c $(INCDIR)/ansidecl.h
24f2cabb
L
1008 if [ x"$(PICFLAG)" != x ]; then \
1009 $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \
1010 else true; fi
4f148bbc
JJ
1011 if [ x"$(NOASANFLAG)" != x ]; then \
1012 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memset.c -o noasan/$@; \
1013 else true; fi
24f2cabb 1014 $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION)
398b3deb 1015
16f60fcb 1016./mkstemps.$(objext): $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h
24f2cabb
L
1017 if [ x"$(PICFLAG)" != x ]; then \
1018 $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \
1019 else true; fi
4f148bbc
JJ
1020 if [ x"$(NOASANFLAG)" != x ]; then \
1021 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mkstemps.c -o noasan/$@; \
1022 else true; fi
24f2cabb 1023 $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION)
398b3deb 1024
16f60fcb 1025./msdos.$(objext): $(srcdir)/msdos.c
24f2cabb
L
1026 if [ x"$(PICFLAG)" != x ]; then \
1027 $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \
1028 else true; fi
4f148bbc
JJ
1029 if [ x"$(NOASANFLAG)" != x ]; then \
1030 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/msdos.c -o noasan/$@; \
1031 else true; fi
24f2cabb 1032 $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION)
398b3deb 1033
16f60fcb 1034./objalloc.$(objext): $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1035 $(INCDIR)/objalloc.h
24f2cabb
L
1036 if [ x"$(PICFLAG)" != x ]; then \
1037 $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \
1038 else true; fi
4f148bbc
JJ
1039 if [ x"$(NOASANFLAG)" != x ]; then \
1040 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/objalloc.c -o noasan/$@; \
1041 else true; fi
24f2cabb 1042 $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION)
398b3deb 1043
16f60fcb 1044./obstack.$(objext): $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h
24f2cabb
L
1045 if [ x"$(PICFLAG)" != x ]; then \
1046 $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \
1047 else true; fi
4f148bbc
JJ
1048 if [ x"$(NOASANFLAG)" != x ]; then \
1049 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/obstack.c -o noasan/$@; \
1050 else true; fi
24f2cabb 1051 $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION)
398b3deb 1052
16f60fcb 1053./partition.$(objext): $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1054 $(INCDIR)/libiberty.h $(INCDIR)/partition.h
24f2cabb
L
1055 if [ x"$(PICFLAG)" != x ]; then \
1056 $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \
1057 else true; fi
4f148bbc
JJ
1058 if [ x"$(NOASANFLAG)" != x ]; then \
1059 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/partition.c -o noasan/$@; \
1060 else true; fi
24f2cabb 1061 $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION)
398b3deb 1062
16f60fcb 1063./pex-common.$(objext): $(srcdir)/pex-common.c config.h $(INCDIR)/ansidecl.h \
a584cf65
ILT
1064 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1065 if [ x"$(PICFLAG)" != x ]; then \
1066 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-common.c -o pic/$@; \
1067 else true; fi
4f148bbc
JJ
1068 if [ x"$(NOASANFLAG)" != x ]; then \
1069 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-common.c -o noasan/$@; \
1070 else true; fi
a584cf65
ILT
1071 $(COMPILE.c) $(srcdir)/pex-common.c $(OUTPUT_OPTION)
1072
16f60fcb 1073./pex-djgpp.$(objext): $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1074 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
24f2cabb
L
1075 if [ x"$(PICFLAG)" != x ]; then \
1076 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \
1077 else true; fi
4f148bbc
JJ
1078 if [ x"$(NOASANFLAG)" != x ]; then \
1079 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-djgpp.c -o noasan/$@; \
1080 else true; fi
24f2cabb 1081 $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION)
398b3deb 1082
16f60fcb 1083./pex-msdos.$(objext): $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
398b3deb
DD
1084 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
1085 $(INCDIR)/safe-ctype.h
24f2cabb
L
1086 if [ x"$(PICFLAG)" != x ]; then \
1087 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \
1088 else true; fi
4f148bbc
JJ
1089 if [ x"$(NOASANFLAG)" != x ]; then \
1090 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-msdos.c -o noasan/$@; \
1091 else true; fi
24f2cabb 1092 $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION)
398b3deb 1093
16f60fcb 1094./pex-one.$(objext): $(srcdir)/pex-one.c config.h $(INCDIR)/ansidecl.h \
a584cf65
ILT
1095 $(INCDIR)/libiberty.h
1096 if [ x"$(PICFLAG)" != x ]; then \
1097 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-one.c -o pic/$@; \
1098 else true; fi
4f148bbc
JJ
1099 if [ x"$(NOASANFLAG)" != x ]; then \
1100 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-one.c -o noasan/$@; \
1101 else true; fi
a584cf65
ILT
1102 $(COMPILE.c) $(srcdir)/pex-one.c $(OUTPUT_OPTION)
1103
16f60fcb 1104./pex-unix.$(objext): $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1105 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
24f2cabb
L
1106 if [ x"$(PICFLAG)" != x ]; then \
1107 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \
1108 else true; fi
4f148bbc
JJ
1109 if [ x"$(NOASANFLAG)" != x ]; then \
1110 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-unix.c -o noasan/$@; \
1111 else true; fi
24f2cabb 1112 $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION)
398b3deb 1113
16f60fcb 1114./pex-win32.$(objext): $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1115 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
24f2cabb
L
1116 if [ x"$(PICFLAG)" != x ]; then \
1117 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \
1118 else true; fi
4f148bbc
JJ
1119 if [ x"$(NOASANFLAG)" != x ]; then \
1120 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-win32.c -o noasan/$@; \
1121 else true; fi
24f2cabb 1122 $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION)
398b3deb 1123
16f60fcb 1124./pexecute.$(objext): $(srcdir)/pexecute.c config.h $(INCDIR)/ansidecl.h \
a584cf65
ILT
1125 $(INCDIR)/libiberty.h
1126 if [ x"$(PICFLAG)" != x ]; then \
1127 $(COMPILE.c) $(PICFLAG) $(srcdir)/pexecute.c -o pic/$@; \
1128 else true; fi
4f148bbc
JJ
1129 if [ x"$(NOASANFLAG)" != x ]; then \
1130 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pexecute.c -o noasan/$@; \
1131 else true; fi
a584cf65
ILT
1132 $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION)
1133
16f60fcb 1134./physmem.$(objext): $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1135 $(INCDIR)/libiberty.h
24f2cabb
L
1136 if [ x"$(PICFLAG)" != x ]; then \
1137 $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \
1138 else true; fi
4f148bbc
JJ
1139 if [ x"$(NOASANFLAG)" != x ]; then \
1140 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/physmem.c -o noasan/$@; \
1141 else true; fi
24f2cabb 1142 $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION)
398b3deb 1143
16f60fcb 1144./putenv.$(objext): $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h
24f2cabb
L
1145 if [ x"$(PICFLAG)" != x ]; then \
1146 $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \
1147 else true; fi
4f148bbc
JJ
1148 if [ x"$(NOASANFLAG)" != x ]; then \
1149 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/putenv.c -o noasan/$@; \
1150 else true; fi
24f2cabb 1151 $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION)
398b3deb 1152
16f60fcb 1153./random.$(objext): $(srcdir)/random.c $(INCDIR)/ansidecl.h
24f2cabb
L
1154 if [ x"$(PICFLAG)" != x ]; then \
1155 $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \
1156 else true; fi
4f148bbc
JJ
1157 if [ x"$(NOASANFLAG)" != x ]; then \
1158 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/random.c -o noasan/$@; \
1159 else true; fi
24f2cabb 1160 $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION)
398b3deb 1161
16f60fcb
TG
1162./regex.$(objext): $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h \
1163 $(INCDIR)/xregex.h $(INCDIR)/xregex2.h
24f2cabb
L
1164 if [ x"$(PICFLAG)" != x ]; then \
1165 $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \
1166 else true; fi
4f148bbc
JJ
1167 if [ x"$(NOASANFLAG)" != x ]; then \
1168 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/regex.c -o noasan/$@; \
1169 else true; fi
24f2cabb 1170 $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION)
398b3deb 1171
16f60fcb 1172./rename.$(objext): $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h
24f2cabb
L
1173 if [ x"$(PICFLAG)" != x ]; then \
1174 $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \
1175 else true; fi
4f148bbc
JJ
1176 if [ x"$(NOASANFLAG)" != x ]; then \
1177 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rename.c -o noasan/$@; \
1178 else true; fi
24f2cabb 1179 $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION)
398b3deb 1180
16f60fcb 1181./rindex.$(objext): $(srcdir)/rindex.c
24f2cabb
L
1182 if [ x"$(PICFLAG)" != x ]; then \
1183 $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \
1184 else true; fi
4f148bbc
JJ
1185 if [ x"$(NOASANFLAG)" != x ]; then \
1186 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rindex.c -o noasan/$@; \
1187 else true; fi
24f2cabb 1188 $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION)
398b3deb 1189
16f60fcb 1190./safe-ctype.$(objext): $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
398b3deb 1191 $(INCDIR)/safe-ctype.h
24f2cabb
L
1192 if [ x"$(PICFLAG)" != x ]; then \
1193 $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \
1194 else true; fi
4f148bbc
JJ
1195 if [ x"$(NOASANFLAG)" != x ]; then \
1196 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/safe-ctype.c -o noasan/$@; \
1197 else true; fi
24f2cabb 1198 $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION)
398b3deb 1199
16f60fcb 1200./setenv.$(objext): $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
24f2cabb
L
1201 if [ x"$(PICFLAG)" != x ]; then \
1202 $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \
1203 else true; fi
4f148bbc
JJ
1204 if [ x"$(NOASANFLAG)" != x ]; then \
1205 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setenv.c -o noasan/$@; \
1206 else true; fi
24f2cabb 1207 $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
398b3deb 1208
6e9bd0f8
AK
1209./setproctitle.$(objext): $(srcdir)/setproctitle.c config.h $(INCDIR)/ansidecl.h
1210 if [ x"$(PICFLAG)" != x ]; then \
1211 $(COMPILE.c) $(PICFLAG) $(srcdir)/setproctitle.c -o pic/$@; \
1212 else true; fi
4f148bbc
JJ
1213 if [ x"$(NOASANFLAG)" != x ]; then \
1214 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setproctitle.c -o noasan/$@; \
1215 else true; fi
6e9bd0f8
AK
1216 $(COMPILE.c) $(srcdir)/setproctitle.c $(OUTPUT_OPTION)
1217
16f60fcb 1218./sha1.$(objext): $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h
598848e4
ILT
1219 if [ x"$(PICFLAG)" != x ]; then \
1220 $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \
1221 else true; fi
4f148bbc
JJ
1222 if [ x"$(NOASANFLAG)" != x ]; then \
1223 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sha1.c -o noasan/$@; \
1224 else true; fi
598848e4
ILT
1225 $(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION)
1226
16f60fcb 1227./sigsetmask.$(objext): $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
24f2cabb
L
1228 if [ x"$(PICFLAG)" != x ]; then \
1229 $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
1230 else true; fi
4f148bbc
JJ
1231 if [ x"$(NOASANFLAG)" != x ]; then \
1232 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sigsetmask.c -o noasan/$@; \
1233 else true; fi
24f2cabb 1234 $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
398b3deb 1235
1cfabf34
ILT
1236./simple-object-coff.$(objext): $(srcdir)/simple-object-coff.c config.h \
1237 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1238 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1239 if [ x"$(PICFLAG)" != x ]; then \
1240 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-coff.c -o pic/$@; \
1241 else true; fi
4f148bbc
JJ
1242 if [ x"$(NOASANFLAG)" != x ]; then \
1243 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-coff.c -o noasan/$@; \
1244 else true; fi
1cfabf34
ILT
1245 $(COMPILE.c) $(srcdir)/simple-object-coff.c $(OUTPUT_OPTION)
1246
1247./simple-object-elf.$(objext): $(srcdir)/simple-object-elf.c config.h \
1248 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1249 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1250 if [ x"$(PICFLAG)" != x ]; then \
1251 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-elf.c -o pic/$@; \
1252 else true; fi
4f148bbc
JJ
1253 if [ x"$(NOASANFLAG)" != x ]; then \
1254 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-elf.c -o noasan/$@; \
1255 else true; fi
1cfabf34
ILT
1256 $(COMPILE.c) $(srcdir)/simple-object-elf.c $(OUTPUT_OPTION)
1257
1258./simple-object-mach-o.$(objext): $(srcdir)/simple-object-mach-o.c config.h \
1259 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1260 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1261 if [ x"$(PICFLAG)" != x ]; then \
1262 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-mach-o.c -o pic/$@; \
1263 else true; fi
4f148bbc
JJ
1264 if [ x"$(NOASANFLAG)" != x ]; then \
1265 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-mach-o.c -o noasan/$@; \
1266 else true; fi
1cfabf34
ILT
1267 $(COMPILE.c) $(srcdir)/simple-object-mach-o.c $(OUTPUT_OPTION)
1268
a9b01f00
DE
1269./simple-object-xcoff.$(objext): $(srcdir)/simple-object-xcoff.c config.h \
1270 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1271 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1272 if [ x"$(PICFLAG)" != x ]; then \
1273 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-xcoff.c -o pic/$@; \
1274 else true; fi
4f148bbc
JJ
1275 if [ x"$(NOASANFLAG)" != x ]; then \
1276 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-xcoff.c -o noasan/$@; \
1277 else true; fi
a9b01f00
DE
1278 $(COMPILE.c) $(srcdir)/simple-object-xcoff.c $(OUTPUT_OPTION)
1279
1cfabf34
ILT
1280./simple-object.$(objext): $(srcdir)/simple-object.c config.h \
1281 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1282 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1283 if [ x"$(PICFLAG)" != x ]; then \
1284 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object.c -o pic/$@; \
1285 else true; fi
4f148bbc
JJ
1286 if [ x"$(NOASANFLAG)" != x ]; then \
1287 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object.c -o noasan/$@; \
1288 else true; fi
1cfabf34
ILT
1289 $(COMPILE.c) $(srcdir)/simple-object.c $(OUTPUT_OPTION)
1290
16f60fcb 1291./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
24f2cabb
L
1292 if [ x"$(PICFLAG)" != x ]; then \
1293 $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
1294 else true; fi
4f148bbc
JJ
1295 if [ x"$(NOASANFLAG)" != x ]; then \
1296 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/snprintf.c -o noasan/$@; \
1297 else true; fi
24f2cabb 1298 $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
398b3deb 1299
16f60fcb
TG
1300./sort.$(objext): $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h \
1301 $(INCDIR)/libiberty.h $(INCDIR)/sort.h
24f2cabb
L
1302 if [ x"$(PICFLAG)" != x ]; then \
1303 $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
1304 else true; fi
4f148bbc
JJ
1305 if [ x"$(NOASANFLAG)" != x ]; then \
1306 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sort.c -o noasan/$@; \
1307 else true; fi
24f2cabb 1308 $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
398b3deb 1309
16f60fcb 1310./spaces.$(objext): $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \
f59a2f55 1311 $(INCDIR)/libiberty.h
24f2cabb
L
1312 if [ x"$(PICFLAG)" != x ]; then \
1313 $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
1314 else true; fi
4f148bbc
JJ
1315 if [ x"$(NOASANFLAG)" != x ]; then \
1316 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/spaces.c -o noasan/$@; \
1317 else true; fi
24f2cabb 1318 $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
398b3deb 1319
16f60fcb 1320./splay-tree.$(objext): $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1321 $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
24f2cabb
L
1322 if [ x"$(PICFLAG)" != x ]; then \
1323 $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
1324 else true; fi
4f148bbc
JJ
1325 if [ x"$(NOASANFLAG)" != x ]; then \
1326 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/splay-tree.c -o noasan/$@; \
1327 else true; fi
24f2cabb 1328 $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
398b3deb 1329
9a9baa52 1330./stack-limit.$(objext): $(srcdir)/stack-limit.c config.h $(INCDIR)/ansidecl.h
d423df48
JJ
1331 if [ x"$(PICFLAG)" != x ]; then \
1332 $(COMPILE.c) $(PICFLAG) $(srcdir)/stack-limit.c -o pic/$@; \
1333 else true; fi
4f148bbc
JJ
1334 if [ x"$(NOASANFLAG)" != x ]; then \
1335 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stack-limit.c -o noasan/$@; \
1336 else true; fi
d423df48
JJ
1337 $(COMPILE.c) $(srcdir)/stack-limit.c $(OUTPUT_OPTION)
1338
16f60fcb 1339./stpcpy.$(objext): $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
24f2cabb
L
1340 if [ x"$(PICFLAG)" != x ]; then \
1341 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
1342 else true; fi
4f148bbc
JJ
1343 if [ x"$(NOASANFLAG)" != x ]; then \
1344 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpcpy.c -o noasan/$@; \
1345 else true; fi
24f2cabb 1346 $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
398b3deb 1347
16f60fcb 1348./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
24f2cabb
L
1349 if [ x"$(PICFLAG)" != x ]; then \
1350 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
1351 else true; fi
4f148bbc
JJ
1352 if [ x"$(NOASANFLAG)" != x ]; then \
1353 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpncpy.c -o noasan/$@; \
1354 else true; fi
24f2cabb 1355 $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
398b3deb 1356
16f60fcb 1357./strcasecmp.$(objext): $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
24f2cabb
L
1358 if [ x"$(PICFLAG)" != x ]; then \
1359 $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
1360 else true; fi
4f148bbc
JJ
1361 if [ x"$(NOASANFLAG)" != x ]; then \
1362 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strcasecmp.c -o noasan/$@; \
1363 else true; fi
24f2cabb 1364 $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
398b3deb 1365
16f60fcb 1366./strchr.$(objext): $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
24f2cabb
L
1367 if [ x"$(PICFLAG)" != x ]; then \
1368 $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
1369 else true; fi
4f148bbc
JJ
1370 if [ x"$(NOASANFLAG)" != x ]; then \
1371 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strchr.c -o noasan/$@; \
1372 else true; fi
24f2cabb 1373 $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
398b3deb 1374
16f60fcb 1375./strdup.$(objext): $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
24f2cabb
L
1376 if [ x"$(PICFLAG)" != x ]; then \
1377 $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
1378 else true; fi
4f148bbc
JJ
1379 if [ x"$(NOASANFLAG)" != x ]; then \
1380 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strdup.c -o noasan/$@; \
1381 else true; fi
24f2cabb 1382 $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
398b3deb 1383
16f60fcb 1384./strerror.$(objext): $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1385 $(INCDIR)/libiberty.h
24f2cabb
L
1386 if [ x"$(PICFLAG)" != x ]; then \
1387 $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
1388 else true; fi
4f148bbc
JJ
1389 if [ x"$(NOASANFLAG)" != x ]; then \
1390 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strerror.c -o noasan/$@; \
1391 else true; fi
24f2cabb 1392 $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
398b3deb 1393
16f60fcb 1394./strncasecmp.$(objext): $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
24f2cabb
L
1395 if [ x"$(PICFLAG)" != x ]; then \
1396 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
1397 else true; fi
4f148bbc
JJ
1398 if [ x"$(NOASANFLAG)" != x ]; then \
1399 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncasecmp.c -o noasan/$@; \
1400 else true; fi
24f2cabb 1401 $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
398b3deb 1402
16f60fcb 1403./strncmp.$(objext): $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
24f2cabb
L
1404 if [ x"$(PICFLAG)" != x ]; then \
1405 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
1406 else true; fi
4f148bbc
JJ
1407 if [ x"$(NOASANFLAG)" != x ]; then \
1408 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncmp.c -o noasan/$@; \
1409 else true; fi
24f2cabb 1410 $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
398b3deb 1411
16f60fcb 1412./strndup.$(objext): $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
17998b22
KG
1413 if [ x"$(PICFLAG)" != x ]; then \
1414 $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
1415 else true; fi
4f148bbc
JJ
1416 if [ x"$(NOASANFLAG)" != x ]; then \
1417 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strndup.c -o noasan/$@; \
1418 else true; fi
17998b22
KG
1419 $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
1420
9a9baa52
ILT
1421./strnlen.$(objext): $(srcdir)/strnlen.c config.h
1422 if [ x"$(PICFLAG)" != x ]; then \
1423 $(COMPILE.c) $(PICFLAG) $(srcdir)/strnlen.c -o pic/$@; \
1424 else true; fi
4f148bbc
JJ
1425 if [ x"$(NOASANFLAG)" != x ]; then \
1426 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strnlen.c -o noasan/$@; \
1427 else true; fi
9a9baa52
ILT
1428 $(COMPILE.c) $(srcdir)/strnlen.c $(OUTPUT_OPTION)
1429
16f60fcb 1430./strrchr.$(objext): $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
24f2cabb
L
1431 if [ x"$(PICFLAG)" != x ]; then \
1432 $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
1433 else true; fi
4f148bbc
JJ
1434 if [ x"$(NOASANFLAG)" != x ]; then \
1435 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strrchr.c -o noasan/$@; \
1436 else true; fi
24f2cabb 1437 $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
398b3deb 1438
16f60fcb 1439./strsignal.$(objext): $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1440 $(INCDIR)/libiberty.h
24f2cabb
L
1441 if [ x"$(PICFLAG)" != x ]; then \
1442 $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
1443 else true; fi
4f148bbc
JJ
1444 if [ x"$(NOASANFLAG)" != x ]; then \
1445 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strsignal.c -o noasan/$@; \
1446 else true; fi
24f2cabb 1447 $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
398b3deb 1448
16f60fcb 1449./strstr.$(objext): $(srcdir)/strstr.c
24f2cabb
L
1450 if [ x"$(PICFLAG)" != x ]; then \
1451 $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
1452 else true; fi
4f148bbc
JJ
1453 if [ x"$(NOASANFLAG)" != x ]; then \
1454 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strstr.c -o noasan/$@; \
1455 else true; fi
24f2cabb 1456 $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
398b3deb 1457
16f60fcb
TG
1458./strtod.$(objext): $(srcdir)/strtod.c $(INCDIR)/ansidecl.h \
1459 $(INCDIR)/safe-ctype.h
24f2cabb
L
1460 if [ x"$(PICFLAG)" != x ]; then \
1461 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
1462 else true; fi
4f148bbc
JJ
1463 if [ x"$(NOASANFLAG)" != x ]; then \
1464 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtod.c -o noasan/$@; \
1465 else true; fi
24f2cabb 1466 $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
398b3deb 1467
16f60fcb 1468./strtol.$(objext): $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
24f2cabb
L
1469 if [ x"$(PICFLAG)" != x ]; then \
1470 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
1471 else true; fi
4f148bbc
JJ
1472 if [ x"$(NOASANFLAG)" != x ]; then \
1473 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtol.c -o noasan/$@; \
1474 else true; fi
24f2cabb 1475 $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
398b3deb 1476
ea41822a
YG
1477./strtoll.$(objext): $(srcdir)/strtoll.c config.h $(INCDIR)/safe-ctype.h
1478 if [ x"$(PICFLAG)" != x ]; then \
1479 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoll.c -o pic/$@; \
1480 else true; fi
1481 if [ x"$(NOASANFLAG)" != x ]; then \
1482 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoll.c -o noasan/$@; \
1483 else true; fi
1484 $(COMPILE.c) $(srcdir)/strtoll.c $(OUTPUT_OPTION)
1485
16f60fcb 1486./strtoul.$(objext): $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1487 $(INCDIR)/safe-ctype.h
24f2cabb
L
1488 if [ x"$(PICFLAG)" != x ]; then \
1489 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
1490 else true; fi
4f148bbc
JJ
1491 if [ x"$(NOASANFLAG)" != x ]; then \
1492 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoul.c -o noasan/$@; \
1493 else true; fi
24f2cabb 1494 $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
398b3deb 1495
ea41822a
YG
1496./strtoull.$(objext): $(srcdir)/strtoull.c config.h $(INCDIR)/ansidecl.h \
1497 $(INCDIR)/safe-ctype.h
1498 if [ x"$(PICFLAG)" != x ]; then \
1499 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoull.c -o pic/$@; \
1500 else true; fi
1501 if [ x"$(NOASANFLAG)" != x ]; then \
1502 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoull.c -o noasan/$@; \
1503 else true; fi
1504 $(COMPILE.c) $(srcdir)/strtoull.c $(OUTPUT_OPTION)
1505
16f60fcb
TG
1506./strverscmp.$(objext): $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h \
1507 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
83fbfe42
GK
1508 if [ x"$(PICFLAG)" != x ]; then \
1509 $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \
1510 else true; fi
4f148bbc
JJ
1511 if [ x"$(NOASANFLAG)" != x ]; then \
1512 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strverscmp.c -o noasan/$@; \
1513 else true; fi
83fbfe42
GK
1514 $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION)
1515
4092fb6e
DE
1516./timeval-utils.$(objext): $(srcdir)/timeval-utils.c config.h \
1517 $(INCDIR)/timeval-utils.h
1518 if [ x"$(PICFLAG)" != x ]; then \
1519 $(COMPILE.c) $(PICFLAG) $(srcdir)/timeval-utils.c -o pic/$@; \
1520 else true; fi
4f148bbc
JJ
1521 if [ x"$(NOASANFLAG)" != x ]; then \
1522 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/timeval-utils.c -o noasan/$@; \
1523 else true; fi
4092fb6e
DE
1524 $(COMPILE.c) $(srcdir)/timeval-utils.c $(OUTPUT_OPTION)
1525
16f60fcb 1526./tmpnam.$(objext): $(srcdir)/tmpnam.c
24f2cabb
L
1527 if [ x"$(PICFLAG)" != x ]; then \
1528 $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
1529 else true; fi
4f148bbc
JJ
1530 if [ x"$(NOASANFLAG)" != x ]; then \
1531 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/tmpnam.c -o noasan/$@; \
1532 else true; fi
24f2cabb 1533 $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
398b3deb 1534
16f60fcb 1535./unlink-if-ordinary.$(objext): $(srcdir)/unlink-if-ordinary.c config.h \
17049f0b 1536 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
c363985d
JB
1537 if [ x"$(PICFLAG)" != x ]; then \
1538 $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \
1539 else true; fi
4f148bbc
JJ
1540 if [ x"$(NOASANFLAG)" != x ]; then \
1541 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/unlink-if-ordinary.c -o noasan/$@; \
1542 else true; fi
c363985d
JB
1543 $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION)
1544
16f60fcb 1545./vasprintf.$(objext): $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1546 $(INCDIR)/libiberty.h
24f2cabb
L
1547 if [ x"$(PICFLAG)" != x ]; then \
1548 $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
1549 else true; fi
4f148bbc
JJ
1550 if [ x"$(NOASANFLAG)" != x ]; then \
1551 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vasprintf.c -o noasan/$@; \
1552 else true; fi
24f2cabb 1553 $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
398b3deb 1554
16f60fcb 1555./vfork.$(objext): $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
24f2cabb
L
1556 if [ x"$(PICFLAG)" != x ]; then \
1557 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
1558 else true; fi
4f148bbc
JJ
1559 if [ x"$(NOASANFLAG)" != x ]; then \
1560 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfork.c -o noasan/$@; \
1561 else true; fi
24f2cabb 1562 $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
398b3deb 1563
16f60fcb 1564./vfprintf.$(objext): $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
24f2cabb
L
1565 if [ x"$(PICFLAG)" != x ]; then \
1566 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
1567 else true; fi
4f148bbc
JJ
1568 if [ x"$(NOASANFLAG)" != x ]; then \
1569 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfprintf.c -o noasan/$@; \
1570 else true; fi
24f2cabb 1571 $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
398b3deb 1572
16f60fcb 1573./vprintf.$(objext): $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
24f2cabb
L
1574 if [ x"$(PICFLAG)" != x ]; then \
1575 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
1576 else true; fi
4f148bbc
JJ
1577 if [ x"$(NOASANFLAG)" != x ]; then \
1578 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf.c -o noasan/$@; \
1579 else true; fi
24f2cabb 1580 $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
398b3deb 1581
16f60fcb 1582./vsnprintf.$(objext): $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1583 $(INCDIR)/libiberty.h
24f2cabb
L
1584 if [ x"$(PICFLAG)" != x ]; then \
1585 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
1586 else true; fi
4f148bbc
JJ
1587 if [ x"$(NOASANFLAG)" != x ]; then \
1588 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsnprintf.c -o noasan/$@; \
1589 else true; fi
24f2cabb 1590 $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
398b3deb 1591
16f60fcb 1592./vsprintf.$(objext): $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
24f2cabb
L
1593 if [ x"$(PICFLAG)" != x ]; then \
1594 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
1595 else true; fi
4f148bbc
JJ
1596 if [ x"$(NOASANFLAG)" != x ]; then \
1597 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsprintf.c -o noasan/$@; \
1598 else true; fi
24f2cabb 1599 $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
398b3deb 1600
16f60fcb 1601./waitpid.$(objext): $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h
24f2cabb
L
1602 if [ x"$(PICFLAG)" != x ]; then \
1603 $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
1604 else true; fi
4f148bbc
JJ
1605 if [ x"$(NOASANFLAG)" != x ]; then \
1606 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/waitpid.c -o noasan/$@; \
1607 else true; fi
24f2cabb 1608 $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
398b3deb 1609
16f60fcb 1610./xatexit.$(objext): $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \
bd7d50f8 1611 $(INCDIR)/libiberty.h
24f2cabb
L
1612 if [ x"$(PICFLAG)" != x ]; then \
1613 $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
1614 else true; fi
4f148bbc
JJ
1615 if [ x"$(NOASANFLAG)" != x ]; then \
1616 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xatexit.c -o noasan/$@; \
1617 else true; fi
24f2cabb 1618 $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
398b3deb 1619
16f60fcb
TG
1620./xexit.$(objext): $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h \
1621 $(INCDIR)/libiberty.h
24f2cabb
L
1622 if [ x"$(PICFLAG)" != x ]; then \
1623 $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
1624 else true; fi
4f148bbc
JJ
1625 if [ x"$(NOASANFLAG)" != x ]; then \
1626 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xexit.c -o noasan/$@; \
1627 else true; fi
24f2cabb 1628 $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
398b3deb 1629
16f60fcb 1630./xmalloc.$(objext): $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1631 $(INCDIR)/libiberty.h
24f2cabb
L
1632 if [ x"$(PICFLAG)" != x ]; then \
1633 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
1634 else true; fi
4f148bbc
JJ
1635 if [ x"$(NOASANFLAG)" != x ]; then \
1636 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmalloc.c -o noasan/$@; \
1637 else true; fi
24f2cabb 1638 $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
398b3deb 1639
16f60fcb 1640./xmemdup.$(objext): $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1641 $(INCDIR)/libiberty.h
24f2cabb
L
1642 if [ x"$(PICFLAG)" != x ]; then \
1643 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
1644 else true; fi
4f148bbc
JJ
1645 if [ x"$(NOASANFLAG)" != x ]; then \
1646 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmemdup.c -o noasan/$@; \
1647 else true; fi
24f2cabb 1648 $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
398b3deb 1649
16f60fcb 1650./xstrdup.$(objext): $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1651 $(INCDIR)/libiberty.h
24f2cabb
L
1652 if [ x"$(PICFLAG)" != x ]; then \
1653 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
1654 else true; fi
4f148bbc
JJ
1655 if [ x"$(NOASANFLAG)" != x ]; then \
1656 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrdup.c -o noasan/$@; \
1657 else true; fi
24f2cabb 1658 $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
398b3deb 1659
16f60fcb 1660./xstrerror.$(objext): $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1661 $(INCDIR)/libiberty.h
24f2cabb
L
1662 if [ x"$(PICFLAG)" != x ]; then \
1663 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
1664 else true; fi
4f148bbc
JJ
1665 if [ x"$(NOASANFLAG)" != x ]; then \
1666 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrerror.c -o noasan/$@; \
1667 else true; fi
24f2cabb 1668 $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
398b3deb 1669
16f60fcb 1670./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \
17998b22
KG
1671 $(INCDIR)/libiberty.h
1672 if [ x"$(PICFLAG)" != x ]; then \
1673 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \
1674 else true; fi
4f148bbc
JJ
1675 if [ x"$(NOASANFLAG)" != x ]; then \
1676 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrndup.c -o noasan/$@; \
1677 else true; fi
17998b22
KG
1678 $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION)
1679