Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
404N/A#
404N/A# CDDL HEADER START
404N/A#
404N/A# The contents of this file are subject to the terms of the
404N/A# Common Development and Distribution License, Version 1.0 only
404N/A# (the "License"). You may not use this file except in compliance
404N/A# with the License.
404N/A#
404N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
404N/A# or http://www.opensolaris.org/os/licensing.
404N/A# See the License for the specific language governing permissions
404N/A# and limitations under the License.
404N/A#
404N/A# When distributing Covered Code, include this CDDL HEADER in each
404N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
404N/A# If applicable, add the following below this CDDL HEADER, with the
404N/A# fields enclosed by brackets "[]" replaced with your own identifying
404N/A# information: Portions Copyright [yyyy] [name of copyright owner]
404N/A#
404N/A# CDDL HEADER END
404N/A#
404N/A#
404N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
404N/A# Use is subject to license terms.
404N/A#
404N/A# uts/sun4u/starfire/pcipsy/Makefile
404N/A#
404N/A# This makefile drives the production of the PCI driver kernel module.
404N/A#
404N/A# sun4u implementation architecture dependent
404N/A#
404N/A
404N/A#
404N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
404N/A#
404N/AUTSBASE = ../../..
404N/A
404N/A#
404N/A# Define the module and object file sets.
404N/A#
404N/AMODULE = pcipsy
404N/AOBJECTS = $(PSYCHO_PCI_OBJS:%=$(OBJS_DIR)/%)
404N/ALINTS = $(PSYCHO_PCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
404N/AROOTMODULE = $(ROOT_STARFIRE_DRV_DIR)/$(MODULE)
404N/A
404N/A#
404N/A# Include common rules.
404N/A#
404N/Ainclude $(UTSBASE)/sun4u/starfire/Makefile.starfire
404N/A
404N/A#
404N/A# Define targets
404N/A#
404N/AALL_TARGET = $(BINARY)
404N/ALINT_TARGET = $(MODULE).lint
404N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# lint pass one enforcement
#
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-function
#
# Turn on doubleword alignment for 64 bit registers
#
CFLAGS += -dalign
#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/sun4u/starfire/Makefile.targ