Makefile revision 5cd376e8b7030707d78315f63adb4bb2b4d9963e
6322N/A#
6322N/A# CDDL HEADER START
6322N/A#
6322N/A# The contents of this file are subject to the terms of the
6322N/A# Common Development and Distribution License (the "License").
6322N/A# You may not use this file except in compliance with the License.
6322N/A#
6322N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6322N/A# or http://www.opensolaris.org/os/licensing.
6322N/A# See the License for the specific language governing permissions
6322N/A# and limitations under the License.
6322N/A#
6322N/A# When distributing Covered Code, include this CDDL HEADER in each
6322N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6322N/A# If applicable, add the following below this CDDL HEADER, with the
6322N/A# fields enclosed by brackets "[]" replaced with your own identifying
6322N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6322N/A#
6322N/A# CDDL HEADER END
6322N/A#
6322N/A#
6322N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
6322N/A# Use is subject to license terms.
6322N/A#
6322N/A# ident "%Z%%M% %I% %E% SMI"
6322N/A#
6322N/A# This makefile drives the production of the contract file system
6322N/A# kernel module.
6322N/A#
6322N/A# intel implementation architecture dependent
6322N/A#
6322N/A
6322N/A#
6322N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
6322N/A#
6322N/AUTSBASE = ../..
6322N/A
6322N/A#
6322N/A# Define the module and object file sets.
6322N/A#
6322N/AMODULE = ctfs
6322N/AOBJECTS = $(CTFS_OBJS:%=$(OBJS_DIR)/%)
6322N/ALINTS = $(CTFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
6322N/AROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
6322N/A
6322N/A#
6322N/A# Include common rules.
6322N/A#
6322N/Ainclude $(UTSBASE)/intel/Makefile.intel
6322N/A
6322N/A#
6322N/A# Define targets
6322N/A#
6322N/AALL_TARGET = $(BINARY)
6322N/ALINT_TARGET = $(MODULE).lint
6322N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
6322N/A
6322N/A#
6322N/A# For now, disable these lint checks; maintainers should endeavor
6322N/A# to investigate and remove these for maximum lint coverage.
6322N/A# Please do not carry these forward to new Makefiles.
6322N/A#
6322N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
6322N/A
6322N/A#
6322N/A# Default build targets.
6322N/A#
6322N/A.KEEP_STATE:
6322N/A
6322N/Adef: $(DEF_DEPS)
6322N/A
6322N/Aall: $(ALL_DEPS)
6322N/A
6322N/Aclean: $(CLEAN_DEPS)
6322N/A
6322N/Aclobber: $(CLOBBER_DEPS)
6322N/A
6322N/Alint: $(LINT_DEPS)
6322N/A
6322N/Amodlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ