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