Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / sam / cpus / vonk / n2 / lib / cpu / Makefile.defines
CommitLineData
920dae64
AT
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
22SUB_DIR.n2.lib.cpu = n2/lib/cpu
23OBJ_DIR.n2.lib.cpu = $(OBJ_DIR)/$(SUB_DIR.n2.lib.cpu)
24SRC_DIR.n2.lib.cpu = $(SUB_DIR.n2.lib.cpu)/src
25BIN_DIR.n2.lib.cpu = $(SUB_DIR.n2.lib.cpu)/bin
26
27H_FILES.n2.lib.cpu=\
28 N2_Asi.h\
29 N2_Registers.h\
30 N2_State.h\
31 N2_Model.h\
32 N2_Cpu.h\
33 N2_Core.h\
34 N2_Strand.h\
35 N2_Tlb.h\
36 N2_TrieTlb.h\
37 N2_Fpu.h\
38 N2_RunCpp.h
39
40CC_FILES.n2.lib.cpu=\
41 N2_Model.cc\
42 N2_Cpu.cc\
43 N2_Core.cc\
44 N2_Strand.cc\
45 N2_Fpu.cc\
46 N2_Tlb.cc\
47 N2_Registers.cc\
48 N2_TrieTlb.cc
49
50GEN_CC_FILES.n2.lib.cpu=\
51 N2_RunCpp.cc
52
53GEN_S_FILES.n2.lib.cpu=\
54 N2_RunAsm.s
55
56INC_BUILD.n2.lib.cpu=\
57 $(H_FILES.n2.lib.cpu:%=$(INC_DIR)/%)
58
59OBJ_BUILD.n2.lib.cpu=\
60 $(GEN_S_FILES.n2.lib.cpu:%.s=$(OBJ_DIR)/%.o)\
61 $(CC_FILES.n2.lib.cpu:%.cc=$(OBJ_DIR.n2.lib.cpu)/src/%.o)\
62 $(GEN_CC_FILES.n2.lib.cpu:%.cc=$(OBJ_DIR)/%.o)