Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
6672b3524c2305d8c66d8189c774f549be352ac0Mark Andrews#
6672b3524c2305d8c66d8189c774f549be352ac0Mark Andrews# CDDL HEADER START
74f261bd2b7846d8e730ca3a1b28d6503de5c74aMark Andrews#
74f261bd2b7846d8e730ca3a1b28d6503de5c74aMark Andrews# The contents of this file are subject to the terms of the
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews# Common Development and Distribution License (the "License").
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews# You may not use this file except in compliance with the License.
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews# or http://www.opensolaris.org/os/licensing.
715361d0c3800e5ad886e5df971936ce6cd1ca89Mark Andrews# See the License for the specific language governing permissions
715361d0c3800e5ad886e5df971936ce6cd1ca89Mark Andrews# and limitations under the License.
715361d0c3800e5ad886e5df971936ce6cd1ca89Mark Andrews#
715361d0c3800e5ad886e5df971936ce6cd1ca89Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
715361d0c3800e5ad886e5df971936ce6cd1ca89Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3d711f2f75cb9a9ddcbf1fca9b2de192e75340e6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
3d711f2f75cb9a9ddcbf1fca9b2de192e75340e6Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
3d711f2f75cb9a9ddcbf1fca9b2de192e75340e6Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
a268fec7f54a89a0772a91da0511c8eae09e6157Mark Andrews#
a268fec7f54a89a0772a91da0511c8eae09e6157Mark Andrews# CDDL HEADER END
a268fec7f54a89a0772a91da0511c8eae09e6157Mark Andrews#
4e1d3e67cdc76609bad5f0310ac48de10b442b9fMark Andrews#
4e1d3e67cdc76609bad5f0310ac48de10b442b9fMark Andrews# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
4e1d3e67cdc76609bad5f0310ac48de10b442b9fMark Andrews# Use is subject to license terms.
4e1d3e67cdc76609bad5f0310ac48de10b442b9fMark Andrews#
4e1d3e67cdc76609bad5f0310ac48de10b442b9fMark Andrews
6b79e960e6ba2991aeb02a6c39af255ab7f06d99Mark AndrewsMODULE = fctl.so
6b79e960e6ba2991aeb02a6c39af255ab7f06d99Mark AndrewsMDBTGT = kvm
6b79e960e6ba2991aeb02a6c39af255ab7f06d99Mark Andrews
6b79e960e6ba2991aeb02a6c39af255ab7f06d99Mark AndrewsMODSRCS = fctl.c
6b79e960e6ba2991aeb02a6c39af255ab7f06d99Mark Andrews
6b79e960e6ba2991aeb02a6c39af255ab7f06d99Mark Andrewsinclude ../../../../Makefile.cmd
6b79e960e6ba2991aeb02a6c39af255ab7f06d99Mark Andrewsinclude ../../../../Makefile.cmd.64
74a14c4eb8518a9cc31cb5a918547a93d0c0e838Mark Andrewsinclude ../../Makefile.sparcv9
74a14c4eb8518a9cc31cb5a918547a93d0c0e838Mark Andrewsinclude ../../../Makefile.module
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark Andrews
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark AndrewsCPPFLAGS += -I$(SRC)/uts/common
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark Andrews
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark AndrewsLINTFLAGS64 += -erroff=E_STATIC_UNUSED -erroff=E_FUNC_VAR_UNUSED
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark AndrewsLINTFLAGS64 += -erroff=E_PRECEDENCE_CONFUSION
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark AndrewsLINTFLAGS64 += -erroff=E_SEC_FORBIDDEN_WARN_CFTIME
261a6a1f7d95eaf0cd882f3123dcfd775517a54fMark AndrewsLINTFLAGS64 += -erroff=E_FUNC_SET_NOT_USED
7c678cfe0bd477ded2995b9490d72edf7bc76a84Mark AndrewsLINTFLAGS64 += -erroff=E_FUNC_ARG_UNUSED
7c678cfe0bd477ded2995b9490d72edf7bc76a84Mark AndrewsLINTFLAGS64 += -erroff=E_SEC_SPRINTF_UNBOUNDED_COPY
a20e888bde4b307050d76e09266b2fb49f03bc30Mark Andrews
a20e888bde4b307050d76e09266b2fb49f03bc30Mark AndrewsCERRWARN += -_gcc=-Wno-unused-function
a20e888bde4b307050d76e09266b2fb49f03bc30Mark AndrewsCERRWARN += -_gcc=-Wno-unused-variable
f4f0eedb8916a824124cf56d4c3f18eb6c77b42eMark AndrewsCERRWARN += -_gcc=-Wno-parentheses
f4f0eedb8916a824124cf56d4c3f18eb6c77b42eMark Andrews