Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# CDDL HEADER START
8001ba81cb851b38d86650a2fef5817facffb763johanengelen#
8001ba81cb851b38d86650a2fef5817facffb763johanengelen# The contents of this file are subject to the terms of the
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# Common Development and Distribution License (the "License").
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# You may not use this file except in compliance with the License.
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
29684a16b6c92bee28a94fdc2607bcc143950fa8johanengelen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
29684a16b6c92bee28a94fdc2607bcc143950fa8johanengelen# or http://www.opensolaris.org/os/licensing.
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# See the License for the specific language governing permissions
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# and limitations under the License.
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# When distributing Covered Code, include this CDDL HEADER in each
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# If applicable, add the following below this CDDL HEADER, with the
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# fields enclosed by brackets "[]" replaced with your own identifying
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# information: Portions Copyright [yyyy] [name of copyright owner]
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# CDDL HEADER END
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# uts/intel/dcfs/Makefile
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# Use is subject to license terms.
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
29684a16b6c92bee28a94fdc2607bcc143950fa8johanengelen# This makefile drives the production of the dcfs file system
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# kernel module.
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# Path to the base of the uts directory tree (usually /usr/src/uts).
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
63267518b4ce196caab66ef8cbdcfc0921206b3djohanengelenUTSBASE = ../..
63267518b4ce196caab66ef8cbdcfc0921206b3djohanengelen
63267518b4ce196caab66ef8cbdcfc0921206b3djohanengelen#
63267518b4ce196caab66ef8cbdcfc0921206b3djohanengelen# Define the module and object file sets.
63267518b4ce196caab66ef8cbdcfc0921206b3djohanengelen#
63267518b4ce196caab66ef8cbdcfc0921206b3djohanengelenMODULE = dcfs
63267518b4ce196caab66ef8cbdcfc0921206b3djohanengelenOBJECTS = $(DCFS_OBJS:%=$(OBJS_DIR)/%)
63267518b4ce196caab66ef8cbdcfc0921206b3djohanengelenLINTS = $(DCFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
63267518b4ce196caab66ef8cbdcfc0921206b3djohanengelenROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
63267518b4ce196caab66ef8cbdcfc0921206b3djohanengelen
e88f1eca443c9f97550088469932d9cea9ac0475johanengelen#
# Include common rules.
#
include $(UTSBASE)/intel/Makefile.intel
#
# Define targets
#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides.
#
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
#
# 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