Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
219N/A#
219N/A# CDDL HEADER START
219N/A#
219N/A# The contents of this file are subject to the terms of the
219N/A# Common Development and Distribution License (the "License").
219N/A# You may not use this file except in compliance with the License.
219N/A#
219N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
219N/A# or http://www.opensolaris.org/os/licensing.
219N/A# See the License for the specific language governing permissions
219N/A# and limitations under the License.
219N/A#
219N/A# When distributing Covered Code, include this CDDL HEADER in each
219N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
219N/A# If applicable, add the following below this CDDL HEADER, with the
219N/A# fields enclosed by brackets "[]" replaced with your own identifying
219N/A# information: Portions Copyright [yyyy] [name of copyright owner]
219N/A#
219N/A# CDDL HEADER END
219N/A#
219N/A#
219N/A# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
219N/A#
219N/A# This makefile drives the production of the cpu driver
219N/A# kernel module.
219N/A#
219N/A
219N/A#
219N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
219N/A#
219N/AUTSBASE = ../..
219N/A
219N/A#
219N/A# Define the module and object file sets.
219N/A#
219N/AMODULE = cpudrv
219N/AOBJECTS = $(CPUDRV_OBJS:%=$(OBJS_DIR)/%)
219N/ALINTS = $(CPUDRV_OBJS:%.o=$(LINTS_DIR)/%.ln)
219N/AROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
219N/A
219N/A#
219N/A# Include common rules.
219N/A#
219N/Ainclude $(UTSBASE)/i86pc/Makefile.i86pc
219N/A
219N/A#
219N/A# Define targets
219N/A#
219N/AALL_TARGET = $(BINARY)
219N/ALINT_TARGET = $(MODULE).lint
219N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
219N/A
219N/A#
219N/A# lint pass one enforcement
219N/A#
219N/ACFLAGS += $(CCVERBOSE)
219N/A
219N/ACERRWARN += -_gcc=-Wno-uninitialized
219N/ACERRWARN += -_gcc=-Wno-parentheses
219N/A
219N/A#
219N/A# Link to acpica for ACPI services
219N/A#
219N/ALDFLAGS += -dy -N misc/acpica
219N/A
219N/A#
219N/A# Default build targets.
219N/A#
219N/A.KEEP_STATE:
219N/A
219N/Adef: $(DEF_DEPS)
219N/A
219N/Aall: $(ALL_DEPS)
219N/A
219N/Aclean: $(CLEAN_DEPS)
219N/A
219N/Aclobber: $(CLOBBER_DEPS)
219N/A
219N/Alint: $(LINT_DEPS)
219N/A
219N/Amodlintlib: $(MODLINTLIB_DEPS)
219N/A
219N/Aclean.lint: $(CLEAN_LINT_DEPS)
219N/A
219N/Ainstall: $(INSTALL_DEPS)
219N/A
219N/A#
219N/A# Include common targets.
219N/A#
219N/Ainclude $(UTSBASE)/i86pc/Makefile.targ
219N/A