12958Sdr146992# 22958Sdr146992# CDDL HEADER START 32958Sdr146992# 42958Sdr146992# The contents of this file are subject to the terms of the 52958Sdr146992# Common Development and Distribution License (the "License"). 62958Sdr146992# You may not use this file except in compliance with the License. 72958Sdr146992# 82958Sdr146992# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 92958Sdr146992# or http://www.opensolaris.org/os/licensing. 102958Sdr146992# See the License for the specific language governing permissions 112958Sdr146992# and limitations under the License. 122958Sdr146992# 132958Sdr146992# When distributing Covered Code, include this CDDL HEADER in each 142958Sdr146992# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 152958Sdr146992# If applicable, add the following below this CDDL HEADER, with the 162958Sdr146992# fields enclosed by brackets "[]" replaced with your own identifying 172958Sdr146992# information: Portions Copyright [yyyy] [name of copyright owner] 182958Sdr146992# 192958Sdr146992# CDDL HEADER END 202958Sdr146992# 212958Sdr146992# 222958Sdr146992# uts/sparc/hook/Makefile 232958Sdr146992# 243448Sdh155122# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 252958Sdr146992# Use is subject to license terms. 262958Sdr146992# 272958Sdr146992#ident "%Z%%M% %I% %E% SMI" 282958Sdr146992# 292958Sdr146992# This makefile drives the production of the hook driver kernel module. 302958Sdr146992# 312958Sdr146992# SPARC architecture dependent 322958Sdr146992# 332958Sdr146992 342958Sdr146992# 352958Sdr146992# Path to the base of the uts directory tree (usually /usr/src/uts). 362958Sdr146992# 372958Sdr146992UTSBASE = ../.. 382958Sdr146992 392958Sdr146992# 402958Sdr146992# Define the module and object file sets. 412958Sdr146992# 422958Sdr146992MODULE = hook 432958Sdr146992OBJECTS = $(HOOK_OBJS:%=$(OBJS_DIR)/%) 442958Sdr146992LINTS = $(HOOK_OBJS:%.o=$(LINTS_DIR)/%.ln) 452958Sdr146992ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) 462958Sdr146992 472958Sdr146992# 482958Sdr146992# Include common rules. 492958Sdr146992# 502958Sdr146992include $(UTSBASE)/sparc/Makefile.sparc 512958Sdr146992 522958Sdr146992# 532958Sdr146992# Define targets 542958Sdr146992# 552958Sdr146992ALL_TARGET = $(BINARY) 562958Sdr146992LINT_TARGET = $(MODULE).lint 572958Sdr146992INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) 582958Sdr146992 592958Sdr146992# 602958Sdr146992# lint pass one enforcement 612958Sdr146992# 622958Sdr146992CFLAGS += $(CCVERBOSE) 632958Sdr146992 642958Sdr146992# 652958Sdr146992# Default build targets. 662958Sdr146992# 672958Sdr146992.KEEP_STATE: 682958Sdr146992 692958Sdr146992def: $(DEF_DEPS) 702958Sdr146992 71*3678Syz155240all: $(ALL_DEPS) $(SISCHECK_DEPS) 722958Sdr146992 73*3678Syz155240clean: $(CLEAN_DEPS) $(SISCLEAN_DEPS) 742958Sdr146992 75*3678Syz155240clobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS) 762958Sdr146992 772958Sdr146992lint: $(LINT_DEPS) 782958Sdr146992 792958Sdr146992modlintlib: $(MODLINTLIB_DEPS) 802958Sdr146992 812958Sdr146992clean.lint: $(CLEAN_LINT_DEPS) 822958Sdr146992 83*3678Syz155240install: $(INSTALL_DEPS) $(SISCHECK_DEPS) 843448Sdh155122 852958Sdr146992# 862958Sdr146992# Include common targets. 872958Sdr146992# 882958Sdr146992include $(UTSBASE)/sparc/Makefile.targ 89