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