Makefile revision 03a6687dc6597686cef37c77a1c5cd070217a1d8
3544N/A# CDDL HEADER START
3544N/A#
3544N/A# The contents of this file are subject to the terms of the
3544N/A# Common Development and Distribution License (the "License").
3544N/A# You may not use this file except in compliance with the License.
3544N/A#
3544N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3544N/A# or http://www.opensolaris.org/os/licensing.
3544N/A# See the License for the specific language governing permissions
3544N/A# and limitations under the License.
3544N/A#
3544N/A# When distributing Covered Code, include this CDDL HEADER in each
3544N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3544N/A# If applicable, add the following below this CDDL HEADER, with the
3544N/A# fields enclosed by brackets "[]" replaced with your own identifying
3544N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3544N/A#
3544N/A# CDDL HEADER END
3544N/A#
3544N/A#
3544N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3544N/A# Use is subject to license terms.
3544N/A#
3544N/A# uts/intel/nskern/Makefile
3544N/A#
3544N/A# This makefile drives the production of the nskern kernel module
3544N/A#
3544N/A# intel implementation architecture dependent
3544N/A#
3544N/A
3544N/A#
3544N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
3544N/A#
3544N/A#
3544N/AUTSBASE = ../..
3544N/A
3544N/AARCHDIR:sh = cd ..; basename `pwd`
3544N/A
3544N/A#
3544N/A# Define the module and object file sets.
3544N/A#
3544N/AMODULE = nskern
3544N/AOBJECTS = $(NSKERN_OBJS:%=$(OBJS_DIR)/%)
3544N/ALINTS = $(NSKERN_OBJS:%.o=$(LINTS_DIR)/%.ln)
3544N/AROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
3544N/AINC_PATH += -I$(UTSBASE)/common/avs -I./$(OBJS_DIR)
3544N/AINC_PATH += -I$(ROOT)/usr/include
3544N/ACONF_SRCDIR = $(UTSBASE)/common/avs/ns/solaris
3544N/A
3544N/A#
3544N/A# Include common rules.
3544N/A#
3544N/Ainclude ../Makefile.$(ARCHDIR)
3544N/Ainclude $(UTSBASE)/common/avs/Makefile.com
3544N/A
3544N/A#
3952N/A# Define targets
3544N/A#
3544N/AALL_TARGET = $(BINARY) $(SRC_CONFILE)
3544N/ALINT_TARGET = $(MODULE).lint
3544N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
3544N/AAS_INC_PATH += -I$(DSF_DIR)/$(OBJS_DIR)
3544N/A
3544N/AASSYM_H = $(DSF_DIR)/$(OBJS_DIR)/assym.h
3544N/A
3544N/A#
3544N/A# lint pass one enforcement
3544N/A#
3544N/ACFLAGS += -v
3544N/A
3544N/A.KEEP_STATE:
3544N/A
3544N/A$(OBJS_DIR)/nsc_asm.o: nsc_asm.s
3544N/A
3544N/A$(BINARY): $(ASSYM_H)
3544N/A
3952N/Adef: $(DEF_DEPS)
3544N/A
3544N/Aall: $(ALL_DEPS)
3544N/A
3544N/Aclean: $(CLEAN_DEPS)
3544N/A
3544N/Aclobber: $(CLOBBER_DEPS)
3544N/A
3544N/Alint: $(LINT_DEPS)
3544N/A
3544N/Amodlintlib: $(MODLINTLIB_DEPS)
3544N/A
3544N/Aclean.lint: $(CLEAN_LINT_DEPS)
3544N/A
3544N/A
3544N/Ainstall: $(INSTALL_DEPS)
3544N/A
3544N/A#
3544N/A# Include common targets.
3952N/A#
3544N/Ainclude ../Makefile.targ
3952N/A