Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / legion / src / support / hsimd / Makefile
CommitLineData
920dae64
AT
1# ========== Copyright Header Begin ==========================================
2#
3# OpenSPARC T2 Processor File: Makefile
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# uts/sun4v/hsimd/Makefile
23# Copyright (c) 2003 by Sun Microsystems, Inc.
24#
25#ident "@(#)Makefile 1.1 06/02/06 SMI"
26#
27# This makefile drives the production of the hsimd driver kernel module.
28#
29# sun4v implementation architecture dependent
30#
31
32#
33# Path to the base of the uts directory tree (usually /usr/src/uts).
34#
35UTSBASE = ../..
36
37#
38# Define the module and object file sets.
39#
40MODULE = hsimd
41OBJECTS = $(HSIMD_OBJS:%=$(OBJS_DIR)/%)
42LINTS = $(HSIMD_OBJS:%.o=$(LINTS_DIR)/%.ln)
43ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
44
45#
46# Include common rules.
47#
48include $(UTSBASE)/sun4v/Makefile.sun4v
49
50#
51# Override defaults to build a unique, local modstubs.o.
52#
53MODSTUBS_DIR = $(OBJS_DIR)
54
55CLEANFILES += $(MODSTUBS_O)
56
57#
58# Define targets
59#
60ALL_TARGET = $(BINARY)
61LINT_TARGET = $(MODULE).lint
62INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
63
64#
65# lint pass one enforcement
66#
67CFLAGS += $(CCVERBOSE)
68
69#
70# Default build targets.
71#
72.KEEP_STATE:
73
74def: $(DEF_DEPS)
75
76all: $(ALL_DEPS)
77
78clean: $(CLEAN_DEPS)
79
80clobber: $(CLOBBER_DEPS)
81
82lint: $(LINT_DEPS)
83
84modlintlib: $(MODLINTLIB_DEPS)
85
86clean.lint: $(CLEAN_LINT_DEPS)
87
88install: $(INSTALL_DEPS)
89
90#
91# Include common targets.
92#
93include $(UTSBASE)/$(PLATFORM)/Makefile.targ