You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.alpha 1.1 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. CPP = $(CC) -E
  2. RANLIB = ranlib
  3. ifeq ($(LIBSUBARCH), EV4)
  4. LIBNAME = $(LIBPREFIX)_ev4.a
  5. LIBNAME_P = $(LIBPREFIX)_ev4_p.a
  6. endif
  7. ifeq ($(LIBSUBARCH), EV5)
  8. LIBNAME = $(LIBPREFIX)_ev5.a
  9. LIBNAME_P = $(LIBPREFIX)_ev5_p.a
  10. endif
  11. ifeq ($(LIBSUBARCH), EV6)
  12. LIBNAME = $(LIBPREFIX)_ev6.a
  13. LIBNAME_P = $(LIBPREFIX)_ev6_p.a
  14. endif
  15. ifneq ($(COMPILER), NATIVE)
  16. # GCC User
  17. ifeq ($(LIBSUBARCH), EV4)
  18. OPTION += -DEV4 -mcpu=ev4
  19. endif
  20. ifeq ($(LIBSUBARCH), EV5)
  21. OPTION += -DEV5 -mcpu=ev5
  22. endif
  23. ifeq ($(LIBSUBARCH), EV6)
  24. OPTION += -DEV6 -mcpu=ev6
  25. endif
  26. else
  27. # Compaq Compiler User
  28. ifeq ($(LIBSUBARCH), EV4)
  29. OPTION += -DEV4 -tune ev4 -arch ev4
  30. endif
  31. ifeq ($(LIBSUBARCH), EV5)
  32. OPTION += -DEV5 -tune ev5 -arch ev5
  33. endif
  34. ifeq ($(LIBSUBARCH), EV6)
  35. OPTION += -DEV6 -tune ev6 -arch ev6
  36. endif
  37. endif
  38. ifeq ($(F_COMPILER), GFORTRAN)
  39. FCOMMON_OPT += -mieee
  40. endif
  41. ifeq ($(F_COMPILER), G77)
  42. FCOMMON_OPT += -mieee
  43. endif
  44. ifndef SMP
  45. LIBCXML = -lcxml -lots -lm
  46. LIBATLAS = -L/usr/lib/atlas3.7.8 -lf77blas -latlas -lm
  47. else
  48. LIBCXML = -lcxmlp -lots -lm
  49. LIBATLAS = -L/usr/lib/atlas3.7.8p -llapack -lptcblas -lptf77blas -latlas -lpthread -lm
  50. endif