Makefile revision d85c7355a624618ba1de7b63e2a8824a763959f1
1516N/A#
181N/A# CDDL HEADER START
181N/A#
181N/A# The contents of this file are subject to the terms of the
181N/A# Common Development and Distribution License (the "License").
181N/A# You may not use this file except in compliance with the License.
181N/A#
181N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
181N/A# or http://www.opensolaris.org/os/licensing.
181N/A# See the License for the specific language governing permissions
181N/A# and limitations under the License.
181N/A#
181N/A# When distributing Covered Code, include this CDDL HEADER in each
181N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
181N/A# If applicable, add the following below this CDDL HEADER, with the
181N/A# fields enclosed by brackets "[]" replaced with your own identifying
181N/A# information: Portions Copyright [yyyy] [name of copyright owner]
181N/A#
181N/A# CDDL HEADER END
181N/A#
181N/A#
181N/A# uts/sparc/pxb_bcm/Makefile
926N/A#
2224N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
926N/A# Use is subject to license terms.
181N/A#
1715N/A#ident "%Z%%M% %I% %E% SMI"
1715N/A#
1715N/A# This makefile drives the production of the pxb_bcm driver kernel module
1715N/A#
1715N/A# sparc implementation architecture dependent
526N/A#
181N/A
181N/A#
430N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
430N/A#
430N/AUTSBASE = ../..
430N/A
526N/A#
526N/A# Define the module and object file sets.
526N/A#
526N/AMODULE = pxb_bcm
526N/AOBJECTS = $(PX_PCI_OBJS:%=$(OBJS_DIR)/%)
2224N/ALINTS = $(PX_PCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
526N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
526N/A
181N/A#
2958N/A# Include common rules.
2958N/A#
2958N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
181N/A
2958N/A#
181N/A# Define targets
2958N/A#
181N/AALL_TARGET = $(BINARY)
181N/ALINT_TARGET = $(MODULE).lint
181N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
181N/A
181N/A#
181N/A# Include sun4 specific headers files
926N/A#
416N/AINC_PATH += -I$(UTSBASE)/sun4
416N/A
416N/A#
416N/A# lint pass one enforcement
416N/A#
181N/ACFLAGS += $(CCVERBOSE)
181N/A
181N/A#
181N/A# Turn on doubleword alignment for 64 bit registers
181N/A#
181N/ACFLAGS += -dalign
181N/A
181N/A#
181N/A# Enable Broadcom workaround code and lint duplicate symbol avoidance hack
181N/A#
181N/ACPPFLAGS += -DBROADCOM_ADDR_LIMIT -DPX_MOD_NAME=pxb_bcm
181N/A
181N/A#
181N/A# Dependency
423N/A#
181N/ALDFLAGS += -dy -Nmisc/pcie -Nmisc/pcishpc -Nmisc/pcihp -Nmisc/pciehpc
181N/A
181N/A#
181N/A# Default build targets.
181N/A#
181N/A.KEEP_STATE:
181N/A
416N/Adef: $(DEF_DEPS)
933N/A
416N/Aall: $(ALL_DEPS)
416N/A
416N/Aclean: $(CLEAN_DEPS)
423N/A
423N/Aclobber: $(CLOBBER_DEPS)
416N/A
181N/Alint: $(LINT_DEPS)
181N/A
181N/Amodlintlib: $(MODLINTLIB_DEPS)
181N/A
181N/Aclean.lint: $(CLEAN_LINT_DEPS)
181N/A
181N/Ainstall: $(INSTALL_DEPS)
181N/A
181N/A#
926N/A# Include common targets.
926N/A#
926N/Ainclude $(UTSBASE)/sparc/Makefile.targ
926N/A