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