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