Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# CDDL HEADER START
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# The contents of this file are subject to the terms of the
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# Common Development and Distribution License (the "License").
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# You may not use this file except in compliance with the License.
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# or http://www.opensolaris.org/os/licensing.
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# See the License for the specific language governing permissions
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# and limitations under the License.
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# When distributing Covered Code, include this CDDL HEADER in each
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# If applicable, add the following below this CDDL HEADER, with the
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# fields enclosed by brackets "[]" replaced with your own identifying
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# information: Portions Copyright [yyyy] [name of copyright owner]
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# CDDL HEADER END
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# uts/sparc/doorfs/Makefile
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# Use is subject to license terms.
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#ident "%Z%%M% %I% %E% SMI"
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# This makefile drives the production of the semsys driver kernel module.
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# sparc architecture dependent
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# Path to the base of the uts directory tree (usually /usr/src/uts).
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai NgoUTSBASE = ../..
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo
7a286c471efbab8562f7655a82931904703fffe0Dai NgoDOORFS_OBJS += door_vnops.o door_sys.o door_support.o
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# Define the module and object file sets.
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai NgoMODULE = doorfs
7a286c471efbab8562f7655a82931904703fffe0Dai NgoOBJECTS = $(DOORFS_OBJS:%=$(OBJS_DIR)/%)
7a286c471efbab8562f7655a82931904703fffe0Dai NgoLINTS = $(DOORFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
7a286c471efbab8562f7655a82931904703fffe0Dai NgoROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# Include common rules.
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo
7a286c471efbab8562f7655a82931904703fffe0Dai Ngoinclude $(UTSBASE)/sparc/Makefile.sparc
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo# Define targets
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
7a286c471efbab8562f7655a82931904703fffe0Dai NgoALL_TARGET = $(BINARY)
7a286c471efbab8562f7655a82931904703fffe0Dai NgoLINT_TARGET = $(MODULE).lint
7a286c471efbab8562f7655a82931904703fffe0Dai NgoINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo
7a286c471efbab8562f7655a82931904703fffe0Dai Ngo#
# Overrides.
#
MODSTUBS_DIR = $(OBJS_DIR)
$(MODSTUBS_O) := AS_CPPFLAGS +=
CLEANFILES += $(MODSTUBS_O)
CFLAGS += $(CCVERBOSE)
#
# 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_BAD_PTR_CAST_ALIGN
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)/sparc/Makefile.targ