1911106dfSjm199354# 2911106dfSjm199354# CDDL HEADER START 3911106dfSjm199354# 4911106dfSjm199354# The contents of this file are subject to the terms of the 5911106dfSjm199354# Common Development and Distribution License (the "License"). 6911106dfSjm199354# You may not use this file except in compliance with the License. 7911106dfSjm199354# 8911106dfSjm199354# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9911106dfSjm199354# or http://www.opensolaris.org/os/licensing. 10911106dfSjm199354# See the License for the specific language governing permissions 11911106dfSjm199354# and limitations under the License. 12911106dfSjm199354# 13911106dfSjm199354# When distributing Covered Code, include this CDDL HEADER in each 14911106dfSjm199354# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15911106dfSjm199354# If applicable, add the following below this CDDL HEADER, with the 16911106dfSjm199354# fields enclosed by brackets "[]" replaced with your own identifying 17911106dfSjm199354# information: Portions Copyright [yyyy] [name of copyright owner] 18911106dfSjm199354# 19911106dfSjm199354# CDDL HEADER END 20911106dfSjm199354# 21911106dfSjm199354# 22911106dfSjm199354# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23911106dfSjm199354# Use is subject to license terms. 24911106dfSjm199354# 250aaef2f5SRichard Lowe 26911106dfSjm199354# 27911106dfSjm199354# This makefile drives the production of the vscan service 28911106dfSjm199354# kernel module. 29911106dfSjm199354# 30911106dfSjm199354# intel implementation architecture dependent 31911106dfSjm199354# 32911106dfSjm199354 33911106dfSjm199354# 34911106dfSjm199354# Path to the base of the uts directory tree (usually /usr/src/uts). 35911106dfSjm199354# 36911106dfSjm199354UTSBASE = ../.. 37911106dfSjm199354 38911106dfSjm199354# 39911106dfSjm199354# Define the module and object file sets. 40911106dfSjm199354# 41911106dfSjm199354MODULE = vscan 42911106dfSjm199354OBJECTS = $(VSCAN_OBJS:%=$(OBJS_DIR)/%) 43911106dfSjm199354ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 44911106dfSjm199354CONF_SRCDIR = $(UTSBASE)/common/io/vscan 45911106dfSjm199354 46911106dfSjm199354# 47911106dfSjm199354# Include common rules. 48911106dfSjm199354# 49911106dfSjm199354include $(UTSBASE)/intel/Makefile.intel 50911106dfSjm199354 51911106dfSjm199354# 52911106dfSjm199354# Module dependencies 53911106dfSjm199354# 54*82d0151aSRichard LoweLDFLAGS += -Nfs/sockfs -Nsys/doorfs 55911106dfSjm199354 56911106dfSjm199354# 57911106dfSjm199354# Define targets 58911106dfSjm199354# 59911106dfSjm199354ALL_TARGET = $(BINARY) 60911106dfSjm199354INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE) 61911106dfSjm199354 62911106dfSjm199354# 63911106dfSjm199354# Default build targets. 64911106dfSjm199354# 65911106dfSjm199354.KEEP_STATE: 66911106dfSjm199354 67911106dfSjm199354def: $(DEF_DEPS) 68911106dfSjm199354 69911106dfSjm199354all: $(ALL_DEPS) 70911106dfSjm199354 71911106dfSjm199354clean: $(CLEAN_DEPS) 72911106dfSjm199354 73911106dfSjm199354clobber: $(CLOBBER_DEPS) 74911106dfSjm199354 75911106dfSjm199354install: $(INSTALL_DEPS) 76911106dfSjm199354 77911106dfSjm199354$(ROOTLINK): $(ROOT_SYS_DIR) $(ROOTMODULE) 78911106dfSjm199354 -$(RM) $@; ln $(ROOTMODULE) $@ 79911106dfSjm199354 80911106dfSjm199354# 81911106dfSjm199354# Include common targets. 82911106dfSjm199354# 83911106dfSjm199354include $(UTSBASE)/intel/Makefile.targ 84