Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
2488N/A#
2488N/A# CDDL HEADER START
2488N/A#
2488N/A# The contents of this file are subject to the terms of the
2488N/A# Common Development and Distribution License (the "License").
2488N/A# You may not use this file except in compliance with the License.
2488N/A#
2488N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2488N/A# or http://www.opensolaris.org/os/licensing.
2488N/A# See the License for the specific language governing permissions
2488N/A# and limitations under the License.
2488N/A#
2488N/A# When distributing Covered Code, include this CDDL HEADER in each
2488N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2488N/A# If applicable, add the following below this CDDL HEADER, with the
2488N/A# fields enclosed by brackets "[]" replaced with your own identifying
2488N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2488N/A#
2488N/A# CDDL HEADER END
2488N/A#
2488N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
2488N/A# Use is subject to license terms.
2488N/A#
2488N/A
3231N/A#
2488N/A# uts/sun4v/fpc/Makefile
2488N/A#
2488N/A# This makefile drives the production of the sun4v
2488N/A# fire performance counter kernel module
2488N/A#
2488N/A# sun4v implementation architecture dependent
2488N/A#
2488N/A
2488N/A#
2488N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
2488N/A#
2488N/AUTSBASE = ../..
2488N/A
2488N/A#
2488N/A# Define the module and object file sets.
2488N/A#
2488N/AMODULE = fpc
2488N/AOBJECTS = $(FPC_OBJS:%=$(OBJS_DIR)/%)
2488N/ALINTS = $(FPC_OBJS:%.o=$(LINTS_DIR)/%.ln)
2488N/AROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
2488N/ACONF_SRCDIR = $(UTSBASE)/sun4/io/fpc
2488N/A
2488N/A#
2488N/A# Include common rules.
2488N/A#
2488N/Ainclude $(UTSBASE)/sun4v/Makefile.sun4v
2488N/A
2488N/A#
2488N/A# Define targets
2488N/A#
2488N/AALL_TARGET = $(BINARY) $(SRC_CONFFILE)
2488N/ALINT_TARGET = $(MODULE).lint
2488N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
2488N/A
2488N/A#
2488N/A# Include SUN4 and SUN4V specific headers files
2488N/A#
2488N/AINC_PATH += -I$(UTSBASE)/sun4/io/fpc
2488N/AINC_PATH += -I$(UTSBASE)/sun4v/io/fpc
2488N/A
2488N/A#
2488N/A# lint pass one enforcement
2488N/A#
2488N/ACFLAGS += $(CCVERBOSE)
2488N/ACERRWARN += -_gcc=-Wno-unused-variable
2488N/A
2488N/A#
2488N/A# Turn on doubleword alignment for 64 bit registers
2488N/A#
2488N/ACFLAGS += -dalign
2488N/A
2488N/A#
2488N/A# For now, disable these lint checks; maintainers should endeavor
2488N/A# to investigate and remove these for maximum lint coverage.
2488N/A# Please do not carry these forward to new Makefiles.
2488N/A#
2488N/ALINTTAGS += -erroff=E_STATIC_UNUSED
2488N/A
2488N/A#
4005N/A# Default build targets.
4005N/A#
2488N/A.KEEP_STATE:
2488N/A
2488N/Adef: $(DEF_DEPS)
2488N/A
2488N/Aall: $(ALL_DEPS)
2488N/A
2488N/Aclean: $(CLEAN_DEPS)
2488N/A
4005N/Aclobber: $(CLOBBER_DEPS)
2488N/A
2488N/Alint: $(LINT_DEPS)
2488N/A
2488N/Amodlintlib: $(MODLINTLIB_DEPS)
2488N/A
2488N/Aclean.lint: $(CLEAN_LINT_DEPS)
2488N/A
2488N/Ainstall: $(INSTALL_DEPS)
2488N/A
2488N/A#
2488N/A# Include common targets.
2488N/A#
2488N/Ainclude $(UTSBASE)/$(PLATFORM)/Makefile.targ
2488N/A