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