Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
5826N/A#
5826N/A# CDDL HEADER START
5826N/A#
5826N/A# The contents of this file are subject to the terms of the
5826N/A# Common Development and Distribution License, Version 1.0 only
5826N/A# (the "License"). You may not use this file except in compliance
5826N/A# with the License.
5826N/A#
5826N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5826N/A# or http://www.opensolaris.org/os/licensing.
6982N/A# See the License for the specific language governing permissions
6982N/A# and limitations under the License.
5826N/A#
5826N/A# When distributing Covered Code, include this CDDL HEADER in each
5826N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5826N/A# If applicable, add the following below this CDDL HEADER, with the
6982N/A# fields enclosed by brackets "[]" replaced with your own identifying
6982N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6982N/A#
6982N/A# CDDL HEADER END
5826N/A#
5826N/A#
5826N/A# uts/sparc/consconfig/Makefile
5826N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5826N/A# Use is subject to license terms.
6984N/A#
5826N/A#ident "%Z%%M% %I% %E% SMI"
5826N/A#
5826N/A# This makefile drives the production of the consconfig `misc'
5826N/A# kernel module.
5826N/A#
5826N/A# sparc architecture dependent
5826N/A#
5826N/A
5826N/A#
5826N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
5826N/A#
5826N/AUTSBASE = ../..
5826N/A
5826N/A#
5826N/A# Define the module and object file sets.
5826N/A#
5826N/AMODULE = consconfig
5826N/AOBJECTS = $(CONSCONFIG_OBJS:%=$(OBJS_DIR)/%)
5826N/ALINTS = $(CONSCONFIG_OBJS:%.o=$(LINTS_DIR)/%.ln)
5826N/AROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
5826N/A
5826N/A#
5826N/A# Include common rules.
5826N/A#
5826N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
5826N/A
5826N/A#
5826N/A# Define targets
5826N/A#
5826N/AALL_TARGET = $(BINARY)
5826N/ALINT_TARGET = $(MODULE).lint
5826N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
5826N/A
5826N/A#
5826N/A# Overrides.
5826N/A#
5826N/AMODSTUBS_DIR = $(OBJS_DIR)
5826N/A$(MODSTUBS_O) := AS_CPPFLAGS += -DCONSCONFIG_MODULE
5826N/ACLEANFILES += $(MODSTUBS_O)
5826N/ACFLAGS += $(CCVERBOSE)
5826N/ALDFLAGS += -dy -Ndacf/consconfig_dacf
5826N/A
5826N/A#
5826N/A# Def aultbuild targets.
5826N/A#
5826N/A.KEEP_STATE:
5826N/A
5826N/Adef: $(DEF_DEPS)
5826N/A
5826N/Aall: $(ALL_DEPS)
5826N/A
5826N/Aclean: $(CLEAN_DEPS)
5826N/A
5826N/Aclobber: $(CLOBBER_DEPS)
5826N/A
5826N/Alint: $(LINT_DEPS)
5826N/A
5826N/Amodlintlib: $(MODLINTLIB_DEPS)
6984N/A
6984N/Aclean.lint: $(CLEAN_LINT_DEPS)
6984N/A
5826N/Ainstall: $(INSTALL_DEPS)
5826N/A
5826N/A#
5826N/A# Include common targets.
5826N/A#
5826N/Ainclude $(UTSBASE)/sparc/Makefile.targ
5826N/A