Deleted Added
full compact
Makefile (132751) Makefile (133103)
1# $FreeBSD: head/gnu/lib/libgcc/Makefile 132751 2004-07-28 05:27:21Z kan $
1# $FreeBSD: head/gnu/lib/libgcc/Makefile 133103 2004-08-04 03:13:51Z kan $
2
3.include "${.CURDIR}/../../usr.bin/cc/Makefile.tgt"
4
5GCCDIR= ${.CURDIR}/../../../contrib/gcc
6.PATH: ${GCCDIR}/config/${GCC_CPU} ${GCCDIR}
7
8# allow to be overridden for the a.out case
9.if !defined(LIB) || ${LIB} != "gcc_r"

--- 142 unchanged lines hidden (view full) ---

152 ${XCC} -p -DFLOAT=1 -c ${CFLAGS} -o ${.TARGET} ${.ALLSRC:M*fp-bit*}
153
154#-----------------------------------------------------------------------
155
156# Remove any objects from LIB2FUNCS and LIB2_DIVMOD_FUNCS that are
157# defined as optimized assembly code in LIB1ASMFUNCS.
158.if defined(LIB1ASMFUNCS)
159.for sym in ${LIB1ASMFUNCS}
2
3.include "${.CURDIR}/../../usr.bin/cc/Makefile.tgt"
4
5GCCDIR= ${.CURDIR}/../../../contrib/gcc
6.PATH: ${GCCDIR}/config/${GCC_CPU} ${GCCDIR}
7
8# allow to be overridden for the a.out case
9.if !defined(LIB) || ${LIB} != "gcc_r"

--- 142 unchanged lines hidden (view full) ---

152 ${XCC} -p -DFLOAT=1 -c ${CFLAGS} -o ${.TARGET} ${.ALLSRC:M*fp-bit*}
153
154#-----------------------------------------------------------------------
155
156# Remove any objects from LIB2FUNCS and LIB2_DIVMOD_FUNCS that are
157# defined as optimized assembly code in LIB1ASMFUNCS.
158.if defined(LIB1ASMFUNCS)
159.for sym in ${LIB1ASMFUNCS}
160LIB2FUNCS_1:= ${LIB2FUNCS_1:S/${sym}//g}
161LIB2FUNCS_2:= ${LIB2FUNCS_2:S/${sym}//g}
160LIB2FUNCS:= ${LIB2FUNCS:S/${sym}//g}
162LIB2_DIVMOD_FUNCS:= ${LIB2_DIVMOD_FUNCS:S/${sym}//g}
163.endfor
164.endif
165
166ASM_T= ${LIB1ASMFUNCS:S/$/.o/}
167ASM_P= ${LIB1ASMFUNCS:S/$/.po/}
168ASM_S= ${LIB1ASMFUNCS:S/$/.So/}
169
161LIB2_DIVMOD_FUNCS:= ${LIB2_DIVMOD_FUNCS:S/${sym}//g}
162.endfor
163.endif
164
165ASM_T= ${LIB1ASMFUNCS:S/$/.o/}
166ASM_P= ${LIB1ASMFUNCS:S/$/.po/}
167ASM_S= ${LIB1ASMFUNCS:S/$/.So/}
168
170SYMS= ${LIB2FUNCS_1} \
171 ${LIB2FUNCS_2} \
169SYMS= ${LIB2FUNCS} \
172 ${LIB2_DIVMOD_FUNCS}
173.if ${TARGET_ARCH} == "arm" || ${TARGET_ARCH} == "powerpc" || ${TARGET_ARCH} == "sparc64"
174SYMS+= ${FPBIT_FUNCS} ${DPBIT_FUNCS}
175.endif
176SYMS_ST= ${LIB2FUNCS_ST} \
177 ${LIB2ADD_ST}
178OBJS+= ${SYMS:S/$/.o/} ${LIB1ASMFUNCS:S/$/.o/}
179OBJS_T= ${SYMS:S/$/.o/} ${SYMS_ST:S/$/.o/}

--- 48 unchanged lines hidden ---
170 ${LIB2_DIVMOD_FUNCS}
171.if ${TARGET_ARCH} == "arm" || ${TARGET_ARCH} == "powerpc" || ${TARGET_ARCH} == "sparc64"
172SYMS+= ${FPBIT_FUNCS} ${DPBIT_FUNCS}
173.endif
174SYMS_ST= ${LIB2FUNCS_ST} \
175 ${LIB2ADD_ST}
176OBJS+= ${SYMS:S/$/.o/} ${LIB1ASMFUNCS:S/$/.o/}
177OBJS_T= ${SYMS:S/$/.o/} ${SYMS_ST:S/$/.o/}

--- 48 unchanged lines hidden ---