# ========== Copyright Header Begin ==========================================
# OpenSPARC T2 Processor File: Makefile
# Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.
# The above named program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public
# License version 2 as published by the Free Software Foundation.
# The above named program is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
# You should have received a copy of the GNU General Public
# License along with this work; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
# ========== Copyright Header End ============================================
# uts/sun4v/hsimd/Makefile
# Copyright (c) 2003 by Sun Microsystems, Inc.
#ident "@(#)Makefile 1.1 06/02/06 SMI"
# This makefile drives the production of the hsimd driver kernel module.
# sun4v implementation architecture dependent
# Path to the base of the uts directory tree (usually /usr/src/uts).
# Define the module and object file sets.
OBJECTS
= $(HSIMD_OBJS
:%=$(OBJS_DIR
)/%)
LINTS
= $(HSIMD_OBJS
:%.o
=$(LINTS_DIR
)/%.ln
)
ROOTMODULE
= $(ROOT_PSM_DRV_DIR
)/$(MODULE
)
include $(UTSBASE
)/sun4v
/Makefile.sun4v
# Override defaults to build a unique, local modstubs.o.
MODSTUBS_DIR
= $(OBJS_DIR
)
CLEANFILES
+= $(MODSTUBS_O
)
LINT_TARGET
= $(MODULE
).lint
INSTALL_TARGET
= $(BINARY
) $(ROOTMODULE
)
# lint pass one enforcement
modlintlib
: $(MODLINTLIB_DEPS
)
clean.lint
: $(CLEAN_LINT_DEPS
)
# Include common targets.
include $(UTSBASE
)/$(PLATFORM
)/Makefile.targ