X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=libdecnumber%2FMakefile.in;h=caa5f7df57c033bc9c689aaea7ce94ba7e7ef959;hp=9db0e846d7f51623b4c1b2bda7a03a5c48903695;hb=fa5e3c5cf69fcc9ce2ced7d660b37d35cb0c6420;hpb=0430da7d176c3f3b1468dce743ac7ee5ffcc20d0;ds=sidebyside diff --git a/libdecnumber/Makefile.in b/libdecnumber/Makefile.in index 9db0e846d7f..caa5f7df57c 100644 --- a/libdecnumber/Makefile.in +++ b/libdecnumber/Makefile.in @@ -1,22 +1,22 @@ # @configure_input@ # Makefile for libdecnumber. Run 'configure' to generate Makefile from Makefile.in -# Copyright (C) 2005 Free Software Foundation, Inc. +# Copyright (C) 2005, 2007 Free Software Foundation, Inc. #This file is part of GCC. -#libcpp is free software; you can redistribute it and/or modify +#GCC is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation; either version 2, or (at your option) #any later version. -#libcpp is distributed in the hope that it will be useful, +#GCC 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 General Public License for more details. #You should have received a copy of the GNU General Public License -#along with libcpp; see the file COPYING. If not, write to +#along with GCC; see the file COPYING. If not, write to #the Free Software Foundation, 51 Franklin Street, Fifth Floor, #Boston MA 02110-1301, USA. @@ -50,6 +50,8 @@ libdir = @libdir@ localedir = $(datadir)/locale prefix = @prefix@ +enable_decimal_float= @enable_decimal_float@ + INCLUDES = -I$(srcdir) -I. ALL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(CPPFLAGS) @@ -57,11 +59,20 @@ ALL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(CPPFLAGS) libdecnumber_a_OBJS = decNumber.o decContext.o decUtility.o \ decimal32.o decimal64.o decimal128.o +ifeq ($(enable_decimal_float),bid) +libdecnumber_a_OBJS+=bid2dpd_dpd2bid.o host-ieee32.o host-ieee64.o \ + host-ieee128.o +endif + libdecnumber_a_SOURCES = decContext.c decContext.h decDPD.h \ decNumber.c decNumber.h decNumberLocal.h \ decUtility.c decUtility.h \ - decRound.c decimal128.c decimal128.h decimal32.c decimal32.h \ - decimal64.c decimal64.h + dpd/decimal128.c dpd/decimal128.h \ + dpd/decimal32.c dpd/decimal32.h \ + dpd/decimal64.c dpd/decimal64.h \ + bid/decimal128.c bid/decimal128.h \ + bid/decimal32.c bid/decimal32.h \ + bid/decimal64.c bid/decimal64.h all: libdecnumber.a @@ -104,20 +115,33 @@ $(srcdir)/config.in: @MAINT@ $(srcdir)/configure decContext.o: decContext.c decContext.h decNumberLocal.h decNumber.o: decNumber.c decNumber.h decContext.h decNumberLocal.h -decimal32.o: decimal32.c decNumber.h decContext.h decNumberLocal.h \ - decimal32.h decUtility.h -decimal64.o: decimal64.c decNumber.h decContext.h decNumberLocal.h \ - decimal64.h decUtility.h -decimal128.o: decimal128.c decNumber.h decNumberLocal.h decimal128.h \ - decUtility.h - +decimal32.o: $(enable_decimal_float)/decimal32.c \ + $(enable_decimal_float)/decimal32.h \ + decNumber.h decContext.h decNumberLocal.h decUtility.h + $(COMPILE) $< +decimal64.o: $(enable_decimal_float)/decimal64.c \ + $(enable_decimal_float)/decimal64.h \ + decNumber.h decContext.h decNumberLocal.h decUtility.h + $(COMPILE) $< +decimal128.o: $(enable_decimal_float)/decimal128.c \ + $(enable_decimal_float)/decimal128.h \ + decNumber.h decContext.h decNumberLocal.h decUtility.h + $(COMPILE) $< +bid2dpd_dpd2bid.o : bid/bid2dpd_dpd2bid.c bid/bid2dpd_dpd2bid.h + $(COMPILE) $< +host-ieee32.o : bid/host-ieee32.c bid/decimal32.h + $(COMPILE) $< +host-ieee64.o : bid/host-ieee64.c bid/decimal64.h + $(COMPILE) $< +host-ieee128.o : bid/host-ieee128.c bid/decimal128.h + $(COMPILE) $< # Other miscellaneous targets. mostlyclean: -rm -f *.o clean: mostlyclean - -rm -rf makedepend$(EXEEXT) libcpp.a $(srcdir)/autom4te.cache + -rm -rf makedepend$(EXEEXT) libdecnumber.a $(srcdir)/autom4te.cache distclean: clean -rm -f config.h stamp-h1 config.status config.cache config.log \ @@ -132,15 +156,18 @@ maintainer-clean: distclean check: installcheck: dvi: +pdf: html: info: install-info: +install-pdf: install-man: +install-html: install: .PHONY: installdirs install install-strip mostlyclean clean distclean \ - maintainer-clean check installcheck dvi html info install-info \ - install-man update-po + maintainer-clean check installcheck dvi pdf html info install-info \ + install-pdf install-man update-po install-html COMPILE = source='$<' object='$@' libtool=no $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(ALL_CFLAGS) -c