Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
26N/A#
26N/A# CDDL HEADER START
26N/A#
26N/A# The contents of this file are subject to the terms of the
26N/A# Common Development and Distribution License, Version 1.0 only
26N/A# (the "License"). You may not use this file except in compliance
26N/A# with the License.
26N/A#
26N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
26N/A# or http://www.opensolaris.org/os/licensing.
26N/A# See the License for the specific language governing permissions
26N/A# and limitations under the License.
26N/A#
26N/A# When distributing Covered Code, include this CDDL HEADER in each
26N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
26N/A# If applicable, add the following below this CDDL HEADER, with the
26N/A# fields enclosed by brackets "[]" replaced with your own identifying
26N/A# information: Portions Copyright [yyyy] [name of copyright owner]
26N/A#
26N/A# CDDL HEADER END
26N/A#
26N/A#
26N/A# uts/sun4u/pmubus/Makefile
26N/A#
26N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
26N/A# Use is subject to license terms.
26N/A#
26N/A#pragma ident "%Z%%M% %I% %E% SMI"
26N/A
26N/A#
26N/A# This makefile drives the production of the pmubus driver kernel module
26N/A#
26N/A# sun4u implementation architecture dependent
26N/A#
26N/A
26N/A#
26N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
26N/A#
26N/AUTSBASE = ../..
26N/A
26N/A#
26N/A# Define the module and object file sets.
26N/A#
26N/AMODULE = pmubus
OBJECTS = $(PMUBUS_OBJS:%=$(OBJS_DIR)/%)
LINTS = $(PMUBUS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
#
# Include common rules.
#
include $(UTSBASE)/sun4u/Makefile.sun4u
#
# Define targets
#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# lint pass one enforcement
#
CFLAGS += $(CCVERBOSE)
#
# Turn on doubleword alignment for 64-bit registers
#
CFLAGS += -dalign
CPPFLAGS += -I$(UTSBASE)/sun4u
#
# 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/Makefile.targ