[444] | 1 | # Makefile for newlib/libm/test. |
---|
| 2 | # Copyright (c) 1994, 2002 Red Hat Incorporated. |
---|
| 3 | # All rights reserved. |
---|
| 4 | # |
---|
| 5 | # Redistribution and use in source and binary forms, with or without |
---|
| 6 | # modification, are permitted provided that the following conditions are met: |
---|
| 7 | # |
---|
| 8 | # Redistributions of source code must retain the above copyright |
---|
| 9 | # notice, this list of conditions and the following disclaimer. |
---|
| 10 | # |
---|
| 11 | # Redistributions in binary form must reproduce the above copyright |
---|
| 12 | # notice, this list of conditions and the following disclaimer in the |
---|
| 13 | # documentation and/or other materials provided with the distribution. |
---|
| 14 | # |
---|
| 15 | # The name of Red Hat Incorporated may not be used to endorse |
---|
| 16 | # or promote products derived from this software without specific |
---|
| 17 | # prior written permission. |
---|
| 18 | # |
---|
| 19 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
---|
| 20 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
---|
| 21 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
---|
| 22 | # ARE DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY |
---|
| 23 | # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
---|
| 24 | # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
---|
| 25 | # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
---|
| 26 | # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
---|
| 27 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
---|
| 28 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
---|
| 29 | |
---|
| 30 | TOP=.. |
---|
| 31 | SRCTOP=.. |
---|
| 32 | |
---|
| 33 | #### Host, target, and site specific Makefile fragments come in here. |
---|
| 34 | ### |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | OFILES=test.o string.o convert.o conv_vec.o iconv_vec.o test_is.o dvec.o sprint_vec.o sprint_ivec.o math2.o test_ieee.o |
---|
| 38 | |
---|
| 39 | VEC_OFILES=\ |
---|
| 40 | math.o \ |
---|
| 41 | atan2_vec.o \ |
---|
| 42 | atan2f_vec.o \ |
---|
| 43 | jn_vec.o \ |
---|
| 44 | jnf_vec.o \ |
---|
| 45 | log2_vec.o \ |
---|
| 46 | log2f_vec.o \ |
---|
| 47 | yn_vec.o \ |
---|
| 48 | ynf_vec.o \ |
---|
| 49 | acos_vec.o \ |
---|
| 50 | acosf_vec.o \ |
---|
| 51 | acosh_vec.o \ |
---|
| 52 | acoshf_vec.o \ |
---|
| 53 | asin_vec.o \ |
---|
| 54 | asinf_vec.o \ |
---|
| 55 | asinh_vec.o \ |
---|
| 56 | asinhf_vec.o \ |
---|
| 57 | atan_vec.o \ |
---|
| 58 | atanf_vec.o \ |
---|
| 59 | atanh_vec.o \ |
---|
| 60 | atanhf_vec.o \ |
---|
| 61 | ceil_vec.o \ |
---|
| 62 | ceilf_vec.o \ |
---|
| 63 | cos_vec.o \ |
---|
| 64 | cosf_vec.o \ |
---|
| 65 | cosh_vec.o \ |
---|
| 66 | coshf_vec.o \ |
---|
| 67 | erf_vec.o \ |
---|
| 68 | erfc_vec.o \ |
---|
| 69 | erfcf_vec.o \ |
---|
| 70 | erff_vec.o \ |
---|
| 71 | exp_vec.o \ |
---|
| 72 | expf_vec.o \ |
---|
| 73 | fabs_vec.o \ |
---|
| 74 | fabsf_vec.o \ |
---|
| 75 | floor_vec.o \ |
---|
| 76 | floorf_vec.o \ |
---|
| 77 | gamma_vec.o \ |
---|
| 78 | gammaf_vec.o \ |
---|
| 79 | j0_vec.o \ |
---|
| 80 | j0f_vec.o \ |
---|
| 81 | j1_vec.o \ |
---|
| 82 | j1f_vec.o \ |
---|
| 83 | log10_vec.o \ |
---|
| 84 | log10f_vec.o \ |
---|
| 85 | log1p_vec.o \ |
---|
| 86 | log1pf_vec.o \ |
---|
| 87 | log_vec.o \ |
---|
| 88 | logf_vec.o \ |
---|
| 89 | sin_vec.o \ |
---|
| 90 | sinf_vec.o \ |
---|
| 91 | sinh_vec.o \ |
---|
| 92 | sinhf_vec.o \ |
---|
| 93 | sqrt_vec.o \ |
---|
| 94 | sqrtf_vec.o \ |
---|
| 95 | tan_vec.o \ |
---|
| 96 | tanf_vec.o \ |
---|
| 97 | tanh_vec.o \ |
---|
| 98 | tanhf_vec.o \ |
---|
| 99 | y0_vec.o \ |
---|
| 100 | y0f_vec.o \ |
---|
| 101 | y1_vec.o \ |
---|
| 102 | y1f_vec.o \ |
---|
| 103 | hypotf_vec.o \ |
---|
| 104 | hypot_vec.o \ |
---|
| 105 | fmod_vec.o \ |
---|
| 106 | fmodf_vec.o |
---|
| 107 | |
---|
| 108 | |
---|
| 109 | all:$(OFILES) $(VEC_OFILES) |
---|
| 110 | $(CROSS_LD) -o test ../../crt0.o $(OFILES) $(VEC_OFILES) ../../libc.a ../../libm.a |
---|
| 111 | |
---|
| 112 | |
---|
| 113 | clean mostlyclean: |
---|
| 114 | $(RM) $(OFILES) $(VEC_OFILES) *~ |
---|
| 115 | |
---|
| 116 | distclean maintainer-clean realclean: clean |
---|
| 117 | rm -f Makefile config.status |
---|
| 118 | |
---|
| 119 | |
---|
| 120 | Makefile:Makefile.in |
---|
| 121 | $(SHELL) config.status |
---|
| 122 | |
---|
| 123 | # to support SunOS VPATH |
---|
| 124 | acos_vec.o: acos_vec.c |
---|
| 125 | acosf_vec.o: acosf_vec.c |
---|
| 126 | acosh_vec.o: acosh_vec.c |
---|
| 127 | acoshf_vec.o: acoshf_vec.c |
---|
| 128 | asin_vec.o: asin_vec.c |
---|
| 129 | asinf_vec.o: asinf_vec.c |
---|
| 130 | asinh_vec.o: asinh_vec.c |
---|
| 131 | asinhf_vec.o: asinhf_vec.c |
---|
| 132 | atan2_vec.o: atan2_vec.c |
---|
| 133 | atan2f_vec.o: atan2f_vec.c |
---|
| 134 | atan_vec.o: atan_vec.c |
---|
| 135 | atanf_vec.o: atanf_vec.c |
---|
| 136 | atanh_vec.o: atanh_vec.c |
---|
| 137 | atanhf_vec.o: atanhf_vec.c |
---|
| 138 | ceil_vec.o: ceil_vec.c |
---|
| 139 | ceilf_vec.o: ceilf_vec.c |
---|
| 140 | conv_vec.o: conv_vec.c |
---|
| 141 | convert.o: convert.c |
---|
| 142 | cos_vec.o: cos_vec.c |
---|
| 143 | cosf_vec.o: cosf_vec.c |
---|
| 144 | cosh_vec.o: cosh_vec.c |
---|
| 145 | coshf_vec.o: coshf_vec.c |
---|
| 146 | dcvt.o: dcvt.c |
---|
| 147 | dvec.o: dvec.c |
---|
| 148 | erf_vec.o: erf_vec.c |
---|
| 149 | erfc_vec.o: erfc_vec.c |
---|
| 150 | erfcf_vec.o: erfcf_vec.c |
---|
| 151 | erff_vec.o: erff_vec.c |
---|
| 152 | exp_vec.o: exp_vec.c |
---|
| 153 | expf_vec.o: expf_vec.c |
---|
| 154 | fabs_vec.o: fabs_vec.c |
---|
| 155 | fabsf_vec.o: fabsf_vec.c |
---|
| 156 | floor_vec.o: floor_vec.c |
---|
| 157 | floorf_vec.o: floorf_vec.c |
---|
| 158 | fmod_vec.o: fmod_vec.c |
---|
| 159 | fmodf_vec.o: fmodf_vec.c |
---|
| 160 | gamma_vec.o: gamma_vec.c |
---|
| 161 | gammaf_vec.o: gammaf_vec.c |
---|
| 162 | hypot_vec.o: hypot_vec.c |
---|
| 163 | hypotf_vec.o: hypotf_vec.c |
---|
| 164 | iconv_vec.o: iconv_vec.c |
---|
| 165 | j0_vec.o: j0_vec.c |
---|
| 166 | j0f_vec.o: j0f_vec.c |
---|
| 167 | j1_vec.o: j1_vec.c |
---|
| 168 | j1f_vec.o: j1f_vec.c |
---|
| 169 | jn_vec.o: jn_vec.c |
---|
| 170 | jnf_vec.o: jnf_vec.c |
---|
| 171 | log10_vec.o: log10_vec.c |
---|
| 172 | log10f_vec.o: log10f_vec.c |
---|
| 173 | log1p_vec.o: log1p_vec.c |
---|
| 174 | log1pf_vec.o: log1pf_vec.c |
---|
| 175 | log2_vec.o: log2_vec.c |
---|
| 176 | log2f_vec.o: log2f_vec.c |
---|
| 177 | log_vec.o: log_vec.c |
---|
| 178 | logf_vec.o: logf_vec.c |
---|
| 179 | math.o: math.c |
---|
| 180 | math2.o: math2.c |
---|
| 181 | sin_vec.o: sin_vec.c |
---|
| 182 | sinf_vec.o: sinf_vec.c |
---|
| 183 | sinh_vec.o: sinh_vec.c |
---|
| 184 | sinhf_vec.o: sinhf_vec.c |
---|
| 185 | sprint_ivec.o: sprint_ivec.c |
---|
| 186 | sprint_vec.o: sprint_vec.c |
---|
| 187 | sqrt_vec.o: sqrt_vec.c |
---|
| 188 | sqrtf_vec.o: sqrtf_vec.c |
---|
| 189 | string.o: string.c |
---|
| 190 | tan_vec.o: tan_vec.c |
---|
| 191 | tanf_vec.o: tanf_vec.c |
---|
| 192 | tanh_vec.o: tanh_vec.c |
---|
| 193 | tanhf_vec.o: tanhf_vec.c |
---|
| 194 | test.o: test.c |
---|
| 195 | test_ieee.o: test_ieee.c |
---|
| 196 | test_is.o: test_is.c |
---|
| 197 | y0_vec.o: y0_vec.c |
---|
| 198 | y0f_vec.o: y0f_vec.c |
---|
| 199 | y1_vec.o: y1_vec.c |
---|
| 200 | y1f_vec.o: y1f_vec.c |
---|
| 201 | yn_vec.o: yn_vec.c |
---|
| 202 | ynf_vec.o: ynf_vec.c |
---|