Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
331N/A#
331N/A# CDDL HEADER START
331N/A#
331N/A# The contents of this file are subject to the terms of the
331N/A# Common Development and Distribution License (the "License").
331N/A# You may not use this file except in compliance with the License.
331N/A#
331N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
331N/A# or http://www.opensolaris.org/os/licensing.
331N/A# See the License for the specific language governing permissions
331N/A# and limitations under the License.
331N/A#
331N/A# When distributing Covered Code, include this CDDL HEADER in each
331N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
331N/A# If applicable, add the following below this CDDL HEADER, with the
331N/A# fields enclosed by brackets "[]" replaced with your own identifying
331N/A# information: Portions Copyright [yyyy] [name of copyright owner]
331N/A#
331N/A# CDDL HEADER END
331N/A#
331N/A#
331N/A# uts/intel/kgssapi/Makefile
7157N/A#
331N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
331N/A# Use is subject to license terms.
331N/A# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
331N/A#
331N/A# This makefile drives the production of the kgssapi kernel module.
7157N/A#
618N/A# intel implementation architecture dependent
331N/A#
331N/A#
844N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
7157N/A#
618N/AUTSBASE = ../..
1273N/A
331N/A#
7157N/A# Define the module and object file sets.
3661N/A#
7157N/AMODULE = kgssapi
331N/AOBJECTS = $(KGSSD_OBJS:%=$(OBJS_DIR)/%)
3996N/AOBJECTS += $(KGSSD_DERIVED_OBJS:%=$(OBJS_DIR)/%)
3996N/ALINTS = $(KGSSD_OBJS:%.o=$(LINTS_DIR)/%.ln)
3996N/AROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
331N/A#
331N/A# Include common rules.
331N/A#
331N/Ainclude $(UTSBASE)/intel/Makefile.intel
331N/A
331N/A#
331N/A# Define targets
7157N/A#
331N/AALL_TARGET = $(BINARY)
331N/ALINT_TARGET = $(MODULE).lint
331N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_KGSS_DIR)
331N/A
331N/A#
331N/A# Define dependencies on rpcmod, rpcsec, and tlimod
2643N/A#
2643N/ALDFLAGS += -dy -N strmod/rpcmod -N misc/rpcsec -N misc/tlimod
2643N/A
2643N/A#
2643N/A# For now, disable these lint checks; maintainers should endeavor
331N/A# to investigate and remove these for maximum lint coverage.
331N/A# Please do not carry these forward to new Makefiles.
331N/A#
331N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
331N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
331N/A
331N/ACERRWARN += -_gcc=-Wno-unused-variable
331N/ACERRWARN += -_gcc=-Wno-uninitialized
331N/A
3996N/A#
3996N/A# Default build targets.
3996N/A#
3996N/A.KEEP_STATE:
3996N/A
3996N/Adef: $(DEF_DEPS)
3996N/A
3996N/Aall: $(ALL_DEPS)
3996N/A
3996N/Aclean: $(CLEAN_DEPS)
3996N/A
3996N/Aclobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ