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 25srcdir = @srcdir@ 26top_builddir = . 27VPATH = @srcdir@ 28INSTALL = @INSTALL@ 29AR = ar 30ARFLAGS = cru 31ACLOCAL = @ACLOCAL@ 32AUTOCONF = @AUTOCONF@ 33AUTOHEADER = @AUTOHEADER@ 34CC = @CC@ 35CFLAGS = @CFLAGS@ 36WARN_CFLAGS = @WARN_CFLAGS@ @WARN_PEDANTIC@ @WERROR@ 37CPP = @CPP@ 38CPPFLAGS = @CPPFLAGS@ 39INSTALL_DATA = @INSTALL_DATA@ 40INSTALL_PROGRAM = @INSTALL_PROGRAM@ 41LDFLAGS = @LDFLAGS@ 42LIBICONV = @LIBICONV@ 43PACKAGE = @PACKAGE@ 44RANLIB = @RANLIB@ 45SHELL = @SHELL@ 46 47datadir = @datadir@ 48exec_prefix = @prefix@ 49libdir = @libdir@ 50localedir = $(datadir)/locale 51prefix = @prefix@ 52 53INCLUDES = -I$(srcdir) -I. 54 55ALL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(CPPFLAGS) 56 57libdecnumber_a_OBJS = decNumber.o decContext.o decUtility.o \ 58 decimal32.o decimal64.o decimal128.o 59 60libdecnumber_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 66all: libdecnumber.a 67 68.SUFFIXES: 69.SUFFIXES: .c .o .obj 70 71libdecnumber.a: $(libdecnumber_a_OBJS) 72 -rm -f $@ 73 $(AR) $(ARFLAGS) $@ $(libdecnumber_a_OBJS) 74 $(RANLIB) $@ 75 76# Rules to rebuild the configuration 77 78Makefile: $(srcdir)/Makefile.in config.status 79 $(SHELL) ./config.status Makefile 80 81config.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 92config.h: stamp-h1 93 test -f config.h || (rm -f stamp-h1 && $(MAKE) stamp-h1) 94 95stamp-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 105decContext.o: decContext.c decContext.h decNumberLocal.h 106decNumber.o: decNumber.c decNumber.h decContext.h decNumberLocal.h 107decimal32.o: decimal32.c decNumber.h decContext.h decNumberLocal.h \ 108 decimal32.h decUtility.h 109decimal64.o: decimal64.c decNumber.h decContext.h decNumberLocal.h \ 110 decimal64.h decUtility.h 111decimal128.o: decimal128.c decNumber.h decNumberLocal.h decimal128.h \ 112 decUtility.h 113 114# Other miscellaneous targets. 115 116mostlyclean: 117 -rm -f *.o 118 119clean: mostlyclean 120 -rm -rf makedepend$(EXEEXT) libdecnumber.a $(srcdir)/autom4te.cache 121 122distclean: 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 127maintainer-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 132check: 133installcheck: 134dvi: 135pdf: 136html: 137info: 138install-info: 139install-man: 140install-html: 141install: 142 143.PHONY: installdirs install install-strip mostlyclean clean distclean \ 144 maintainer-clean check installcheck dvi pdf html info install-info \ 145 install-man update-po install-html 146 147COMPILE = source='$<' object='$@' libtool=no $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(ALL_CFLAGS) -c 148 149# Implicit rules 150 151.c.o: 152 $(COMPILE) $< 153 154# Tell versions [3.59,3.63) of GNU make to not export all variables. 155# Otherwise a system limit (for SysV at least) may be exceeded. 156.NOEXPORT: 157