Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / sam / cpus / vonk / ss / dev / ram / 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
22# BASE_ is for building the Ram device without the PFE extension
23
24SUB_DIR.ss.dev.ram = ss/dev/ram
25SRC_DIR.ss.dev.ram = $(SUB_DIR.ss.dev.ram)/src
26OBJ_DIR.ss.dev.ram = $(OBJ_DIR)/$(SUB_DIR.ss.dev.ram)
27
28H_FILES.ss.dev.ram=\
29 SS_Ram.h
30
31BASE_CC_FILES.ss.dev.ram=\
32 SS_Ram.cc
33
34CC_FILES.ss.dev.ram=\
35 $(BASE_CC_FILES.ss.dev.ram)
36
37GEN_CC_FILES.ss.dev.ram=\
38 SS_RamPfe.cc
39
40PY_FILES.ss.dev.ram=\
41 SS_Ram.py\
42 SS_Memory.py
43
44INC_BUILD.ss.dev.ram=\
45 $(H_FILES.ss.dev.ram:%=$(INC_DIR)/%)
46
47PFE_BUILD.ss.dev.ram=\
48 $(PY_FILES.ss.dev.ram:%=$(PFE_DIR)/%)
49
50BASE_OBJ_BUILD.ss.dev.ram=\
51 $(BASE_CC_FILES.ss.dev.ram:%.cc=$(OBJ_DIR.ss.dev.ram)/src/%.o)
52
53OBJ_BUILD.ss.dev.ram=\
54 $(CC_FILES.ss.dev.ram:%.cc=$(OBJ_DIR.ss.dev.ram)/src/%.o)\
55 $(GEN_CC_FILES.ss.dev.ram:%.cc=$(OBJ_DIR)/%.o)