Makefile revision c10c16dec587a0662068f6e2991c29ed3a9db943
d5b7ba26785d7494166d48876362ba30ff30b98awrowe#
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames# CDDL HEADER START
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames#
277e05eebdd1878d86c1edc2538c94c5b42102e4nd# The contents of this file are subject to the terms of the
eea521297270de3f9ae70d8822f8665c513de574nd# Common Development and Distribution License (the "License").
eea521297270de3f9ae70d8822f8665c513de574nd# You may not use this file except in compliance with the License.
eea521297270de3f9ae70d8822f8665c513de574nd#
5bcdf2cd27ab0c91a3c7eaffbff4cb8505389dc1nd# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5bcdf2cd27ab0c91a3c7eaffbff4cb8505389dc1nd# or http://www.opensolaris.org/os/licensing.
5bcdf2cd27ab0c91a3c7eaffbff4cb8505389dc1nd# See the License for the specific language governing permissions
02b0660d7f44ff8106bd5095653e9c19e39ec37dnd# and limitations under the License.
02b0660d7f44ff8106bd5095653e9c19e39ec37dnd#
02b0660d7f44ff8106bd5095653e9c19e39ec37dnd# When distributing Covered Code, include this CDDL HEADER in each
5b8e35ad88268c0210d93288dad57c2f1d3e8811nd# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5b8e35ad88268c0210d93288dad57c2f1d3e8811nd# If applicable, add the following below this CDDL HEADER, with the
5b8e35ad88268c0210d93288dad57c2f1d3e8811nd# fields enclosed by brackets "[]" replaced with your own identifying
cef53aa8cf0c586c3aa96456e05ae0b786b27441nd# information: Portions Copyright [yyyy] [name of copyright owner]
cef53aa8cf0c586c3aa96456e05ae0b786b27441nd#
cef53aa8cf0c586c3aa96456e05ae0b786b27441nd# CDDL HEADER END
66824302ace699bd4b28b327f8ffb6e3efe86091nd#
66824302ace699bd4b28b327f8ffb6e3efe86091nd#
66824302ace699bd4b28b327f8ffb6e3efe86091nd# uts/sparc/conskbd/Makefile
abe63402318c6324f21b669aa0d1ce6ded8e323end# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
abe63402318c6324f21b669aa0d1ce6ded8e323end# Use is subject to license terms.
abe63402318c6324f21b669aa0d1ce6ded8e323end#
e698258fd17a7f9d51cb2b35e96f8f0b48ec23c8nd#ident "%Z%%M% %I% %E% SMI"
9fe315e66ef597a158db81bcbd230d7a5d65785dnd#
e698258fd17a7f9d51cb2b35e96f8f0b48ec23c8nd# This makefile drives the production of the conskbd driver
e698258fd17a7f9d51cb2b35e96f8f0b48ec23c8nd#
f06b1de00f96211469a900c08bbe5d63741dadbfstoddard# sparc architecture dependent
f06b1de00f96211469a900c08bbe5d63741dadbfstoddard#
f06b1de00f96211469a900c08bbe5d63741dadbfstoddard
f06b1de00f96211469a900c08bbe5d63741dadbfstoddard#
f06b1de00f96211469a900c08bbe5d63741dadbfstoddard# Path to the base of the uts directory tree (usually /usr/src/uts).
f06b1de00f96211469a900c08bbe5d63741dadbfstoddard#
24a4c5e6b1bef738d5eb25cf8201d6515c42c923trawickUTSBASE = ../..
a9ee8e9bd3dffd23ca49be8d0bdf0e33cd0bcce2jorton
a9ee8e9bd3dffd23ca49be8d0bdf0e33cd0bcce2jorton#
a9ee8e9bd3dffd23ca49be8d0bdf0e33cd0bcce2jorton# Define the module and object file sets.
3b86be5b30d5cbacc1f942b05dff8a9365449d30jorton#
8d9494af6ddb7a9c998b1b622e0bcd8d17cac50ejortonMODULE = conskbd
3b86be5b30d5cbacc1f942b05dff8a9365449d30jortonOBJECTS = $(CONSKBD_OBJS:%=$(OBJS_DIR)/%)
46ef178b8f55b794c65491b370974833ce9e621bbenLINTS = $(CONSKBD_OBJS:%.o=$(LINTS_DIR)/%.ln)
46ef178b8f55b794c65491b370974833ce9e621bbenROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
46ef178b8f55b794c65491b370974833ce9e621bbenCONF_SRCDIR = $(UTSBASE)/common/io
7ad8e71125ec66a8ebfaf9e52bd680ce6beca327stoddard
7ad8e71125ec66a8ebfaf9e52bd680ce6beca327stoddard#
7ad8e71125ec66a8ebfaf9e52bd680ce6beca327stoddard# Include common rules.
547fb02c28c77b0552d275db0cfd8a119fb2d3f9trawick#
8aad5258d3ecde3751559bc685a3185e63cbde9aianhinclude $(UTSBASE)/sparc/Makefile.sparc
8aad5258d3ecde3751559bc685a3185e63cbde9aianh
8aad5258d3ecde3751559bc685a3185e63cbde9aianh#
8aad5258d3ecde3751559bc685a3185e63cbde9aianh# Define targets
71f3601de4983bc2a6aaffcf37dc1d35c8674a34coar#
71f3601de4983bc2a6aaffcf37dc1d35c8674a34coarALL_TARGET = $(BINARY) $(SRC_CONFFILE)
71f3601de4983bc2a6aaffcf37dc1d35c8674a34coarLINT_TARGET = $(MODULE).lint
71f3601de4983bc2a6aaffcf37dc1d35c8674a34coarINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
874fa3c6bbef1b4ab4bed0a2ff9852b21ea1b187trawick
874fa3c6bbef1b4ab4bed0a2ff9852b21ea1b187trawick#
874fa3c6bbef1b4ab4bed0a2ff9852b21ea1b187trawick# Overrides.
874fa3c6bbef1b4ab4bed0a2ff9852b21ea1b187trawick#
874fa3c6bbef1b4ab4bed0a2ff9852b21ea1b187trawickCFLAGS += $(CCVERBOSE)
49a82db11388cff9b29ff861b4241bbce69c76fdtrawick
49a82db11388cff9b29ff861b4241bbce69c76fdtrawickLDFLAGS = -dy -Nmisc/kbtrans
49a82db11388cff9b29ff861b4241bbce69c76fdtrawick
49a82db11388cff9b29ff861b4241bbce69c76fdtrawick#
f23c50b3628a8571da2ff3277ae58ef1d675554ftrawick# For now, disable these lint checks; maintainers should endeavor
f23c50b3628a8571da2ff3277ae58ef1d675554ftrawick# to investigate and remove these for maximum lint coverage.
f23c50b3628a8571da2ff3277ae58ef1d675554ftrawick# Please do not carry these forward to new Makefiles.
f23c50b3628a8571da2ff3277ae58ef1d675554ftrawick#
c03f87dadc2d062777971ea11995aa428d8f5d25jwoolleyLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
c03f87dadc2d062777971ea11995aa428d8f5d25jwoolley
c03f87dadc2d062777971ea11995aa428d8f5d25jwoolley#
5866fd6f9cba06306e84d940fc29973e50001b51trawick# Default build targets.
5866fd6f9cba06306e84d940fc29973e50001b51trawick#
5866fd6f9cba06306e84d940fc29973e50001b51trawick.KEEP_STATE:
5866fd6f9cba06306e84d940fc29973e50001b51trawick
8dc154408549195c828b823e9dc7396f107f2512jortondef: $(DEF_DEPS)
8dc154408549195c828b823e9dc7396f107f2512jorton
8dc154408549195c828b823e9dc7396f107f2512jortonall: $(ALL_DEPS)
ca2504b59d48a926af23f6b18af550c1e892d8a6jorton
ca2504b59d48a926af23f6b18af550c1e892d8a6jortonclean: $(CLEAN_DEPS)
ca2504b59d48a926af23f6b18af550c1e892d8a6jorton
6126fad8adeca94e9813812c691747afeca164dftrawickclobber: $(CLOBBER_DEPS)
6126fad8adeca94e9813812c691747afeca164dftrawick
6126fad8adeca94e9813812c691747afeca164dftrawicklint: $(LINT_DEPS)
7ed5992392d5babab20be4ce4029ad17ae062b5aianh
7ed5992392d5babab20be4ce4029ad17ae062b5aianhmodlintlib: $(MODLINTLIB_DEPS)
7ed5992392d5babab20be4ce4029ad17ae062b5aianh
b7973a1e572a3ff7cdedb48ed1f9481ece700bf9trawickclean.lint: $(CLEAN_LINT_DEPS)
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe
b7973a1e572a3ff7cdedb48ed1f9481ece700bf9trawickinstall: $(INSTALL_DEPS)
769fec4a3ee740c172676c243aeb02171d80872etrawick
36f2369ee230c310fed3b600e9e99cf5770804a3wrowe#
769fec4a3ee740c172676c243aeb02171d80872etrawick# Include common targets.
6a3b299491bf7f9ba09b943b7238b170111b69ccnd#
6a3b299491bf7f9ba09b943b7238b170111b69ccndinclude $(UTSBASE)/sparc/Makefile.targ
6a3b299491bf7f9ba09b943b7238b170111b69ccnd