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