Makefile revision c10c16dec587a0662068f6e2991c29ed3a9db943
325N/A# CDDL HEADER START
325N/A#
325N/A# The contents of this file are subject to the terms of the
325N/A# Common Development and Distribution License (the "License").
943N/A# You may not use this file except in compliance with the License.
325N/A#
325N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
919N/A#
919N/A# uts/intel/spuni/Makefile
325N/A#
325N/A# This makefile drives the production of the spuni kernel module
325N/A#
325N/A# intel implementation architecture dependent
493N/A#
325N/A
325N/A#
493N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
325N/A#
911N/A#
911N/AUTSBASE = ../..
911N/A
911N/AARCHDIR:sh = cd ..; basename `pwd`
325N/A
325N/A#
325N/A# Define the module and object file sets.
325N/A#
325N/AMODULE = spuni
325N/AOBJECTS = $(UNISTAT_OBJS:%=$(OBJS_DIR)/%)
325N/ALINTS = $(UNISTAT_OBJS:%.o=$(LINTS_DIR)/%.ln)
325N/AINC_PATH += -I$(ROOT)/usr/include
493N/AROOTMODULE = $(USR_MISC_DIR)/$(MODULE)
493N/A
947N/A#
325N/A# Include common rules.
325N/A#
325N/Ainclude ../Makefile.$(ARCHDIR)
493N/Ainclude $(UTSBASE)/common/avs/Makefile.com
325N/A
493N/A#
325N/A# Define targets
920N/A#
920N/AALL_TARGET = $(BINARY)
325N/ALINT_TARGET = $(MODULE).lint
325N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
325N/A
325N/A#
970N/A# lint pass one enforcement
970N/A#
970N/ACFLAGS += -v
325N/ALINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN
.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 ../Makefile.targ