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# 217836SJohn.Forte@Sun.COM# Copyright 2008 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/nskern/Makefile 257836SJohn.Forte@Sun.COM# 267836SJohn.Forte@Sun.COM# This makefile drives the production of the nskern 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 = nskern 437836SJohn.Forte@Sun.COMOBJECTS = $(NSKERN_OBJS:%=$(OBJS_DIR)/%) 447836SJohn.Forte@Sun.COMLINTS = $(NSKERN_OBJS:%.o=$(LINTS_DIR)/%.ln) 457836SJohn.Forte@Sun.COMROOTMODULE = $(USR_DRV_DIR)/$(MODULE) 467836SJohn.Forte@Sun.COMINC_PATH += -I$(UTSBASE)/common/avs -I./$(OBJS_DIR) 477836SJohn.Forte@Sun.COMINC_PATH += -I$(ROOT)/usr/include 487836SJohn.Forte@Sun.COMCONF_SRCDIR = $(UTSBASE)/common/avs/ns/solaris 497836SJohn.Forte@Sun.COM 507836SJohn.Forte@Sun.COM# 517836SJohn.Forte@Sun.COM# Include common rules. 527836SJohn.Forte@Sun.COM# 537836SJohn.Forte@Sun.COMinclude ../Makefile.$(ARCHDIR) 547836SJohn.Forte@Sun.COMinclude $(UTSBASE)/common/avs/Makefile.com 557836SJohn.Forte@Sun.COM 567836SJohn.Forte@Sun.COM# 577836SJohn.Forte@Sun.COM# Define targets 587836SJohn.Forte@Sun.COM# 597836SJohn.Forte@Sun.COMALL_TARGET = $(BINARY) $(SRC_CONFILE) 607836SJohn.Forte@Sun.COMLINT_TARGET = $(MODULE).lint 617836SJohn.Forte@Sun.COMINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 62*7852SJohn.Forte@Sun.COMAS_INC_PATH += -I$(DSF_DIR)/$(OBJS_DIR) 63*7852SJohn.Forte@Sun.COM 64*7852SJohn.Forte@Sun.COMASSYM_H = $(DSF_DIR)/$(OBJS_DIR)/assym.h 657836SJohn.Forte@Sun.COM 667836SJohn.Forte@Sun.COM# 677836SJohn.Forte@Sun.COM# lint pass one enforcement 687836SJohn.Forte@Sun.COM# 697836SJohn.Forte@Sun.COMCFLAGS += -v 707836SJohn.Forte@Sun.COM 717836SJohn.Forte@Sun.COM.KEEP_STATE: 727836SJohn.Forte@Sun.COM 73*7852SJohn.Forte@Sun.COM$(OBJS_DIR)/nsc_asm.o: nsc_asm.s 747836SJohn.Forte@Sun.COM 75*7852SJohn.Forte@Sun.COM$(BINARY): $(ASSYM_H) 767836SJohn.Forte@Sun.COM 777836SJohn.Forte@Sun.COMdef: $(DEF_DEPS) 787836SJohn.Forte@Sun.COM 797836SJohn.Forte@Sun.COMall: $(ALL_DEPS) 807836SJohn.Forte@Sun.COM 817836SJohn.Forte@Sun.COMclean: $(CLEAN_DEPS) 827836SJohn.Forte@Sun.COM 837836SJohn.Forte@Sun.COMclobber: $(CLOBBER_DEPS) 847836SJohn.Forte@Sun.COM 857836SJohn.Forte@Sun.COMlint: $(LINT_DEPS) 867836SJohn.Forte@Sun.COM 877836SJohn.Forte@Sun.COMmodlintlib: $(MODLINTLIB_DEPS) 887836SJohn.Forte@Sun.COM 897836SJohn.Forte@Sun.COMclean.lint: $(CLEAN_LINT_DEPS) 907836SJohn.Forte@Sun.COM 91*7852SJohn.Forte@Sun.COM 927836SJohn.Forte@Sun.COMinstall: $(INSTALL_DEPS) 937836SJohn.Forte@Sun.COM 947836SJohn.Forte@Sun.COM# 957836SJohn.Forte@Sun.COM# Include common targets. 967836SJohn.Forte@Sun.COM# 977836SJohn.Forte@Sun.COMinclude ../Makefile.targ 98