Makefile.in 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. # @configure_input@
  2. # Makefile for libdecnumber. Run 'configure' to generate Makefile from Makefile.in
  3. # Copyright (C) 2005-2022 Free Software Foundation, Inc.
  4. #This file is part of GCC.
  5. #GCC is free software; you can redistribute it and/or modify
  6. #it under the terms of the GNU General Public License as published by
  7. #the Free Software Foundation; either version 3, or (at your option)
  8. #any later version.
  9. #GCC is distributed in the hope that it will be useful,
  10. #but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. #GNU General Public License for more details.
  13. #You should have received a copy of the GNU General Public License
  14. #along with GCC; see the file COPYING3. If not see
  15. #<http://www.gnu.org/licenses/>.
  16. @SET_MAKE@
  17. srcdir = @srcdir@
  18. top_builddir = .
  19. VPATH = @srcdir@
  20. INSTALL = @INSTALL@
  21. AR = @AR@
  22. ARFLAGS = cru
  23. ACLOCAL = @ACLOCAL@
  24. AUTOCONF = @AUTOCONF@
  25. AUTOHEADER = @AUTOHEADER@
  26. CC = @CC@
  27. CFLAGS = @CFLAGS@
  28. WARN_CFLAGS = @WARN_CFLAGS@ @WARN_PEDANTIC@ @WERROR@
  29. CPP = @CPP@
  30. CPPFLAGS = @CPPFLAGS@
  31. INSTALL_DATA = @INSTALL_DATA@
  32. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  33. LDFLAGS = @LDFLAGS@
  34. LIBICONV = @LIBICONV@
  35. PACKAGE = @PACKAGE@
  36. PICFLAG = @PICFLAG@
  37. CET_HOST_FLAGS = @CET_HOST_FLAGS@
  38. RANLIB = @RANLIB@
  39. SHELL = @SHELL@
  40. objext = @OBJEXT@
  41. NOLTO_FLAGS = @nolto_flags@
  42. datarootdir = @datarootdir@
  43. datadir = @datadir@
  44. exec_prefix = @prefix@
  45. libdir = @libdir@
  46. localedir = $(datadir)/locale
  47. prefix = @prefix@
  48. ADDITIONAL_OBJS = @ADDITIONAL_OBJS@
  49. enable_decimal_float= @enable_decimal_float@
  50. INCLUDES = -I$(srcdir) -I.
  51. ALL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(NOLTO_FLAGS) $(INCLUDES) $(CPPFLAGS) \
  52. $(PICFLAG) $(CET_HOST_FLAGS)
  53. bid_OBJS = bid2dpd_dpd2bid.$(objext) host-ieee32.$(objext) \
  54. host-ieee64.$(objext) host-ieee128.$(objext)
  55. libdecnumber_a_OBJS = decNumber.$(objext) decContext.$(objext) \
  56. decimal32.$(objext) decimal64.$(objext) decimal128.$(objext) \
  57. $(ADDITIONAL_OBJS)
  58. libdecnumber_a_SOURCES = decContext.c decContext.h decDPD.h \
  59. decNumber.c decNumber.h decNumberLocal.h \
  60. decContextSymbols.h decDPDSymbols.h decNumberSymbols.h \
  61. dpd/decimal128.c dpd/decimal128.h dpd/decimal128Symbols.h \
  62. dpd/decimal32.c dpd/decimal32.h dpd/decimal32Symbols.h \
  63. dpd/decimal64.c dpd/decimal64.h dpd/decimal64Symbols.h \
  64. bid/decimal128.c bid/decimal128.h \
  65. bid/decimal32.c bid/decimal32.h \
  66. bid/decimal64.c bid/decimal64.h
  67. all: libdecnumber.a
  68. .SUFFIXES:
  69. .SUFFIXES: .c .o .obj
  70. libdecnumber.a: $(libdecnumber_a_OBJS)
  71. -rm -f $@
  72. $(AR) $(ARFLAGS) $@ $(libdecnumber_a_OBJS)
  73. $(RANLIB) $@
  74. # Rules to rebuild the configuration
  75. Makefile: $(srcdir)/Makefile.in config.status
  76. $(SHELL) ./config.status Makefile
  77. config.status: $(srcdir)/configure
  78. $(SHELL) ./config.status --recheck
  79. $(srcdir)/configure: @MAINT@ $(srcdir)/aclocal.m4
  80. cd $(srcdir) && $(AUTOCONF)
  81. aclocal_deps = \
  82. $(srcdir)/../config/stdint.m4 \
  83. $(srcdir)/../config/warnings.m4 \
  84. $(srcdir)/../config/override.m4 \
  85. $(srcdir)/../config/dfp.m4 \
  86. $(srcdir)/configure.ac
  87. $(srcdir)/aclocal.m4: @MAINT@ $(aclocal_deps)
  88. cd $(srcdir) && $(ACLOCAL) -I ../config
  89. config.h: stamp-h1
  90. test -f config.h || (rm -f stamp-h1 && $(MAKE) stamp-h1)
  91. stamp-h1: $(srcdir)/config.in config.status
  92. -rm -f stamp-h1
  93. $(SHELL) ./config.status config.h
  94. $(srcdir)/config.in: @MAINT@ $(srcdir)/configure
  95. cd $(srcdir) && $(AUTOHEADER)
  96. -rm -f stamp-h1
  97. # Dependencies.
  98. decContext.$(objext): decContext.c decContext.h decNumberLocal.h \
  99. decContextSymbols.h
  100. decNumber.$(objext): decNumber.c decNumber.h decContext.h decNumberLocal.h \
  101. decNumberSymbols.h
  102. decimal32.$(objext): $(srcdir)/$(enable_decimal_float)/decimal32.c \
  103. $(srcdir)/$(enable_decimal_float)/decimal32.h \
  104. $(srcdir)/$(enable_decimal_float)/decimal32Symbols.h \
  105. decNumber.h decContext.h decNumberLocal.h
  106. $(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal32.c
  107. decimal64.$(objext): $(srcdir)/$(enable_decimal_float)/decimal64.c \
  108. $(srcdir)/$(enable_decimal_float)/decimal64.h \
  109. $(srcdir)/$(enable_decimal_float)/decimal64Symbols.h \
  110. decNumber.h decContext.h decNumberLocal.h
  111. $(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal64.c
  112. decimal128.$(objext): $(srcdir)/$(enable_decimal_float)/decimal128.c \
  113. $(srcdir)/$(enable_decimal_float)/decimal128.h \
  114. $(srcdir)/$(enable_decimal_float)/decimal128Symbols.h\
  115. $(srcdir)/$(enable_decimal_float)/decimal128Local.h\
  116. decNumber.h decContext.h decNumberLocal.h
  117. $(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal128.c
  118. bid2dpd_dpd2bid.$(objext) : $(srcdir)/bid/bid2dpd_dpd2bid.c $(srcdir)/bid/bid2dpd_dpd2bid.h
  119. $(COMPILE) $(srcdir)/bid/bid2dpd_dpd2bid.c
  120. host-ieee32.$(objext) : $(srcdir)/bid/host-ieee32.c $(srcdir)/bid/decimal32.h
  121. $(COMPILE) $(srcdir)/bid/host-ieee32.c
  122. host-ieee64.$(objext) : $(srcdir)/bid/host-ieee64.c $(srcdir)/bid/decimal64.h
  123. $(COMPILE) $(srcdir)/bid/host-ieee64.c
  124. host-ieee128.$(objext) : $(srcdir)/bid/host-ieee128.c $(srcdir)/bid/decimal128.h
  125. $(COMPILE) $(srcdir)/bid/host-ieee128.c
  126. # Other miscellaneous targets.
  127. mostlyclean:
  128. -rm -f *.$(objext)
  129. clean: mostlyclean
  130. -rm -rf libdecnumber.a $(srcdir)/autom4te.cache
  131. distclean: clean
  132. -rm -f config.h stamp-h1 config.status config.cache config.log \
  133. configure.lineno configure.status.lineno Makefile localedir.h \
  134. localedir.hs gstdint.h
  135. maintainer-clean: distclean
  136. @echo "This command is intended for maintainers to use"
  137. @echo "it deletes files that may require special tools to rebuild."
  138. -rm -f $(srcdir)/configure $(srcdir)/aclocal.m4
  139. check:
  140. installcheck:
  141. dvi:
  142. pdf:
  143. html:
  144. info:
  145. install-info:
  146. install-pdf:
  147. install-dvi:
  148. install-man:
  149. install-html:
  150. install:
  151. .PHONY: installdirs install install-strip mostlyclean clean distclean \
  152. maintainer-clean check installcheck dvi pdf html info install-info \
  153. install-pdf install-dvi install-man update-po install-html
  154. COMPILE = source='$<' object='$@' libtool=no $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(ALL_CFLAGS) -c
  155. # Implicit rules
  156. .c.$(objext):
  157. $(COMPILE) $<
  158. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  159. # Otherwise a system limit (for SysV at least) may be exceeded.
  160. .NOEXPORT: