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