Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
2d0611ffc9f91c5fc2ddccb93f9a3d17791ae650takashi#
2d0611ffc9f91c5fc2ddccb93f9a3d17791ae650takashi# CDDL HEADER START
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd#
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd# The contents of this file are subject to the terms of the
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd# Common Development and Distribution License (the "License").
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd# You may not use this file except in compliance with the License.
d05d0eb4ae6d2a5e513fc3bf2555ce33da416634nd#
d05d0eb4ae6d2a5e513fc3bf2555ce33da416634nd# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d05d0eb4ae6d2a5e513fc3bf2555ce33da416634nd# or http://www.opensolaris.org/os/licensing.
d05d0eb4ae6d2a5e513fc3bf2555ce33da416634nd# See the License for the specific language governing permissions
6ae232055d4d8a97267517c5e50074c2c819941and# and limitations under the License.
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd#
6ae232055d4d8a97267517c5e50074c2c819941and# When distributing Covered Code, include this CDDL HEADER in each
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd# If applicable, add the following below this CDDL HEADER, with the
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd# fields enclosed by brackets "[]" replaced with your own identifying
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd# information: Portions Copyright [yyyy] [name of copyright owner]
4b3a8afbfcea8b265d179a122bf40dfedd1ce280takashi#
4b3a8afbfcea8b265d179a122bf40dfedd1ce280takashi# CDDL HEADER END
4b3a8afbfcea8b265d179a122bf40dfedd1ce280takashi#
4b3a8afbfcea8b265d179a122bf40dfedd1ce280takashi#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
#
# This makefile drives the production of the kgssapi kernel module.
#
# sparc implementation architecture dependent
#
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
#
# Define the module and object file sets.
#
MODULE = kgssapi
OBJECTS = $(KGSSD_OBJS:%=$(OBJS_DIR)/%)
OBJECTS += $(KGSSD_DERIVED_OBJS:%=$(OBJS_DIR)/%)
LINTS = $(KGSSD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
# Include common rules.
#
include $(UTSBASE)/sparc/Makefile.sparc
#
# Define targets
#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_KGSS_DIR)
#
# lint pass one enforcement
#
CFLAGS += $(CCVERBOSE)
#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
#
LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
#
# 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)/sparc/Makefile.targ