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, Version 1.0 only
5c4e29c5f77fbc967d78886ab378b9500267b0fbtrawick# (the "License"). You may not use this file except in compliance
5c4e29c5f77fbc967d78886ab378b9500267b0fbtrawick# with the License.
60f9b4ee2002436dbcb0bf33d4d76abc4b1a0d7dtrawick#
60f9b4ee2002436dbcb0bf33d4d76abc4b1a0d7dtrawick# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
60f9b4ee2002436dbcb0bf33d4d76abc4b1a0d7dtrawick# or http://www.opensolaris.org/os/licensing.
cda7c69f374fb272aaf10ca80c63b0700b61a509rederpj# See the License for the specific language governing permissions
cda7c69f374fb272aaf10ca80c63b0700b61a509rederpj# and limitations under the License.
cda7c69f374fb272aaf10ca80c63b0700b61a509rederpj#
f8dd393b2c60c61282a46c51f82fdb9b89cd9aferederpj# 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#
1fbf6ba0f5207e6637b49f9a9dfcc779bbe952a9trawick# CDDL HEADER END
1fbf6ba0f5207e6637b49f9a9dfcc779bbe952a9trawick#
922d495b709b0dc09a7d918fdf8874dc23c1aef0nd#
922d495b709b0dc09a7d918fdf8874dc23c1aef0nd# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
922d495b709b0dc09a7d918fdf8874dc23c1aef0nd# Use is subject to license terms.
6c4c113ce85934b11c9e78399e1bb8ec7a568af9nd# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
6c4c113ce85934b11c9e78399e1bb8ec7a568af9nd#
679cafe33462d8c6bd0a74cc4359e561d19a0aafnd# This makefile drives the production of the kmech_dummy kernel module.
679cafe33462d8c6bd0a74cc4359e561d19a0aafnd#
6c4c113ce85934b11c9e78399e1bb8ec7a568af9nd# sparc implementation architecture dependent
81ef3d132c8f335006465f297c42319f8734825dnd#
81ef3d132c8f335006465f297c42319f8734825dnd#
81ef3d132c8f335006465f297c42319f8734825dnd# Path to the base of the uts directory tree (usually /usr/src/uts).
fba8c07e02a9af436c79ada0e2ba891717a9c333nd#
fba8c07e02a9af436c79ada0e2ba891717a9c333ndUTSBASE = ../..
fba8c07e02a9af436c79ada0e2ba891717a9c333nd
925932040ee7871b6a2418edc3b4b6f4378bbe2and#
925932040ee7871b6a2418edc3b4b6f4378bbe2and# Define the module and object file sets.
925932040ee7871b6a2418edc3b4b6f4378bbe2and#
73291de2e17c97d3549f2f8aa085ca43d27e108andMODULE = kmech_dummy
73291de2e17c97d3549f2f8aa085ca43d27e108andOBJECTS = $(KGSS_DUMMY_OBJS:%=$(OBJS_DIR)/%)
73291de2e17c97d3549f2f8aa085ca43d27e108andLINTS = $(KGSS_DUMMY_OBJS:%.o=$(LINTS_DIR)/%.ln)
73291de2e17c97d3549f2f8aa085ca43d27e108andROOTMODULE = $(ROOT_KGSS_DIR)/$(MODULE)
3caed8f01e7d67f3ad5d47cb28bb4e43131652fdjerenkrantz
3caed8f01e7d67f3ad5d47cb28bb4e43131652fdjerenkrantz#
3caed8f01e7d67f3ad5d47cb28bb4e43131652fdjerenkrantz# Include common rules.
238e707c9022eaa8332a702dd6913dd0d1fb3df8jerenkrantz#
238e707c9022eaa8332a702dd6913dd0d1fb3df8jerenkrantzinclude $(UTSBASE)/sparc/Makefile.sparc
3caed8f01e7d67f3ad5d47cb28bb4e43131652fdjerenkrantz
e127d82e8afc2f885fe2183b68d4a110580d21dfjwoolleyCERRWARN += -_gcc=-Wno-parentheses
e127d82e8afc2f885fe2183b68d4a110580d21dfjwoolley
e127d82e8afc2f885fe2183b68d4a110580d21dfjwoolley#
e127d82e8afc2f885fe2183b68d4a110580d21dfjwoolley# Define targets
5b953b9aeef5b38cae481e062a7b5ac209a6170end#
5b953b9aeef5b38cae481e062a7b5ac209a6170endALL_TARGET = $(BINARY)
5b953b9aeef5b38cae481e062a7b5ac209a6170endLINT_TARGET = $(MODULE).lint
5b953b9aeef5b38cae481e062a7b5ac209a6170endINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
fd99717a52886f7d9f9f73be2080d3fdc2ec4bd6nd
fd99717a52886f7d9f9f73be2080d3fdc2ec4bd6nd#
fd99717a52886f7d9f9f73be2080d3fdc2ec4bd6nd# lint pass one enforcement
5c76205ce580dbac0020fbba74bcf211de3923d3nd#
5c76205ce580dbac0020fbba74bcf211de3923d3ndCFLAGS += $(CCVERBOSE)
5c76205ce580dbac0020fbba74bcf211de3923d3nd
5c76205ce580dbac0020fbba74bcf211de3923d3nd#
5fb2e8564729922524cd011b11e2d4f5d76f5a8dnd# Define dependency on kgssapi
5fb2e8564729922524cd011b11e2d4f5d76f5a8dnd#
5fb2e8564729922524cd011b11e2d4f5d76f5a8dndLDFLAGS += -dy -N misc/kgssapi
987c2c2ff2f19f306357f79d3280b347d96c470fnd
987c2c2ff2f19f306357f79d3280b347d96c470fnd#
987c2c2ff2f19f306357f79d3280b347d96c470fnd# Default build targets.
987c2c2ff2f19f306357f79d3280b347d96c470fnd#
99c475e760470ab8ca3d17da82a2f6158466f918rederpj.KEEP_STATE:
99c475e760470ab8ca3d17da82a2f6158466f918rederpj
99c475e760470ab8ca3d17da82a2f6158466f918rederpjdef: $(DEF_DEPS)
99c475e760470ab8ca3d17da82a2f6158466f918rederpj
c2d16e88f6a997b9174b5596db5e03cee5f46a8brederpjall: $(ALL_DEPS)
c2d16e88f6a997b9174b5596db5e03cee5f46a8brederpj
7edcfe02796a70f2a5eac12b6766d11067c629a3rederpjclean: $(CLEAN_DEPS)
c2d16e88f6a997b9174b5596db5e03cee5f46a8brederpj
c2d16e88f6a997b9174b5596db5e03cee5f46a8brederpjclobber: $(CLOBBER_DEPS)
c2d16e88f6a997b9174b5596db5e03cee5f46a8brederpj
a4dd3688dd6645faf0c1c1bfb22017c8f03d5b24ndlint: $(LINT_DEPS)
a4dd3688dd6645faf0c1c1bfb22017c8f03d5b24nd
a4dd3688dd6645faf0c1c1bfb22017c8f03d5b24ndmodlintlib: $(MODLINTLIB_DEPS)
f2fe083bb9fabd2af7eb39d4f154f27a451bb5a4nd
f2fe083bb9fabd2af7eb39d4f154f27a451bb5a4ndclean.lint: $(CLEAN_LINT_DEPS)
f2fe083bb9fabd2af7eb39d4f154f27a451bb5a4nd
f2fe083bb9fabd2af7eb39d4f154f27a451bb5a4nd#
7de6cb79f71a9007ba2b1e786cbad8b84f05d101nd# Do not install the dummy GSS-API mechanism in the proto area
7de6cb79f71a9007ba2b1e786cbad8b84f05d101nd# for a normal build
7de6cb79f71a9007ba2b1e786cbad8b84f05d101nd#
7de6cb79f71a9007ba2b1e786cbad8b84f05d101ndinstall: def
aa9b03a5f32732c0caaef03a7ed78ffb290e29e4trawick
aa9b03a5f32732c0caaef03a7ed78ffb290e29e4trawick#
aa9b03a5f32732c0caaef03a7ed78ffb290e29e4trawick# handy target to manually force the install
d1c46782edbd6bd5ae4592c0174969950c5ca8aetrawick#
d1c46782edbd6bd5ae4592c0174969950c5ca8aetrawickdo_install: $(INSTALL_DEPS)
d1c46782edbd6bd5ae4592c0174969950c5ca8aetrawick
ab56518227d474ee08f039e4c5540011c1b8a913trawick#
ab56518227d474ee08f039e4c5540011c1b8a913trawick# Include common targets.
ab56518227d474ee08f039e4c5540011c1b8a913trawick#
4e330708371c3e9b04d1043f0a1ac9368bfbd768coarinclude $(UTSBASE)/sparc/Makefile.targ
4e330708371c3e9b04d1043f0a1ac9368bfbd768coar