Makefile revision 112f9fc1e25dcac8b980e034e763f96fb9736261
575N/A#
6110N/A# CDDL HEADER START
6110N/A#
6110N/A# The contents of this file are subject to the terms of the
6110N/A# Common Development and Distribution License (the "License").
6110N/A# You may not use this file except in compliance with the License.
6110N/A#
6110N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6110N/A# or http://www.opensolaris.org/os/licensing.
6983N/A# See the License for the specific language governing permissions
6110N/A# and limitations under the License.
6110N/A#
6110N/A# When distributing Covered Code, include this CDDL HEADER in each
6110N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6110N/A# If applicable, add the following below this CDDL HEADER, with the
6983N/A# fields enclosed by brackets "[]" replaced with your own identifying
6983N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6983N/A#
6983N/A# CDDL HEADER END
6110N/A#
6110N/A#
6110N/A# uts/sparc/hook/Makefile
6110N/A#
6110N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
6110N/A# Use is subject to license terms.
575N/A#
575N/A#ident "%Z%%M% %I% %E% SMI"
5612N/A#
6110N/A# This makefile drives the production of the hook driver kernel module.
6110N/A#
575N/A# SPARC architecture dependent
575N/A#
575N/A
575N/A#
5250N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
575N/A#
5250N/AUTSBASE = ../..
5612N/A
5250N/A#
5250N/A# Define the module and object file sets.
5250N/A#
5250N/AMODULE = hook
5250N/AOBJECTS = $(HOOK_OBJS:%=$(OBJS_DIR)/%)
5250N/ALINTS = $(HOOK_OBJS:%.o=$(LINTS_DIR)/%.ln)
5907N/AROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
5250N/A
5250N/A#
575N/A# Include common rules.
575N/A#
575N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
575N/A
575N/A#
575N/A# Define targets
575N/A#
575N/AALL_TARGET = $(BINARY)
575N/ALINT_TARGET = $(MODULE).lint
575N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
575N/A
5252N/A#
575N/A# lint pass one enforcement
575N/A#
575N/ACFLAGS += $(CCVERBOSE)
575N/A
575N/A#
575N/A# Default build targets.
5250N/A#
575N/A.KEEP_STATE:
575N/A
575N/Adef: $(DEF_DEPS)
1158N/A
575N/Aall: $(ALL_DEPS) $(SISCHECK_DEPS)
1158N/A
575N/Aclean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
1158N/A
1158N/Aclobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
575N/A
575N/Alint: $(LINT_DEPS)
575N/A
575N/Amodlintlib: $(MODLINTLIB_DEPS)
575N/A
575N/Aclean.lint: $(CLEAN_LINT_DEPS)
575N/A
5252N/Ainstall: $(INSTALL_DEPS) $(SISCHECK_DEPS)
5252N/A
575N/A#
575N/A# Include common targets.
575N/A#
575N/Ainclude $(UTSBASE)/sparc/Makefile.targ
575N/A