1936b7af6Sjw# 2936b7af6Sjw# CDDL HEADER START 3936b7af6Sjw# 4936b7af6Sjw# The contents of this file are subject to the terms of the 5936b7af6Sjw# Common Development and Distribution License (the "License"). 6936b7af6Sjw# You may not use this file except in compliance with the License. 7936b7af6Sjw# 8936b7af6Sjw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9936b7af6Sjw# or http://www.opensolaris.org/os/licensing. 10936b7af6Sjw# See the License for the specific language governing permissions 11936b7af6Sjw# and limitations under the License. 12936b7af6Sjw# 13936b7af6Sjw# When distributing Covered Code, include this CDDL HEADER in each 14936b7af6Sjw# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15936b7af6Sjw# If applicable, add the following below this CDDL HEADER, with the 16936b7af6Sjw# fields enclosed by brackets "[]" replaced with your own identifying 17936b7af6Sjw# information: Portions Copyright [yyyy] [name of copyright owner] 18936b7af6Sjw# 19936b7af6Sjw# CDDL HEADER END 20936b7af6Sjw# 21936b7af6Sjw 22936b7af6Sjw# 23936b7af6Sjw# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 24936b7af6Sjw# Use is subject to license terms. 25936b7af6Sjw# 26936b7af6Sjw 27936b7af6Sjw# 28936b7af6Sjw# This makefile drives the production of the smp driver. 29936b7af6Sjw# intel architecture dependent 30936b7af6Sjw# 31936b7af6Sjw 32936b7af6Sjw# 33936b7af6Sjw# Paths to the base of the uts directory trees 34936b7af6Sjw# 35936b7af6SjwUTSBASE = ../.. 36936b7af6Sjw 37936b7af6Sjw# 38936b7af6Sjw# Define the module and object file sets. 39936b7af6Sjw# 40936b7af6SjwMODULE = smp 41936b7af6SjwOBJECTS = $(SMP_OBJS:%=$(OBJS_DIR)/%) 42936b7af6SjwROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 43936b7af6SjwCONF_SRCDIR = $(UTSBASE)/common/io/scsi/targets 44936b7af6Sjw 45936b7af6Sjw# 46936b7af6Sjw# Include common rules. 47936b7af6Sjw# 48936b7af6Sjwinclude $(UTSBASE)/intel/Makefile.intel 49936b7af6Sjw 50936b7af6Sjw# 51936b7af6Sjw# Define targets. 52936b7af6Sjw# 53936b7af6SjwALL_TARGET = $(BINARY) $(SRC_CONFILE) 54936b7af6SjwINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 55936b7af6Sjw 56936b7af6Sjw# 57936b7af6Sjw# Note dependancy on misc/scsi. 58936b7af6Sjw# 59*82d0151aSRichard LoweLDFLAGS += -Nmisc/scsi 60936b7af6Sjw 61936b7af6Sjw# 62936b7af6Sjw# Default build targets. 63936b7af6Sjw# 64936b7af6Sjw.KEEP_STATE: 65936b7af6Sjw 66936b7af6Sjwdef: $(DEF_DEPS) 67936b7af6Sjw 68936b7af6Sjwall: $(ALL_DEPS) 69936b7af6Sjw 70936b7af6Sjwclean: $(CLEAN_DEPS) 71936b7af6Sjw 72936b7af6Sjwclobber: $(CLOBBER_DEPS) 73936b7af6Sjw 74936b7af6Sjwinstall: $(INSTALL_DEPS) 75936b7af6Sjw 76936b7af6Sjw# 77936b7af6Sjw# Include common targets. 78936b7af6Sjw# 79936b7af6Sjwinclude $(UTSBASE)/intel/Makefile.targ 80