Makefile revision 3678:c532e9896e3d
12116Sjkh# 22116Sjkh# CDDL HEADER START 32116Sjkh# 42116Sjkh# The contents of this file are subject to the terms of the 52116Sjkh# Common Development and Distribution License (the "License"). 62116Sjkh# You may not use this file except in compliance with the License. 72116Sjkh# 82116Sjkh# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 92116Sjkh# or http://www.opensolaris.org/os/licensing. 102116Sjkh# See the License for the specific language governing permissions 112116Sjkh# and limitations under the License. 122116Sjkh# 132116Sjkh# When distributing Covered Code, include this CDDL HEADER in each 142116Sjkh# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 152116Sjkh# If applicable, add the following below this CDDL HEADER, with the 162116Sjkh# fields enclosed by brackets "[]" replaced with your own identifying 172116Sjkh# information: Portions Copyright [yyyy] [name of copyright owner] 182116Sjkh# 192116Sjkh# CDDL HEADER END 202116Sjkh# 212116Sjkh# 222116Sjkh# uts/intel/hook/Makefile 232116Sjkh# 242116Sjkh# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 252116Sjkh# Use is subject to license terms. 262116Sjkh# 272116Sjkh#ident "%Z%%M% %I% %E% SMI" 282116Sjkh# 292116Sjkh# This makefile drives the production of the hook driver kernel module. 3050476Speter# 312116Sjkh# INTEL implementation architecture dependent 32121502Sdes# 332116Sjkh 342116Sjkh# 352116Sjkh# Path to the base of the uts directory tree (usually /usr/src/uts). 366794Sjkh# 37121502SdesUTSBASE = ../.. 38121502Sdes 396794Sjkh# 4084881Sbde# Define the module and object file sets. 4184881Sbde# 422116SjkhMODULE = hook 4384306SruOBJECTS = $(HOOK_OBJS:%=$(OBJS_DIR)/%) 442116SjkhLINTS = $(HOOK_OBJS:%.o=$(LINTS_DIR)/%.ln) 452116SjkhROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) 466794Sjkh 476794Sjkh 48121502Sdes# 49121502Sdes# Include common rules. 502116Sjkh# 512116Sjkhinclude $(UTSBASE)/intel/Makefile.intel 52121502Sdes 53121502Sdes# 54131421Sru# Define targets 55121502Sdes# 566794SjkhALL_TARGET = $(BINARY) 572116SjkhLINT_TARGET = $(MODULE).lint 582116SjkhINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) 592116Sjkh 60121502Sdes 61121502Sdes# 62131421Sru# Default build targets. 63121502Sdes# 646794Sjkh.KEEP_STATE: 652116Sjkh 662116Sjkhdef: $(DEF_DEPS) 672116Sjkh 682116Sjkhall: $(ALL_DEPS) $(SISCHECK_DEPS) 692116Sjkh 702116Sjkhclean: $(CLEAN_DEPS) $(SISCLEAN_DEPS) 7121907Swosch 7221907Swoschclobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS) 732116Sjkh 742116Sjkhlint: $(LINT_DEPS) 752116Sjkh 762116Sjkhmodlintlib: $(MODLINTLIB_DEPS) 7773088Sru 78121502Sdesclean.lint: $(CLEAN_LINT_DEPS) 79121502Sdes 80131421Sruinstall: $(INSTALL_DEPS) $(SISCHECK_DEPS) 81121502Sdes 82121502Sdes# 83121502Sdes# Include common targets. 84# 85include $(UTSBASE)/intel/Makefile.targ 86