Makefile revision 25cf1a301a396c38e8adf52c15f537b80d2483f7
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# CDDL HEADER START
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# The contents of this file are subject to the terms of the
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Common Development and Distribution License (the "License").
45e9809aff7304721fddb95654901b32195c9c7avboxsync# You may not use this file except in compliance with the License.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
45e9809aff7304721fddb95654901b32195c9c7avboxsync# or http://www.opensolaris.org/os/licensing.
45e9809aff7304721fddb95654901b32195c9c7avboxsync# See the License for the specific language governing permissions
45e9809aff7304721fddb95654901b32195c9c7avboxsync# and limitations under the License.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# When distributing Covered Code, include this CDDL HEADER in each
45e9809aff7304721fddb95654901b32195c9c7avboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
45e9809aff7304721fddb95654901b32195c9c7avboxsync# If applicable, add the following below this CDDL HEADER, with the
45e9809aff7304721fddb95654901b32195c9c7avboxsync# fields enclosed by brackets "[]" replaced with your own identifying
45e9809aff7304721fddb95654901b32195c9c7avboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# CDDL HEADER END
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Use is subject to license terms.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync#pragma ident "%Z%%M% %I% %E% SMI"
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# This makefile drives the production of the oplpanel driver
45e9809aff7304721fddb95654901b32195c9c7avboxsync# loadable module.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# sun4u opl implementation architecture dependent
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Path to the base of the uts directory tree (usually /usr/src/uts).
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsyncUTSBASE = ../../..
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Define the module and object file sets.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsyncMODULE = oplpanel
45e9809aff7304721fddb95654901b32195c9c7avboxsyncOBJECTS = $(OPL_PANEL_OBJS:%=$(OBJS_DIR)/%)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncLINTS = $(OPL_PANEL_OBJS:%.o=$(LINTS_DIR)/%.ln)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncROOTMODULE = $(ROOT_OPL_DRV_DIR)/$(MODULE)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCONF_SRCDIR = $(UTSBASE)/sun4u/opl/io/oplpanel
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Include common rules.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsyncinclude $(UTSBASE)/sun4u/opl/Makefile.opl
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Define targets
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsyncALL_TARGET = $(BINARY) $(SRC_CONFFILE)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncLINT_TARGET = $(MODULE).lint
45e9809aff7304721fddb95654901b32195c9c7avboxsyncINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# lint pass one enforcement
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCFLAGS += $(CCVERBOSE) -I../sys
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Default build targets.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync.KEEP_STATE:
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncdef: $(DEF_DEPS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncall: $(ALL_DEPS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncclean: $(CLEAN_DEPS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncclobber: $(CLOBBER_DEPS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsynclint: $(LINT_DEPS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncmodlintlib: $(MODLINTLIB_DEPS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncclean.lint: $(CLEAN_LINT_DEPS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncinstall: $(INSTALL_DEPS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Include common targets.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsyncinclude $(UTSBASE)/sun4u/opl/Makefile.targ
45e9809aff7304721fddb95654901b32195c9c7avboxsync