Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
546N/A# CDDL HEADER START
546N/A#
546N/A# The contents of this file are subject to the terms of the
546N/A# Common Development and Distribution License (the "License").
851N/A# You may not use this file except in compliance with the License.
851N/A#
546N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
546N/A# or http://www.opensolaris.org/os/licensing.
546N/A# See the License for the specific language governing permissions
546N/A# and limitations under the License.
546N/A#
546N/A# When distributing Covered Code, include this CDDL HEADER in each
546N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
546N/A# If applicable, add the following below this CDDL HEADER, with the
546N/A# fields enclosed by brackets "[]" replaced with your own identifying
546N/A# information: Portions Copyright [yyyy] [name of copyright owner]
546N/A#
546N/A# CDDL HEADER END
546N/A#
546N/A
546N/A#
546N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
546N/A# Use is subject to license terms.
546N/A#
546N/A
546N/A#
546N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
546N/A#
546N/AUTSBASE = ../..
546N/A
546N/A#
546N/A# Define the module and object file sets.
851N/A#
546N/AMODULE = cpu.generic
546N/A#
546N/AOBJECTS = $(CPU_GCPU_OBJS:%=$(OBJS_DIR)/%)
546N/AOBJECTS += $(CPU_GCPU_XPV_OBJS:%=$(OBJS_DIR)/%)
546N/ALINTS = $(CPU_GCPU_OBJS:%.o=$(LINTS_DIR)/%.ln)
546N/AROOTMODULE = $(ROOT_PSM_CPU_DIR)/$(MODULE)
546N/A
546N/A#
546N/A# Include common rules.
546N/A#
546N/Ainclude $(UTSBASE)/i86xpv/Makefile.i86xpv
546N/Ainclude $(UTSBASE)/i86pc/cpu/Makefile.files
546N/A
546N/ACERRWARN += -_gcc=-Wno-parentheses
546N/ACERRWARN += -_gcc=-Wno-uninitialized
546N/ACERRWARN += -_gcc=-Wno-unused-variable
851N/A
851N/A#
851N/A# Our lint library has a different name from that of the module we build.
#
LINT_MODULE = generic_cpu
#
# Define targets
#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(LINT_MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include ../Makefile.targ