Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
70N/A#
70N/A# CDDL HEADER START
1417N/A#
70N/A# The contents of this file are subject to the terms of the
70N/A# Common Development and Distribution License (the "License").
919N/A# You may not use this file except in compliance with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# uts/sparc/pxb_plx/Makefile
70N/A#
70N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
70N/A# Use is subject to license terms.
70N/A#
851N/A#ident "%Z%%M% %I% %E% SMI"
851N/A#
851N/A# This makefile drives the production of the pxb_plx driver kernel module
851N/A#
851N/A# sparc implementation architecture dependent
98N/A#
551N/A
321N/A#
321N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
550N/A#
550N/AUTSBASE = ../..
213N/A
649N/A#
304N/A# Define the module and object file sets.
530N/A#
425N/AMODULE = pxb_plx
425N/AOBJECTS = $(PX_PCI_OBJS:%=$(OBJS_DIR)/%)
325N/ALINTS = $(PX_PCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
493N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
536N/A
456N/A#
320N/A# Include common rules.
332N/A#
501N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
231N/A
550N/A#
347N/A# Define targets
532N/A#
463N/AALL_TARGET = $(BINARY)
493N/ALINT_TARGET = $(MODULE).lint
425N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
493N/A
791N/A#
472N/A# Include sun4 specific headers files
324N/A#
347N/AINC_PATH += -I$(UTSBASE)/sun4
310N/A
316N/A#
474N/A# lint pass one enforcement
290N/A#
332N/ACFLAGS += $(CCVERBOSE)
464N/A
332N/A#
509N/A# Turn on doubleword alignment for 64 bit registers
835N/A#
835N/ACFLAGS += -dalign
332N/A
210N/A#
493N/A# Enable PLX workaround code and lint duplicate symbol
792N/A# avoidance hack
128N/A#
414N/ACPPFLAGS += -DPX_PLX
484N/A
326N/A#
493N/A# Dependency
335N/A#
493N/ALDFLAGS += -dy -Nmisc/pcie -Nmisc/pcishpc -Nmisc/pcihp -Nmisc/pciehpc
493N/A
729N/A#
425N/A# For now, disable these lint checks; maintainers should endeavor
370N/A# to investigate and remove these for maximum lint coverage.
70N/A# Please do not carry these forward to new Makefiles.
400N/A#
294N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
435N/ALINTTAGS += -erroff=E_STATIC_UNUSED
800N/A
98N/A#
434N/A# Default build targets.
505N/A#
277N/A.KEEP_STATE:
433N/A
546N/Adef: $(DEF_DEPS)
356N/A
289N/Aall: $(ALL_DEPS)
326N/A
439N/Aclean: $(CLEAN_DEPS)
501N/A
469N/Aclobber: $(CLOBBER_DEPS)
290N/A
542N/Alint: $(LINT_DEPS)
424N/A
286N/Amodlintlib: $(MODLINTLIB_DEPS)
475N/A
295N/Aclean.lint: $(CLEAN_LINT_DEPS)
70N/A
299N/Ainstall: $(INSTALL_DEPS)
262N/A
539N/A#
277N/A# Include common targets.
332N/A#
332N/Ainclude $(UTSBASE)/sparc/Makefile.targ
493N/A