Makefile revision 89b43686db1fe9681d80a7cf5662730cb9378cae
0N/A#
0N/A# CDDL HEADER START
1356N/A#
0N/A# The contents of this file are subject to the terms of the
1504N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# uts/intel/hsfs/Makefile
919N/A#
919N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
0N/A# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
0N/A#
156N/A# This makefile drives the production of the hsfs file system
493N/A# kernel module.
0N/A#
1356N/A# intel architecture dependent
1356N/A#
1356N/A
970N/A#
970N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
970N/A#
970N/AUTSBASE = ../..
970N/A
970N/A#
970N/A# Define the module and object file sets.
970N/A#
970N/AMODULE = hsfs
970N/AOBJECTS = $(HSFS_OBJS:%=$(OBJS_DIR)/%)
970N/ALINTS = $(HSFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
970N/AROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
970N/A
970N/A#
970N/A# Include common rules.
970N/A#
970N/Ainclude $(UTSBASE)/intel/Makefile.intel
970N/A
970N/A#
1504N/A# Define targets
1504N/A#
1504N/AALL_TARGET = $(BINARY)
1504N/ALINT_TARGET = $(MODULE).lint
970N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
970N/A
970N/A#
970N/A# Define dependency on specfs
970N/A#
1356N/ALDFLAGS += -dy -N fs/specfs
970N/A
0N/A#
950N/A# For now, disable these lint checks; maintainers should endeavor
0N/A# to investigate and remove these for maximum lint coverage.
911N/A# Please do not carry these forward to new Makefiles.
950N/A#
950N/ALINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
911N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
0N/ALINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
493N/ALINTTAGS += -erroff=E_STATIC_UNUSED
493N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
0N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
0N/A
156N/A#
156N/A# Default build targets.
0N/A#
0N/A.KEEP_STATE:
950N/A
950N/Adef: $(DEF_DEPS)
950N/A
950N/Aall: $(ALL_DEPS)
950N/A
950N/Aclean: $(CLEAN_DEPS)
1102N/A
1160N/Aclobber: $(CLOBBER_DEPS)
1160N/A
364N/Alint: $(LINT_DEPS)
156N/A
156N/Amodlintlib: $(MODLINTLIB_DEPS)
0N/A
591N/Aclean.lint: $(CLEAN_LINT_DEPS)
947N/A
947N/Ainstall: $(INSTALL_DEPS)
591N/A
591N/A#
591N/A# Include common targets.
947N/A#
947N/Ainclude $(UTSBASE)/intel/Makefile.targ
947N/A