Makefile revision 1ae0874509b6811fdde1dfd46f0d93fd09867a3f
5253N/A#
5253N/A# CDDL HEADER START
5253N/A#
5253N/A# The contents of this file are subject to the terms of the
5253N/A# Common Development and Distribution License (the "License").
5253N/A# You may not use this file except in compliance with the License.
5253N/A#
5253N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5253N/A# or http://www.opensolaris.org/os/licensing.
5253N/A# See the License for the specific language governing permissions
5253N/A# and limitations under the License.
5253N/A#
5253N/A# When distributing Covered Code, include this CDDL HEADER in each
5253N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5253N/A# If applicable, add the following below this CDDL HEADER, with the
5253N/A# fields enclosed by brackets "[]" replaced with your own identifying
5253N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5253N/A#
5253N/A# CDDL HEADER END
5253N/A#
5253N/A
5253N/A#
5342N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5253N/A# Use is subject to license terms.
5253N/A#
5254N/A#ident "%Z%%M% %I% %E% SMI"
5254N/A#
5254N/A# uts/sun4v/ldc/Makefile
6429N/A#
6429N/A# This makefile drives the production of the LDC transport kernel module.
5253N/A#
5253N/A# sun4v implementation architecture dependent
5253N/A#
5253N/A
7016N/A#
5253N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
6429N/A#
5253N/AUTSBASE = ../..
7016N/A
6429N/A#
5253N/A# Define the module and object file sets.
5305N/A#
5253N/AMODULE = ldc
7016N/AOBJECTS = $(LDC_OBJS:%=$(OBJS_DIR)/%)
5525N/ALINTS = $(LDC_OBJS:%.o=$(LINTS_DIR)/%.ln)
7016N/AROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE)
5253N/A
5253N/A#
5253N/A# Include common rules.
5253N/A#
5525N/Ainclude $(UTSBASE)/sun4v/Makefile.sun4v
5256N/A
6429N/A#
6429N/A# Override defaults to build a unique, local modstubs.o.
5256N/A#
5256N/AMODSTUBS_DIR = $(OBJS_DIR)
6429N/A
5256N/ACLEANFILES += $(MODSTUBS_O)
7016N/A
7016N/A#
5253N/A# Define targets
7016N/A#
5525N/AALL_TARGET = $(BINARY)
6429N/ALINT_TARGET = $(MODULE).lint
7016N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
5525N/A
5253N/A#
5253N/A# lint pass one enforcement
5253N/A#
5253N/ACFLAGS += -v
7016N/A
7016N/A#
6429N/A# Default build targets.
5525N/A#
5530N/A.KEEP_STATE:
5530N/A
6429N/Adef: $(DEF_DEPS)
7016N/A
7016N/Aall: $(ALL_DEPS)
7016N/A
7016N/Aclean: $(CLEAN_DEPS)
7016N/A
7016N/Aclobber: $(CLOBBER_DEPS)
7016N/A
5530N/Alint: $(LINT_DEPS)
5413N/A
5413N/Amodlintlib: $(MODLINTLIB_DEPS)
5413N/A
5413N/Aclean.lint: $(CLEAN_LINT_DEPS)
5413N/A
5413N/Ainstall: $(INSTALL_DEPS)
5413N/A
5413N/A#
6452N/A# Include common targets.
6452N/A#
7013N/Ainclude $(UTSBASE)/$(PLATFORM)/Makefile.targ
7013N/A