2005-11-29 05:09:41 +01:00
|
|
|
# @configure_input@
|
|
|
|
# Makefile for libdecnumber. Run 'configure' to generate Makefile from Makefile.in
|
|
|
|
|
2018-01-03 11:03:58 +01:00
|
|
|
# Copyright (C) 2005-2018 Free Software Foundation, Inc.
|
2005-11-29 05:09:41 +01:00
|
|
|
|
|
|
|
#This file is part of GCC.
|
|
|
|
|
Makefile.in (clean): Remove stray reference to libcpp.a.
* Makefile.in (clean): Remove stray reference to libcpp.a.
* decimal128.h, decContext.c, decRound.c, decimal32.c,
decNumber.c, decContext.h, decimal64.c, decimal32.h, decNumber.h,
decimal64.h, decUtility.c, decLibrary.c, configure.ac,
decNumberLocal.h, decUtility.h, decDPD.h, decimal128.c: Update FSF
office address.
From-SVN: r108024
2005-12-05 00:50:48 +01:00
|
|
|
#GCC is free software; you can redistribute it and/or modify
|
2005-11-29 05:09:41 +01:00
|
|
|
#it under the terms of the GNU General Public License as published by
|
2009-04-09 17:00:19 +02:00
|
|
|
#the Free Software Foundation; either version 3, or (at your option)
|
2005-11-29 05:09:41 +01:00
|
|
|
#any later version.
|
|
|
|
|
Makefile.in (clean): Remove stray reference to libcpp.a.
* Makefile.in (clean): Remove stray reference to libcpp.a.
* decimal128.h, decContext.c, decRound.c, decimal32.c,
decNumber.c, decContext.h, decimal64.c, decimal32.h, decNumber.h,
decimal64.h, decUtility.c, decLibrary.c, configure.ac,
decNumberLocal.h, decUtility.h, decDPD.h, decimal128.c: Update FSF
office address.
From-SVN: r108024
2005-12-05 00:50:48 +01:00
|
|
|
#GCC is distributed in the hope that it will be useful,
|
2005-11-29 05:09:41 +01:00
|
|
|
#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
|
2009-04-09 17:00:19 +02:00
|
|
|
#along with GCC; see the file COPYING3. If not see
|
|
|
|
#<http://www.gnu.org/licenses/>.
|
2005-11-29 05:09:41 +01:00
|
|
|
|
|
|
|
@SET_MAKE@
|
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
top_builddir = .
|
|
|
|
VPATH = @srcdir@
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
AR = ar
|
|
|
|
ARFLAGS = cru
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
|
|
AUTOCONF = @AUTOCONF@
|
|
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
CC = @CC@
|
2017-01-08 17:43:30 +01:00
|
|
|
CFLAGS = @CFLAGS@
|
2005-11-29 05:09:41 +01:00
|
|
|
WARN_CFLAGS = @WARN_CFLAGS@ @WARN_PEDANTIC@ @WERROR@
|
|
|
|
CPP = @CPP@
|
2017-01-08 17:43:30 +01:00
|
|
|
CPPFLAGS = @CPPFLAGS@
|
2005-11-29 05:09:41 +01:00
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
2017-01-08 17:43:30 +01:00
|
|
|
LDFLAGS = @LDFLAGS@
|
2005-11-29 05:09:41 +01:00
|
|
|
LIBICONV = @LIBICONV@
|
|
|
|
PACKAGE = @PACKAGE@
|
2013-10-15 22:33:55 +02:00
|
|
|
PICFLAG = @PICFLAG@
|
2005-11-29 05:09:41 +01:00
|
|
|
RANLIB = @RANLIB@
|
|
|
|
SHELL = @SHELL@
|
2010-09-08 10:25:39 +02:00
|
|
|
objext = @OBJEXT@
|
2017-01-08 17:43:30 +01:00
|
|
|
NOLTO_FLAGS = @nolto_flags@
|
2005-11-29 05:09:41 +01:00
|
|
|
|
2008-06-16 19:58:14 +02:00
|
|
|
datarootdir = @datarootdir@
|
2005-11-29 05:09:41 +01:00
|
|
|
datadir = @datadir@
|
|
|
|
exec_prefix = @prefix@
|
|
|
|
libdir = @libdir@
|
|
|
|
localedir = $(datadir)/locale
|
|
|
|
prefix = @prefix@
|
|
|
|
|
2007-10-31 18:54:43 +01:00
|
|
|
ADDITIONAL_OBJS = @ADDITIONAL_OBJS@
|
|
|
|
|
2007-03-24 18:04:47 +01:00
|
|
|
enable_decimal_float= @enable_decimal_float@
|
|
|
|
|
2005-11-29 05:09:41 +01:00
|
|
|
INCLUDES = -I$(srcdir) -I.
|
|
|
|
|
2017-01-08 17:43:30 +01:00
|
|
|
ALL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(NOLTO_FLAGS) $(INCLUDES) $(CPPFLAGS) \
|
|
|
|
$(PICFLAG)
|
2005-11-29 05:09:41 +01:00
|
|
|
|
2010-09-08 10:25:39 +02:00
|
|
|
bid_OBJS = bid2dpd_dpd2bid.$(objext) host-ieee32.$(objext) \
|
|
|
|
host-ieee64.$(objext) host-ieee128.$(objext)
|
2005-11-29 05:09:41 +01:00
|
|
|
|
2010-09-08 10:25:39 +02:00
|
|
|
libdecnumber_a_OBJS = decNumber.$(objext) decContext.$(objext) \
|
|
|
|
decimal32.$(objext) decimal64.$(objext) decimal128.$(objext) \
|
|
|
|
$(ADDITIONAL_OBJS)
|
2007-03-24 18:04:47 +01:00
|
|
|
|
2005-11-29 05:09:41 +01:00
|
|
|
libdecnumber_a_SOURCES = decContext.c decContext.h decDPD.h \
|
2005-12-01 06:20:39 +01:00
|
|
|
decNumber.c decNumber.h decNumberLocal.h \
|
Makefile.in (libdecnumber_a_SOURCES): List Symbols headers.
* Makefile.in (libdecnumber_a_SOURCES): List Symbols headers.
* decCommonSymbols.h: New file.
* decCommon.c: Include it.
* decDPDSymbols.h: New file.
* decDPD.h: Include it.
* decNumberLocal.h: Include the two new files.
* decContextSymbols.h (DECPOWERS, DECSTICKYTAB): New.
* decNumberSymbols.h (LNnn, d2utable): New.
* dpd/decimal32Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
* dpd/decimal64Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
* dpd/decimal128Symbols.h (COMBEXP, COMBMSD, DPD2BIN, BIN2DPD): New.
* dpd/decimal32.c: Remove redefine of DPD2BIN, BIN2DPD.
* dpd/decimal64.c: Ditto.
* dpd/decimal128.c: Ditto.
From-SVN: r131830
2008-01-25 19:07:54 +01:00
|
|
|
decContextSymbols.h decDPDSymbols.h decNumberSymbols.h \
|
|
|
|
dpd/decimal128.c dpd/decimal128.h dpd/decimal128Symbols.h \
|
|
|
|
dpd/decimal32.c dpd/decimal32.h dpd/decimal32Symbols.h \
|
|
|
|
dpd/decimal64.c dpd/decimal64.h dpd/decimal64Symbols.h \
|
2007-03-24 18:04:47 +01:00
|
|
|
bid/decimal128.c bid/decimal128.h \
|
|
|
|
bid/decimal32.c bid/decimal32.h \
|
|
|
|
bid/decimal64.c bid/decimal64.h
|
2005-11-29 05:09:41 +01:00
|
|
|
|
|
|
|
all: libdecnumber.a
|
|
|
|
|
|
|
|
.SUFFIXES:
|
|
|
|
.SUFFIXES: .c .o .obj
|
|
|
|
|
|
|
|
libdecnumber.a: $(libdecnumber_a_OBJS)
|
|
|
|
-rm -f $@
|
|
|
|
$(AR) $(ARFLAGS) $@ $(libdecnumber_a_OBJS)
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
|
|
|
# Rules to rebuild the configuration
|
|
|
|
|
|
|
|
Makefile: $(srcdir)/Makefile.in config.status
|
|
|
|
$(SHELL) ./config.status Makefile
|
|
|
|
|
|
|
|
config.status: $(srcdir)/configure
|
|
|
|
$(SHELL) ./config.status --recheck
|
|
|
|
|
|
|
|
$(srcdir)/configure: @MAINT@ $(srcdir)/aclocal.m4
|
|
|
|
cd $(srcdir) && $(AUTOCONF)
|
|
|
|
|
Makefile.in (AUTOCONF, [...]): New variables.
fixincludes/
* Makefile.in (AUTOCONF, AUTOHEADER, ACLOCAL, ACLOCAL_AMFLAGS):
New variables.
($(srcdir)/configure, $(srcdir)/config.h.in, $(srcdir)/aclocal.m4):
Use them.
gcc/
* Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
New variables.
($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
(AUTOHEADER): New variable.
($(srcdir)/cstamp-h.in): Use it.
gnattools/
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure): Use them.
libada/
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure)): Use them. Also depend on multi.m4.
libgcc/
* configure.ac: Add snippet for maintainer-mode.
* configure: Regenerate.
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure)): New rule, active only with maintainer
mode turned on.
libiberty/
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure): New rule, active only in maintainer mode.
libobjc/
* Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
New variables.
($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
intl/
* Makefile.in (aclocal_deps): New variable.
($(srcdir)/aclocal.m4): Use it, for portable makefile syntax.
libdecnumber/
* Makefile.in (aclocal_deps): New variable.
($(srcdir)/aclocal.m4): Use it, for portable makefile syntax.
From-SVN: r150277
2009-07-31 00:33:49 +02:00
|
|
|
aclocal_deps = \
|
|
|
|
$(srcdir)/../config/stdint.m4 \
|
|
|
|
$(srcdir)/../config/warnings.m4 \
|
|
|
|
$(srcdir)/../config/override.m4 \
|
2010-09-03 15:14:14 +02:00
|
|
|
$(srcdir)/../config/dfp.m4 \
|
2005-11-29 05:09:41 +01:00
|
|
|
$(srcdir)/configure.ac
|
Makefile.in (AUTOCONF, [...]): New variables.
fixincludes/
* Makefile.in (AUTOCONF, AUTOHEADER, ACLOCAL, ACLOCAL_AMFLAGS):
New variables.
($(srcdir)/configure, $(srcdir)/config.h.in, $(srcdir)/aclocal.m4):
Use them.
gcc/
* Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
New variables.
($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
(AUTOHEADER): New variable.
($(srcdir)/cstamp-h.in): Use it.
gnattools/
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure): Use them.
libada/
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure)): Use them. Also depend on multi.m4.
libgcc/
* configure.ac: Add snippet for maintainer-mode.
* configure: Regenerate.
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure)): New rule, active only with maintainer
mode turned on.
libiberty/
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure): New rule, active only in maintainer mode.
libobjc/
* Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
New variables.
($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
intl/
* Makefile.in (aclocal_deps): New variable.
($(srcdir)/aclocal.m4): Use it, for portable makefile syntax.
libdecnumber/
* Makefile.in (aclocal_deps): New variable.
($(srcdir)/aclocal.m4): Use it, for portable makefile syntax.
From-SVN: r150277
2009-07-31 00:33:49 +02:00
|
|
|
|
|
|
|
$(srcdir)/aclocal.m4: @MAINT@ $(aclocal_deps)
|
2005-11-29 05:09:41 +01:00
|
|
|
cd $(srcdir) && $(ACLOCAL) -I ../config
|
|
|
|
|
|
|
|
config.h: stamp-h1
|
|
|
|
test -f config.h || (rm -f stamp-h1 && $(MAKE) stamp-h1)
|
|
|
|
|
|
|
|
stamp-h1: $(srcdir)/config.in config.status
|
|
|
|
-rm -f stamp-h1
|
|
|
|
$(SHELL) ./config.status config.h
|
|
|
|
|
|
|
|
$(srcdir)/config.in: @MAINT@ $(srcdir)/configure
|
|
|
|
cd $(srcdir) && $(AUTOHEADER)
|
|
|
|
-rm -f stamp-h1
|
|
|
|
|
|
|
|
# Dependencies.
|
|
|
|
|
2010-09-08 10:25:39 +02:00
|
|
|
decContext.$(objext): decContext.c decContext.h decNumberLocal.h \
|
Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o
2007-09-10 Janis Johnson <janis187@us.ibm.com>
Ben Elliston <bje@au.ibm.com>
libdecnumber/
* Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o
(dependencies): Add Symbols headers.
* decContext.c: Upgrade to decNumber 3.53.
* decContext.h: Ditto.
* decDPD.h: Ditto.
* decNumber.c: Ditto.
* decNumber.h: Ditto.
* decNumberLocal.h: Ditto.
* decBasic.c: New file from decNumber 3.53.
* decCommon.c: Ditto.
* decDouble.c: Ditto.
* decDouble.h: Ditto.
* decQuad.c: Ditto.
* decQuad.h: Ditto.
* decSingle.c: Ditto.
* decSingle.h: Ditto.
* decPacked.c: Ditto.
* decPacked.h: Ditto.
* dpd/decimal128.c: Upgrade to decNumber 3.53.
* dpd/decimal128.h: Ditto.
* dpd/decimal32.c: Ditto.
* dpd/decimal32.h: Ditto.
* dpd/decimal64.c: Ditto.
* dpd/decimal64.h: Ditto.
* decLibrary.c (__dec_byte_swap): Remove.
* decContextSymbols.h: New file.
* decDoubleSymbols.h: New file.
* decNumberSymbols.h: New file.
* decPackedSymbols.h: New file.
* decQuadSymbols.h: New file.
* decSingleSymbols.h: New file.
* decUtility.c: Delete file.
* decUtility.h: Delete file.
* bid/decimal128Symbols.h: New file.
* bid/decimal128Local.h: New file.
* bid/decimal32Symbols.h: New file.
* bid/decimal64Symbols.h: New file.
* bid/host-ieee128.c (__swap128): Remove.
(__host_to_ieee_128, __ieee_to_host_128): Don't handle endianness.
* bid/host-ieee32.c (__dec_type_swap): Remove.
(__host_to_ieee_32, __ieee_to_host_32): Don't handle endianness.
* bid/host-ieee64.c (__swap64): Remove.
(__host_to_ieee_64, __ieee_to_host_64): Don't handle endianness.
* dpd/decimal32Symbols.h: New file.
* dpd/decimal64Symbols.h: New file.
* dpd/decimal128Symbols.h: New file.
* dpd/decimal128Local.h: New file.
libgcc/
* Makefile.in (dfp-filenames): Remove decUtility, add
decDouble, decPacked, decQuad, decSingle.
gcc/
* dfp.c: Include decimal128Local.h;
(dfp_byte_swap): Remove.
(encode_decimal32, decode_decimal32): Don't handle endianness.
(encode_decimal64, decode_decimal64): Ditto.
(encode_decimal128, decode_decimal128): Ditto.
* config/dfp-bit.c (host_to_ieee32, ieee_to_host_32): Ditto.
(__swap64): Remove.
(host_to_ieee_64, ieee_to_host_64): Don't handle endianness.
(__swap128): Remove
(host_to_ieee_128, ieee_to_host_128): Don't handle endianness.
* Makefile.in (DECNUM_H): Add decimal128Local.h.
Co-Authored-By: Ben Elliston <bje@au.ibm.com>
From-SVN: r128350
2007-09-10 22:44:08 +02:00
|
|
|
decContextSymbols.h
|
2010-09-08 10:25:39 +02:00
|
|
|
decNumber.$(objext): decNumber.c decNumber.h decContext.h decNumberLocal.h \
|
Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o
2007-09-10 Janis Johnson <janis187@us.ibm.com>
Ben Elliston <bje@au.ibm.com>
libdecnumber/
* Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o
(dependencies): Add Symbols headers.
* decContext.c: Upgrade to decNumber 3.53.
* decContext.h: Ditto.
* decDPD.h: Ditto.
* decNumber.c: Ditto.
* decNumber.h: Ditto.
* decNumberLocal.h: Ditto.
* decBasic.c: New file from decNumber 3.53.
* decCommon.c: Ditto.
* decDouble.c: Ditto.
* decDouble.h: Ditto.
* decQuad.c: Ditto.
* decQuad.h: Ditto.
* decSingle.c: Ditto.
* decSingle.h: Ditto.
* decPacked.c: Ditto.
* decPacked.h: Ditto.
* dpd/decimal128.c: Upgrade to decNumber 3.53.
* dpd/decimal128.h: Ditto.
* dpd/decimal32.c: Ditto.
* dpd/decimal32.h: Ditto.
* dpd/decimal64.c: Ditto.
* dpd/decimal64.h: Ditto.
* decLibrary.c (__dec_byte_swap): Remove.
* decContextSymbols.h: New file.
* decDoubleSymbols.h: New file.
* decNumberSymbols.h: New file.
* decPackedSymbols.h: New file.
* decQuadSymbols.h: New file.
* decSingleSymbols.h: New file.
* decUtility.c: Delete file.
* decUtility.h: Delete file.
* bid/decimal128Symbols.h: New file.
* bid/decimal128Local.h: New file.
* bid/decimal32Symbols.h: New file.
* bid/decimal64Symbols.h: New file.
* bid/host-ieee128.c (__swap128): Remove.
(__host_to_ieee_128, __ieee_to_host_128): Don't handle endianness.
* bid/host-ieee32.c (__dec_type_swap): Remove.
(__host_to_ieee_32, __ieee_to_host_32): Don't handle endianness.
* bid/host-ieee64.c (__swap64): Remove.
(__host_to_ieee_64, __ieee_to_host_64): Don't handle endianness.
* dpd/decimal32Symbols.h: New file.
* dpd/decimal64Symbols.h: New file.
* dpd/decimal128Symbols.h: New file.
* dpd/decimal128Local.h: New file.
libgcc/
* Makefile.in (dfp-filenames): Remove decUtility, add
decDouble, decPacked, decQuad, decSingle.
gcc/
* dfp.c: Include decimal128Local.h;
(dfp_byte_swap): Remove.
(encode_decimal32, decode_decimal32): Don't handle endianness.
(encode_decimal64, decode_decimal64): Ditto.
(encode_decimal128, decode_decimal128): Ditto.
* config/dfp-bit.c (host_to_ieee32, ieee_to_host_32): Ditto.
(__swap64): Remove.
(host_to_ieee_64, ieee_to_host_64): Don't handle endianness.
(__swap128): Remove
(host_to_ieee_128, ieee_to_host_128): Don't handle endianness.
* Makefile.in (DECNUM_H): Add decimal128Local.h.
Co-Authored-By: Ben Elliston <bje@au.ibm.com>
From-SVN: r128350
2007-09-10 22:44:08 +02:00
|
|
|
decNumberSymbols.h
|
2010-09-08 10:25:39 +02:00
|
|
|
decimal32.$(objext): $(srcdir)/$(enable_decimal_float)/decimal32.c \
|
2007-11-26 18:40:21 +01:00
|
|
|
$(srcdir)/$(enable_decimal_float)/decimal32.h \
|
|
|
|
$(srcdir)/$(enable_decimal_float)/decimal32Symbols.h \
|
Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o
2007-09-10 Janis Johnson <janis187@us.ibm.com>
Ben Elliston <bje@au.ibm.com>
libdecnumber/
* Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o
(dependencies): Add Symbols headers.
* decContext.c: Upgrade to decNumber 3.53.
* decContext.h: Ditto.
* decDPD.h: Ditto.
* decNumber.c: Ditto.
* decNumber.h: Ditto.
* decNumberLocal.h: Ditto.
* decBasic.c: New file from decNumber 3.53.
* decCommon.c: Ditto.
* decDouble.c: Ditto.
* decDouble.h: Ditto.
* decQuad.c: Ditto.
* decQuad.h: Ditto.
* decSingle.c: Ditto.
* decSingle.h: Ditto.
* decPacked.c: Ditto.
* decPacked.h: Ditto.
* dpd/decimal128.c: Upgrade to decNumber 3.53.
* dpd/decimal128.h: Ditto.
* dpd/decimal32.c: Ditto.
* dpd/decimal32.h: Ditto.
* dpd/decimal64.c: Ditto.
* dpd/decimal64.h: Ditto.
* decLibrary.c (__dec_byte_swap): Remove.
* decContextSymbols.h: New file.
* decDoubleSymbols.h: New file.
* decNumberSymbols.h: New file.
* decPackedSymbols.h: New file.
* decQuadSymbols.h: New file.
* decSingleSymbols.h: New file.
* decUtility.c: Delete file.
* decUtility.h: Delete file.
* bid/decimal128Symbols.h: New file.
* bid/decimal128Local.h: New file.
* bid/decimal32Symbols.h: New file.
* bid/decimal64Symbols.h: New file.
* bid/host-ieee128.c (__swap128): Remove.
(__host_to_ieee_128, __ieee_to_host_128): Don't handle endianness.
* bid/host-ieee32.c (__dec_type_swap): Remove.
(__host_to_ieee_32, __ieee_to_host_32): Don't handle endianness.
* bid/host-ieee64.c (__swap64): Remove.
(__host_to_ieee_64, __ieee_to_host_64): Don't handle endianness.
* dpd/decimal32Symbols.h: New file.
* dpd/decimal64Symbols.h: New file.
* dpd/decimal128Symbols.h: New file.
* dpd/decimal128Local.h: New file.
libgcc/
* Makefile.in (dfp-filenames): Remove decUtility, add
decDouble, decPacked, decQuad, decSingle.
gcc/
* dfp.c: Include decimal128Local.h;
(dfp_byte_swap): Remove.
(encode_decimal32, decode_decimal32): Don't handle endianness.
(encode_decimal64, decode_decimal64): Ditto.
(encode_decimal128, decode_decimal128): Ditto.
* config/dfp-bit.c (host_to_ieee32, ieee_to_host_32): Ditto.
(__swap64): Remove.
(host_to_ieee_64, ieee_to_host_64): Don't handle endianness.
(__swap128): Remove
(host_to_ieee_128, ieee_to_host_128): Don't handle endianness.
* Makefile.in (DECNUM_H): Add decimal128Local.h.
Co-Authored-By: Ben Elliston <bje@au.ibm.com>
From-SVN: r128350
2007-09-10 22:44:08 +02:00
|
|
|
decNumber.h decContext.h decNumberLocal.h
|
2007-11-26 18:40:21 +01:00
|
|
|
$(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal32.c
|
2010-09-08 10:25:39 +02:00
|
|
|
decimal64.$(objext): $(srcdir)/$(enable_decimal_float)/decimal64.c \
|
2007-11-26 18:40:21 +01:00
|
|
|
$(srcdir)/$(enable_decimal_float)/decimal64.h \
|
|
|
|
$(srcdir)/$(enable_decimal_float)/decimal64Symbols.h \
|
Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o
2007-09-10 Janis Johnson <janis187@us.ibm.com>
Ben Elliston <bje@au.ibm.com>
libdecnumber/
* Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o
(dependencies): Add Symbols headers.
* decContext.c: Upgrade to decNumber 3.53.
* decContext.h: Ditto.
* decDPD.h: Ditto.
* decNumber.c: Ditto.
* decNumber.h: Ditto.
* decNumberLocal.h: Ditto.
* decBasic.c: New file from decNumber 3.53.
* decCommon.c: Ditto.
* decDouble.c: Ditto.
* decDouble.h: Ditto.
* decQuad.c: Ditto.
* decQuad.h: Ditto.
* decSingle.c: Ditto.
* decSingle.h: Ditto.
* decPacked.c: Ditto.
* decPacked.h: Ditto.
* dpd/decimal128.c: Upgrade to decNumber 3.53.
* dpd/decimal128.h: Ditto.
* dpd/decimal32.c: Ditto.
* dpd/decimal32.h: Ditto.
* dpd/decimal64.c: Ditto.
* dpd/decimal64.h: Ditto.
* decLibrary.c (__dec_byte_swap): Remove.
* decContextSymbols.h: New file.
* decDoubleSymbols.h: New file.
* decNumberSymbols.h: New file.
* decPackedSymbols.h: New file.
* decQuadSymbols.h: New file.
* decSingleSymbols.h: New file.
* decUtility.c: Delete file.
* decUtility.h: Delete file.
* bid/decimal128Symbols.h: New file.
* bid/decimal128Local.h: New file.
* bid/decimal32Symbols.h: New file.
* bid/decimal64Symbols.h: New file.
* bid/host-ieee128.c (__swap128): Remove.
(__host_to_ieee_128, __ieee_to_host_128): Don't handle endianness.
* bid/host-ieee32.c (__dec_type_swap): Remove.
(__host_to_ieee_32, __ieee_to_host_32): Don't handle endianness.
* bid/host-ieee64.c (__swap64): Remove.
(__host_to_ieee_64, __ieee_to_host_64): Don't handle endianness.
* dpd/decimal32Symbols.h: New file.
* dpd/decimal64Symbols.h: New file.
* dpd/decimal128Symbols.h: New file.
* dpd/decimal128Local.h: New file.
libgcc/
* Makefile.in (dfp-filenames): Remove decUtility, add
decDouble, decPacked, decQuad, decSingle.
gcc/
* dfp.c: Include decimal128Local.h;
(dfp_byte_swap): Remove.
(encode_decimal32, decode_decimal32): Don't handle endianness.
(encode_decimal64, decode_decimal64): Ditto.
(encode_decimal128, decode_decimal128): Ditto.
* config/dfp-bit.c (host_to_ieee32, ieee_to_host_32): Ditto.
(__swap64): Remove.
(host_to_ieee_64, ieee_to_host_64): Don't handle endianness.
(__swap128): Remove
(host_to_ieee_128, ieee_to_host_128): Don't handle endianness.
* Makefile.in (DECNUM_H): Add decimal128Local.h.
Co-Authored-By: Ben Elliston <bje@au.ibm.com>
From-SVN: r128350
2007-09-10 22:44:08 +02:00
|
|
|
decNumber.h decContext.h decNumberLocal.h
|
2007-11-26 18:40:21 +01:00
|
|
|
$(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal64.c
|
2010-09-08 10:25:39 +02:00
|
|
|
decimal128.$(objext): $(srcdir)/$(enable_decimal_float)/decimal128.c \
|
2007-11-26 18:40:21 +01:00
|
|
|
$(srcdir)/$(enable_decimal_float)/decimal128.h \
|
|
|
|
$(srcdir)/$(enable_decimal_float)/decimal128Symbols.h\
|
|
|
|
$(srcdir)/$(enable_decimal_float)/decimal128Local.h\
|
Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o
2007-09-10 Janis Johnson <janis187@us.ibm.com>
Ben Elliston <bje@au.ibm.com>
libdecnumber/
* Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o
(dependencies): Add Symbols headers.
* decContext.c: Upgrade to decNumber 3.53.
* decContext.h: Ditto.
* decDPD.h: Ditto.
* decNumber.c: Ditto.
* decNumber.h: Ditto.
* decNumberLocal.h: Ditto.
* decBasic.c: New file from decNumber 3.53.
* decCommon.c: Ditto.
* decDouble.c: Ditto.
* decDouble.h: Ditto.
* decQuad.c: Ditto.
* decQuad.h: Ditto.
* decSingle.c: Ditto.
* decSingle.h: Ditto.
* decPacked.c: Ditto.
* decPacked.h: Ditto.
* dpd/decimal128.c: Upgrade to decNumber 3.53.
* dpd/decimal128.h: Ditto.
* dpd/decimal32.c: Ditto.
* dpd/decimal32.h: Ditto.
* dpd/decimal64.c: Ditto.
* dpd/decimal64.h: Ditto.
* decLibrary.c (__dec_byte_swap): Remove.
* decContextSymbols.h: New file.
* decDoubleSymbols.h: New file.
* decNumberSymbols.h: New file.
* decPackedSymbols.h: New file.
* decQuadSymbols.h: New file.
* decSingleSymbols.h: New file.
* decUtility.c: Delete file.
* decUtility.h: Delete file.
* bid/decimal128Symbols.h: New file.
* bid/decimal128Local.h: New file.
* bid/decimal32Symbols.h: New file.
* bid/decimal64Symbols.h: New file.
* bid/host-ieee128.c (__swap128): Remove.
(__host_to_ieee_128, __ieee_to_host_128): Don't handle endianness.
* bid/host-ieee32.c (__dec_type_swap): Remove.
(__host_to_ieee_32, __ieee_to_host_32): Don't handle endianness.
* bid/host-ieee64.c (__swap64): Remove.
(__host_to_ieee_64, __ieee_to_host_64): Don't handle endianness.
* dpd/decimal32Symbols.h: New file.
* dpd/decimal64Symbols.h: New file.
* dpd/decimal128Symbols.h: New file.
* dpd/decimal128Local.h: New file.
libgcc/
* Makefile.in (dfp-filenames): Remove decUtility, add
decDouble, decPacked, decQuad, decSingle.
gcc/
* dfp.c: Include decimal128Local.h;
(dfp_byte_swap): Remove.
(encode_decimal32, decode_decimal32): Don't handle endianness.
(encode_decimal64, decode_decimal64): Ditto.
(encode_decimal128, decode_decimal128): Ditto.
* config/dfp-bit.c (host_to_ieee32, ieee_to_host_32): Ditto.
(__swap64): Remove.
(host_to_ieee_64, ieee_to_host_64): Don't handle endianness.
(__swap128): Remove
(host_to_ieee_128, ieee_to_host_128): Don't handle endianness.
* Makefile.in (DECNUM_H): Add decimal128Local.h.
Co-Authored-By: Ben Elliston <bje@au.ibm.com>
From-SVN: r128350
2007-09-10 22:44:08 +02:00
|
|
|
decNumber.h decContext.h decNumberLocal.h
|
2007-11-26 18:40:21 +01:00
|
|
|
$(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal128.c
|
2010-09-08 10:25:39 +02:00
|
|
|
bid2dpd_dpd2bid.$(objext) : $(srcdir)/bid/bid2dpd_dpd2bid.c $(srcdir)/bid/bid2dpd_dpd2bid.h
|
2007-11-26 18:40:21 +01:00
|
|
|
$(COMPILE) $(srcdir)/bid/bid2dpd_dpd2bid.c
|
2010-09-08 10:25:39 +02:00
|
|
|
host-ieee32.$(objext) : $(srcdir)/bid/host-ieee32.c $(srcdir)/bid/decimal32.h
|
2007-11-26 18:40:21 +01:00
|
|
|
$(COMPILE) $(srcdir)/bid/host-ieee32.c
|
2010-09-08 10:25:39 +02:00
|
|
|
host-ieee64.$(objext) : $(srcdir)/bid/host-ieee64.c $(srcdir)/bid/decimal64.h
|
2007-11-26 18:40:21 +01:00
|
|
|
$(COMPILE) $(srcdir)/bid/host-ieee64.c
|
2010-09-08 10:25:39 +02:00
|
|
|
host-ieee128.$(objext) : $(srcdir)/bid/host-ieee128.c $(srcdir)/bid/decimal128.h
|
2007-11-26 18:40:21 +01:00
|
|
|
$(COMPILE) $(srcdir)/bid/host-ieee128.c
|
2005-11-29 05:09:41 +01:00
|
|
|
# Other miscellaneous targets.
|
|
|
|
|
|
|
|
mostlyclean:
|
2010-09-08 10:25:39 +02:00
|
|
|
-rm -f *.$(objext)
|
2005-11-29 05:09:41 +01:00
|
|
|
|
|
|
|
clean: mostlyclean
|
2009-02-10 15:56:10 +01:00
|
|
|
-rm -rf libdecnumber.a $(srcdir)/autom4te.cache
|
2005-11-29 05:09:41 +01:00
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
-rm -f config.h stamp-h1 config.status config.cache config.log \
|
|
|
|
configure.lineno configure.status.lineno Makefile localedir.h \
|
2008-04-18 04:11:36 +02:00
|
|
|
localedir.hs gstdint.h
|
2005-11-29 05:09:41 +01:00
|
|
|
|
|
|
|
maintainer-clean: distclean
|
|
|
|
@echo "This command is intended for maintainers to use"
|
|
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
|
-rm -f $(srcdir)/configure $(srcdir)/aclocal.m4
|
|
|
|
|
|
|
|
check:
|
|
|
|
installcheck:
|
|
|
|
dvi:
|
2006-10-11 01:48:09 +02:00
|
|
|
pdf:
|
2005-11-29 05:09:41 +01:00
|
|
|
html:
|
|
|
|
info:
|
|
|
|
install-info:
|
2007-03-02 01:01:53 +01:00
|
|
|
install-pdf:
|
2005-11-29 05:09:41 +01:00
|
|
|
install-man:
|
2006-05-24 03:29:29 +02:00
|
|
|
install-html:
|
2005-11-29 05:09:41 +01:00
|
|
|
install:
|
|
|
|
|
|
|
|
.PHONY: installdirs install install-strip mostlyclean clean distclean \
|
2006-10-11 01:48:09 +02:00
|
|
|
maintainer-clean check installcheck dvi pdf html info install-info \
|
2007-03-02 01:01:53 +01:00
|
|
|
install-pdf install-man update-po install-html
|
2005-11-29 05:09:41 +01:00
|
|
|
|
|
|
|
COMPILE = source='$<' object='$@' libtool=no $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(ALL_CFLAGS) -c
|
|
|
|
|
|
|
|
# Implicit rules
|
|
|
|
|
2010-09-08 10:25:39 +02:00
|
|
|
.c.$(objext):
|
2005-11-29 05:09:41 +01:00
|
|
|
$(COMPILE) $<
|
|
|
|
|
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
|
|
.NOEXPORT:
|