| 1 | # ========== Copyright Header Begin ========================================== |
| 2 | # |
| 3 | # OpenSPARC T2 Processor File: Makefile.defines |
| 4 | # Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved. |
| 5 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES. |
| 6 | # |
| 7 | # The above named program is free software; you can redistribute it and/or |
| 8 | # modify it under the terms of the GNU General Public |
| 9 | # License version 2 as published by the Free Software Foundation. |
| 10 | # |
| 11 | # The above named program is distributed in the hope that it will be |
| 12 | # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 | # General Public License for more details. |
| 15 | # |
| 16 | # You should have received a copy of the GNU General Public |
| 17 | # License along with this work; if not, write to the Free Software |
| 18 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. |
| 19 | # |
| 20 | # ========== Copyright Header End ============================================ |
| 21 | |
| 22 | SUB_DIR.ss.lib.cpu = ss/lib/cpu |
| 23 | OBJ_DIR.ss.lib.cpu = $(OBJ_DIR)/$(SUB_DIR.ss.lib.cpu) |
| 24 | SRC_DIR.ss.lib.cpu = $(SUB_DIR.ss.lib.cpu)/src |
| 25 | BIN_DIR.ss.lib.cpu = $(SUB_DIR.ss.lib.cpu)/bin |
| 26 | |
| 27 | GEN_H_FILES.ss.lib.cpu=\ |
| 28 | SS_Assembly.h |
| 29 | |
| 30 | H_FILES.ss.lib.cpu=\ |
| 31 | SS_Types.h\ |
| 32 | SS_State.h\ |
| 33 | SS_Signal.h\ |
| 34 | SS_Message.h\ |
| 35 | SS_Chain.h\ |
| 36 | SS_Memory.h\ |
| 37 | SS_FastMemory.h\ |
| 38 | SS_MsyncMemory.h\ |
| 39 | SS_Prefetch.h\ |
| 40 | SS_Prefetch.il\ |
| 41 | SS_Ld128Atomic.h\ |
| 42 | SS_Io.h\ |
| 43 | SS_AddressMap.h\ |
| 44 | SS_Access.h\ |
| 45 | SS_Asi.h\ |
| 46 | SS_AsiCtrReg.h\ |
| 47 | SS_AsiInfo.h\ |
| 48 | SS_AsiInfoTable.h\ |
| 49 | SS_AsiMap.h\ |
| 50 | SS_AsiSpace.h\ |
| 51 | SS_BreakPoint.h\ |
| 52 | SS_Decode.h\ |
| 53 | SS_Node.h\ |
| 54 | SS_Strand.h\ |
| 55 | SS_Opcode.h\ |
| 56 | SS_Instr.h\ |
| 57 | SS_InstrCache.h\ |
| 58 | SS_PidContext.h\ |
| 59 | SS_Fpu.h\ |
| 60 | SS_Registers.h\ |
| 61 | SS_SnapShot.h\ |
| 62 | SS_Tracer.h\ |
| 63 | SS_Trap.h\ |
| 64 | SS_Interrupt.h\ |
| 65 | SS_Tsb.h\ |
| 66 | SS_Tlb.h\ |
| 67 | SS_Tte.h\ |
| 68 | SS_Model.h\ |
| 69 | SS_Cpu.h\ |
| 70 | SS_V8Code.h\ |
| 71 | MemoryTransaction.h\ |
| 72 | utils.h |
| 73 | |
| 74 | CC_FILES.ss.lib.cpu=\ |
| 75 | SS_AsiCtrReg.cc\ |
| 76 | SS_AsiInfoTable.cc\ |
| 77 | SS_AsiMap.cc\ |
| 78 | SS_AsiSpace.cc\ |
| 79 | SS_BreakPoint.cc\ |
| 80 | SS_Io.cc\ |
| 81 | SS_AddressMap.cc\ |
| 82 | SS_FastMemory.cc\ |
| 83 | SS_MsyncMemory.cc\ |
| 84 | SS_Node.cc\ |
| 85 | SS_Signal.cc\ |
| 86 | SS_Message.cc\ |
| 87 | SS_Strand.cc\ |
| 88 | SS_Tlb.cc\ |
| 89 | SS_Tte.cc\ |
| 90 | SS_Trap.cc\ |
| 91 | SS_Interrupt.cc\ |
| 92 | SS_Registers.cc\ |
| 93 | SS_Fpu.cc\ |
| 94 | SS_SnapShot.cc\ |
| 95 | SS_Cpu.cc\ |
| 96 | SS_Model.cc |
| 97 | |
| 98 | S_FILES.ss.lib.cpu=\ |
| 99 | SS_Ld128Atomic.s\ |
| 100 | SS_V8Code.s |
| 101 | |
| 102 | GEN_S_FILES.ss.lib.cpu=\ |
| 103 | SS_Memory.s |
| 104 | |
| 105 | INC_BUILD.ss.lib.cpu=\ |
| 106 | $(H_FILES.ss.lib.cpu:%=$(INC_DIR)/%) |
| 107 | |
| 108 | GEN_BUILD.ss.lib.cpu=\ |
| 109 | $(GEN_H_FILES.ss.lib.cpu:%=$(INC_DIR)/%) |
| 110 | |
| 111 | OBJ_BUILD.ss.lib.cpu=\ |
| 112 | $(CC_FILES.ss.lib.cpu:%.cc=$(OBJ_DIR.ss.lib.cpu)/src/%.o)\ |
| 113 | $(S_FILES.ss.lib.cpu:%.s=$(OBJ_DIR.ss.lib.cpu)/src/%.o)\ |
| 114 | $(GEN_S_FILES.ss.lib.cpu:%.s=$(OBJ_DIR)/%.o) |
| 115 | |
| 116 | |
| 117 | GEN_INSTR.ss.lib.cpu=\ |
| 118 | $(BIN_DIR.ss.lib.cpu)/SS_Instr.py\ |
| 119 | $(BIN_DIR.ss.lib.cpu)/SS_Setup.py\ |
| 120 | $(BIN_DIR.ss.lib.cpu)/SS_InstrSim.py\ |
| 121 | $(BIN_DIR.ss.lib.cpu)/SS_InstrCti.py\ |
| 122 | $(BIN_DIR.ss.lib.cpu)/SS_InstrCtr.py\ |
| 123 | $(BIN_DIR.ss.lib.cpu)/SS_InstrAlu.py\ |
| 124 | $(BIN_DIR.ss.lib.cpu)/SS_InstrLsu.py\ |
| 125 | $(BIN_DIR.ss.lib.cpu)/SS_InstrFormat.py\ |
| 126 | $(BIN_DIR.ss.lib.cpu)/SS_InstrFpop.py\ |
| 127 | $(BIN_DIR.ss.lib.cpu)/SS_InstrFpu.py\ |
| 128 | $(BIN_DIR.ss.lib.cpu)/SS_InstrVis.py\ |
| 129 | $(BIN_DIR.ss.lib.cpu)/SS_InstrRun.py\ |
| 130 | $(GEN_STATE.ss.lib.cpu) |
| 131 | |
| 132 | GEN_STATE.ss.lib.cpu=\ |
| 133 | $(BIN_DIR.ss.lib.cpu)/SS_State.py\ |
| 134 | $(BIN_DIR.ss.lib.cpu)/SS_StateCtr.py\ |
| 135 | $(BIN_DIR.ss.lib.cpu)/SS_StateAsr.py\ |
| 136 | $(BIN_DIR.ss.lib.cpu)/SS_StatePrf.py\ |
| 137 | $(BIN_DIR.ss.lib.cpu)/SS_StateHrf.py\ |
| 138 | $(BIN_DIR.ss.lib.cpu)/SS_StateSrf.py |