Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
222N/A#
222N/A# CDDL HEADER START
222N/A#
222N/A# The contents of this file are subject to the terms of the
911N/A# Common Development and Distribution License, Version 1.0 only
810N/A# (the "License"). You may not use this file except in compliance
222N/A# with the License.
222N/A#
222N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
222N/A# or http://www.opensolaris.org/os/licensing.
222N/A# See the License for the specific language governing permissions
222N/A# and limitations under the License.
222N/A#
222N/A# When distributing Covered Code, include this CDDL HEADER in each
222N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
222N/A# If applicable, add the following below this CDDL HEADER, with the
222N/A# fields enclosed by brackets "[]" replaced with your own identifying
222N/A# information: Portions Copyright [yyyy] [name of copyright owner]
222N/A#
222N/A# CDDL HEADER END
222N/A#
222N/A#
222N/A# uts/sun4u/mc-us3i/Makefile
222N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
222N/A# Use is subject to license terms.
222N/A#
222N/A#ident "%Z%%M% %I% %E% SMI"
222N/A#
222N/A# This makefile drives the production of the mc-us3i driver kernel
222N/A# module.
222N/A#
222N/A# sun4u implementation architecture dependent
222N/A#
222N/A
493N/A#
493N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
222N/A#
222N/AUTSBASE = ../..
837N/A
222N/A#
911N/A# Define the module and object file sets.
911N/A#
911N/AMODULE = mc-us3i
911N/AOBJECTS = $(MC_US3I_OBJS:%=$(OBJS_DIR)/%)
222N/ALINTS = $(MC_US3I_OBJS:%.o=$(LINTS_DIR)/%.ln)
222N/AROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
222N/A
222N/A#
222N/A# Include common rules.
222N/A#
222N/Ainclude $(UTSBASE)/sun4u/Makefile.sun4u
493N/A
837N/A#
222N/A# Define targets
222N/A#
837N/AALL_TARGET = $(BINARY)
837N/ALINT_TARGET = $(MODULE).lint
365N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
222N/A
355N/A#
355N/A# lint pass one enforcement
355N/A#
355N/ACFLAGS += $(CCVERBOSE)
837N/A
837N/A#
837N/A# Turn on doubleword alignment for 64 bit registers
837N/A#
837N/ACFLAGS += -dalign
222N/A
837N/A#
222N/A# Default build targets.
222N/A#
222N/A.KEEP_STATE:
837N/A
561N/Adef: $(DEF_DEPS)
365N/A
851N/Aall: $(ALL_DEPS)
837N/A
365N/Aclean: $(CLEAN_DEPS)
365N/A
365N/Aclobber: $(CLOBBER_DEPS)
365N/A
837N/Alint: $(LINT_DEPS)
561N/A
561N/Amodlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/sun4u/Makefile.targ