Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. # Software floating-point emulation.
  2. # Makefile for SPARC v9 ABI mandated long double utility
  3. # functions (_Qp_*).
  4. # Copyright (C) 1999-2017 Free Software Foundation, Inc.
  5. # This file is part of the GNU C Library.
  6. # Contributed by Jakub Jelinek (jj@ultra.linux.cz).
  7. #
  8. # The GNU C Library is free software; you can redistribute it and/or
  9. # modify it under the terms of the GNU Lesser General Public
  10. # License as published by the Free Software Foundation; either
  11. # version 2.1 of the License, or (at your option) any later version.
  12. # The GNU C Library is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. # Lesser General Public License for more details.
  16. # You should have received a copy of the GNU Lesser General Public
  17. # License along with the GNU C Library; if not, see
  18. # <http://www.gnu.org/licenses/>.
  19. ifeq ($(subdir),soft-fp)
  20. sparc64-quad-routines := qp_add qp_cmp qp_cmpe qp_div qp_dtoq qp_feq qp_fge \
  21. qp_fgt qp_fle qp_flt qp_fne qp_itoq qp_mul qp_neg qp_qtod qp_qtoi \
  22. qp_qtos qp_qtoui qp_qtoux qp_qtox qp_sqrt qp_stoq qp_sub qp_uitoq \
  23. qp_uxtoq qp_xtoq qp_util
  24. sysdep_routines += $(sparc64-quad-routines)
  25. endif
  26. ifeq ($(subdir),math)
  27. CPPFLAGS += -I../soft-fp/
  28. endif