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