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