OSDN Git Service

2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
[pf3gnuchains/gcc-fork.git] / libdecnumber / Makefile.in
1 # @configure_input@
2 # Makefile for libdecnumber.  Run 'configure' to generate Makefile from Makefile.in
3
4 # Copyright (C) 2005 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 2, 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 COPYING.  If not, write to
20 #the Free Software Foundation, 51 Franklin Street, Fifth Floor,
21 #Boston MA 02110-1301, USA.
22
23 @SET_MAKE@
24
25 srcdir = @srcdir@
26 top_builddir = .
27 VPATH = @srcdir@
28 INSTALL = @INSTALL@
29 AR = ar
30 ARFLAGS = cru
31 ACLOCAL = @ACLOCAL@
32 AUTOCONF = @AUTOCONF@
33 AUTOHEADER = @AUTOHEADER@
34 CC = @CC@
35 CFLAGS = @CFLAGS@
36 WARN_CFLAGS = @WARN_CFLAGS@ @WARN_PEDANTIC@ @WERROR@
37 CPP = @CPP@
38 CPPFLAGS = @CPPFLAGS@
39 INSTALL_DATA = @INSTALL_DATA@
40 INSTALL_PROGRAM = @INSTALL_PROGRAM@
41 LDFLAGS = @LDFLAGS@
42 LIBICONV = @LIBICONV@
43 PACKAGE = @PACKAGE@
44 RANLIB = @RANLIB@
45 SHELL = @SHELL@
46
47 datadir = @datadir@
48 exec_prefix = @prefix@
49 libdir = @libdir@
50 localedir = $(datadir)/locale
51 prefix = @prefix@
52
53 INCLUDES = -I$(srcdir) -I.
54
55 ALL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(CPPFLAGS)
56
57 libdecnumber_a_OBJS = decNumber.o decContext.o decUtility.o \
58         decimal32.o decimal64.o decimal128.o
59
60 libdecnumber_a_SOURCES = decContext.c decContext.h decDPD.h \
61         decNumber.c decNumber.h decNumberLocal.h \
62         decUtility.c decUtility.h \
63         decRound.c decimal128.c decimal128.h decimal32.c decimal32.h \
64         decimal64.c decimal64.h
65
66 all: libdecnumber.a
67
68 .SUFFIXES:
69 .SUFFIXES: .c .o .obj
70
71 libdecnumber.a: $(libdecnumber_a_OBJS)
72         -rm -f $@
73         $(AR) $(ARFLAGS) $@ $(libdecnumber_a_OBJS)
74         $(RANLIB) $@
75
76 # Rules to rebuild the configuration
77
78 Makefile: $(srcdir)/Makefile.in config.status
79         $(SHELL) ./config.status Makefile
80
81 config.status: $(srcdir)/configure
82         $(SHELL) ./config.status --recheck
83
84 $(srcdir)/configure: @MAINT@ $(srcdir)/aclocal.m4
85         cd $(srcdir) && $(AUTOCONF)
86
87 $(srcdir)/aclocal.m4: @MAINT@ $(srcdir)/../config/acx.m4 \
88         $(srcdir)/../config/warnings.m4 \
89         $(srcdir)/configure.ac
90         cd $(srcdir) && $(ACLOCAL) -I ../config
91
92 config.h: stamp-h1
93         test -f config.h || (rm -f stamp-h1 && $(MAKE) stamp-h1)
94
95 stamp-h1: $(srcdir)/config.in config.status
96         -rm -f stamp-h1
97         $(SHELL) ./config.status config.h
98
99 $(srcdir)/config.in: @MAINT@ $(srcdir)/configure
100         cd $(srcdir) && $(AUTOHEADER)
101         -rm -f stamp-h1
102
103 # Dependencies.
104
105 decContext.o: decContext.c decContext.h decNumberLocal.h
106 decNumber.o:  decNumber.c decNumber.h decContext.h decNumberLocal.h
107 decimal32.o:  decimal32.c decNumber.h decContext.h decNumberLocal.h \
108    decimal32.h decUtility.h
109 decimal64.o:  decimal64.c decNumber.h decContext.h decNumberLocal.h \
110    decimal64.h decUtility.h
111 decimal128.o: decimal128.c decNumber.h decNumberLocal.h decimal128.h \
112    decUtility.h
113
114 # Other miscellaneous targets.
115
116 mostlyclean:
117         -rm -f *.o
118
119 clean: mostlyclean
120         -rm -rf makedepend$(EXEEXT) libdecnumber.a $(srcdir)/autom4te.cache
121
122 distclean: clean
123         -rm -f config.h stamp-h1 config.status config.cache config.log \
124           configure.lineno configure.status.lineno Makefile localedir.h \
125           localedir.hs
126
127 maintainer-clean: distclean
128         @echo "This command is intended for maintainers to use"
129         @echo "it deletes files that may require special tools to rebuild."
130         -rm -f $(srcdir)/configure $(srcdir)/aclocal.m4
131
132 check:
133 installcheck:
134 dvi:
135 html:
136 info:
137 install-info:
138 install-man:
139 install-html:
140 install:
141
142 .PHONY: installdirs install install-strip mostlyclean clean distclean \
143   maintainer-clean check installcheck dvi html info install-info \
144   install-man update-po install-html
145
146 COMPILE = source='$<' object='$@' libtool=no $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(ALL_CFLAGS) -c
147
148 # Implicit rules
149
150 .c.o:
151         $(COMPILE) $<
152
153 # Tell versions [3.59,3.63) of GNU make to not export all variables.
154 # Otherwise a system limit (for SysV at least) may be exceeded.
155 .NOEXPORT: