Makefile revision ae115bc77f6fcde83175c75b4206dc2e50747966
f743002678eb67b99bbc29fee116b65d9530fec0wrowe#
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# CDDL HEADER START
efe780dcf13b2b95effabf897d694d8f23feac74trawick#
5725c3eb0c6c572049ba61dedd92b4e5da078081minfrin# The contents of this file are subject to the terms of the
5725c3eb0c6c572049ba61dedd92b4e5da078081minfrin# Common Development and Distribution License (the "License").
5725c3eb0c6c572049ba61dedd92b4e5da078081minfrin# You may not use this file except in compliance with the License.
5725c3eb0c6c572049ba61dedd92b4e5da078081minfrin#
1122585e1e00bb81e9d0f054bf5c318cec23aa7dminfrin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1122585e1e00bb81e9d0f054bf5c318cec23aa7dminfrin# or http://www.opensolaris.org/os/licensing.
1122585e1e00bb81e9d0f054bf5c318cec23aa7dminfrin# See the License for the specific language governing permissions
fd292d721a12f04a14e7f2ce30545840c041c7d5trawick# and limitations under the License.
fd292d721a12f04a14e7f2ce30545840c041c7d5trawick#
fd292d721a12f04a14e7f2ce30545840c041c7d5trawick# When distributing Covered Code, include this CDDL HEADER in each
aaa3098119e0d67a8bf15a00903da7d3258d8148rjung# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
aaa3098119e0d67a8bf15a00903da7d3258d8148rjung# If applicable, add the following below this CDDL HEADER, with the
aaa3098119e0d67a8bf15a00903da7d3258d8148rjung# fields enclosed by brackets "[]" replaced with your own identifying
b95471fea55df98d7a6946c2c1826d3e2b5beebcjim# information: Portions Copyright [yyyy] [name of copyright owner]
b95471fea55df98d7a6946c2c1826d3e2b5beebcjim#
b95471fea55df98d7a6946c2c1826d3e2b5beebcjim# CDDL HEADER END
b4e664baba9a4be0457c31f84b3dcc4c31f2cb07kbrand
b4e664baba9a4be0457c31f84b3dcc4c31f2cb07kbrand
b4e664baba9a4be0457c31f84b3dcc4c31f2cb07kbrand#
b4e664baba9a4be0457c31f84b3dcc4c31f2cb07kbrand#
a52dab9b245d2bc88feacc380eb94bd6abcd5dd0kbrand# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
b4e664baba9a4be0457c31f84b3dcc4c31f2cb07kbrand# Use is subject to license terms.
ac0c8366f49659958162b4bfb3d625a77343eda3kbrand#
ac0c8366f49659958162b4bfb3d625a77343eda3kbrand#ident "%Z%%M% %I% %E% SMI"
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedooh
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedoohMODULE = genunix.so
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedoohMDBTGT = kvm
2021e9833981f994f862e7157cb4b96cad797362trawick
2021e9833981f994f862e7157cb4b96cad797362trawickinclude ../../../common/modules/genunix/Makefile.files
2021e9833981f994f862e7157cb4b96cad797362trawick
efe780dcf13b2b95effabf897d694d8f23feac74trawickCOMMONSRCS = \
793214f67dede32edfd9ee96c664ead04d175cbbjfclere $(GENUNIX_SRCS)
cc5a4a08dc9783fcbc52ce86f11e01c281a43810minfrin
33124689065ade0dfc8c54d8ebb734f9439cb89btrawickKMODSRCS = \
33124689065ade0dfc8c54d8ebb734f9439cb89btrawick $(COMMONSRCS)
33124689065ade0dfc8c54d8ebb734f9439cb89btrawick
3ccfc257819b3bad063cd3ac9dd1670d5d2ae4d2kbrandMODSRCS = \
3ccfc257819b3bad063cd3ac9dd1670d5d2ae4d2kbrand $(COMMONSRCS) \
3ccfc257819b3bad063cd3ac9dd1670d5d2ae4d2kbrand typegraph.c
3ccfc257819b3bad063cd3ac9dd1670d5d2ae4d2kbrand
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovener#
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovener# This signals that $(KMODSRCS) != $(MODSRCS). Typegraph is not usable under
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovener# kmdb. As such, we don't bother compiling it.
249d09d51808cb7981af99762c3b3736ca126cd5jkaluzaKMOD_SOURCES_DIFFERENT=$(POUND_SIGN)
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza
249d09d51808cb7981af99762c3b3736ca126cd5jkaluzainclude ../../../../Makefile.cmd
249d09d51808cb7981af99762c3b3736ca126cd5jkaluzainclude ../../Makefile.ia32
56589be3d7a3e9343370df240010c6928cc78b39jkaluzainclude ../../../Makefile.module
56589be3d7a3e9343370df240010c6928cc78b39jkaluza
56589be3d7a3e9343370df240010c6928cc78b39jkaluza#
8c4967445b49a1612b3f98c1dada65e597ecfe26trawick# We are not actually hardwiring some dependency on i86pc, we just need to
8c4967445b49a1612b3f98c1dada65e597ecfe26trawick# include sys/param.h with _MACHDEP defined, and this forces the inclusion of
8c4967445b49a1612b3f98c1dada65e597ecfe26trawick# machparam.h, even though we don't use anything there. This is a temporary
61fefed8ce5211c31b44f3a38a6e76ca055e5780trawick# kludge until we invent -DDONTINCLUDEMACHPARAM or something.
61fefed8ce5211c31b44f3a38a6e76ca055e5780trawick#
61fefed8ce5211c31b44f3a38a6e76ca055e5780trawickCPPFLAGS += -I$(SRC)/uts/i86pc
61fefed8ce5211c31b44f3a38a6e76ca055e5780trawick
6001d914962deabb83a46251001612e969bdf67ajim# Needed to include c2/audit.h (from cred.h)
6001d914962deabb83a46251001612e969bdf67ajimCPPFLAGS += -I$(SRC)/uts/common
6001d914962deabb83a46251001612e969bdf67ajim
c4e8006db0cf457c68876d7d4c30dcc451d8cba7jkaluza# Needed to find include file mutex_impl.h
c4e8006db0cf457c68876d7d4c30dcc451d8cba7jkaluzaCPPFLAGS += -I$(SRC)/uts/intel
c4e8006db0cf457c68876d7d4c30dcc451d8cba7jkaluza