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