comparison libdecnumber/Makefile.in @ 0:a06113de4d67

first commit
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 17 Jul 2009 14:47:48 +0900
parents
children 77e2b8dfacca
comparison
equal deleted inserted replaced
-1:000000000000 0:a06113de4d67
1 # @configure_input@
2 # Makefile for libdecnumber. Run 'configure' to generate Makefile from Makefile.in
3
4 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
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
10 #the Free Software Foundation; either version 3, or (at your option)
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
19 #along with GCC; see the file COPYING3. If not see
20 #<http://www.gnu.org/licenses/>.
21
22 @SET_MAKE@
23
24 srcdir = @srcdir@
25 top_builddir = .
26 VPATH = @srcdir@
27 INSTALL = @INSTALL@
28 AR = ar
29 ARFLAGS = cru
30 ACLOCAL = @ACLOCAL@
31 AUTOCONF = @AUTOCONF@
32 AUTOHEADER = @AUTOHEADER@
33 CC = @CC@
34 CFLAGS = @CFLAGS@
35 WARN_CFLAGS = @WARN_CFLAGS@ @WARN_PEDANTIC@ @WERROR@
36 CPP = @CPP@
37 CPPFLAGS = @CPPFLAGS@
38 INSTALL_DATA = @INSTALL_DATA@
39 INSTALL_PROGRAM = @INSTALL_PROGRAM@
40 LDFLAGS = @LDFLAGS@
41 LIBICONV = @LIBICONV@
42 PACKAGE = @PACKAGE@
43 RANLIB = @RANLIB@
44 SHELL = @SHELL@
45
46 datarootdir = @datarootdir@
47 datadir = @datadir@
48 exec_prefix = @prefix@
49 libdir = @libdir@
50 localedir = $(datadir)/locale
51 prefix = @prefix@
52
53 ADDITIONAL_OBJS = @ADDITIONAL_OBJS@
54
55 enable_decimal_float= @enable_decimal_float@
56
57 INCLUDES = -I$(srcdir) -I.
58
59 ALL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(CPPFLAGS)
60
61 bid_OBJS = bid2dpd_dpd2bid.o host-ieee32.o host-ieee64.o host-ieee128.o
62
63 libdecnumber_a_OBJS = decNumber.o decContext.o \
64 decimal32.o decimal64.o decimal128.o $(ADDITIONAL_OBJS)
65
66 libdecnumber_a_SOURCES = decContext.c decContext.h decDPD.h \
67 decNumber.c decNumber.h decNumberLocal.h \
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 \
72 bid/decimal128.c bid/decimal128.h \
73 bid/decimal32.c bid/decimal32.h \
74 bid/decimal64.c bid/decimal64.h
75
76 all: libdecnumber.a
77
78 .SUFFIXES:
79 .SUFFIXES: .c .o .obj
80
81 libdecnumber.a: $(libdecnumber_a_OBJS)
82 -rm -f $@
83 $(AR) $(ARFLAGS) $@ $(libdecnumber_a_OBJS)
84 $(RANLIB) $@
85
86 # Rules to rebuild the configuration
87
88 Makefile: $(srcdir)/Makefile.in config.status
89 $(SHELL) ./config.status Makefile
90
91 config.status: $(srcdir)/configure
92 $(SHELL) ./config.status --recheck
93
94 $(srcdir)/configure: @MAINT@ $(srcdir)/aclocal.m4
95 cd $(srcdir) && $(AUTOCONF)
96
97 $(srcdir)/aclocal.m4: @MAINT@ $(srcdir)/../config/stdint.m4 \
98 $(srcdir)/../config/warnings.m4 $(srcdir)/../config/override.m4 \
99 $(srcdir)/configure.ac
100 cd $(srcdir) && $(ACLOCAL) -I ../config
101
102 config.h: stamp-h1
103 test -f config.h || (rm -f stamp-h1 && $(MAKE) stamp-h1)
104
105 stamp-h1: $(srcdir)/config.in config.status
106 -rm -f stamp-h1
107 $(SHELL) ./config.status config.h
108
109 $(srcdir)/config.in: @MAINT@ $(srcdir)/configure
110 cd $(srcdir) && $(AUTOHEADER)
111 -rm -f stamp-h1
112
113 # Dependencies.
114
115 decContext.o: decContext.c decContext.h decNumberLocal.h \
116 decContextSymbols.h
117 decNumber.o: decNumber.c decNumber.h decContext.h decNumberLocal.h \
118 decNumberSymbols.h
119 decimal32.o: $(srcdir)/$(enable_decimal_float)/decimal32.c \
120 $(srcdir)/$(enable_decimal_float)/decimal32.h \
121 $(srcdir)/$(enable_decimal_float)/decimal32Symbols.h \
122 decNumber.h decContext.h decNumberLocal.h
123 $(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal32.c
124 decimal64.o: $(srcdir)/$(enable_decimal_float)/decimal64.c \
125 $(srcdir)/$(enable_decimal_float)/decimal64.h \
126 $(srcdir)/$(enable_decimal_float)/decimal64Symbols.h \
127 decNumber.h decContext.h decNumberLocal.h
128 $(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal64.c
129 decimal128.o: $(srcdir)/$(enable_decimal_float)/decimal128.c \
130 $(srcdir)/$(enable_decimal_float)/decimal128.h \
131 $(srcdir)/$(enable_decimal_float)/decimal128Symbols.h\
132 $(srcdir)/$(enable_decimal_float)/decimal128Local.h\
133 decNumber.h decContext.h decNumberLocal.h
134 $(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal128.c
135 bid2dpd_dpd2bid.o : $(srcdir)/bid/bid2dpd_dpd2bid.c $(srcdir)/bid/bid2dpd_dpd2bid.h
136 $(COMPILE) $(srcdir)/bid/bid2dpd_dpd2bid.c
137 host-ieee32.o : $(srcdir)/bid/host-ieee32.c $(srcdir)/bid/decimal32.h
138 $(COMPILE) $(srcdir)/bid/host-ieee32.c
139 host-ieee64.o : $(srcdir)/bid/host-ieee64.c $(srcdir)/bid/decimal64.h
140 $(COMPILE) $(srcdir)/bid/host-ieee64.c
141 host-ieee128.o : $(srcdir)/bid/host-ieee128.c $(srcdir)/bid/decimal128.h
142 $(COMPILE) $(srcdir)/bid/host-ieee128.c
143 # Other miscellaneous targets.
144
145 mostlyclean:
146 -rm -f *.o
147
148 clean: mostlyclean
149 -rm -rf libdecnumber.a $(srcdir)/autom4te.cache
150
151 distclean: clean
152 -rm -f config.h stamp-h1 config.status config.cache config.log \
153 configure.lineno configure.status.lineno Makefile localedir.h \
154 localedir.hs gstdint.h
155
156 maintainer-clean: distclean
157 @echo "This command is intended for maintainers to use"
158 @echo "it deletes files that may require special tools to rebuild."
159 -rm -f $(srcdir)/configure $(srcdir)/aclocal.m4
160
161 check:
162 installcheck:
163 dvi:
164 pdf:
165 html:
166 info:
167 install-info:
168 install-pdf:
169 install-man:
170 install-html:
171 install:
172
173 .PHONY: installdirs install install-strip mostlyclean clean distclean \
174 maintainer-clean check installcheck dvi pdf html info install-info \
175 install-pdf install-man update-po install-html
176
177 COMPILE = source='$<' object='$@' libtool=no $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(ALL_CFLAGS) -c
178
179 # Implicit rules
180
181 .c.o:
182 $(COMPILE) $<
183
184 # Tell versions [3.59,3.63) of GNU make to not export all variables.
185 # Otherwise a system limit (for SysV at least) may be exceeded.
186 .NOEXPORT: