Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
2521N/A#
2521N/A# CDDL HEADER START
3998N/A#
2521N/A# The contents of this file are subject to the terms of the
5403N/A# Common Development and Distribution License, Version 1.0 only
2521N/A# (the "License"). You may not use this file except in compliance
2521N/A# with the License.
2521N/A#
2521N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2521N/A# or http://www.opensolaris.org/os/licensing.
2521N/A# See the License for the specific language governing permissions
2521N/A# and limitations under the License.
2521N/A#
2521N/A# When distributing Covered Code, include this CDDL HEADER in each
2521N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2521N/A# If applicable, add the following below this CDDL HEADER, with the
2521N/A# fields enclosed by brackets "[]" replaced with your own identifying
2521N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2521N/A#
2521N/A# CDDL HEADER END
6846N/A#
2521N/A#
2521N/A# uts/sun4u/simba/Makefile
3998N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
2892N/A# Use is subject to license terms.
2892N/A#
6846N/A
5403N/A#
2521N/A# This makefile drives the production of the pci driver kernel module
6846N/A#
6029N/A# sun4u implementation architecture dependent
5403N/A#
5403N/A
2892N/A#
2892N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
2892N/A#
5577N/AUTSBASE = ../..
3998N/A
5403N/A#
5403N/A# Define the module and object file sets.
5403N/A#
2892N/AMODULE = simba
5403N/AOBJECTS = $(SIMBA_PCI_OBJS:%=$(OBJS_DIR)/%)
6846N/ALINTS = $(SIMBA_PCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
3998N/AROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
2521N/A
6553N/A#
5403N/A# Include common rules.
2521N/A#
2521N/Ainclude $(UTSBASE)/sun4u/Makefile.sun4u
2521N/A
2521N/A#
2892N/A# Define targets
2521N/A#
2521N/AALL_TARGET = $(BINARY)
5403N/ALINT_TARGET = $(MODULE).lint
3998N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
5403N/A
5403N/A# Turn this on once compiler understands v9 in it's backend
5403N/A#INLINES += $(UTSBASE)/sun4u/io/pci.il
5403N/A
5577N/A#
5403N/A# lint pass one enforcement
5403N/A#
6846N/ACFLAGS += $(CCVERBOSE)
6846N/ACERRWARN += -_gcc=-Wno-switch
6553N/A
6553N/A#
6553N/A# Turn on doubleword alignment for 64 bit registers
2892N/A#
5403N/ACFLAGS += -dalign
5403N/A
3998N/A#
5403N/A# Default build targets.
5403N/A#
5403N/A.KEEP_STATE:
5403N/A
2959N/Adef: $(DEF_DEPS)
5403N/A
5403N/Aall: $(ALL_DEPS)
5403N/A
5403N/Aclean: $(CLEAN_DEPS)
2892N/A
2521N/Aclobber: $(CLOBBER_DEPS)
2521N/A
2521N/Alint: $(LINT_DEPS)
2521N/A
2521N/Amodlintlib: $(MODLINTLIB_DEPS)
2521N/A
2521N/Aclean.lint: $(CLEAN_LINT_DEPS)
2521N/A
2521N/Ainstall: $(INSTALL_DEPS)
2521N/A
2521N/A#
2892N/A# Include common targets.
2521N/A#
2521N/Ainclude $(UTSBASE)/sun4u/Makefile.targ
2521N/A