Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Side by Side Diff: newlib/Makefile.am

Issue 1377003003: Specify output explicitly for the .c.o compile rule (Closed) Base URL: https://chromium.googlesource.com/native_client/nacl-newlib.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | newlib/Makefile.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ## Process this file with automake to generate Makefile.in 1 ## Process this file with automake to generate Makefile.in
2 2
3 AUTOMAKE_OPTIONS = cygnus dejagnu 3 AUTOMAKE_OPTIONS = cygnus dejagnu
4 ACLOCAL_AMFLAGS = -I . -I .. 4 ACLOCAL_AMFLAGS = -I . -I ..
5 5
6 # Multilib support variables. 6 # Multilib support variables.
7 MULTISRCTOP = 7 MULTISRCTOP =
8 MULTIBUILDTOP = 8 MULTIBUILDTOP =
9 MULTIDIRS = 9 MULTIDIRS =
10 MULTISUBDIR = 10 MULTISUBDIR =
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 if USE_LIBTOOL 80 if USE_LIBTOOL
81 toollib_LTLIBRARIES = libm.la \ 81 toollib_LTLIBRARIES = libm.la \
82 libc.la 82 libc.la
83 else 83 else
84 toollib_LIBRARIES = libm.a \ 84 toollib_LIBRARIES = libm.a \
85 libc.a 85 libc.a
86 endif 86 endif
87 87
88 noinst_DATA = stmp-targ-include 88 noinst_DATA = stmp-targ-include
89 89
90 toollib_DATA = $(CRT0) $(CRT1) 90 toollib_DATA = $(wildcard $(CRT0)) $(CRT1)
Roland McGrath 2015/10/07 22:13:23 This is horrible in multiple ways.
91 91
92 92
93 # The functions ldexp, frexp and modf are traditionally supplied in 93 # The functions ldexp, frexp and modf are traditionally supplied in
94 # both libc.a and libm.a. We build them in libm.a and copy them over, 94 # both libc.a and libm.a. We build them in libm.a and copy them over,
95 # along with some required supporting routines. 95 # along with some required supporting routines.
96 MATHOBJS_IN_LIBC = \ 96 MATHOBJS_IN_LIBC = \
97 $(lpfx)s_fpclassify.$(oext) $(lpfx)sf_fpclassify.$(oext) \ 97 $(lpfx)s_fpclassify.$(oext) $(lpfx)sf_fpclassify.$(oext) \
98 $(lpfx)s_isinf.$(oext) $(lpfx)sf_isinf.$(oext) \ 98 $(lpfx)s_isinf.$(oext) $(lpfx)sf_isinf.$(oext) \
99 $(lpfx)s_isnan.$(oext) $(lpfx)sf_isnan.$(oext) \ 99 $(lpfx)s_isnan.$(oext) $(lpfx)sf_isnan.$(oext) \
100 $(lpfx)s_isinfd.$(oext) $(lpfx)sf_isinff.$(oext) \ 100 $(lpfx)s_isinfd.$(oext) $(lpfx)sf_isinff.$(oext) \
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 libc/libc.a: ; @true 170 libc/libc.a: ; @true
171 171
172 libm.a: libm/libm.a 172 libm.a: libm/libm.a
173 rm -f $@ 173 rm -f $@
174 ln libm/libm.a $@ >/dev/null 2>/dev/null || cp libm/libm.a $@ 174 ln libm/libm.a $@ >/dev/null 2>/dev/null || cp libm/libm.a $@
175 175
176 libm/libm.a: ; @true 176 libm/libm.a: ; @true
177 177
178 endif # USE_LIBTOOL 178 endif # USE_LIBTOOL
179 179
180 crt0.o: $(CRT0_DIR)$(CRT0) 180 crt0.o: $(wildcard $(CRT0_DIR)$(CRT0))
Roland McGrath 2015/10/07 22:13:23 Also horrible.
181 rm -f $@ 181 rm -f $@
182 » ln $(CRT0_DIR)$(CRT0) $@ >/dev/null 2>/dev/null \ 182 » if test -f $(CRT0_DIR)$(CRT0); then ln $(CRT0_DIR)$(CRT0) $@ >/dev/null 2>/dev/null \
183 » || cp $(CRT0_DIR)$(CRT0) $@ 183 » || cp $(CRT0_DIR)$(CRT0) $@; fi
184 184
185 $(CRT0_DIR)$(CRT0): ; @true 185 $(CRT0_DIR)$(CRT0): ; @true
186 186
187 crt1.o: $(CRT1_DIR)$(CRT1) 187 crt1.o: $(CRT1_DIR)$(CRT1)
188 rm -f $@ 188 rm -f $@
189 ln $< $@ >/dev/null 2>/dev/null \ 189 ln $< $@ >/dev/null 2>/dev/null \
190 || cp $< $@ 190 || cp $< $@
191 191
192 $(CRT1_DIR)$(CRT1): ; @true 192 $(CRT1_DIR)$(CRT1): ; @true
193 193
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 cd testsuite ; \ 435 cd testsuite ; \
436 if $(SHELL) -c "$$RUNTEST --version" > /dev/null 2>&1 ; then \ 436 if $(SHELL) -c "$$RUNTEST --version" > /dev/null 2>&1 ; then \
437 $$RUNTEST --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite $(RUNTESTF LAGS) ; \ 437 $$RUNTEST --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite $(RUNTESTF LAGS) ; \
438 : ; \ 438 : ; \
439 else \ 439 else \
440 echo "WARNING: could not find \`runtest'" 1>&2 ; \ 440 echo "WARNING: could not find \`runtest'" 1>&2 ; \
441 fi 441 fi
442 442
443 clean-local: 443 clean-local:
444 -rm -rf targ-include 444 -rm -rf targ-include
OLDNEW
« no previous file with comments | « no previous file | newlib/Makefile.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698