Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
4632N/A#
4632N/A# CDDL HEADER START
4632N/A#
4632N/A# The contents of this file are subject to the terms of the
4632N/A# Common Development and Distribution License (the "License").
4632N/A# You may not use this file except in compliance with the License.
4632N/A#
4632N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4632N/A# or http://www.opensolaris.org/os/licensing.
4632N/A# See the License for the specific language governing permissions
4632N/A# and limitations under the License.
4632N/A#
4632N/A# When distributing Covered Code, include this CDDL HEADER in each
4632N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4632N/A# If applicable, add the following below this CDDL HEADER, with the
4632N/A# fields enclosed by brackets "[]" replaced with your own identifying
4632N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4632N/A#
4632N/A# CDDL HEADER END
4632N/A#
4632N/A#
4632N/A# uts/intel/keysock/Makefile
4632N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
4632N/A# Use is subject to license terms.
4632N/A#
4632N/A#ident "%Z%%M% %I% %E% SMI"
4632N/A#
4632N/A# This makefile drives the production of the keysock driver
4632N/A# kernel module.
4632N/A#
4632N/A# intel implementation architecture dependent
4632N/A#
4632N/A
4632N/A#
4632N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
4632N/A#
4632N/AUTSBASE = ../..
4632N/A
4632N/A#
4632N/A# Define the module and object file sets.
4632N/A#
4632N/AMODULE = keysock
4632N/AOBJECTS = $(KEYSOCK_OBJS:%=$(OBJS_DIR)/%)
4632N/ALINTS = $(KEYSOCK_OBJS:%.o=$(LINTS_DIR)/%.ln)
4632N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
4632N/AROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE)
4632N/ACONF_SRCDIR = $(UTSBASE)/common/inet/ip
4632N/A
4632N/A#
4632N/A# Include common rules.
4632N/A#
4632N/Ainclude $(UTSBASE)/intel/Makefile.intel
4632N/A
4632N/A#
4632N/A# Define targets
4632N/A#
4632N/AALL_TARGET = $(BINARY) $(SRC_CONFFILE)
4632N/ALINT_TARGET = $(MODULE).lint
4632N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
4632N/A
4632N/A#
4632N/A# Linkage dependencies
4632N/A#
4632N/ALDFLAGS += -dy -Ndrv/ip
4632N/A
4632N/A#
4632N/A# For now, disable these lint checks; maintainers should endeavor
4632N/A# to investigate and remove these for maximum lint coverage.
4632N/A# Please do not carry these forward to new Makefiles.
4632N/A#
4632N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
4632N/ALINTTAGS += -erroff=E_STATIC_UNUSED
4632N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
4632N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
4632N/A
4632N/A#
4632N/A# Default build targets.
4632N/A#
4632N/A.KEEP_STATE:
4632N/A
4632N/Adef: $(DEF_DEPS)
4632N/A
4632N/Aall: $(ALL_DEPS)
4632N/A
4632N/Aclean: $(CLEAN_DEPS)
4632N/A
4632N/Aclobber: $(CLOBBER_DEPS)
4632N/A
4632N/Alint: $(LINT_DEPS)
4632N/A
4632N/Amodlintlib: $(MODLINTLIB_DEPS)
4632N/A
4632N/Aclean.lint: $(CLEAN_LINT_DEPS)
4632N/A
4632N/Ainstall: $(INSTALL_DEPS)
4632N/A
4632N/A$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
4632N/A -$(RM) $@; ln $(ROOTMODULE) $@
4632N/A
4632N/A#
4632N/A# Include common targets.
4632N/A#
4632N/Ainclude $(UTSBASE)/intel/Makefile.targ
4632N/A