Makefile revision 03831d35f7499c87d51205817c93e9a8d42c4bae
72N/A#
72N/A# CDDL HEADER START
72N/A#
72N/A# The contents of this file are subject to the terms of the
72N/A# Common Development and Distribution License (the "License").
72N/A# You may not use this file except in compliance with the License.
72N/A#
72N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
72N/A# or http://www.opensolaris.org/os/licensing.
72N/A# See the License for the specific language governing permissions
72N/A# and limitations under the License.
72N/A#
72N/A# When distributing Covered Code, include this CDDL HEADER in each
72N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
72N/A# If applicable, add the following below this CDDL HEADER, with the
72N/A# fields enclosed by brackets "[]" replaced with your own identifying
72N/A# information: Portions Copyright [yyyy] [name of copyright owner]
72N/A#
72N/A# CDDL HEADER END
72N/A#
3996N/A
72N/A#
72N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
72N/A# Use is subject to license terms.
72N/A#
2540N/A#pragma ident "%Z%%M% %I% %E% SMI"
618N/A#
72N/A# This makefile drives the production of the serengeti sbbc
72N/A# kernel module.
844N/A#
2540N/A
72N/A#
1273N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
72N/A#
3661N/AUTSBASE = ../../..
3661N/A
3996N/A#
3996N/A# Define the module and object file sets.
3996N/A#
72N/A# Note that this module is built as sgsbbc, but then
72N/A# installed as sbbc. This is to minimise the changes
72N/A# required for 'make lint', etc.
72N/A#
2540N/AMODULE = sgsbbc
2540N/AOBJECTS = $(SGSBBC_OBJS:%=$(OBJS_DIR)/%)
2540N/ALINTS = $(SGSBBC_OBJS:%.o=$(LINTS_DIR)/%.ln)
574N/AROOTMODULE = $(ROOT_SERENGETI_DRV_DIR)/$(MODULE)
574N/A
574N/A#
72N/A# Include common rules.
72N/A#
72N/Ainclude $(UTSBASE)/sun4u/serengeti/Makefile.serengeti
72N/A
75N/A#
72N/A# Define targets
2540N/A#
2540N/AALL_TARGET = $(BINARY)
2540N/ALINT_TARGET = $(MODULE).lint
72N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
2540N/A
72N/A#
2540N/A# Overrides
83N/A#
72N/AALL_BUILDS = $(ALL_BUILDSONLY64)
3996N/ADEF_BUILDS = $(DEF_BUILDSONLY64)
3996N/ACLEANLINTFILES += $(LINT32_FILES)
3996N/A
4176N/A#
3996N/A# lint pass one enforcement
3996N/A#
CFLAGS += $(CCVERBOSE)
#
# 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/serengeti/Makefile.targ