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