1*e4b17023SJohn Marino# @configure_input@ 2*e4b17023SJohn Marino# Makefile for libdecnumber. Run 'configure' to generate Makefile from Makefile.in 3*e4b17023SJohn Marino 4*e4b17023SJohn Marino# Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 5*e4b17023SJohn Marino# Free Software Foundation, Inc. 6*e4b17023SJohn Marino 7*e4b17023SJohn Marino#This file is part of GCC. 8*e4b17023SJohn Marino 9*e4b17023SJohn Marino#GCC is free software; you can redistribute it and/or modify 10*e4b17023SJohn Marino#it under the terms of the GNU General Public License as published by 11*e4b17023SJohn Marino#the Free Software Foundation; either version 3, or (at your option) 12*e4b17023SJohn Marino#any later version. 13*e4b17023SJohn Marino 14*e4b17023SJohn Marino#GCC is distributed in the hope that it will be useful, 15*e4b17023SJohn Marino#but WITHOUT ANY WARRANTY; without even the implied warranty of 16*e4b17023SJohn Marino#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17*e4b17023SJohn Marino#GNU General Public License for more details. 18*e4b17023SJohn Marino 19*e4b17023SJohn Marino#You should have received a copy of the GNU General Public License 20*e4b17023SJohn Marino#along with GCC; see the file COPYING3. If not see 21*e4b17023SJohn Marino#<http://www.gnu.org/licenses/>. 22*e4b17023SJohn Marino 23*e4b17023SJohn Marino@SET_MAKE@ 24*e4b17023SJohn Marino 25*e4b17023SJohn Marinosrcdir = @srcdir@ 26*e4b17023SJohn Marinotop_builddir = . 27*e4b17023SJohn MarinoVPATH = @srcdir@ 28*e4b17023SJohn MarinoINSTALL = @INSTALL@ 29*e4b17023SJohn MarinoAR = ar 30*e4b17023SJohn MarinoARFLAGS = cru 31*e4b17023SJohn MarinoACLOCAL = @ACLOCAL@ 32*e4b17023SJohn MarinoAUTOCONF = @AUTOCONF@ 33*e4b17023SJohn MarinoAUTOHEADER = @AUTOHEADER@ 34*e4b17023SJohn MarinoCC = @CC@ 35*e4b17023SJohn MarinoCFLAGS = @CFLAGS@ 36*e4b17023SJohn MarinoWARN_CFLAGS = @WARN_CFLAGS@ @WARN_PEDANTIC@ @WERROR@ 37*e4b17023SJohn MarinoCPP = @CPP@ 38*e4b17023SJohn MarinoCPPFLAGS = @CPPFLAGS@ 39*e4b17023SJohn MarinoINSTALL_DATA = @INSTALL_DATA@ 40*e4b17023SJohn MarinoINSTALL_PROGRAM = @INSTALL_PROGRAM@ 41*e4b17023SJohn MarinoLDFLAGS = @LDFLAGS@ 42*e4b17023SJohn MarinoLIBICONV = @LIBICONV@ 43*e4b17023SJohn MarinoPACKAGE = @PACKAGE@ 44*e4b17023SJohn MarinoRANLIB = @RANLIB@ 45*e4b17023SJohn MarinoSHELL = @SHELL@ 46*e4b17023SJohn Marinoobjext = @OBJEXT@ 47*e4b17023SJohn Marino 48*e4b17023SJohn Marinodatarootdir = @datarootdir@ 49*e4b17023SJohn Marinodatadir = @datadir@ 50*e4b17023SJohn Marinoexec_prefix = @prefix@ 51*e4b17023SJohn Marinolibdir = @libdir@ 52*e4b17023SJohn Marinolocaledir = $(datadir)/locale 53*e4b17023SJohn Marinoprefix = @prefix@ 54*e4b17023SJohn Marino 55*e4b17023SJohn MarinoADDITIONAL_OBJS = @ADDITIONAL_OBJS@ 56*e4b17023SJohn Marino 57*e4b17023SJohn Marinoenable_decimal_float= @enable_decimal_float@ 58*e4b17023SJohn Marino 59*e4b17023SJohn MarinoINCLUDES = -I$(srcdir) -I. 60*e4b17023SJohn Marino 61*e4b17023SJohn MarinoALL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(CPPFLAGS) 62*e4b17023SJohn Marino 63*e4b17023SJohn Marinobid_OBJS = bid2dpd_dpd2bid.$(objext) host-ieee32.$(objext) \ 64*e4b17023SJohn Marino host-ieee64.$(objext) host-ieee128.$(objext) 65*e4b17023SJohn Marino 66*e4b17023SJohn Marinolibdecnumber_a_OBJS = decNumber.$(objext) decContext.$(objext) \ 67*e4b17023SJohn Marino decimal32.$(objext) decimal64.$(objext) decimal128.$(objext) \ 68*e4b17023SJohn Marino $(ADDITIONAL_OBJS) 69*e4b17023SJohn Marino 70*e4b17023SJohn Marinolibdecnumber_a_SOURCES = decContext.c decContext.h decDPD.h \ 71*e4b17023SJohn Marino decNumber.c decNumber.h decNumberLocal.h \ 72*e4b17023SJohn Marino decContextSymbols.h decDPDSymbols.h decNumberSymbols.h \ 73*e4b17023SJohn Marino dpd/decimal128.c dpd/decimal128.h dpd/decimal128Symbols.h \ 74*e4b17023SJohn Marino dpd/decimal32.c dpd/decimal32.h dpd/decimal32Symbols.h \ 75*e4b17023SJohn Marino dpd/decimal64.c dpd/decimal64.h dpd/decimal64Symbols.h \ 76*e4b17023SJohn Marino bid/decimal128.c bid/decimal128.h \ 77*e4b17023SJohn Marino bid/decimal32.c bid/decimal32.h \ 78*e4b17023SJohn Marino bid/decimal64.c bid/decimal64.h 79*e4b17023SJohn Marino 80*e4b17023SJohn Marinoall: libdecnumber.a 81*e4b17023SJohn Marino 82*e4b17023SJohn Marino.SUFFIXES: 83*e4b17023SJohn Marino.SUFFIXES: .c .o .obj 84*e4b17023SJohn Marino 85*e4b17023SJohn Marinolibdecnumber.a: $(libdecnumber_a_OBJS) 86*e4b17023SJohn Marino -rm -f $@ 87*e4b17023SJohn Marino $(AR) $(ARFLAGS) $@ $(libdecnumber_a_OBJS) 88*e4b17023SJohn Marino $(RANLIB) $@ 89*e4b17023SJohn Marino 90*e4b17023SJohn Marino# Rules to rebuild the configuration 91*e4b17023SJohn Marino 92*e4b17023SJohn MarinoMakefile: $(srcdir)/Makefile.in config.status 93*e4b17023SJohn Marino $(SHELL) ./config.status Makefile 94*e4b17023SJohn Marino 95*e4b17023SJohn Marinoconfig.status: $(srcdir)/configure 96*e4b17023SJohn Marino $(SHELL) ./config.status --recheck 97*e4b17023SJohn Marino 98*e4b17023SJohn Marino$(srcdir)/configure: @MAINT@ $(srcdir)/aclocal.m4 99*e4b17023SJohn Marino cd $(srcdir) && $(AUTOCONF) 100*e4b17023SJohn Marino 101*e4b17023SJohn Marinoaclocal_deps = \ 102*e4b17023SJohn Marino $(srcdir)/../config/stdint.m4 \ 103*e4b17023SJohn Marino $(srcdir)/../config/warnings.m4 \ 104*e4b17023SJohn Marino $(srcdir)/../config/override.m4 \ 105*e4b17023SJohn Marino $(srcdir)/../config/dfp.m4 \ 106*e4b17023SJohn Marino $(srcdir)/configure.ac 107*e4b17023SJohn Marino 108*e4b17023SJohn Marino$(srcdir)/aclocal.m4: @MAINT@ $(aclocal_deps) 109*e4b17023SJohn Marino cd $(srcdir) && $(ACLOCAL) -I ../config 110*e4b17023SJohn Marino 111*e4b17023SJohn Marinoconfig.h: stamp-h1 112*e4b17023SJohn Marino test -f config.h || (rm -f stamp-h1 && $(MAKE) stamp-h1) 113*e4b17023SJohn Marino 114*e4b17023SJohn Marinostamp-h1: $(srcdir)/config.in config.status 115*e4b17023SJohn Marino -rm -f stamp-h1 116*e4b17023SJohn Marino $(SHELL) ./config.status config.h 117*e4b17023SJohn Marino 118*e4b17023SJohn Marino$(srcdir)/config.in: @MAINT@ $(srcdir)/configure 119*e4b17023SJohn Marino cd $(srcdir) && $(AUTOHEADER) 120*e4b17023SJohn Marino -rm -f stamp-h1 121*e4b17023SJohn Marino 122*e4b17023SJohn Marino# Dependencies. 123*e4b17023SJohn Marino 124*e4b17023SJohn MarinodecContext.$(objext): decContext.c decContext.h decNumberLocal.h \ 125*e4b17023SJohn Marino decContextSymbols.h 126*e4b17023SJohn MarinodecNumber.$(objext): decNumber.c decNumber.h decContext.h decNumberLocal.h \ 127*e4b17023SJohn Marino decNumberSymbols.h 128*e4b17023SJohn Marinodecimal32.$(objext): $(srcdir)/$(enable_decimal_float)/decimal32.c \ 129*e4b17023SJohn Marino $(srcdir)/$(enable_decimal_float)/decimal32.h \ 130*e4b17023SJohn Marino $(srcdir)/$(enable_decimal_float)/decimal32Symbols.h \ 131*e4b17023SJohn Marino decNumber.h decContext.h decNumberLocal.h 132*e4b17023SJohn Marino $(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal32.c 133*e4b17023SJohn Marinodecimal64.$(objext): $(srcdir)/$(enable_decimal_float)/decimal64.c \ 134*e4b17023SJohn Marino $(srcdir)/$(enable_decimal_float)/decimal64.h \ 135*e4b17023SJohn Marino $(srcdir)/$(enable_decimal_float)/decimal64Symbols.h \ 136*e4b17023SJohn Marino decNumber.h decContext.h decNumberLocal.h 137*e4b17023SJohn Marino $(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal64.c 138*e4b17023SJohn Marinodecimal128.$(objext): $(srcdir)/$(enable_decimal_float)/decimal128.c \ 139*e4b17023SJohn Marino $(srcdir)/$(enable_decimal_float)/decimal128.h \ 140*e4b17023SJohn Marino $(srcdir)/$(enable_decimal_float)/decimal128Symbols.h\ 141*e4b17023SJohn Marino $(srcdir)/$(enable_decimal_float)/decimal128Local.h\ 142*e4b17023SJohn Marino decNumber.h decContext.h decNumberLocal.h 143*e4b17023SJohn Marino $(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal128.c 144*e4b17023SJohn Marinobid2dpd_dpd2bid.$(objext) : $(srcdir)/bid/bid2dpd_dpd2bid.c $(srcdir)/bid/bid2dpd_dpd2bid.h 145*e4b17023SJohn Marino $(COMPILE) $(srcdir)/bid/bid2dpd_dpd2bid.c 146*e4b17023SJohn Marinohost-ieee32.$(objext) : $(srcdir)/bid/host-ieee32.c $(srcdir)/bid/decimal32.h 147*e4b17023SJohn Marino $(COMPILE) $(srcdir)/bid/host-ieee32.c 148*e4b17023SJohn Marinohost-ieee64.$(objext) : $(srcdir)/bid/host-ieee64.c $(srcdir)/bid/decimal64.h 149*e4b17023SJohn Marino $(COMPILE) $(srcdir)/bid/host-ieee64.c 150*e4b17023SJohn Marinohost-ieee128.$(objext) : $(srcdir)/bid/host-ieee128.c $(srcdir)/bid/decimal128.h 151*e4b17023SJohn Marino $(COMPILE) $(srcdir)/bid/host-ieee128.c 152*e4b17023SJohn Marino# Other miscellaneous targets. 153*e4b17023SJohn Marino 154*e4b17023SJohn Marinomostlyclean: 155*e4b17023SJohn Marino -rm -f *.$(objext) 156*e4b17023SJohn Marino 157*e4b17023SJohn Marinoclean: mostlyclean 158*e4b17023SJohn Marino -rm -rf libdecnumber.a $(srcdir)/autom4te.cache 159*e4b17023SJohn Marino 160*e4b17023SJohn Marinodistclean: clean 161*e4b17023SJohn Marino -rm -f config.h stamp-h1 config.status config.cache config.log \ 162*e4b17023SJohn Marino configure.lineno configure.status.lineno Makefile localedir.h \ 163*e4b17023SJohn Marino localedir.hs gstdint.h 164*e4b17023SJohn Marino 165*e4b17023SJohn Marinomaintainer-clean: distclean 166*e4b17023SJohn Marino @echo "This command is intended for maintainers to use" 167*e4b17023SJohn Marino @echo "it deletes files that may require special tools to rebuild." 168*e4b17023SJohn Marino -rm -f $(srcdir)/configure $(srcdir)/aclocal.m4 169*e4b17023SJohn Marino 170*e4b17023SJohn Marinocheck: 171*e4b17023SJohn Marinoinstallcheck: 172*e4b17023SJohn Marinodvi: 173*e4b17023SJohn Marinopdf: 174*e4b17023SJohn Marinohtml: 175*e4b17023SJohn Marinoinfo: 176*e4b17023SJohn Marinoinstall-info: 177*e4b17023SJohn Marinoinstall-pdf: 178*e4b17023SJohn Marinoinstall-man: 179*e4b17023SJohn Marinoinstall-html: 180*e4b17023SJohn Marinoinstall: 181*e4b17023SJohn Marino 182*e4b17023SJohn Marino.PHONY: installdirs install install-strip mostlyclean clean distclean \ 183*e4b17023SJohn Marino maintainer-clean check installcheck dvi pdf html info install-info \ 184*e4b17023SJohn Marino install-pdf install-man update-po install-html 185*e4b17023SJohn Marino 186*e4b17023SJohn MarinoCOMPILE = source='$<' object='$@' libtool=no $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(ALL_CFLAGS) -c 187*e4b17023SJohn Marino 188*e4b17023SJohn Marino# Implicit rules 189*e4b17023SJohn Marino 190*e4b17023SJohn Marino.c.$(objext): 191*e4b17023SJohn Marino $(COMPILE) $< 192*e4b17023SJohn Marino 193*e4b17023SJohn Marino# Tell versions [3.59,3.63) of GNU make to not export all variables. 194*e4b17023SJohn Marino# Otherwise a system limit (for SysV at least) may be exceeded. 195*e4b17023SJohn Marino.NOEXPORT: 196