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