Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

188 lines
3.6 KiB

  1. ##
  2. ## Copyright (c) 2000, Intel Corporation
  3. ## All rights reserved.
  4. ##
  5. ## WARRANTY DISCLAIMER
  6. ##
  7. ## THESE MATERIALS ARE PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  8. ## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  9. ## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  10. ## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL OR ITS
  11. ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  12. ## EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  13. ## PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  14. ## PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
  15. ## OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY OR TORT (INCLUDING
  16. ## NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THESE
  17. ## MATERIALS, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  18. ##
  19. ## Intel Corporation is the author of the Materials, and requests that all
  20. ## problem reports or change requests be submitted to it directly at
  21. ## http://developer.intel.com/opensource.
  22. ##
  23. ########################################################################
  24. #
  25. # Tools common Make_isa.inc
  26. #
  27. # Common isa defenitions
  28. ifeq ($(TOOL_ARCH), P6V)
  29. TOOL_ARCH := P62
  30. endif
  31. ifeq ($(TOOL_ARCH), P6_SIMD)
  32. TOOL_ARCH := P62
  33. endif
  34. ifeq ($(TOOL_ARCH), P5_SIMD)
  35. TOOL_ARCH := P5V
  36. endif
  37. ifeq ($(TOOL_ARCH), EX86)
  38. TOOL_ARCH := PAX
  39. endif
  40. ifeq ($(TOOL_ARCH), P5)
  41. IA5_TOOLS = 1
  42. SUFFIX = p5
  43. else
  44. ifeq ($(TOOL_ARCH), P6)
  45. IA5_TOOLS = 1
  46. IA6_TOOLS = 1
  47. SUFFIX = p6
  48. else
  49. ifeq ($(TOOL_ARCH), P5V)
  50. IA5_TOOLS = 1
  51. SIMD_TOOLS = 1
  52. SUFFIX = p5v
  53. else
  54. ifeq ($(TOOL_ARCH), P62)
  55. IA5_TOOLS = 1
  56. IA6_TOOLS = 1
  57. SIMD_TOOLS = 1
  58. SUFFIX = p62
  59. else
  60. ifeq ($(TOOL_ARCH), P6_VX)
  61. IA5_TOOLS = 1
  62. IA6_TOOLS = 1
  63. SIMD_TOOLS = 1
  64. VX_TOOLS = 1
  65. SUFFIX = p62x
  66. else
  67. ifeq ($(TOOL_ARCH), P68)
  68. IA5_TOOLS = 1
  69. IA6_TOOLS = 1
  70. SIMD_TOOLS = 1
  71. VX_TOOLS = 1
  72. WMT_TOOLS =1
  73. SUFFIX = p68
  74. else
  75. ifeq ($(TOOL_ARCH), P62_EM)
  76. IA5_TOOLS = 1
  77. IA6_TOOLS = 1
  78. SIMD_TOOLS = 1
  79. VX_TOOLS =1
  80. EMA_TOOLS = 1
  81. SUFFIX = eia
  82. else
  83. ifeq ($(TOOL_ARCH), P7)
  84. IAX1K_TOOLS = 1
  85. IAX_TOOLS = 1
  86. SUFFIX = p7
  87. else
  88. ifeq ($(TOOL_ARCH), PAX)
  89. IAX_TOOLS = 1
  90. SUFFIX = ex86
  91. else
  92. ifeq ($(TOOL_ARCH), P1K)
  93. IAX1K_TOOLS = 1
  94. SUFFIX = p1k
  95. else
  96. ifeq ($(TOOL_ARCH), EAS)
  97. TAHOE_TOOLS = 1
  98. IAX1K_TOOLS = 1
  99. SUFFIX = eas
  100. else
  101. ifeq ($(TOOL_ARCH), TAHOE)
  102. TAHOE_TOOLS = 1
  103. IAX1K_TOOLS = 1
  104. SUFFIX = eas
  105. else
  106. ifeq ($(TOOL_ARCH), EMA)
  107. EMA_TOOLS = 1
  108. SUFFIX = em
  109. else
  110. ifeq ($(TOOL_ARCH), ALL)
  111. IA5_TOOLS = 1
  112. SIMD_TOOLS= 1
  113. IA6_TOOLS = 1
  114. IAX_TOOLS = 1
  115. IAX1K_TOOLS = 1
  116. TAHOE_TOOLS = 1
  117. EMA_TOOLS = 1
  118. VX_TOOLS = 1
  119. WMT_TOOLS = 1
  120. SUFFIX = all
  121. endif
  122. endif
  123. endif
  124. endif
  125. endif
  126. endif
  127. endif
  128. endif
  129. endif
  130. endif
  131. endif
  132. endif
  133. endif
  134. endif
  135. ifndef TOOL_ARCH
  136. ifndef IAX_TOOLS
  137. ifndef IAX1K_TOOLS
  138. IA5_TOOLS = 1
  139. endif
  140. endif
  141. endif
  142. DECODER_LIB = dec$(SUFFIX)
  143. DECODER_INC = dec$(SUFFIX).h
  144. INSTID_INC = insid$(SUFFIX).h
  145. ENCODER_LIB = enc$(SUFFIX)
  146. ENCODER_INC = enc$(SUFFIX).h
  147. DISASM_LIB = dis$(SUFFIX)
  148. DISASM_INC = dis$(SUFFIX).h
  149. # Each makefile should recognize the following set of flag
  150. # and translate them to private USER_CFLAGS for the compiler:
  151. # IA5_TOOLS - handle P5 isa
  152. # IA6_TOOLS - handle P6 isa
  153. # SIMD_TOOLS - handle SIMD/DSP IA-extention isa
  154. # IAX_TOOLS - handle iAX ("old") isa
  155. # IAX1K_TOOLS - handle 1K (STRAWMAN) isa
  156. # TAHOE_TOOLS - handle TAHOE (EAS 1.0) isa.
  157. # EMA_TOOLS - handle EM (EAS 2.0-, true encoding) isa.
  158. # VX_TOOLS - handle Katmai isa
  159. # WMT_TOOLS - handle Willamette isa