2006-06-09 Paolo Carlini <pcarlini@suse.de>
[official-gcc.git] / libdecnumber / Makefile.in
blob27f9792e8f235f93b0069e44ba7d91ddb62eddeb
1 # @configure_input@
2 # Makefile for libdecnumber. Run 'configure' to generate Makefile from Makefile.in
4 # Copyright (C) 2005 Free Software Foundation, Inc.
6 #This file is part of GCC.
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.
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.
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.
23 @SET_MAKE@
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@
47 datadir = @datadir@
48 exec_prefix = @prefix@
49 libdir = @libdir@
50 localedir = $(datadir)/locale
51 prefix = @prefix@
53 INCLUDES = -I$(srcdir) -I.
55 ALL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(CPPFLAGS)
57 libdecnumber_a_OBJS = decNumber.o decContext.o decUtility.o \
58 decimal32.o decimal64.o decimal128.o
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
66 all: libdecnumber.a
68 .SUFFIXES:
69 .SUFFIXES: .c .o .obj
71 libdecnumber.a: $(libdecnumber_a_OBJS)
72 -rm -f $@
73 $(AR) $(ARFLAGS) $@ $(libdecnumber_a_OBJS)
74 $(RANLIB) $@
76 # Rules to rebuild the configuration
78 Makefile: $(srcdir)/Makefile.in config.status
79 $(SHELL) ./config.status Makefile
81 config.status: $(srcdir)/configure
82 $(SHELL) ./config.status --recheck
84 $(srcdir)/configure: @MAINT@ $(srcdir)/aclocal.m4
85 cd $(srcdir) && $(AUTOCONF)
87 $(srcdir)/aclocal.m4: @MAINT@ $(srcdir)/../config/acx.m4 \
88 $(srcdir)/../config/warnings.m4 \
89 $(srcdir)/configure.ac
90 cd $(srcdir) && $(ACLOCAL) -I ../config
92 config.h: stamp-h1
93 test -f config.h || (rm -f stamp-h1 && $(MAKE) stamp-h1)
95 stamp-h1: $(srcdir)/config.in config.status
96 -rm -f stamp-h1
97 $(SHELL) ./config.status config.h
99 $(srcdir)/config.in: @MAINT@ $(srcdir)/configure
100 cd $(srcdir) && $(AUTOHEADER)
101 -rm -f stamp-h1
103 # Dependencies.
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
114 # Other miscellaneous targets.
116 mostlyclean:
117 -rm -f *.o
119 clean: mostlyclean
120 -rm -rf makedepend$(EXEEXT) libdecnumber.a $(srcdir)/autom4te.cache
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
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
132 check:
133 installcheck:
134 dvi:
135 html:
136 info:
137 install-info:
138 install-man:
139 install-html:
140 install:
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
146 COMPILE = source='$<' object='$@' libtool=no $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(ALL_CFLAGS) -c
148 # Implicit rules
150 .c.o:
151 $(COMPILE) $<
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: