Makefile revision a1e9eea083a8f257157edb8a1efb5bbd300eb4bf
168N/A# CDDL HEADER START
168N/A#
168N/A# The contents of this file are subject to the terms of the
168N/A# Common Development and Distribution License (the "License").
168N/A# You may not use this file except in compliance with the License.
168N/A#
168N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
168N/A# or http://www.opensolaris.org/os/licensing.
168N/A# See the License for the specific language governing permissions
168N/A# and limitations under the License.
168N/A#
168N/A# When distributing Covered Code, include this CDDL HEADER in each
168N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
168N/A# If applicable, add the following below this CDDL HEADER, with the
168N/A# fields enclosed by brackets "[]" replaced with your own identifying
168N/A# information: Portions Copyright [yyyy] [name of copyright owner]
168N/A#
168N/A# CDDL HEADER END
168N/A#
168N/A#
168N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
168N/A# Use is subject to license terms.
844N/A#
168N/A# uts/intel/rdcstub/Makefile
168N/A#
168N/A# This makefile drives the production of the rdcsrv kernel module
168N/A#
168N/A# intel implementation architecture dependent
168N/A#
168N/A
168N/A#
168N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
168N/A#
586N/A#
618N/AUTSBASE = ../..
168N/A
168N/AARCHDIR:sh = cd ..; basename `pwd`
844N/A
844N/A#
168N/A# Define the module and object file sets.
1258N/A#
168N/AMODULE = rdcstub
168N/AOBJECTS = $(RDCSTUB_OBJS:%=$(OBJS_DIR)/%)
168N/ALINTS = $(RDCSTUB_OBJS:%.o=$(LINTS_DIR)/%.ln)
168N/AINC_PATH += -I$(ROOT)/usr/include
168N/AROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
519N/AROOTLINK = $(USR_MISC_DIR)/$(MODULE)
519N/A
168N/A#
168N/A# Include common rules.
168N/A#
168N/Ainclude ../Makefile.$(ARCHDIR)
168N/Ainclude $(UTSBASE)/common/avs/Makefile.com
168N/A
168N/A#
168N/A# Define targets
168N/A#
168N/AALL_TARGET = $(BINARY)
168N/ALINT_TARGET = $(MODULE).lint
168N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
168N/A
168N/A#
168N/A# lint pass one enforcement
501N/A#
168N/ACFLAGS += -v -D_SD_8K_BLKSIZE -D_SYSCALL32
168N/ALINT_DEFS += -D_SD_8K_BLKSIZE -D_SYSCALL32
168N/ALDFLAGS += -dy -N"strmod/rpcmod"
168N/A
168N/A.KEEP_STATE:
485N/A
485N/Adef: $(DEF_DEPS)
485N/A
485N/Aall: $(ALL_DEPS)
485N/A
168N/Aclean: $(CLEAN_DEPS)
206N/A
168N/Aclobber: $(CLOBBER_DEPS)
168N/A
168N/Alint: $(LINT_DEPS)
168N/A
577N/Amodlintlib: $(MODLINTLIB_DEPS)
277N/A
383N/Aclean.lint: $(CLEAN_LINT_DEPS)
168N/A
168N/Ainstall: $(INSTALL_DEPS)
168N/A
168N/A$(ROOTLINK): $(USR_MISC_DIR) $(ROOTMODULE)
168N/A -$(RM) $@; $(LN) $(ROOTMODULE) $@
168N/A
168N/A#
168N/A# Include common targets.
168N/A#
168N/Ainclude ../Makefile.targ
168N/A