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