Makefile revision bc1009abdd0a493796645bd983c1601396c09a5f
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync# CDDL HEADER START
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync# The contents of this file are subject to the terms of the
c366016ffe1788c6847d0a967a954713725cab5evboxsync# Common Development and Distribution License (the "License").
c366016ffe1788c6847d0a967a954713725cab5evboxsync# You may not use this file except in compliance with the License.
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c366016ffe1788c6847d0a967a954713725cab5evboxsync# or http://www.opensolaris.org/os/licensing.
c366016ffe1788c6847d0a967a954713725cab5evboxsync# See the License for the specific language governing permissions
c366016ffe1788c6847d0a967a954713725cab5evboxsync# and limitations under the License.
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync# When distributing Covered Code, include this CDDL HEADER in each
c366016ffe1788c6847d0a967a954713725cab5evboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c366016ffe1788c6847d0a967a954713725cab5evboxsync# If applicable, add the following below this CDDL HEADER, with the
c366016ffe1788c6847d0a967a954713725cab5evboxsync# fields enclosed by brackets "[]" replaced with your own identifying
c366016ffe1788c6847d0a967a954713725cab5evboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync# CDDL HEADER END
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
c366016ffe1788c6847d0a967a954713725cab5evboxsync# Use is subject to license terms.
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync#ident "%Z%%M% %I% %E% SMI"
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync# This makefile drives the production of the devinfo kernel
c366016ffe1788c6847d0a967a954713725cab5evboxsync# driver to support libdevinfo.
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync# SPARC architecture dependent
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync# Path to the base of the uts directory tree (usually /usr/src/uts).
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsyncUTSBASE = ../..
c366016ffe1788c6847d0a967a954713725cab5evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync# Define the module and object file sets.
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsyncMODULE = devinfo
c366016ffe1788c6847d0a967a954713725cab5evboxsyncOBJECTS = $(DEVINFO_OBJS:%=$(OBJS_DIR)/%)
c366016ffe1788c6847d0a967a954713725cab5evboxsyncLINTS = $(DEVINFO_OBJS:%.o=$(LINTS_DIR)/%.ln)
36ebaddfec017eee7e82ee466c25de002cdc4231vboxsyncROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
c366016ffe1788c6847d0a967a954713725cab5evboxsyncCONF_SRCDIR = $(UTSBASE)/common/io
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync#
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# Include common rules.
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync#
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncinclude $(UTSBASE)/sparc/Makefile.sparc
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncCLOBBERFILES += $(MODULE)
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncCFLAGS += $(CCVERBOSE)
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync#
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# Define targets
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync#
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncALL_TARGET = $(BINARY) $(SRC_CONFFILE)
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncLINT_TARGET = $(MODULE).lint
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync#
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# lint pass one enforcement
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync#
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncCFLAGS += $(CCVERBOSE)
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncCPPFLAGS += -I$(SRC)/common
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync#
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# Default build targets.
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync#
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync.KEEP_STATE:
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncdef: $(DEF_DEPS)
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync
a7aa94e0115a73841f34ebbfa00f63fa1904e51fvboxsyncall: $(ALL_DEPS)
b6cc138b99f86c2d29ecfe32cecf9f68ba5e73afvboxsync
a7aa94e0115a73841f34ebbfa00f63fa1904e51fvboxsyncclean: $(CLEAN_DEPS)
a7aa94e0115a73841f34ebbfa00f63fa1904e51fvboxsync
a7aa94e0115a73841f34ebbfa00f63fa1904e51fvboxsyncclobber: $(CLOBBER_DEPS)
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsynclint: $(LINT_DEPS)
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncmodlintlib: $(MODLINTLIB_DEPS)
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncclean.lint: $(CLEAN_LINT_DEPS)
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncinstall: $(INSTALL_DEPS)
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync#
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync# Include common targets.
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync#
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsyncinclude $(UTSBASE)/sparc/Makefile.targ
ff1e21edf9a07974cb38c8f8ad7e8212b1335551vboxsync