Makefile revision e7cbe64f7a72dae5cb44f100db60ca88f3313c65
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# CDDL HEADER START
0ad489b182ebb3789322345e22cf750f88ae167and#
0a05fab9aadd37834734ffe106fc8ad4488fb3e3rbowen# The contents of this file are subject to the terms of the
0ad489b182ebb3789322345e22cf750f88ae167and# Common Development and Distribution License (the "License").
0ad489b182ebb3789322345e22cf750f88ae167and# You may not use this file except in compliance with the License.
031b91a62d25106ae69d4693475c79618dd5e884fielding#
031b91a62d25106ae69d4693475c79618dd5e884fielding# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
031b91a62d25106ae69d4693475c79618dd5e884fielding# or http://www.opensolaris.org/os/licensing.
031b91a62d25106ae69d4693475c79618dd5e884fielding# See the License for the specific language governing permissions
031b91a62d25106ae69d4693475c79618dd5e884fielding# and limitations under the License.
031b91a62d25106ae69d4693475c79618dd5e884fielding#
0ad489b182ebb3789322345e22cf750f88ae167and# When distributing Covered Code, include this CDDL HEADER in each
0ad489b182ebb3789322345e22cf750f88ae167and# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0ad489b182ebb3789322345e22cf750f88ae167and# If applicable, add the following below this CDDL HEADER, with the
0ad489b182ebb3789322345e22cf750f88ae167and# fields enclosed by brackets "[]" replaced with your own identifying
0ad489b182ebb3789322345e22cf750f88ae167and# information: Portions Copyright [yyyy] [name of copyright owner]
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# CDDL HEADER END
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# uts/intel/specfs/Makefile
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
0ad489b182ebb3789322345e22cf750f88ae167and# Use is subject to license terms.
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and#ident "%Z%%M% %I% %E% SMI"
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# This makefile drives the production of the specfs file system
0ad489b182ebb3789322345e22cf750f88ae167and# kernel module.
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# intel architecture dependent
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# Path to the base of the uts directory tree (usually /usr/src/uts).
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167andUTSBASE = ../..
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# Define the module and object file sets.
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167andMODULE = specfs
0ad489b182ebb3789322345e22cf750f88ae167andOBJECTS = $(SPEC_OBJS:%=$(OBJS_DIR)/%)
0ad489b182ebb3789322345e22cf750f88ae167andLINTS = $(SPEC_OBJS:%.o=$(LINTS_DIR)/%.ln)
0ad489b182ebb3789322345e22cf750f88ae167andROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# Include common rules.
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167andinclude $(UTSBASE)/intel/Makefile.intel
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# Define targets
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167andALL_TARGET = $(BINARY)
0ad489b182ebb3789322345e22cf750f88ae167andLINT_TARGET = $(MODULE).lint
0ad489b182ebb3789322345e22cf750f88ae167andINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# Override defaults to build a unique, local modstubs.o.
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167andMODSTUBS_DIR = $(OBJS_DIR)
0ad489b182ebb3789322345e22cf750f88ae167and$(MODSTUBS_O) := AS_CPPFLAGS += -DSPEC_MODULE
0ad489b182ebb3789322345e22cf750f88ae167andCLEANFILES += $(MODSTUBS_O)
0ad489b182ebb3789322345e22cf750f88ae167andLDFLAGS += -dy -Nfs/fifofs
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# For now, disable these lint checks; maintainers should endeavor
0ad489b182ebb3789322345e22cf750f88ae167and# to investigate and remove these for maximum lint coverage.
0ad489b182ebb3789322345e22cf750f88ae167and# Please do not carry these forward to new Makefiles.
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167andLINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# Default build targets.
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and.KEEP_STATE:
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167anddef: $(DEF_DEPS)
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167andall: $(ALL_DEPS)
48a1e7c75bdf156529582b537a3bfc13a4f73634takashi
0ad489b182ebb3789322345e22cf750f88ae167andclean: $(CLEAN_DEPS)
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167andclobber: $(CLOBBER_DEPS)
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167andlint: $(LINT_DEPS)
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167andmodlintlib: $(MODLINTLIB_DEPS)
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167andclean.lint: $(CLEAN_LINT_DEPS)
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167andinstall: $(INSTALL_DEPS)
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# Include common targets.
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167andinclude $(UTSBASE)/intel/Makefile.targ
0ad489b182ebb3789322345e22cf750f88ae167and