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