17836SJohn.Forte@Sun.COM# CDDL HEADER START 27836SJohn.Forte@Sun.COM# 37836SJohn.Forte@Sun.COM# The contents of this file are subject to the terms of the 47836SJohn.Forte@Sun.COM# Common Development and Distribution License (the "License"). 57836SJohn.Forte@Sun.COM# You may not use this file except in compliance with the License. 67836SJohn.Forte@Sun.COM# 77836SJohn.Forte@Sun.COM# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 87836SJohn.Forte@Sun.COM# or http://www.opensolaris.org/os/licensing. 97836SJohn.Forte@Sun.COM# See the License for the specific language governing permissions 107836SJohn.Forte@Sun.COM# and limitations under the License. 117836SJohn.Forte@Sun.COM# 127836SJohn.Forte@Sun.COM# When distributing Covered Code, include this CDDL HEADER in each 137836SJohn.Forte@Sun.COM# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 147836SJohn.Forte@Sun.COM# If applicable, add the following below this CDDL HEADER, with the 157836SJohn.Forte@Sun.COM# fields enclosed by brackets "[]" replaced with your own identifying 167836SJohn.Forte@Sun.COM# information: Portions Copyright [yyyy] [name of copyright owner] 177836SJohn.Forte@Sun.COM# 187836SJohn.Forte@Sun.COM# CDDL HEADER END 197836SJohn.Forte@Sun.COM# 207836SJohn.Forte@Sun.COM# 21*8723SRamana.Srikanth@Sun.COM# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 227836SJohn.Forte@Sun.COM# Use is subject to license terms. 237836SJohn.Forte@Sun.COM# 247836SJohn.Forte@Sun.COM# uts/intel/rdcstub/Makefile 257836SJohn.Forte@Sun.COM# 267836SJohn.Forte@Sun.COM# This makefile drives the production of the rdcsrv kernel module 277836SJohn.Forte@Sun.COM# 287836SJohn.Forte@Sun.COM# intel implementation architecture dependent 297836SJohn.Forte@Sun.COM# 307836SJohn.Forte@Sun.COM 317836SJohn.Forte@Sun.COM# 327836SJohn.Forte@Sun.COM# Path to the base of the uts directory tree (usually /usr/src/uts). 337836SJohn.Forte@Sun.COM# 347836SJohn.Forte@Sun.COM# 357836SJohn.Forte@Sun.COMUTSBASE = ../.. 367836SJohn.Forte@Sun.COM 377836SJohn.Forte@Sun.COMARCHDIR:sh = cd ..; basename `pwd` 387836SJohn.Forte@Sun.COM 397836SJohn.Forte@Sun.COM# 407836SJohn.Forte@Sun.COM# Define the module and object file sets. 417836SJohn.Forte@Sun.COM# 427836SJohn.Forte@Sun.COMMODULE = rdcstub 437836SJohn.Forte@Sun.COMOBJECTS = $(RDCSTUB_OBJS:%=$(OBJS_DIR)/%) 447836SJohn.Forte@Sun.COMLINTS = $(RDCSTUB_OBJS:%.o=$(LINTS_DIR)/%.ln) 457836SJohn.Forte@Sun.COMINC_PATH += -I$(ROOT)/usr/include 467836SJohn.Forte@Sun.COMROOTMODULE = $(USR_DRV_DIR)/$(MODULE) 47*8723SRamana.Srikanth@Sun.COMROOTLINK = $(USR_MISC_DIR)/$(MODULE) 487836SJohn.Forte@Sun.COM 497836SJohn.Forte@Sun.COM# 507836SJohn.Forte@Sun.COM# Include common rules. 517836SJohn.Forte@Sun.COM# 527836SJohn.Forte@Sun.COMinclude ../Makefile.$(ARCHDIR) 537836SJohn.Forte@Sun.COMinclude $(UTSBASE)/common/avs/Makefile.com 547836SJohn.Forte@Sun.COM 557836SJohn.Forte@Sun.COM# 567836SJohn.Forte@Sun.COM# Define targets 577836SJohn.Forte@Sun.COM# 587836SJohn.Forte@Sun.COMALL_TARGET = $(BINARY) 597836SJohn.Forte@Sun.COMLINT_TARGET = $(MODULE).lint 60*8723SRamana.Srikanth@Sun.COMINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) 617836SJohn.Forte@Sun.COM 627836SJohn.Forte@Sun.COM# 637836SJohn.Forte@Sun.COM# lint pass one enforcement 647836SJohn.Forte@Sun.COM# 657836SJohn.Forte@Sun.COMCFLAGS += -v -D_SD_8K_BLKSIZE -D_SYSCALL32 667836SJohn.Forte@Sun.COMLINT_DEFS += -D_SD_8K_BLKSIZE -D_SYSCALL32 677836SJohn.Forte@Sun.COMLDFLAGS += -dy -N"strmod/rpcmod" 687836SJohn.Forte@Sun.COM 697836SJohn.Forte@Sun.COM.KEEP_STATE: 707836SJohn.Forte@Sun.COM 717836SJohn.Forte@Sun.COMdef: $(DEF_DEPS) 727836SJohn.Forte@Sun.COM 737836SJohn.Forte@Sun.COMall: $(ALL_DEPS) 747836SJohn.Forte@Sun.COM 757836SJohn.Forte@Sun.COMclean: $(CLEAN_DEPS) 767836SJohn.Forte@Sun.COM 777836SJohn.Forte@Sun.COMclobber: $(CLOBBER_DEPS) 787836SJohn.Forte@Sun.COM 797836SJohn.Forte@Sun.COMlint: $(LINT_DEPS) 807836SJohn.Forte@Sun.COM 817836SJohn.Forte@Sun.COMmodlintlib: $(MODLINTLIB_DEPS) 827836SJohn.Forte@Sun.COM 837836SJohn.Forte@Sun.COMclean.lint: $(CLEAN_LINT_DEPS) 847836SJohn.Forte@Sun.COM 857836SJohn.Forte@Sun.COMinstall: $(INSTALL_DEPS) 867836SJohn.Forte@Sun.COM 87*8723SRamana.Srikanth@Sun.COM$(ROOTLINK): $(USR_MISC_DIR) $(ROOTMODULE) 88*8723SRamana.Srikanth@Sun.COM -$(RM) $@; $(LN) $(ROOTMODULE) $@ 89*8723SRamana.Srikanth@Sun.COM 907836SJohn.Forte@Sun.COM# 917836SJohn.Forte@Sun.COM# Include common targets. 927836SJohn.Forte@Sun.COM# 937836SJohn.Forte@Sun.COMinclude ../Makefile.targ 94