Make.pauxil 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. #
  2. # -- High Performance Computing Linpack Benchmark (HPL)
  3. # HPL - 2.0 - September 10, 2008
  4. # Antoine P. Petitet
  5. # University of Tennessee, Knoxville
  6. # Innovative Computing Laboratory
  7. # (C) Copyright 2000-2008 All Rights Reserved
  8. #
  9. # -- Copyright notice and Licensing terms:
  10. #
  11. # Redistribution and use in source and binary forms, with or without
  12. # modification, are permitted provided that the following conditions
  13. # are met:
  14. #
  15. # 1. Redistributions of source code must retain the above copyright
  16. # notice, this list of conditions and the following disclaimer.
  17. #
  18. # 2. Redistributions in binary form must reproduce the above copyright
  19. # notice, this list of conditions, and the following disclaimer in the
  20. # documentation and/or other materials provided with the distribution.
  21. #
  22. # 3. All advertising materials mentioning features or use of this
  23. # software must display the following acknowledgement:
  24. # This product includes software developed at the University of
  25. # Tennessee, Knoxville, Innovative Computing Laboratory.
  26. #
  27. # 4. The name of the University, the name of the Laboratory, or the
  28. # names of its contributors may not be used to endorse or promote
  29. # products derived from this software without specific written
  30. # permission.
  31. #
  32. # -- Disclaimer:
  33. #
  34. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  35. # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  36. # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  37. # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY
  38. # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  39. # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  40. # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  41. # DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  42. # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  43. # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  44. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  45. # ######################################################################
  46. #
  47. include Make.inc
  48. #
  49. # ######################################################################
  50. #
  51. INCdep = \
  52. $(INCdir)/hpl_misc.h $(INCdir)/hpl_blas.h $(INCdir)/hpl_auxil.h \
  53. $(INCdir)/hpl_pmisc.h $(INCdir)/hpl_grid.h $(INCdir)/hpl_pauxil.h
  54. #
  55. ## Object files ########################################################
  56. #
  57. HPL_pauobj = \
  58. HPL_indxg2l.o HPL_indxg2lp.o HPL_indxg2p.o \
  59. HPL_indxl2g.o HPL_infog2l.o HPL_numroc.o \
  60. HPL_numrocI.o HPL_dlaswp00N.o HPL_dlaswp10N.o \
  61. HPL_dlaswp01N.o HPL_dlaswp01T.o HPL_dlaswp02N.o \
  62. HPL_dlaswp03N.o HPL_dlaswp03T.o HPL_dlaswp04N.o \
  63. HPL_dlaswp04T.o HPL_dlaswp05N.o HPL_dlaswp05T.o \
  64. HPL_dlaswp06N.o HPL_dlaswp06T.o HPL_pwarn.o \
  65. HPL_pabort.o HPL_pdlaprnt.o HPL_pdlamch.o \
  66. HPL_pdlange.o
  67. #
  68. ## Targets #############################################################
  69. #
  70. all : lib
  71. #
  72. lib : lib.grd
  73. #
  74. lib.grd : $(HPL_pauobj)
  75. $(ARCHIVER) $(ARFLAGS) $(HPLlib) $(HPL_pauobj)
  76. $(RANLIB) $(HPLlib)
  77. $(TOUCH) lib.grd
  78. #
  79. # ######################################################################
  80. #
  81. HPL_indxg2l.o : ../HPL_indxg2l.c $(INCdep)
  82. $(CC) -o $@ -c $(CCFLAGS) ../HPL_indxg2l.c
  83. HPL_indxg2lp.o : ../HPL_indxg2lp.c $(INCdep)
  84. $(CC) -o $@ -c $(CCFLAGS) ../HPL_indxg2lp.c
  85. HPL_indxg2p.o : ../HPL_indxg2p.c $(INCdep)
  86. $(CC) -o $@ -c $(CCFLAGS) ../HPL_indxg2p.c
  87. HPL_indxl2g.o : ../HPL_indxl2g.c $(INCdep)
  88. $(CC) -o $@ -c $(CCFLAGS) ../HPL_indxl2g.c
  89. HPL_infog2l.o : ../HPL_infog2l.c $(INCdep)
  90. $(CC) -o $@ -c $(CCFLAGS) ../HPL_infog2l.c
  91. HPL_numroc.o : ../HPL_numroc.c $(INCdep)
  92. $(CC) -o $@ -c $(CCFLAGS) ../HPL_numroc.c
  93. HPL_numrocI.o : ../HPL_numrocI.c $(INCdep)
  94. $(CC) -o $@ -c $(CCFLAGS) ../HPL_numrocI.c
  95. HPL_dlaswp00N.o : ../HPL_dlaswp00N.c $(INCdep)
  96. $(CC) -o $@ -c $(CCFLAGS) ../HPL_dlaswp00N.c
  97. HPL_dlaswp10N.o : ../HPL_dlaswp10N.c $(INCdep)
  98. $(CC) -o $@ -c $(CCFLAGS) ../HPL_dlaswp10N.c
  99. HPL_dlaswp01N.o : ../HPL_dlaswp01N.c $(INCdep)
  100. $(CC) -o $@ -c $(CCFLAGS) ../HPL_dlaswp01N.c
  101. HPL_dlaswp01T.o : ../HPL_dlaswp01T.c $(INCdep)
  102. $(CC) -o $@ -c $(CCFLAGS) ../HPL_dlaswp01T.c
  103. HPL_dlaswp02N.o : ../HPL_dlaswp02N.c $(INCdep)
  104. $(CC) -o $@ -c $(CCFLAGS) ../HPL_dlaswp02N.c
  105. HPL_dlaswp03N.o : ../HPL_dlaswp03N.c $(INCdep)
  106. $(CC) -o $@ -c $(CCFLAGS) ../HPL_dlaswp03N.c
  107. HPL_dlaswp03T.o : ../HPL_dlaswp03T.c $(INCdep)
  108. $(CC) -o $@ -c $(CCFLAGS) ../HPL_dlaswp03T.c
  109. HPL_dlaswp04N.o : ../HPL_dlaswp04N.c $(INCdep)
  110. $(CC) -o $@ -c $(CCFLAGS) ../HPL_dlaswp04N.c
  111. HPL_dlaswp04T.o : ../HPL_dlaswp04T.c $(INCdep)
  112. $(CC) -o $@ -c $(CCFLAGS) ../HPL_dlaswp04T.c
  113. HPL_dlaswp05N.o : ../HPL_dlaswp05N.c $(INCdep)
  114. $(CC) -o $@ -c $(CCFLAGS) ../HPL_dlaswp05N.c
  115. HPL_dlaswp05T.o : ../HPL_dlaswp05T.c $(INCdep)
  116. $(CC) -o $@ -c $(CCFLAGS) ../HPL_dlaswp05T.c
  117. HPL_dlaswp06N.o : ../HPL_dlaswp06N.c $(INCdep)
  118. $(CC) -o $@ -c $(CCFLAGS) ../HPL_dlaswp06N.c
  119. HPL_dlaswp06T.o : ../HPL_dlaswp06T.c $(INCdep)
  120. $(CC) -o $@ -c $(CCFLAGS) ../HPL_dlaswp06T.c
  121. HPL_pwarn.o : ../HPL_pwarn.c $(INCdep)
  122. $(CC) -o $@ -c $(CCFLAGS) ../HPL_pwarn.c
  123. HPL_pabort.o : ../HPL_pabort.c $(INCdep)
  124. $(CC) -o $@ -c $(CCFLAGS) ../HPL_pabort.c
  125. HPL_pdlaprnt.o : ../HPL_pdlaprnt.c $(INCdep)
  126. $(CC) -o $@ -c $(CCFLAGS) ../HPL_pdlaprnt.c
  127. HPL_pdlamch.o : ../HPL_pdlamch.c $(INCdep)
  128. $(CC) -o $@ -c $(CCFLAGS) ../HPL_pdlamch.c
  129. HPL_pdlange.o : ../HPL_pdlange.c $(INCdep)
  130. $(CC) -o $@ -c $(CCFLAGS) ../HPL_pdlange.c
  131. #
  132. # ######################################################################
  133. #
  134. clean :
  135. $(RM) *.o *.grd
  136. #
  137. # ######################################################################