Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
da16bea08c6ff10ceb8d250ff23e8e81a372cef8jwoolley#
da16bea08c6ff10ceb8d250ff23e8e81a372cef8jwoolley# CDDL HEADER START
86826d685f83170ca07d56550db9f0c2922a916btrawick#
86826d685f83170ca07d56550db9f0c2922a916btrawick# The contents of this file are subject to the terms of the
86826d685f83170ca07d56550db9f0c2922a916btrawick# Common Development and Distribution License (the "License").
86826d685f83170ca07d56550db9f0c2922a916btrawick# You may not use this file except in compliance with the License.
86826d685f83170ca07d56550db9f0c2922a916btrawick#
4f412c60e9c2af999619d11b236068a0e0e94944trawick# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4f412c60e9c2af999619d11b236068a0e0e94944trawick# or http://www.opensolaris.org/os/licensing.
4f412c60e9c2af999619d11b236068a0e0e94944trawick# See the License for the specific language governing permissions
4f6effa17a5084085c9104b0bb97c2ba1622cfa6jerenkrantz# and limitations under the License.
4f6effa17a5084085c9104b0bb97c2ba1622cfa6jerenkrantz#
4f6effa17a5084085c9104b0bb97c2ba1622cfa6jerenkrantz# When distributing Covered Code, include this CDDL HEADER in each
4f6effa17a5084085c9104b0bb97c2ba1622cfa6jerenkrantz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
bfa5c37259833629155d486bb1571d39a57de64dbnicholes# If applicable, add the following below this CDDL HEADER, with the
bfa5c37259833629155d486bb1571d39a57de64dbnicholes# fields enclosed by brackets "[]" replaced with your own identifying
bfa5c37259833629155d486bb1571d39a57de64dbnicholes# information: Portions Copyright [yyyy] [name of copyright owner]
a946a7e607c21cf6068e7380d7e81cc2bf027913trawick#
a946a7e607c21cf6068e7380d7e81cc2bf027913trawick# CDDL HEADER END
da16bea08c6ff10ceb8d250ff23e8e81a372cef8jwoolley#
c88a70518d7d0b5bccb22a68d446c2d6589790dcjwoolley# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
c88a70518d7d0b5bccb22a68d446c2d6589790dcjwoolley# Use is subject to license terms.
e59e4b703b7e19c4b35030e4baac8a96a8d4b504dougm#
e59e4b703b7e19c4b35030e4baac8a96a8d4b504dougm
e59e4b703b7e19c4b35030e4baac8a96a8d4b504dougm#
e59e4b703b7e19c4b35030e4baac8a96a8d4b504dougm# This makefile drives the production of the oplpanel driver
5717c6b0b97a065a84fba32cebeee959a5fe4f15dougm# loadable module.
5717c6b0b97a065a84fba32cebeee959a5fe4f15dougm#
5717c6b0b97a065a84fba32cebeee959a5fe4f15dougm# sun4u opl implementation architecture dependent
5717c6b0b97a065a84fba32cebeee959a5fe4f15dougm#
5717c6b0b97a065a84fba32cebeee959a5fe4f15dougm
5717c6b0b97a065a84fba32cebeee959a5fe4f15dougm#
835836eaf9e2a23192a262307b08f626e50e2180trawick# Path to the base of the uts directory tree (usually /usr/src/uts).
835836eaf9e2a23192a262307b08f626e50e2180trawick#
835836eaf9e2a23192a262307b08f626e50e2180trawickUTSBASE = ../../..
81dddb023f9dd43b350f782972c1f75a88a2d93ftrawick
81dddb023f9dd43b350f782972c1f75a88a2d93ftrawick#
81dddb023f9dd43b350f782972c1f75a88a2d93ftrawick# Define the module and object file sets.
9b9e0eca165f5f464e357bb2a9b8bbfc9621067cwrowe#
9b9e0eca165f5f464e357bb2a9b8bbfc9621067cwroweMODULE = oplpanel
9b9e0eca165f5f464e357bb2a9b8bbfc9621067cwroweOBJECTS = $(OPL_PANEL_OBJS:%=$(OBJS_DIR)/%)
9b9e0eca165f5f464e357bb2a9b8bbfc9621067cwroweLINTS = $(OPL_PANEL_OBJS:%.o=$(LINTS_DIR)/%.ln)
9b9e0eca165f5f464e357bb2a9b8bbfc9621067cwroweROOTMODULE = $(ROOT_OPL_DRV_DIR)/$(MODULE)
9b9e0eca165f5f464e357bb2a9b8bbfc9621067cwroweCONF_SRCDIR = $(UTSBASE)/sun4u/opl/io/oplpanel
b26781e595625911fc8fc8215133ad2285ed75d8jim
b26781e595625911fc8fc8215133ad2285ed75d8jim#
b26781e595625911fc8fc8215133ad2285ed75d8jim# Include common rules.
5117466ef123b1efbc2feba168f37069ef6f230bianh#
5117466ef123b1efbc2feba168f37069ef6f230bianhinclude $(UTSBASE)/sun4u/opl/Makefile.opl
5117466ef123b1efbc2feba168f37069ef6f230bianh
9c39f8fb982df4dbce5304e49385568e6d35bfa8trawick#
9c39f8fb982df4dbce5304e49385568e6d35bfa8trawick# Define targets
9c39f8fb982df4dbce5304e49385568e6d35bfa8trawick#
9c39f8fb982df4dbce5304e49385568e6d35bfa8trawickALL_TARGET = $(BINARY) $(SRC_CONFFILE)
bdd4aa13a97de79596cd19708f1516e8fa92700ewroweLINT_TARGET = $(MODULE).lint
bdd4aa13a97de79596cd19708f1516e8fa92700ewroweINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
bdd4aa13a97de79596cd19708f1516e8fa92700ewrowe
bdd4aa13a97de79596cd19708f1516e8fa92700ewrowe#
bdd4aa13a97de79596cd19708f1516e8fa92700ewrowe# lint pass one enforcement
1d50c90ddb7e3d144ec8a2bd848ca1e7bbf8e534bnicholes#
bdd4aa13a97de79596cd19708f1516e8fa92700ewroweCFLAGS += $(CCVERBOSE) -I../sys
bdd4aa13a97de79596cd19708f1516e8fa92700ewroweCERRWARN += -_gcc=-Wno-unused-function
1d50c90ddb7e3d144ec8a2bd848ca1e7bbf8e534bnicholes
1d50c90ddb7e3d144ec8a2bd848ca1e7bbf8e534bnicholes#
24e361af20a3107dc934b4895911ce6bcce0603ejwoolley# Default build targets.
24e361af20a3107dc934b4895911ce6bcce0603ejwoolley#
24e361af20a3107dc934b4895911ce6bcce0603ejwoolley.KEEP_STATE:
4657f9b12af4b123b80e15c73fa03c190e47a8bftrawick
4657f9b12af4b123b80e15c73fa03c190e47a8bftrawickdef: $(DEF_DEPS)
4657f9b12af4b123b80e15c73fa03c190e47a8bftrawick
4657f9b12af4b123b80e15c73fa03c190e47a8bftrawickall: $(ALL_DEPS)
c36bac9a918f59b2dbf5dcd7d67b50c1da04c89drbb
c36bac9a918f59b2dbf5dcd7d67b50c1da04c89drbbclean: $(CLEAN_DEPS)
c36bac9a918f59b2dbf5dcd7d67b50c1da04c89drbb
c36bac9a918f59b2dbf5dcd7d67b50c1da04c89drbbclobber: $(CLOBBER_DEPS)
c36bac9a918f59b2dbf5dcd7d67b50c1da04c89drbb
c36bac9a918f59b2dbf5dcd7d67b50c1da04c89drbblint: $(LINT_DEPS)
ad668861e40da485f2eea24dc4c1f9940e470698rbb
ad668861e40da485f2eea24dc4c1f9940e470698rbbmodlintlib: $(MODLINTLIB_DEPS)
ad668861e40da485f2eea24dc4c1f9940e470698rbb
ad668861e40da485f2eea24dc4c1f9940e470698rbbclean.lint: $(CLEAN_LINT_DEPS)
89211a5d592cdf0170d2b541946661b1a2a279c5trawick
89211a5d592cdf0170d2b541946661b1a2a279c5trawickinstall: $(INSTALL_DEPS)
89211a5d592cdf0170d2b541946661b1a2a279c5trawick
89211a5d592cdf0170d2b541946661b1a2a279c5trawick#
5caa0a5c428439b566a4fcc711747e2053bcfd1ajerenkrantz# Include common targets.
5caa0a5c428439b566a4fcc711747e2053bcfd1ajerenkrantz#
5caa0a5c428439b566a4fcc711747e2053bcfd1ajerenkrantzinclude $(UTSBASE)/sun4u/opl/Makefile.targ
34d672a81f3e72f30568462135ddf6d71dcfa8d8bnicholes