xref: /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/cris/t-cris (revision 36ac495d2b3ea2b9d96377b2143ebfedac224b92)
1LIB2ADD = _udivsi3.c _divsi3.c _umodsi3.c _modsi3.c
2
3# The fixed-point arithmetic code is in one file, arit.c,
4# similar to libgcc2.c (or the old libgcc1.c).  We need to
5# "split it up" with one file per define.
6$(LIB2ADD): $(srcdir)/config/cris/arit.c
7	name=`echo $@ | sed -e 's,.*/,,' | sed -e 's,.c$$,,'`; \
8	echo "#define L$$name" > tmp-$@ \
9	&& echo '#include "$<"' >> tmp-$@ \
10	&& mv -f tmp-$@ $@
11