Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
d5b7ba26785d7494166d48876362ba30ff30b98awrowe#
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames# CDDL HEADER START
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames#
5541a81e194dc99521c0ecf904a940b0b65a93f2nd# The contents of this file are subject to the terms of the
5c4e29c5f77fbc967d78886ab378b9500267b0fbtrawick# Common Development and Distribution License (the "License").
5c4e29c5f77fbc967d78886ab378b9500267b0fbtrawick# You may not use this file except in compliance with the License.
5c4e29c5f77fbc967d78886ab378b9500267b0fbtrawick#
60f9b4ee2002436dbcb0bf33d4d76abc4b1a0d7dtrawick# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
60f9b4ee2002436dbcb0bf33d4d76abc4b1a0d7dtrawick# or http://www.opensolaris.org/os/licensing.
60f9b4ee2002436dbcb0bf33d4d76abc4b1a0d7dtrawick# See the License for the specific language governing permissions
cda7c69f374fb272aaf10ca80c63b0700b61a509rederpj# and limitations under the License.
cda7c69f374fb272aaf10ca80c63b0700b61a509rederpj#
cda7c69f374fb272aaf10ca80c63b0700b61a509rederpj# When distributing Covered Code, include this CDDL HEADER in each
f8dd393b2c60c61282a46c51f82fdb9b89cd9aferederpj# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f8dd393b2c60c61282a46c51f82fdb9b89cd9aferederpj# If applicable, add the following below this CDDL HEADER, with the
f8dd393b2c60c61282a46c51f82fdb9b89cd9aferederpj# fields enclosed by brackets "[]" replaced with your own identifying
f8dd393b2c60c61282a46c51f82fdb9b89cd9aferederpj# information: Portions Copyright [yyyy] [name of copyright owner]
f8dd393b2c60c61282a46c51f82fdb9b89cd9aferederpj#
f8dd393b2c60c61282a46c51f82fdb9b89cd9aferederpj# CDDL HEADER END
1fbf6ba0f5207e6637b49f9a9dfcc779bbe952a9trawick#
1fbf6ba0f5207e6637b49f9a9dfcc779bbe952a9trawick#
922d495b709b0dc09a7d918fdf8874dc23c1aef0nd# uts/sparc/kb8042/Makefile
922d495b709b0dc09a7d918fdf8874dc23c1aef0nd#
922d495b709b0dc09a7d918fdf8874dc23c1aef0nd# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
6c4c113ce85934b11c9e78399e1bb8ec7a568af9nd# Use is subject to license terms.
6c4c113ce85934b11c9e78399e1bb8ec7a568af9nd#
679cafe33462d8c6bd0a74cc4359e561d19a0aafnd#
679cafe33462d8c6bd0a74cc4359e561d19a0aafnd# This makefile drives the production of the kb8042
6c4c113ce85934b11c9e78399e1bb8ec7a568af9nd# kernel module.
81ef3d132c8f335006465f297c42319f8734825dnd#
81ef3d132c8f335006465f297c42319f8734825dnd#
81ef3d132c8f335006465f297c42319f8734825dnd
fba8c07e02a9af436c79ada0e2ba891717a9c333nd#
fba8c07e02a9af436c79ada0e2ba891717a9c333nd# Path to the base of the uts directory tree (usually /usr/src/uts).
fba8c07e02a9af436c79ada0e2ba891717a9c333nd#
925932040ee7871b6a2418edc3b4b6f4378bbe2andUTSBASE = ../..
925932040ee7871b6a2418edc3b4b6f4378bbe2and
925932040ee7871b6a2418edc3b4b6f4378bbe2and#
73291de2e17c97d3549f2f8aa085ca43d27e108and# Define the module and object file sets.
73291de2e17c97d3549f2f8aa085ca43d27e108and#
73291de2e17c97d3549f2f8aa085ca43d27e108andMODULE = kb8042
73291de2e17c97d3549f2f8aa085ca43d27e108andOBJECTS = $(KB8042_OBJS:%=$(OBJS_DIR)/%)
3caed8f01e7d67f3ad5d47cb28bb4e43131652fdjerenkrantzLINTS = $(KB8042_OBJS:%.o=$(LINTS_DIR)/%.ln)
3caed8f01e7d67f3ad5d47cb28bb4e43131652fdjerenkrantzROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
3caed8f01e7d67f3ad5d47cb28bb4e43131652fdjerenkrantz
238e707c9022eaa8332a702dd6913dd0d1fb3df8jerenkrantz#
238e707c9022eaa8332a702dd6913dd0d1fb3df8jerenkrantz# Include common rules.
3caed8f01e7d67f3ad5d47cb28bb4e43131652fdjerenkrantz#
e127d82e8afc2f885fe2183b68d4a110580d21dfjwoolleyinclude $(UTSBASE)/sparc/Makefile.sparc
e127d82e8afc2f885fe2183b68d4a110580d21dfjwoolley
e127d82e8afc2f885fe2183b68d4a110580d21dfjwoolleyLDFLAGS += -dy -Nmisc/kbtrans
e127d82e8afc2f885fe2183b68d4a110580d21dfjwoolley
5b953b9aeef5b38cae481e062a7b5ac209a6170end#
5b953b9aeef5b38cae481e062a7b5ac209a6170end# Define targets
5b953b9aeef5b38cae481e062a7b5ac209a6170end#
5b953b9aeef5b38cae481e062a7b5ac209a6170endALL_TARGET = $(BINARY) # $(SRC_CONFILE)
fd99717a52886f7d9f9f73be2080d3fdc2ec4bd6ndLINT_TARGET = $(MODULE).lint
fd99717a52886f7d9f9f73be2080d3fdc2ec4bd6ndINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
fd99717a52886f7d9f9f73be2080d3fdc2ec4bd6nd
5c76205ce580dbac0020fbba74bcf211de3923d3nd#
5c76205ce580dbac0020fbba74bcf211de3923d3nd# For now, disable these lint checks; maintainers should endeavor
5c76205ce580dbac0020fbba74bcf211de3923d3nd# to investigate and remove these for maximum lint coverage.
5c76205ce580dbac0020fbba74bcf211de3923d3nd# Please do not carry these forward to new Makefiles.
5fb2e8564729922524cd011b11e2d4f5d76f5a8dnd#
5fb2e8564729922524cd011b11e2d4f5d76f5a8dndLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
5fb2e8564729922524cd011b11e2d4f5d76f5a8dnd
987c2c2ff2f19f306357f79d3280b347d96c470fndCERRWARN += -_gcc=-Wno-uninitialized
987c2c2ff2f19f306357f79d3280b347d96c470fnd
987c2c2ff2f19f306357f79d3280b347d96c470fnd#
987c2c2ff2f19f306357f79d3280b347d96c470fnd# Default build targets.
99c475e760470ab8ca3d17da82a2f6158466f918rederpj#
99c475e760470ab8ca3d17da82a2f6158466f918rederpj.KEEP_STATE:
99c475e760470ab8ca3d17da82a2f6158466f918rederpj
99c475e760470ab8ca3d17da82a2f6158466f918rederpjdef: $(DEF_DEPS)
c2d16e88f6a997b9174b5596db5e03cee5f46a8brederpj
c2d16e88f6a997b9174b5596db5e03cee5f46a8brederpjall: $(ALL_DEPS)
7edcfe02796a70f2a5eac12b6766d11067c629a3rederpj
c2d16e88f6a997b9174b5596db5e03cee5f46a8brederpjclean: $(CLEAN_DEPS)
c2d16e88f6a997b9174b5596db5e03cee5f46a8brederpj
c2d16e88f6a997b9174b5596db5e03cee5f46a8brederpjclobber: $(CLOBBER_DEPS)
a4dd3688dd6645faf0c1c1bfb22017c8f03d5b24nd
a4dd3688dd6645faf0c1c1bfb22017c8f03d5b24ndlint: $(LINT_DEPS)
a4dd3688dd6645faf0c1c1bfb22017c8f03d5b24nd
f2fe083bb9fabd2af7eb39d4f154f27a451bb5a4ndmodlintlib: $(MODLINTLIB_DEPS)
f2fe083bb9fabd2af7eb39d4f154f27a451bb5a4nd
f2fe083bb9fabd2af7eb39d4f154f27a451bb5a4ndclean.lint: $(CLEAN_LINT_DEPS)
f2fe083bb9fabd2af7eb39d4f154f27a451bb5a4nd
7de6cb79f71a9007ba2b1e786cbad8b84f05d101ndinstall: $(INSTALL_DEPS)
7de6cb79f71a9007ba2b1e786cbad8b84f05d101nd
7de6cb79f71a9007ba2b1e786cbad8b84f05d101nd#
7de6cb79f71a9007ba2b1e786cbad8b84f05d101nd# Include common targets.
aa9b03a5f32732c0caaef03a7ed78ffb290e29e4trawick#
aa9b03a5f32732c0caaef03a7ed78ffb290e29e4trawickinclude $(UTSBASE)/sparc/Makefile.targ
aa9b03a5f32732c0caaef03a7ed78ffb290e29e4trawick