| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 | # Makefile for uClibc## Copyright (C) 2000,2001 Erik Andersen <andersen@uclibc.org>## This program is free software; you can redistribute it and/or modify it under# the terms of the GNU Library General Public License as published by the Free# Software Foundation; either version 2 of the License, or (at your option) any# later version.## This program is distributed in the hope that it will be useful, but WITHOUT# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS# FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more# details.## You should have received a copy of the GNU Library General Public License# along with this program; if not, write to the Free Software Foundation, Inc.,# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA# Unix makefile for ieetst, eparanoi.# Set LARGEMEM 1 in qcalc.h for 32-bit memory addresses.# Define computer type and/or endianness in mconf.h.## Configure eparanoi.c for desired arithmetic test;# also define appropriate version of setprec.o, or use a stub that# does no FPU setup.  To test native arithmetic, eparanoi uses# the system libraries only; compile simply by `cc eparanoi.c -lm'.#TESTDIR=../include $(TESTDIR)/Rules.mak#CC = gcc#CFLAGS= -OINCS= mconf.h ehead.hOBJS = ieee.o econst.o eexp.o elog.o epow.o etanh.o etodec.o mtherr.o #setprec.oTARGETS=ieetst eparanoiall: $(TARGETS)ieetst: ieetst.o $(OBJS) drand.o $(INCS)	$(CC) -o ieetst ieetst.o $(OBJS) drand.o -lc -lmeparanoi: eparanoi.o $(OBJS) $(INCS)	$(CC) -o eparanoi  eparanoi.o $(OBJS) -lc -lm#setprec.o: setprec.387#	as -o setprec.o setprec.387#setprec.o: setprec.688#	as -o setprec.o setprec.688ieee.o: ieee.c $(INCS)	$(CC) $(CFLAGS) -c ieee.ceconst.o: econst.c $(INCS)	$(CC) $(CFLAGS) -c econst.celog.o: elog.c $(INCS)	$(CC) $(CFLAGS) -c elog.ceexp.o: eexp.c $(INCS)	$(CC) $(CFLAGS) -c eexp.cetanh.o: etanh.c $(INCS)	$(CC) $(CFLAGS) -c etanh.cepow.o: epow.c $(INCS)	$(CC) $(CFLAGS) -c epow.cmtherr.o: mtherr.c $(INCS)	$(CC) $(CFLAGS) -c mtherr.cieetst.o: ieetst.c $(INCS)	$(CC) $(CFLAGS) -c ieetst.cdrand.o: drand.c $(INCS)	$(CC) $(CFLAGS) -c drand.cetodec.o: etodec.c $(INCS)	$(CC) $(CFLAGS) -c etodec.ceparanoi.o: eparanoi.c $(INCS)	$(CC) $(CFLAGS) -c eparanoi.cclean:	rm -f *.[oa] *~ core $(TARGETS)
 |