]> git.ipfire.org Git - thirdparty/gcc.git/blame - libdecnumber/Makefile.in
Update copyright years.
[thirdparty/gcc.git] / libdecnumber / Makefile.in
CommitLineData
8fdb0857
BE
1# @configure_input@
2# Makefile for libdecnumber. Run 'configure' to generate Makefile from Makefile.in
3
a5544970 4# Copyright (C) 2005-2019 Free Software Foundation, Inc.
8fdb0857
BE
5
6#This file is part of GCC.
7
c0173136 8#GCC is free software; you can redistribute it and/or modify
8fdb0857 9#it under the terms of the GNU General Public License as published by
748086b7 10#the Free Software Foundation; either version 3, or (at your option)
8fdb0857
BE
11#any later version.
12
c0173136 13#GCC is distributed in the hope that it will be useful,
8fdb0857
BE
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
748086b7
JJ
19#along with GCC; see the file COPYING3. If not see
20#<http://www.gnu.org/licenses/>.
8fdb0857
BE
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@
8a1f09e4 34CFLAGS = @CFLAGS@
8fdb0857
BE
35WARN_CFLAGS = @WARN_CFLAGS@ @WARN_PEDANTIC@ @WERROR@
36CPP = @CPP@
8a1f09e4 37CPPFLAGS = @CPPFLAGS@
8fdb0857
BE
38INSTALL_DATA = @INSTALL_DATA@
39INSTALL_PROGRAM = @INSTALL_PROGRAM@
8a1f09e4 40LDFLAGS = @LDFLAGS@
8fdb0857
BE
41LIBICONV = @LIBICONV@
42PACKAGE = @PACKAGE@
459260ec 43PICFLAG = @PICFLAG@
8fdb0857
BE
44RANLIB = @RANLIB@
45SHELL = @SHELL@
526be3c0 46objext = @OBJEXT@
8a1f09e4 47NOLTO_FLAGS = @nolto_flags@
8fdb0857 48
2d09b640 49datarootdir = @datarootdir@
8fdb0857
BE
50datadir = @datadir@
51exec_prefix = @prefix@
52libdir = @libdir@
53localedir = $(datadir)/locale
54prefix = @prefix@
55
b1237e13
TJB
56ADDITIONAL_OBJS = @ADDITIONAL_OBJS@
57
79b87c74
MM
58enable_decimal_float= @enable_decimal_float@
59
8fdb0857
BE
60INCLUDES = -I$(srcdir) -I.
61
8a1f09e4
JJ
62ALL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(NOLTO_FLAGS) $(INCLUDES) $(CPPFLAGS) \
63 $(PICFLAG)
8fdb0857 64
526be3c0
TG
65bid_OBJS = bid2dpd_dpd2bid.$(objext) host-ieee32.$(objext) \
66 host-ieee64.$(objext) host-ieee128.$(objext)
8fdb0857 67
526be3c0
TG
68libdecnumber_a_OBJS = decNumber.$(objext) decContext.$(objext) \
69 decimal32.$(objext) decimal64.$(objext) decimal128.$(objext) \
70 $(ADDITIONAL_OBJS)
79b87c74 71
8fdb0857 72libdecnumber_a_SOURCES = decContext.c decContext.h decDPD.h \
108ada44 73 decNumber.c decNumber.h decNumberLocal.h \
346b24c0
JJ
74 decContextSymbols.h decDPDSymbols.h decNumberSymbols.h \
75 dpd/decimal128.c dpd/decimal128.h dpd/decimal128Symbols.h \
76 dpd/decimal32.c dpd/decimal32.h dpd/decimal32Symbols.h \
77 dpd/decimal64.c dpd/decimal64.h dpd/decimal64Symbols.h \
79b87c74
MM
78 bid/decimal128.c bid/decimal128.h \
79 bid/decimal32.c bid/decimal32.h \
80 bid/decimal64.c bid/decimal64.h
8fdb0857
BE
81
82all: libdecnumber.a
83
84.SUFFIXES:
85.SUFFIXES: .c .o .obj
86
87libdecnumber.a: $(libdecnumber_a_OBJS)
88 -rm -f $@
89 $(AR) $(ARFLAGS) $@ $(libdecnumber_a_OBJS)
90 $(RANLIB) $@
91
92# Rules to rebuild the configuration
93
94Makefile: $(srcdir)/Makefile.in config.status
95 $(SHELL) ./config.status Makefile
96
97config.status: $(srcdir)/configure
98 $(SHELL) ./config.status --recheck
99
100$(srcdir)/configure: @MAINT@ $(srcdir)/aclocal.m4
101 cd $(srcdir) && $(AUTOCONF)
102
6efbd53f
RW
103aclocal_deps = \
104 $(srcdir)/../config/stdint.m4 \
105 $(srcdir)/../config/warnings.m4 \
106 $(srcdir)/../config/override.m4 \
3c39bca6 107 $(srcdir)/../config/dfp.m4 \
8fdb0857 108 $(srcdir)/configure.ac
6efbd53f
RW
109
110$(srcdir)/aclocal.m4: @MAINT@ $(aclocal_deps)
8fdb0857
BE
111 cd $(srcdir) && $(ACLOCAL) -I ../config
112
113config.h: stamp-h1
114 test -f config.h || (rm -f stamp-h1 && $(MAKE) stamp-h1)
115
116stamp-h1: $(srcdir)/config.in config.status
117 -rm -f stamp-h1
118 $(SHELL) ./config.status config.h
119
120$(srcdir)/config.in: @MAINT@ $(srcdir)/configure
121 cd $(srcdir) && $(AUTOHEADER)
122 -rm -f stamp-h1
123
124# Dependencies.
125
526be3c0 126decContext.$(objext): decContext.c decContext.h decNumberLocal.h \
2533577f 127 decContextSymbols.h
526be3c0 128decNumber.$(objext): decNumber.c decNumber.h decContext.h decNumberLocal.h \
2533577f 129 decNumberSymbols.h
526be3c0 130decimal32.$(objext): $(srcdir)/$(enable_decimal_float)/decimal32.c \
e072c217
TJB
131 $(srcdir)/$(enable_decimal_float)/decimal32.h \
132 $(srcdir)/$(enable_decimal_float)/decimal32Symbols.h \
2533577f 133 decNumber.h decContext.h decNumberLocal.h
e072c217 134 $(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal32.c
526be3c0 135decimal64.$(objext): $(srcdir)/$(enable_decimal_float)/decimal64.c \
e072c217
TJB
136 $(srcdir)/$(enable_decimal_float)/decimal64.h \
137 $(srcdir)/$(enable_decimal_float)/decimal64Symbols.h \
2533577f 138 decNumber.h decContext.h decNumberLocal.h
e072c217 139 $(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal64.c
526be3c0 140decimal128.$(objext): $(srcdir)/$(enable_decimal_float)/decimal128.c \
e072c217
TJB
141 $(srcdir)/$(enable_decimal_float)/decimal128.h \
142 $(srcdir)/$(enable_decimal_float)/decimal128Symbols.h\
143 $(srcdir)/$(enable_decimal_float)/decimal128Local.h\
2533577f 144 decNumber.h decContext.h decNumberLocal.h
e072c217 145 $(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal128.c
526be3c0 146bid2dpd_dpd2bid.$(objext) : $(srcdir)/bid/bid2dpd_dpd2bid.c $(srcdir)/bid/bid2dpd_dpd2bid.h
e072c217 147 $(COMPILE) $(srcdir)/bid/bid2dpd_dpd2bid.c
526be3c0 148host-ieee32.$(objext) : $(srcdir)/bid/host-ieee32.c $(srcdir)/bid/decimal32.h
e072c217 149 $(COMPILE) $(srcdir)/bid/host-ieee32.c
526be3c0 150host-ieee64.$(objext) : $(srcdir)/bid/host-ieee64.c $(srcdir)/bid/decimal64.h
e072c217 151 $(COMPILE) $(srcdir)/bid/host-ieee64.c
526be3c0 152host-ieee128.$(objext) : $(srcdir)/bid/host-ieee128.c $(srcdir)/bid/decimal128.h
e072c217 153 $(COMPILE) $(srcdir)/bid/host-ieee128.c
8fdb0857
BE
154# Other miscellaneous targets.
155
156mostlyclean:
526be3c0 157 -rm -f *.$(objext)
8fdb0857
BE
158
159clean: mostlyclean
f76f0edd 160 -rm -rf libdecnumber.a $(srcdir)/autom4te.cache
8fdb0857
BE
161
162distclean: clean
163 -rm -f config.h stamp-h1 config.status config.cache config.log \
164 configure.lineno configure.status.lineno Makefile localedir.h \
57b256d9 165 localedir.hs gstdint.h
8fdb0857
BE
166
167maintainer-clean: distclean
168 @echo "This command is intended for maintainers to use"
169 @echo "it deletes files that may require special tools to rebuild."
170 -rm -f $(srcdir)/configure $(srcdir)/aclocal.m4
171
172check:
173installcheck:
174dvi:
b5422ad7 175pdf:
8fdb0857
BE
176html:
177info:
178install-info:
49c683a5 179install-pdf:
8fdb0857 180install-man:
01d84fc0 181install-html:
8fdb0857
BE
182install:
183
184.PHONY: installdirs install install-strip mostlyclean clean distclean \
b5422ad7 185 maintainer-clean check installcheck dvi pdf html info install-info \
49c683a5 186 install-pdf install-man update-po install-html
8fdb0857
BE
187
188COMPILE = source='$<' object='$@' libtool=no $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(ALL_CFLAGS) -c
189
190# Implicit rules
191
526be3c0 192.c.$(objext):
8fdb0857
BE
193 $(COMPILE) $<
194
195# Tell versions [3.59,3.63) of GNU make to not export all variables.
196# Otherwise a system limit (for SysV at least) may be exceeded.
197.NOEXPORT: