]>
Commit | Line | Data |
---|---|---|
6599da04 JM |
1 | # |
2 | # Makefile | |
5e777af5 | 3 | # Copyright (C) 1990, 91-99, 2000, 2001, 2002, 2003, 2004 |
3affd5f0 | 4 | # Free Software Foundation |
6599da04 JM |
5 | # |
6 | # This file is part of the libiberty library. | |
7 | # Libiberty is free software; you can redistribute it and/or | |
8 | # modify it under the terms of the GNU Library General Public | |
9 | # License as published by the Free Software Foundation; either | |
10 | # version 2 of the License, or (at your option) any later version. | |
11 | # | |
12 | # Libiberty is distributed in the hope that it will be useful, | |
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
15 | # Library General Public License for more details. | |
16 | # | |
17 | # You should have received a copy of the GNU Library General Public | |
18 | # License along with libiberty; see the file COPYING.LIB. If not, | |
ee58dffd NC |
19 | # write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, |
20 | # Boston, MA 02110-1301, USA. | |
6599da04 JM |
21 | # |
22 | ||
3affd5f0 | 23 | # This file was written by K. Richard Pixley <rich@cygnus.com>. |
6599da04 JM |
24 | |
25 | # | |
26 | # Makefile for libiberty directory | |
27 | # | |
28 | ||
d8c22ce7 | 29 | libiberty_topdir = @libiberty_topdir@ |
3affd5f0 | 30 | srcdir = @srcdir@ |
6599da04 | 31 | |
3affd5f0 | 32 | prefix = @prefix@ |
6599da04 | 33 | |
3affd5f0 JL |
34 | exec_prefix = @exec_prefix@ |
35 | bindir = @bindir@ | |
36 | libdir = @libdir@ | |
48d7db63 PE |
37 | includedir = @includedir@ |
38 | target_header_dir = @target_header_dir@ | |
6599da04 | 39 | |
3affd5f0 | 40 | SHELL = @SHELL@ |
6599da04 JM |
41 | |
42 | # Multilib support variables. | |
43 | MULTISRCTOP = | |
44 | MULTIBUILDTOP = | |
45 | MULTIDIRS = | |
46 | MULTISUBDIR = | |
47 | MULTIDO = true | |
48 | MULTICLEAN = true | |
49 | ||
3affd5f0 JL |
50 | INSTALL = @INSTALL@ |
51 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
52 | INSTALL_DATA = @INSTALL_DATA@ | |
d8c22ce7 | 53 | mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs |
6599da04 | 54 | |
24f2cabb L |
55 | # Some compilers can't handle cc -c blah.c -o foo/blah.o. |
56 | OUTPUT_OPTION = @OUTPUT_OPTION@ | |
57 | ||
3affd5f0 | 58 | AR = @AR@ |
6599da04 JM |
59 | AR_FLAGS = rc |
60 | ||
3affd5f0 JL |
61 | CC = @CC@ |
62 | CFLAGS = @CFLAGS@ | |
6599da04 | 63 | LIBCFLAGS = $(CFLAGS) |
3affd5f0 | 64 | RANLIB = @RANLIB@ |
aaa5f039 DD |
65 | MAKEINFO = @MAKEINFO@ |
66 | PERL = @PERL@ | |
6599da04 JM |
67 | |
68 | PICFLAG = | |
69 | ||
70 | MAKEOVERRIDES = | |
71 | ||
398b3deb DD |
72 | TARGETLIB = ./libiberty.a |
73 | TESTLIB = ./testlib.a | |
6599da04 | 74 | |
3affd5f0 | 75 | LIBOBJS = @LIBOBJS@ |
6599da04 JM |
76 | |
77 | # A configuration can specify extra .o files that should be included, | |
78 | # even if they are in libc. (Perhaps the libc version is buggy.) | |
79 | EXTRA_OFILES = | |
80 | ||
81 | # Flags to pass to a recursive make. | |
82 | FLAGS_TO_PASS = \ | |
83 | "AR=$(AR)" \ | |
84 | "AR_FLAGS=$(AR_FLAGS)" \ | |
85 | "CC=$(CC)" \ | |
86 | "CFLAGS=$(CFLAGS)" \ | |
90e5b39f | 87 | "DESTDIR=$(DESTDIR)" \ |
6599da04 JM |
88 | "LIBCFLAGS=$(LIBCFLAGS)" \ |
89 | "EXTRA_OFILES=$(EXTRA_OFILES)" \ | |
90 | "HDEFINES=$(HDEFINES)" \ | |
91 | "INSTALL=$(INSTALL)" \ | |
92 | "INSTALL_DATA=$(INSTALL_DATA)" \ | |
93 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ | |
94 | "LDFLAGS=$(LDFLAGS)" \ | |
95 | "LOADLIBES=$(LOADLIBES)" \ | |
6599da04 | 96 | "RANLIB=$(RANLIB)" \ |
76632dd0 DJ |
97 | "SHELL=$(SHELL)" \ |
98 | "prefix=$(prefix)" \ | |
99 | "exec_prefix=$(exec_prefix)" \ | |
100 | "libdir=$(libdir)" \ | |
101 | "libsubdir=$(libsubdir)" \ | |
102 | "tooldir=$(tooldir)" | |
6599da04 | 103 | |
2c375143 NS |
104 | # Subdirectories to recurse into. We need to override this during cleaning |
105 | SUBDIRS = testsuite | |
106 | ||
aaa5f039 | 107 | # FIXME: add @BUILD_INFO@ once we're sure it works for everyone. |
24f2cabb | 108 | all: stamp-picdir $(TARGETLIB) needed-list required-list all-subdir |
6c5d742e | 109 | @: $(MAKE) ; exec $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all |
6599da04 JM |
110 | |
111 | .PHONY: check installcheck | |
7c72138a TT |
112 | check: check-subdir |
113 | installcheck: installcheck-subdir | |
6599da04 | 114 | |
3affd5f0 | 115 | @host_makefile_frag@ |
6599da04 JM |
116 | |
117 | INCDIR=$(srcdir)/$(MULTISRCTOP)../include | |
118 | ||
1eaf7d9c | 119 | COMPILE.c = $(CC) -c @DEFS@ $(LIBCFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@ |
398b3deb DD |
120 | |
121 | # Just to make sure we don't use a built-in rule with VPATH | |
6599da04 | 122 | .c.o: |
398b3deb | 123 | false |
6599da04 | 124 | |
6599da04 | 125 | # NOTE: If you add new files to the library, add them to this list |
24f2cabb L |
126 | # (alphabetical), and add them to REQUIRED_OFILES, or |
127 | # CONFIGURED_OFILES and funcs in configure.ac. Also run "make maint-deps" | |
128 | # to build the new rules. | |
9ce3f7e5 DD |
129 | CFILES = alloca.c argv.c asprintf.c atexit.c \ |
130 | basename.c bcmp.c bcopy.c bsearch.c bzero.c \ | |
131 | calloc.c choose-temp.c clock.c concat.c cp-demangle.c \ | |
398b3deb | 132 | cp-demint.c cplus-dem.c \ |
9ce3f7e5 DD |
133 | dyn-string.c \ |
134 | fdmatch.c ffs.c fibheap.c floatformat.c fnmatch.c \ | |
78a7dc90 | 135 | fopen_unlocked.c \ |
9ce3f7e5 | 136 | getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \ |
17049f0b | 137 | gettimeofday.c \ |
9ce3f7e5 DD |
138 | hashtab.c hex.c \ |
139 | index.c insque.c \ | |
140 | lbasename.c \ | |
4876b2b4 | 141 | lrealpath.c \ |
42766f8d | 142 | make-relative-prefix.c \ |
9ce3f7e5 | 143 | make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmove.c \ |
029bcc09 | 144 | mempcpy.c memset.c mkstemps.c \ |
9ce3f7e5 | 145 | objalloc.c obstack.c \ |
a584cf65 ILT |
146 | partition.c pexecute.c \ |
147 | pex-common.c pex-djgpp.c pex-msdos.c pex-one.c \ | |
55d0e5e0 | 148 | pex-unix.c pex-win32.c \ |
a354191e | 149 | physmem.c putenv.c \ |
9ce3f7e5 | 150 | random.c regex.c rename.c rindex.c \ |
bd3fbc6b | 151 | safe-ctype.c setenv.c sigsetmask.c snprintf.c sort.c spaces.c \ |
029bcc09 KG |
152 | splay-tree.c stpcpy.c stpncpy.c strcasecmp.c strchr.c strdup.c \ |
153 | strerror.c strncasecmp.c strncmp.c strrchr.c strsignal.c \ | |
17998b22 | 154 | strstr.c strtod.c strtol.c strtoul.c strndup.c \ |
9ce3f7e5 | 155 | ternary.c tmpnam.c \ |
c363985d | 156 | unlink-if-ordinary.c \ |
bd3fbc6b | 157 | vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c \ |
9ce3f7e5 | 158 | waitpid.c \ |
17998b22 KG |
159 | xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c \ |
160 | xstrndup.c | |
9ce3f7e5 DD |
161 | |
162 | # These are always included in the library. The first four are listed | |
163 | # first and by compile time to optimize parallel builds. | |
e8190aa2 ILT |
164 | REQUIRED_OFILES = ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o \ |
165 | ./alloca.o ./argv.o \ | |
166 | ./choose-temp.o ./concat.o ./cp-demint.o \ | |
398b3deb | 167 | ./dyn-string.o \ |
e8190aa2 | 168 | ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o \ |
78a7dc90 | 169 | ./fopen_unlocked.o \ |
e8190aa2 ILT |
170 | ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o \ |
171 | ./hashtab.o ./hex.o \ | |
172 | ./lbasename.o ./lrealpath.o \ | |
173 | ./make-relative-prefix.o ./make-temp-file.o \ | |
174 | ./objalloc.o ./obstack.o \ | |
a584cf65 ILT |
175 | ./partition.o ./pexecute.o ./physmem.o \ |
176 | ./pex-common.o ./pex-one.o @pexecute@ \ | |
e8190aa2 | 177 | ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o \ |
398b3deb DD |
178 | ./strsignal.o \ |
179 | ./ternary.o \ | |
c363985d | 180 | ./unlink-if-ordinary.o \ |
e8190aa2 | 181 | ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o \ |
17998b22 | 182 | ./xstrerror.o ./xstrndup.o |
b548dffb | 183 | |
aaa5f039 | 184 | # These are all the objects that configure may add to the library via |
9ce3f7e5 DD |
185 | # $funcs or EXTRA_OFILES. This list exists here only for "make |
186 | # maint-missing" and "make check". | |
e8190aa2 ILT |
187 | CONFIGURED_OFILES = ./asprintf.o ./atexit.o \ |
188 | ./basename.o ./bcmp.o ./bcopy.o ./bsearch.o ./bzero.o \ | |
189 | ./calloc.o ./clock.o ./copysign.o \ | |
398b3deb DD |
190 | ./_doprnt.o \ |
191 | ./ffs.o \ | |
17049f0b | 192 | ./getcwd.o ./getpagesize.o ./gettimeofday.o \ |
398b3deb | 193 | ./index.o ./insque.o \ |
e8190aa2 ILT |
194 | ./memchr.o ./memcmp.o ./memcpy.o ./memmove.o ./mempcpy.o \ |
195 | ./memset.o ./mkstemps.o \ | |
6af8bd50 | 196 | ./pex-djgpp.o ./pex-msdos.o \ |
e8190aa2 | 197 | ./pex-unix.o ./pex-win32.o \ |
398b3deb | 198 | ./putenv.o \ |
e8190aa2 ILT |
199 | ./random.o ./rename.o ./rindex.o \ |
200 | ./setenv.o ./sigsetmask.o ./snprintf.o ./stpcpy.o ./stpncpy.o \ | |
201 | ./strcasecmp.o ./strchr.o ./strdup.o ./strncasecmp.o \ | |
17998b22 | 202 | ./strncmp.o ./strndup.o ./strrchr.o ./strstr.o \ |
e8190aa2 | 203 | ./strtod.o ./strtol.o ./strtoul.o \ |
398b3deb | 204 | ./tmpnam.o \ |
e8190aa2 ILT |
205 | ./vasprintf.o ./vfork.o ./vfprintf.o ./vprintf.o ./vsnprintf.o \ |
206 | ./vsprintf.o \ | |
398b3deb | 207 | ./waitpid.o |
aaa5f039 | 208 | |
48d7db63 PE |
209 | # These files are installed if the library has been configured to do so. |
210 | INSTALLED_HEADERS = \ | |
211 | $(INCDIR)/ansidecl.h \ | |
212 | $(INCDIR)/demangle.h \ | |
213 | $(INCDIR)/dyn-string.h \ | |
214 | $(INCDIR)/fibheap.h \ | |
215 | $(INCDIR)/floatformat.h \ | |
216 | $(INCDIR)/hashtab.h \ | |
217 | $(INCDIR)/libiberty.h \ | |
218 | $(INCDIR)/objalloc.h \ | |
219 | $(INCDIR)/partition.h \ | |
220 | $(INCDIR)/safe-ctype.h \ | |
221 | $(INCDIR)/sort.h \ | |
222 | $(INCDIR)/splay-tree.h \ | |
223 | $(INCDIR)/ternary.h | |
224 | ||
24f2cabb L |
225 | $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) |
226 | -rm -f $(TARGETLIB) pic/$(TARGETLIB) | |
227 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ | |
228 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) | |
229 | $(RANLIB) $(TARGETLIB) | |
230 | if [ x"$(PICFLAG)" != x ]; then \ | |
231 | cd pic; \ | |
afb649d5 L |
232 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ |
233 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ | |
234 | $(RANLIB) $(TARGETLIB); \ | |
235 | cd ..; \ | |
236 | else true; fi | |
6599da04 | 237 | |
24f2cabb L |
238 | $(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES) |
239 | -rm -f $(TESTLIB) | |
240 | $(AR) $(AR_FLAGS) $(TESTLIB) \ | |
241 | $(REQUIRED_OFILES) $(CONFIGURED_OFILES) | |
242 | $(RANLIB) $(TESTLIB) | |
9ce3f7e5 | 243 | |
aaa5f039 DD |
244 | info: libiberty.info info-subdir |
245 | install-info: install-info-subdir | |
246 | clean-info: clean-info-subdir | |
247 | dvi: libiberty.dvi dvi-subdir | |
248 | html: libiberty.html | |
249 | ||
250 | TEXISRC = \ | |
251 | $(srcdir)/libiberty.texi \ | |
252 | $(srcdir)/copying-lib.texi \ | |
253 | $(srcdir)/obstacks.texi \ | |
254 | $(srcdir)/functions.texi | |
255 | ||
256 | # Additional files that have texi snippets that need to be collected | |
aac04c15 DD |
257 | # and sorted. Some are here because the sources are imported from |
258 | # elsewhere. Others represent headers in ../include. | |
55d0e5e0 | 259 | TEXIFILES = fnmatch.txh pexecute.txh |
aaa5f039 DD |
260 | |
261 | libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC) | |
262 | $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi | |
263 | ||
264 | libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC) | |
265 | texi2dvi $(srcdir)/libiberty.texi | |
266 | ||
267 | libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC) | |
610784f0 | 268 | $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $< |
aaa5f039 DD |
269 | |
270 | @MAINT@$(srcdir)/functions.texi : stamp-functions | |
271 | @MAINT@ @true | |
272 | ||
273 | @MAINT@stamp-functions : $(CFILES) $(TEXIFILES) $(srcdir)/gather-docs Makefile | |
274 | @MAINT@@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES) | |
275 | @MAINT@ echo stamp > stamp-functions | |
276 | ||
3affd5f0 | 277 | INSTALL_DEST = @INSTALL_DEST@ |
7c72138a | 278 | install: install_to_$(INSTALL_DEST) install-subdir |
6599da04 JM |
279 | |
280 | install_to_libdir: all | |
d7082cd7 | 281 | ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR) |
112bae77 PB |
282 | $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n |
283 | ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n ) | |
284 | mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB) | |
48d7db63 PE |
285 | if test -n "${target_header_dir}"; then \ |
286 | case "${target_header_dir}" in \ | |
287 | /*) thd=${target_header_dir};; \ | |
288 | *) thd=${includedir}${MULTISUBDIR}/${target_header_dir};; \ | |
289 | esac; \ | |
112bae77 | 290 | ${mkinstalldirs} $(DESTDIR)$${thd}; \ |
48d7db63 | 291 | for h in ${INSTALLED_HEADERS}; do \ |
112bae77 | 292 | ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \ |
48d7db63 PE |
293 | done; \ |
294 | fi | |
6599da04 JM |
295 | @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install |
296 | ||
9f2e0608 AO |
297 | # This is tricky. Even though CC in the Makefile contains |
298 | # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the | |
299 | # default multilib, so we have to take LIBCFLAGS into account as well, | |
300 | # since it will be passed the multilib flags. | |
301 | MULTIOSDIR = `$(CC) $(LIBCFLAGS) -print-multi-os-directory` | |
6599da04 | 302 | install_to_tooldir: all |
9f2e0608 AO |
303 | ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) |
304 | $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n | |
305 | ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; $(RANLIB) $(TARGETLIB)n ) | |
306 | mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB) | |
6599da04 JM |
307 | @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install |
308 | ||
a4494286 JM |
309 | # needed-list is used by libstdc++. NEEDED is the list of functions |
310 | # to include there. Do not add anything LGPL to this list; libstdc++ | |
311 | # can't use anything encumbering. | |
312 | NEEDED = atexit calloc memchr memcmp memcpy memmove memset rename strchr \ | |
209bbe34 | 313 | strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf \ |
8f1824d9 | 314 | vfork waitpid bcmp bcopy bzero |
3affd5f0 | 315 | needed-list: Makefile |
a4494286 | 316 | rm -f needed-list; touch needed-list; \ |
a4494286 | 317 | for f in $(NEEDED); do \ |
a6541767 JM |
318 | for g in $(LIBOBJS) $(EXTRA_OFILES); do \ |
319 | case "$$g" in \ | |
320 | *$$f*) echo $$g >> needed-list ;; \ | |
321 | esac; \ | |
322 | done; \ | |
a4494286 | 323 | done |
3affd5f0 JL |
324 | |
325 | # required-list was used when building a shared bfd/opcodes/libiberty | |
326 | # library. I don't know if it used by anything currently. | |
6599da04 JM |
327 | required-list: Makefile |
328 | echo $(REQUIRED_OFILES) > required-list | |
329 | ||
24f2cabb L |
330 | stamp-picdir: |
331 | if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \ | |
332 | mkdir pic; \ | |
333 | else true; fi | |
334 | touch stamp-picdir | |
335 | ||
3affd5f0 | 336 | .PHONY: all etags tags ls clean stage1 stage2 |
6599da04 | 337 | |
7c72138a | 338 | etags tags: TAGS etags-subdir |
6599da04 | 339 | |
b548dffb ZW |
340 | TAGS: $(CFILES) |
341 | etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done` | |
6599da04 JM |
342 | |
343 | # The standalone demangler (c++filt) has been moved to binutils. | |
344 | demangle: | |
345 | @echo "The standalone demangler, now named c++filt, is now" | |
346 | @echo "a part of binutils." | |
347 | @false | |
348 | ||
349 | ls: | |
b548dffb | 350 | @echo Makefile $(CFILES) |
6599da04 | 351 | |
aaa5f039 DD |
352 | # Various targets for maintainers. |
353 | ||
354 | maint-missing : | |
24f2cabb | 355 | @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES) |
aaa5f039 | 356 | |
24f2cabb | 357 | maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES) |
aaa5f039 DD |
358 | @true |
359 | ||
aac04c15 DD |
360 | maint-undoc : $(srcdir)/functions.texi |
361 | @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc | |
362 | ||
9ce3f7e5 DD |
363 | maint-deps : |
364 | @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR) | |
365 | ||
6599da04 JM |
366 | # Need to deal with profiled libraries, too. |
367 | ||
2c375143 NS |
368 | # Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS |
369 | # multiple times, hence our explicit recursion with an empty SUBDIRS. | |
7c72138a | 370 | mostlyclean: mostlyclean-subdir |
24f2cabb | 371 | -rm -rf *.o pic core errs \#* *.E a.out |
5a2eb52b | 372 | -rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-* |
24f2cabb | 373 | -rm -f $(CONFIG_H) $(NEEDED_LIST) stamp-picdir |
aaa5f039 DD |
374 | -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky |
375 | -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg | |
376 | -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr | |
377 | -rm -f libtexi.stamp | |
6599da04 | 378 | @$(MULTICLEAN) multi-clean DO=mostlyclean |
2c375143 NS |
379 | clean: clean-subdir |
380 | $(MAKE) SUBDIRS="" mostlyclean | |
5a2eb52b | 381 | -rm -f *.a required-list tmpmulti.out |
aaa5f039 | 382 | -rm -f libiberty.dvi libiberty.info* libiberty.html |
6599da04 | 383 | @$(MULTICLEAN) multi-clean DO=clean |
2c375143 NS |
384 | distclean: distclean-subdir |
385 | $(MAKE) SUBDIRS="" clean | |
6599da04 | 386 | @$(MULTICLEAN) multi-clean DO=distclean |
0046e342 | 387 | -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out |
5a2eb52b | 388 | -rm -f config.log |
b25a8973 | 389 | -rmdir testsuite 2>/dev/null |
2c375143 NS |
390 | maintainer-clean realclean: maintainer-clean-subdir |
391 | $(MAKE) SUBDIRS="" distclean | |
6599da04 JM |
392 | |
393 | force: | |
394 | ||
3affd5f0 JL |
395 | Makefile: $(srcdir)/Makefile.in config.status |
396 | CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status | |
397 | ||
97e620cf DD |
398 | # Depending on Makefile makes sure that config.status has been re-run |
399 | # if needed. This prevents problems with parallel builds. | |
3affd5f0 | 400 | config.h: stamp-h ; @true |
398b3deb DD |
401 | stamp-h: $(srcdir)/config.in config.status Makefile |
402 | CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status | |
3affd5f0 JL |
403 | |
404 | config.status: $(srcdir)/configure $(srcdir)/config.table | |
405 | $(SHELL) ./config.status --recheck | |
6599da04 | 406 | |
97e620cf DD |
407 | # Depending on config.h makes sure that config.status has been re-run |
408 | # if needed. This prevents problems with parallel builds, in case | |
409 | # subdirectories need to run config.status also. | |
7c72138a TT |
410 | all-subdir check-subdir installcheck-subdir info-subdir \ |
411 | install-info-subdir clean-info-subdir dvi-subdir install-subdir \ | |
412 | etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \ | |
97e620cf | 413 | maintainer-clean-subdir: config.h |
3b94497c | 414 | @subdirs='$(SUBDIRS)'; \ |
7277f72d | 415 | target=`echo $@ | sed -e 's/-subdir//'`; \ |
3b94497c | 416 | for dir in $$subdirs ; do \ |
4ce1921a | 417 | cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \ |
2c375143 | 418 | done |
7c72138a | 419 | |
24f2cabb L |
420 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir |
421 | $(CONFIGURED_OFILES): stamp-picdir | |
422 | ||
17049f0b MM |
423 | # Don't export variables to the environment, in order to not confuse |
424 | # configure. | |
425 | .NOEXPORT: | |
426 | ||
9ce3f7e5 DD |
427 | # The dependencies in the remainder of this file are automatically |
428 | # generated by "make maint-deps". Manual edits will be lost. | |
7b195f77 | 429 | |
24f2cabb | 430 | ./_doprnt.o: $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \ |
9ce3f7e5 | 431 | $(INCDIR)/safe-ctype.h |
24f2cabb L |
432 | if [ x"$(PICFLAG)" != x ]; then \ |
433 | $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \ | |
434 | else true; fi | |
435 | $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION) | |
398b3deb | 436 | |
24f2cabb | 437 | ./alloca.o: $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \ |
5e777af5 | 438 | $(INCDIR)/libiberty.h |
24f2cabb L |
439 | if [ x"$(PICFLAG)" != x ]; then \ |
440 | $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \ | |
441 | else true; fi | |
442 | $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION) | |
398b3deb | 443 | |
24f2cabb L |
444 | ./argv.o: $(srcdir)/argv.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
445 | if [ x"$(PICFLAG)" != x ]; then \ | |
446 | $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \ | |
447 | else true; fi | |
448 | $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION) | |
398b3deb | 449 | |
24f2cabb L |
450 | ./asprintf.o: $(srcdir)/asprintf.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
451 | if [ x"$(PICFLAG)" != x ]; then \ | |
452 | $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \ | |
453 | else true; fi | |
454 | $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION) | |
398b3deb | 455 | |
24f2cabb L |
456 | ./atexit.o: $(srcdir)/atexit.c config.h |
457 | if [ x"$(PICFLAG)" != x ]; then \ | |
458 | $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \ | |
459 | else true; fi | |
460 | $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION) | |
398b3deb | 461 | |
24f2cabb | 462 | ./basename.o: $(srcdir)/basename.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ |
398b3deb | 463 | $(INCDIR)/safe-ctype.h |
24f2cabb L |
464 | if [ x"$(PICFLAG)" != x ]; then \ |
465 | $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \ | |
466 | else true; fi | |
467 | $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION) | |
398b3deb | 468 | |
24f2cabb L |
469 | ./bcmp.o: $(srcdir)/bcmp.c |
470 | if [ x"$(PICFLAG)" != x ]; then \ | |
471 | $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \ | |
472 | else true; fi | |
473 | $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION) | |
398b3deb | 474 | |
24f2cabb L |
475 | ./bcopy.o: $(srcdir)/bcopy.c |
476 | if [ x"$(PICFLAG)" != x ]; then \ | |
477 | $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \ | |
478 | else true; fi | |
479 | $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION) | |
398b3deb | 480 | |
24f2cabb L |
481 | ./bsearch.o: $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h |
482 | if [ x"$(PICFLAG)" != x ]; then \ | |
483 | $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \ | |
484 | else true; fi | |
485 | $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION) | |
398b3deb | 486 | |
24f2cabb L |
487 | ./bzero.o: $(srcdir)/bzero.c |
488 | if [ x"$(PICFLAG)" != x ]; then \ | |
489 | $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \ | |
490 | else true; fi | |
491 | $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION) | |
398b3deb | 492 | |
24f2cabb L |
493 | ./calloc.o: $(srcdir)/calloc.c $(INCDIR)/ansidecl.h |
494 | if [ x"$(PICFLAG)" != x ]; then \ | |
495 | $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \ | |
496 | else true; fi | |
497 | $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION) | |
398b3deb | 498 | |
24f2cabb | 499 | ./choose-temp.o: $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 500 | $(INCDIR)/libiberty.h |
24f2cabb L |
501 | if [ x"$(PICFLAG)" != x ]; then \ |
502 | $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \ | |
503 | else true; fi | |
504 | $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION) | |
398b3deb | 505 | |
24f2cabb L |
506 | ./clock.o: $(srcdir)/clock.c config.h |
507 | if [ x"$(PICFLAG)" != x ]; then \ | |
508 | $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \ | |
509 | else true; fi | |
510 | $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION) | |
398b3deb | 511 | |
24f2cabb | 512 | ./concat.o: $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \ |
9ce3f7e5 | 513 | $(INCDIR)/libiberty.h |
24f2cabb L |
514 | if [ x"$(PICFLAG)" != x ]; then \ |
515 | $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \ | |
516 | else true; fi | |
517 | $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION) | |
398b3deb | 518 | |
24f2cabb L |
519 | ./copysign.o: $(srcdir)/copysign.c $(INCDIR)/ansidecl.h |
520 | if [ x"$(PICFLAG)" != x ]; then \ | |
521 | $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \ | |
522 | else true; fi | |
523 | $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION) | |
398b3deb | 524 | |
24f2cabb | 525 | ./cp-demangle.o: $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb DD |
526 | $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \ |
527 | $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h | |
24f2cabb L |
528 | if [ x"$(PICFLAG)" != x ]; then \ |
529 | $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \ | |
530 | else true; fi | |
531 | $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION) | |
398b3deb | 532 | |
24f2cabb | 533 | ./cp-demint.o: $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 534 | $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \ |
9ce3f7e5 | 535 | $(INCDIR)/libiberty.h |
24f2cabb L |
536 | if [ x"$(PICFLAG)" != x ]; then \ |
537 | $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \ | |
538 | else true; fi | |
539 | $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION) | |
398b3deb | 540 | |
24f2cabb | 541 | ./cplus-dem.o: $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb DD |
542 | $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \ |
543 | $(INCDIR)/safe-ctype.h | |
24f2cabb L |
544 | if [ x"$(PICFLAG)" != x ]; then \ |
545 | $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \ | |
546 | else true; fi | |
547 | $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION) | |
398b3deb | 548 | |
24f2cabb | 549 | ./dyn-string.o: $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 550 | $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h |
24f2cabb L |
551 | if [ x"$(PICFLAG)" != x ]; then \ |
552 | $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \ | |
553 | else true; fi | |
554 | $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION) | |
398b3deb | 555 | |
24f2cabb L |
556 | ./fdmatch.o: $(srcdir)/fdmatch.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
557 | if [ x"$(PICFLAG)" != x ]; then \ | |
558 | $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \ | |
559 | else true; fi | |
560 | $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION) | |
398b3deb | 561 | |
24f2cabb L |
562 | ./ffs.o: $(srcdir)/ffs.c |
563 | if [ x"$(PICFLAG)" != x ]; then \ | |
564 | $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \ | |
565 | else true; fi | |
566 | $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION) | |
398b3deb | 567 | |
24f2cabb | 568 | ./fibheap.o: $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 569 | $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h |
24f2cabb L |
570 | if [ x"$(PICFLAG)" != x ]; then \ |
571 | $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \ | |
572 | else true; fi | |
573 | $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION) | |
398b3deb | 574 | |
24f2cabb | 575 | ./floatformat.o: $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 576 | $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h |
24f2cabb L |
577 | if [ x"$(PICFLAG)" != x ]; then \ |
578 | $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \ | |
579 | else true; fi | |
580 | $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION) | |
398b3deb | 581 | |
24f2cabb | 582 | ./fnmatch.o: $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \ |
398b3deb | 583 | $(INCDIR)/safe-ctype.h |
24f2cabb L |
584 | if [ x"$(PICFLAG)" != x ]; then \ |
585 | $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \ | |
586 | else true; fi | |
587 | $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION) | |
398b3deb | 588 | |
78a7dc90 KG |
589 | ./fopen_unlocked.o: $(srcdir)/fopen_unlocked.c config.h $(INCDIR)/ansidecl.h \ |
590 | $(INCDIR)/libiberty.h | |
591 | if [ x"$(PICFLAG)" != x ]; then \ | |
592 | $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \ | |
593 | else true; fi | |
594 | $(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION) | |
595 | ||
24f2cabb L |
596 | ./getcwd.o: $(srcdir)/getcwd.c config.h |
597 | if [ x"$(PICFLAG)" != x ]; then \ | |
598 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \ | |
599 | else true; fi | |
600 | $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION) | |
398b3deb | 601 | |
24f2cabb L |
602 | ./getopt.o: $(srcdir)/getopt.c config.h $(INCDIR)/getopt.h |
603 | if [ x"$(PICFLAG)" != x ]; then \ | |
604 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \ | |
605 | else true; fi | |
606 | $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION) | |
398b3deb | 607 | |
24f2cabb L |
608 | ./getopt1.o: $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h |
609 | if [ x"$(PICFLAG)" != x ]; then \ | |
610 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \ | |
611 | else true; fi | |
612 | $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION) | |
398b3deb | 613 | |
24f2cabb L |
614 | ./getpagesize.o: $(srcdir)/getpagesize.c config.h |
615 | if [ x"$(PICFLAG)" != x ]; then \ | |
616 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \ | |
617 | else true; fi | |
618 | $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION) | |
398b3deb | 619 | |
24f2cabb | 620 | ./getpwd.o: $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \ |
adf269c7 | 621 | $(INCDIR)/libiberty.h |
24f2cabb L |
622 | if [ x"$(PICFLAG)" != x ]; then \ |
623 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \ | |
624 | else true; fi | |
625 | $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION) | |
398b3deb | 626 | |
24f2cabb | 627 | ./getruntime.o: $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \ |
9ce3f7e5 | 628 | $(INCDIR)/libiberty.h |
24f2cabb L |
629 | if [ x"$(PICFLAG)" != x ]; then \ |
630 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \ | |
631 | else true; fi | |
632 | $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION) | |
398b3deb | 633 | |
17049f0b MM |
634 | ./gettimeofday.o: $(srcdir)/gettimeofday.c config.h $(INCDIR)/ansidecl.h \ |
635 | $(INCDIR)/libiberty.h | |
636 | if [ x"$(PICFLAG)" != x ]; then \ | |
637 | $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \ | |
638 | else true; fi | |
639 | $(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION) | |
640 | ||
24f2cabb | 641 | ./hashtab.o: $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 642 | $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h |
24f2cabb L |
643 | if [ x"$(PICFLAG)" != x ]; then \ |
644 | $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \ | |
645 | else true; fi | |
646 | $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION) | |
398b3deb | 647 | |
24f2cabb | 648 | ./hex.o: $(srcdir)/hex.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ |
21299dbd | 649 | $(INCDIR)/safe-ctype.h |
24f2cabb L |
650 | if [ x"$(PICFLAG)" != x ]; then \ |
651 | $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \ | |
652 | else true; fi | |
653 | $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION) | |
398b3deb | 654 | |
24f2cabb L |
655 | ./index.o: $(srcdir)/index.c |
656 | if [ x"$(PICFLAG)" != x ]; then \ | |
657 | $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \ | |
658 | else true; fi | |
659 | $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION) | |
398b3deb | 660 | |
24f2cabb L |
661 | ./insque.o: $(srcdir)/insque.c |
662 | if [ x"$(PICFLAG)" != x ]; then \ | |
663 | $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \ | |
664 | else true; fi | |
665 | $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION) | |
398b3deb | 666 | |
24f2cabb | 667 | ./lbasename.o: $(srcdir)/lbasename.c $(INCDIR)/ansidecl.h $(INCDIR)/filenames.h \ |
5e777af5 | 668 | $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h |
24f2cabb L |
669 | if [ x"$(PICFLAG)" != x ]; then \ |
670 | $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \ | |
671 | else true; fi | |
672 | $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION) | |
398b3deb | 673 | |
24f2cabb | 674 | ./lrealpath.o: $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 675 | $(INCDIR)/libiberty.h |
24f2cabb L |
676 | if [ x"$(PICFLAG)" != x ]; then \ |
677 | $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \ | |
678 | else true; fi | |
679 | $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION) | |
398b3deb | 680 | |
24f2cabb | 681 | ./make-relative-prefix.o: $(srcdir)/make-relative-prefix.c config.h \ |
398b3deb | 682 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
24f2cabb L |
683 | if [ x"$(PICFLAG)" != x ]; then \ |
684 | $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \ | |
685 | else true; fi | |
686 | $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION) | |
398b3deb | 687 | |
24f2cabb | 688 | ./make-temp-file.o: $(srcdir)/make-temp-file.c config.h $(INCDIR)/ansidecl.h \ |
c9ac9147 | 689 | $(INCDIR)/libiberty.h |
24f2cabb L |
690 | if [ x"$(PICFLAG)" != x ]; then \ |
691 | $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \ | |
692 | else true; fi | |
693 | $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION) | |
398b3deb | 694 | |
24f2cabb L |
695 | ./md5.o: $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h |
696 | if [ x"$(PICFLAG)" != x ]; then \ | |
697 | $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \ | |
698 | else true; fi | |
699 | $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION) | |
398b3deb | 700 | |
24f2cabb L |
701 | ./memchr.o: $(srcdir)/memchr.c $(INCDIR)/ansidecl.h |
702 | if [ x"$(PICFLAG)" != x ]; then \ | |
703 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \ | |
704 | else true; fi | |
705 | $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION) | |
398b3deb | 706 | |
24f2cabb L |
707 | ./memcmp.o: $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h |
708 | if [ x"$(PICFLAG)" != x ]; then \ | |
709 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \ | |
710 | else true; fi | |
711 | $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION) | |
398b3deb | 712 | |
24f2cabb L |
713 | ./memcpy.o: $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h |
714 | if [ x"$(PICFLAG)" != x ]; then \ | |
715 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \ | |
716 | else true; fi | |
717 | $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION) | |
398b3deb | 718 | |
24f2cabb L |
719 | ./memmove.o: $(srcdir)/memmove.c $(INCDIR)/ansidecl.h |
720 | if [ x"$(PICFLAG)" != x ]; then \ | |
721 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \ | |
722 | else true; fi | |
723 | $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION) | |
398b3deb | 724 | |
24f2cabb L |
725 | ./mempcpy.o: $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h |
726 | if [ x"$(PICFLAG)" != x ]; then \ | |
727 | $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \ | |
728 | else true; fi | |
729 | $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION) | |
398b3deb | 730 | |
24f2cabb L |
731 | ./memset.o: $(srcdir)/memset.c $(INCDIR)/ansidecl.h |
732 | if [ x"$(PICFLAG)" != x ]; then \ | |
733 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \ | |
734 | else true; fi | |
735 | $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION) | |
398b3deb | 736 | |
24f2cabb L |
737 | ./mkstemps.o: $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h |
738 | if [ x"$(PICFLAG)" != x ]; then \ | |
739 | $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \ | |
740 | else true; fi | |
741 | $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION) | |
398b3deb | 742 | |
24f2cabb L |
743 | ./msdos.o: $(srcdir)/msdos.c |
744 | if [ x"$(PICFLAG)" != x ]; then \ | |
745 | $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \ | |
746 | else true; fi | |
747 | $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION) | |
398b3deb | 748 | |
24f2cabb | 749 | ./objalloc.o: $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 750 | $(INCDIR)/objalloc.h |
24f2cabb L |
751 | if [ x"$(PICFLAG)" != x ]; then \ |
752 | $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \ | |
753 | else true; fi | |
754 | $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION) | |
398b3deb | 755 | |
24f2cabb L |
756 | ./obstack.o: $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h |
757 | if [ x"$(PICFLAG)" != x ]; then \ | |
758 | $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \ | |
759 | else true; fi | |
760 | $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION) | |
398b3deb | 761 | |
24f2cabb | 762 | ./partition.o: $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 763 | $(INCDIR)/libiberty.h $(INCDIR)/partition.h |
24f2cabb L |
764 | if [ x"$(PICFLAG)" != x ]; then \ |
765 | $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \ | |
766 | else true; fi | |
767 | $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION) | |
398b3deb | 768 | |
a584cf65 ILT |
769 | ./pex-common.o: $(srcdir)/pex-common.c config.h $(INCDIR)/ansidecl.h \ |
770 | $(INCDIR)/libiberty.h $(srcdir)/pex-common.h | |
771 | if [ x"$(PICFLAG)" != x ]; then \ | |
772 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-common.c -o pic/$@; \ | |
773 | else true; fi | |
774 | $(COMPILE.c) $(srcdir)/pex-common.c $(OUTPUT_OPTION) | |
775 | ||
24f2cabb | 776 | ./pex-djgpp.o: $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 777 | $(INCDIR)/libiberty.h $(srcdir)/pex-common.h |
24f2cabb L |
778 | if [ x"$(PICFLAG)" != x ]; then \ |
779 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \ | |
780 | else true; fi | |
781 | $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION) | |
398b3deb | 782 | |
24f2cabb | 783 | ./pex-msdos.o: $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb DD |
784 | $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \ |
785 | $(INCDIR)/safe-ctype.h | |
24f2cabb L |
786 | if [ x"$(PICFLAG)" != x ]; then \ |
787 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \ | |
788 | else true; fi | |
789 | $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION) | |
398b3deb | 790 | |
a584cf65 ILT |
791 | ./pex-one.o: $(srcdir)/pex-one.c config.h $(INCDIR)/ansidecl.h \ |
792 | $(INCDIR)/libiberty.h | |
793 | if [ x"$(PICFLAG)" != x ]; then \ | |
794 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-one.c -o pic/$@; \ | |
795 | else true; fi | |
796 | $(COMPILE.c) $(srcdir)/pex-one.c $(OUTPUT_OPTION) | |
797 | ||
24f2cabb | 798 | ./pex-unix.o: $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 799 | $(INCDIR)/libiberty.h $(srcdir)/pex-common.h |
24f2cabb L |
800 | if [ x"$(PICFLAG)" != x ]; then \ |
801 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \ | |
802 | else true; fi | |
803 | $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION) | |
398b3deb | 804 | |
24f2cabb | 805 | ./pex-win32.o: $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 806 | $(INCDIR)/libiberty.h $(srcdir)/pex-common.h |
24f2cabb L |
807 | if [ x"$(PICFLAG)" != x ]; then \ |
808 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \ | |
809 | else true; fi | |
810 | $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION) | |
398b3deb | 811 | |
a584cf65 ILT |
812 | ./pexecute.o: $(srcdir)/pexecute.c config.h $(INCDIR)/ansidecl.h \ |
813 | $(INCDIR)/libiberty.h | |
814 | if [ x"$(PICFLAG)" != x ]; then \ | |
815 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pexecute.c -o pic/$@; \ | |
816 | else true; fi | |
817 | $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION) | |
818 | ||
24f2cabb | 819 | ./physmem.o: $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 820 | $(INCDIR)/libiberty.h |
24f2cabb L |
821 | if [ x"$(PICFLAG)" != x ]; then \ |
822 | $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \ | |
823 | else true; fi | |
824 | $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION) | |
398b3deb | 825 | |
24f2cabb L |
826 | ./putenv.o: $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h |
827 | if [ x"$(PICFLAG)" != x ]; then \ | |
828 | $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \ | |
829 | else true; fi | |
830 | $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION) | |
398b3deb | 831 | |
24f2cabb L |
832 | ./random.o: $(srcdir)/random.c $(INCDIR)/ansidecl.h |
833 | if [ x"$(PICFLAG)" != x ]; then \ | |
834 | $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \ | |
835 | else true; fi | |
836 | $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION) | |
398b3deb | 837 | |
24f2cabb | 838 | ./regex.o: $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/xregex.h \ |
e8190aa2 | 839 | $(INCDIR)/xregex2.h |
24f2cabb L |
840 | if [ x"$(PICFLAG)" != x ]; then \ |
841 | $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \ | |
842 | else true; fi | |
843 | $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION) | |
398b3deb | 844 | |
24f2cabb L |
845 | ./rename.o: $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h |
846 | if [ x"$(PICFLAG)" != x ]; then \ | |
847 | $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \ | |
848 | else true; fi | |
849 | $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION) | |
398b3deb | 850 | |
24f2cabb L |
851 | ./rindex.o: $(srcdir)/rindex.c |
852 | if [ x"$(PICFLAG)" != x ]; then \ | |
853 | $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \ | |
854 | else true; fi | |
855 | $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION) | |
398b3deb | 856 | |
24f2cabb | 857 | ./safe-ctype.o: $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \ |
398b3deb | 858 | $(INCDIR)/safe-ctype.h |
24f2cabb L |
859 | if [ x"$(PICFLAG)" != x ]; then \ |
860 | $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \ | |
861 | else true; fi | |
862 | $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION) | |
398b3deb | 863 | |
24f2cabb L |
864 | ./setenv.o: $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h |
865 | if [ x"$(PICFLAG)" != x ]; then \ | |
866 | $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \ | |
867 | else true; fi | |
868 | $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION) | |
398b3deb | 869 | |
24f2cabb L |
870 | ./sigsetmask.o: $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h |
871 | if [ x"$(PICFLAG)" != x ]; then \ | |
872 | $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \ | |
873 | else true; fi | |
874 | $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION) | |
398b3deb | 875 | |
24f2cabb L |
876 | ./snprintf.o: $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h |
877 | if [ x"$(PICFLAG)" != x ]; then \ | |
878 | $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \ | |
879 | else true; fi | |
880 | $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION) | |
398b3deb | 881 | |
24f2cabb | 882 | ./sort.o: $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ |
9ce3f7e5 | 883 | $(INCDIR)/sort.h |
24f2cabb L |
884 | if [ x"$(PICFLAG)" != x ]; then \ |
885 | $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \ | |
886 | else true; fi | |
887 | $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION) | |
398b3deb | 888 | |
24f2cabb L |
889 | ./spaces.o: $(srcdir)/spaces.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
890 | if [ x"$(PICFLAG)" != x ]; then \ | |
891 | $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \ | |
892 | else true; fi | |
893 | $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION) | |
398b3deb | 894 | |
24f2cabb | 895 | ./splay-tree.o: $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 896 | $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h |
24f2cabb L |
897 | if [ x"$(PICFLAG)" != x ]; then \ |
898 | $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \ | |
899 | else true; fi | |
900 | $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION) | |
398b3deb | 901 | |
24f2cabb L |
902 | ./stpcpy.o: $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h |
903 | if [ x"$(PICFLAG)" != x ]; then \ | |
904 | $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \ | |
905 | else true; fi | |
906 | $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION) | |
398b3deb | 907 | |
24f2cabb L |
908 | ./stpncpy.o: $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h |
909 | if [ x"$(PICFLAG)" != x ]; then \ | |
910 | $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \ | |
911 | else true; fi | |
912 | $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION) | |
398b3deb | 913 | |
24f2cabb L |
914 | ./strcasecmp.o: $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h |
915 | if [ x"$(PICFLAG)" != x ]; then \ | |
916 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \ | |
917 | else true; fi | |
918 | $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION) | |
398b3deb | 919 | |
24f2cabb L |
920 | ./strchr.o: $(srcdir)/strchr.c $(INCDIR)/ansidecl.h |
921 | if [ x"$(PICFLAG)" != x ]; then \ | |
922 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \ | |
923 | else true; fi | |
924 | $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION) | |
398b3deb | 925 | |
24f2cabb L |
926 | ./strdup.o: $(srcdir)/strdup.c $(INCDIR)/ansidecl.h |
927 | if [ x"$(PICFLAG)" != x ]; then \ | |
928 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \ | |
929 | else true; fi | |
930 | $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION) | |
398b3deb | 931 | |
24f2cabb | 932 | ./strerror.o: $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 933 | $(INCDIR)/libiberty.h |
24f2cabb L |
934 | if [ x"$(PICFLAG)" != x ]; then \ |
935 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \ | |
936 | else true; fi | |
937 | $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION) | |
398b3deb | 938 | |
24f2cabb L |
939 | ./strncasecmp.o: $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h |
940 | if [ x"$(PICFLAG)" != x ]; then \ | |
941 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \ | |
942 | else true; fi | |
943 | $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION) | |
398b3deb | 944 | |
24f2cabb L |
945 | ./strncmp.o: $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h |
946 | if [ x"$(PICFLAG)" != x ]; then \ | |
947 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \ | |
948 | else true; fi | |
949 | $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION) | |
398b3deb | 950 | |
17998b22 KG |
951 | ./strndup.o: $(srcdir)/strndup.c $(INCDIR)/ansidecl.h |
952 | if [ x"$(PICFLAG)" != x ]; then \ | |
953 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \ | |
954 | else true; fi | |
955 | $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION) | |
956 | ||
24f2cabb L |
957 | ./strrchr.o: $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h |
958 | if [ x"$(PICFLAG)" != x ]; then \ | |
959 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \ | |
960 | else true; fi | |
961 | $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION) | |
398b3deb | 962 | |
24f2cabb | 963 | ./strsignal.o: $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 964 | $(INCDIR)/libiberty.h |
24f2cabb L |
965 | if [ x"$(PICFLAG)" != x ]; then \ |
966 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \ | |
967 | else true; fi | |
968 | $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION) | |
398b3deb | 969 | |
24f2cabb L |
970 | ./strstr.o: $(srcdir)/strstr.c |
971 | if [ x"$(PICFLAG)" != x ]; then \ | |
972 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \ | |
973 | else true; fi | |
974 | $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION) | |
398b3deb | 975 | |
24f2cabb L |
976 | ./strtod.o: $(srcdir)/strtod.c $(INCDIR)/ansidecl.h $(INCDIR)/safe-ctype.h |
977 | if [ x"$(PICFLAG)" != x ]; then \ | |
978 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \ | |
979 | else true; fi | |
980 | $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION) | |
398b3deb | 981 | |
24f2cabb L |
982 | ./strtol.o: $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h |
983 | if [ x"$(PICFLAG)" != x ]; then \ | |
984 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \ | |
985 | else true; fi | |
986 | $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION) | |
398b3deb | 987 | |
24f2cabb | 988 | ./strtoul.o: $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 989 | $(INCDIR)/safe-ctype.h |
24f2cabb L |
990 | if [ x"$(PICFLAG)" != x ]; then \ |
991 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \ | |
992 | else true; fi | |
993 | $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION) | |
398b3deb | 994 | |
24f2cabb | 995 | ./ternary.o: $(srcdir)/ternary.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 996 | $(INCDIR)/libiberty.h $(INCDIR)/ternary.h |
24f2cabb L |
997 | if [ x"$(PICFLAG)" != x ]; then \ |
998 | $(COMPILE.c) $(PICFLAG) $(srcdir)/ternary.c -o pic/$@; \ | |
999 | else true; fi | |
1000 | $(COMPILE.c) $(srcdir)/ternary.c $(OUTPUT_OPTION) | |
398b3deb | 1001 | |
24f2cabb L |
1002 | ./tmpnam.o: $(srcdir)/tmpnam.c |
1003 | if [ x"$(PICFLAG)" != x ]; then \ | |
1004 | $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \ | |
1005 | else true; fi | |
1006 | $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION) | |
398b3deb | 1007 | |
17049f0b MM |
1008 | ./unlink-if-ordinary.o: $(srcdir)/unlink-if-ordinary.c config.h \ |
1009 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h | |
c363985d JB |
1010 | if [ x"$(PICFLAG)" != x ]; then \ |
1011 | $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \ | |
1012 | else true; fi | |
1013 | $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION) | |
1014 | ||
24f2cabb | 1015 | ./vasprintf.o: $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 1016 | $(INCDIR)/libiberty.h |
24f2cabb L |
1017 | if [ x"$(PICFLAG)" != x ]; then \ |
1018 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \ | |
1019 | else true; fi | |
1020 | $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION) | |
398b3deb | 1021 | |
24f2cabb L |
1022 | ./vfork.o: $(srcdir)/vfork.c $(INCDIR)/ansidecl.h |
1023 | if [ x"$(PICFLAG)" != x ]; then \ | |
1024 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \ | |
1025 | else true; fi | |
1026 | $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION) | |
398b3deb | 1027 | |
24f2cabb L |
1028 | ./vfprintf.o: $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h |
1029 | if [ x"$(PICFLAG)" != x ]; then \ | |
1030 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \ | |
1031 | else true; fi | |
1032 | $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION) | |
398b3deb | 1033 | |
24f2cabb L |
1034 | ./vprintf.o: $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h |
1035 | if [ x"$(PICFLAG)" != x ]; then \ | |
1036 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \ | |
1037 | else true; fi | |
1038 | $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION) | |
398b3deb | 1039 | |
24f2cabb | 1040 | ./vsnprintf.o: $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 1041 | $(INCDIR)/libiberty.h |
24f2cabb L |
1042 | if [ x"$(PICFLAG)" != x ]; then \ |
1043 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \ | |
1044 | else true; fi | |
1045 | $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION) | |
398b3deb | 1046 | |
24f2cabb L |
1047 | ./vsprintf.o: $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h |
1048 | if [ x"$(PICFLAG)" != x ]; then \ | |
1049 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \ | |
1050 | else true; fi | |
1051 | $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION) | |
398b3deb | 1052 | |
78a7dc90 | 1053 | ./waitpid.o: $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h |
24f2cabb L |
1054 | if [ x"$(PICFLAG)" != x ]; then \ |
1055 | $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \ | |
1056 | else true; fi | |
1057 | $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION) | |
398b3deb | 1058 | |
24f2cabb L |
1059 | ./xatexit.o: $(srcdir)/xatexit.c $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
1060 | if [ x"$(PICFLAG)" != x ]; then \ | |
1061 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \ | |
1062 | else true; fi | |
1063 | $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION) | |
398b3deb | 1064 | |
24f2cabb L |
1065 | ./xexit.o: $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
1066 | if [ x"$(PICFLAG)" != x ]; then \ | |
1067 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \ | |
1068 | else true; fi | |
1069 | $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION) | |
398b3deb | 1070 | |
24f2cabb | 1071 | ./xmalloc.o: $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 1072 | $(INCDIR)/libiberty.h |
24f2cabb L |
1073 | if [ x"$(PICFLAG)" != x ]; then \ |
1074 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \ | |
1075 | else true; fi | |
1076 | $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION) | |
398b3deb | 1077 | |
24f2cabb | 1078 | ./xmemdup.o: $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 1079 | $(INCDIR)/libiberty.h |
24f2cabb L |
1080 | if [ x"$(PICFLAG)" != x ]; then \ |
1081 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \ | |
1082 | else true; fi | |
1083 | $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION) | |
398b3deb | 1084 | |
24f2cabb | 1085 | ./xstrdup.o: $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 1086 | $(INCDIR)/libiberty.h |
24f2cabb L |
1087 | if [ x"$(PICFLAG)" != x ]; then \ |
1088 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \ | |
1089 | else true; fi | |
1090 | $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION) | |
398b3deb | 1091 | |
24f2cabb | 1092 | ./xstrerror.o: $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \ |
398b3deb | 1093 | $(INCDIR)/libiberty.h |
24f2cabb L |
1094 | if [ x"$(PICFLAG)" != x ]; then \ |
1095 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \ | |
1096 | else true; fi | |
1097 | $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION) | |
398b3deb | 1098 | |
17998b22 KG |
1099 | ./xstrndup.o: $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \ |
1100 | $(INCDIR)/libiberty.h | |
1101 | if [ x"$(PICFLAG)" != x ]; then \ | |
1102 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \ | |
1103 | else true; fi | |
1104 | $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION) | |
1105 |