Makefile revision bbaa8b60dd95d714741fc474adad3cf710ef4efd
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# CDDL HEADER START
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# The contents of this file are subject to the terms of the
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# Common Development and Distribution License (the "License").
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# You may not use this file except in compliance with the License.
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# or http://www.opensolaris.org/os/licensing.
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# See the License for the specific language governing permissions
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# and limitations under the License.
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# When distributing Covered Code, include this CDDL HEADER in each
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# If applicable, add the following below this CDDL HEADER, with the
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# fields enclosed by brackets "[]" replaced with your own identifying
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# information: Portions Copyright [yyyy] [name of copyright owner]
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# Use is subject to license terms.
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# Copyright (c) 2012 by Delphix. All rights reserved.
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# This makefile drives the production of the network lock manager server
79e363b3c1097ebc9fab1674d83bcedd0da53827nicolas.capponi@forgerock.com# specific kernel module.
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# intel implementation architecture dependent
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# Path to the base of the uts directory tree (usually /usr/src/uts).
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# Define the module and object file sets.
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.comOBJECTS = $(KLMMOD_OBJS:%=$(OBJS_DIR)/%)
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.comLINTS = $(KLMMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.comROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# Include common rules.
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.cominclude $(UTSBASE)/intel/Makefile.intel
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.comINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.comLDFLAGS += -dy -Nstrmod/rpcmod -Nfs/nfs
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.comLDFLAGS += -M $(UTSBASE)/common/klm/mapfile-mod
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# Code generated by rpcgen triggers the -Wswitch warning.
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# Default build targets.
467ab7d73d185d5a20da474c3b8e202ea8432f79nicolas.capponi@forgerock.com# Include common targets.