Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder#
c63ebf815c8a874525cf18670ad74847f7fc7b26Christian Maeder# CDDL HEADER START
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder#
25cc5fbba63f84b47e389af749f55abbbde71c8cChristian Maeder# The contents of this file are subject to the terms of the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Common Development and Distribution License (the "License").
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder# You may not use this file except in compliance with the License.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder#
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# or http://www.opensolaris.org/os/licensing.
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder# See the License for the specific language governing permissions
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# and limitations under the License.
f4a2a20e49f41b2afa657e5e64d9e349c7faa091Christian Maeder#
f2f9df2e17e70674f0bf426ed1763c973ee4cde0Christian Maeder# When distributing Covered Code, include this CDDL HEADER in each
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# If applicable, add the following below this CDDL HEADER, with the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# fields enclosed by brackets "[]" replaced with your own identifying
68d10d143f29fcff3c637ba24f90e983995ceae6Christian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
a53841f6d6e86ac751c12a33dc8aadf53f59d977Klaus Luettich#
a53841f6d6e86ac751c12a33dc8aadf53f59d977Klaus Luettich# CDDL HEADER END
a53841f6d6e86ac751c12a33dc8aadf53f59d977Klaus Luettich#
a53841f6d6e86ac751c12a33dc8aadf53f59d977Klaus Luettich#
a737caf82de97c1907027c03e4b4509eb492b4b8Christian Maeder# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
68d10d143f29fcff3c637ba24f90e983995ceae6Christian Maeder# Use is subject to license terms.
96646aed2ae087b942ae23f15bbe729a8f7c43d3Christian Maeder#
01e383014b555bbcf639c0ca60c5810b3eff83c0Christian Maeder
3b06e23643a9f65390cb8c1caabe83fa7e87a708Till MossakowskiMODULE = fctl.so
9dac90ec2be2a72e03893095461960d483fe2fc2Christian MaederMDBTGT = kvm
5e5d3e82af3bc2834f8718a52d9f45da80220273Dominik Luecke
7bdc9c0783f9c8c830346e6baeac9306eee1a622Christian MaederMODSRCS = fctl.c
ce8b15da31cd181b7e90593cbbca98f47eda29d6Till Mossakowski
e7757995211bd395dc79d26fe017d99375f7d2a6Christian Maederinclude ../../../../Makefile.cmd
e7757995211bd395dc79d26fe017d99375f7d2a6Christian Maederinclude ../../../../Makefile.cmd.64
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maederinclude ../../Makefile.sparcv9
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maederinclude ../../../Makefile.module
a1ed34933c266ce85066acb0d7b20c90cb8eb213Christian Maeder
c0c2380bced8159ff0297ece14eba948bd236471Christian MaederCPPFLAGS += -I$(SRC)/uts/common
8410667510a76409aca9bb24ff0eda0420088274Christian Maeder
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian MaederLINTFLAGS64 += -erroff=E_STATIC_UNUSED -erroff=E_FUNC_VAR_UNUSED
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian MaederLINTFLAGS64 += -erroff=E_PRECEDENCE_CONFUSION
8410667510a76409aca9bb24ff0eda0420088274Christian MaederLINTFLAGS64 += -erroff=E_SEC_FORBIDDEN_WARN_CFTIME
404166b9366552e9ec5abb87a37c76ec8a815fb7Klaus LuettichLINTFLAGS64 += -erroff=E_FUNC_SET_NOT_USED
b1f59a4ea7c96f4c03a4d7cfcb9c5e66871cfbbbChristian MaederLINTFLAGS64 += -erroff=E_FUNC_ARG_UNUSED
ad270004874ce1d0697fb30d7309f180553bb315Christian MaederLINTFLAGS64 += -erroff=E_SEC_SPRINTF_UNBOUNDED_COPY
4d56f2fa72e4aec20eb827c11ed49c8cbb7014bdChristian Maeder
4cb215739e9ab13447fa21162482ebe485b47455Christian MaederCERRWARN += -_gcc=-Wno-unused-function
8ef75f1cc0437656bf622cec5ac9e8ea221da8f2Christian MaederCERRWARN += -_gcc=-Wno-unused-variable
404166b9366552e9ec5abb87a37c76ec8a815fb7Klaus LuettichCERRWARN += -_gcc=-Wno-parentheses
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder