Makefile revision 43369e138469651f508b1edd3512f007d1545665
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim#
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim# CDDL HEADER START
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim#
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim# The contents of this file are subject to the terms of the
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim# Common Development and Distribution License, Version 1.0 only
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim# (the "License"). You may not use this file except in compliance
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim# with the License.
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim#
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim# or http://www.opensolaris.org/os/licensing.
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim# See the License for the specific language governing permissions
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim# and limitations under the License.
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim#
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim# When distributing Covered Code, include this CDDL HEADER in each
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim# If applicable, add the following below this CDDL HEADER, with the
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim# fields enclosed by brackets "[]" replaced with your own identifying
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim# information: Portions Copyright [yyyy] [name of copyright owner]
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim#
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim# CDDL HEADER END
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim#
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim#
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim# uts/intel/snlb/Makefile
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim#
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim# Use is subject to license terms.
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon Kim#
#pragma ident "%Z%%M% %I% %E% SMI"
#
# This makefile drives the production of the snlb "misc"
# kernel module.
#
# intel architecture dependent
#
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
#
# Define the module and object file sets.
#
MODULE = snlb
OBJECTS = $(SNLB_OBJS:%=$(OBJS_DIR)/%)
LINTS = $(SNLB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
ITU_SRCDIR = $(UTSBASE)/common/io/dktp/disk
#
# Include common rules.
#
include $(UTSBASE)/intel/Makefile.intel
#
# Define targets
#
ALL_TARGET = $(BINARY) $(ITUMOD)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_ITUFILE)
#
# Overrides.
#
DEBUG_FLGS =
DEBUG_DEFS += $(DEBUG_FLGS)
LDFLAGS += -dy -Nmisc/dadk
#
# 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