Makefile revision 087e1372ab71eb8a49fbb5619711cfbb79f695fc
0N/A#
3915N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
2362N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2362N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A
2362N/A
2362N/A#
2362N/A#
0N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
0N/A#
0N/A#ident "%Z%%M% %I% %E% SMI"
0N/A
0N/AMODULE = genunix.so
0N/AMDBTGT = kvm
0N/A
3516N/Ainclude ../../../common/modules/genunix/Makefile.files
3516N/A
3516N/ACOMMONSRCS = \
3516N/A $(GENUNIX_SRCS)
3516N/A
3516N/AKMODSRCS = \
3516N/A $(COMMONSRCS)
3516N/A
3516N/AMODSRCS = \
3516N/A $(COMMONSRCS) \
3516N/A typegraph.c
3516N/A
3516N/A#
3516N/A# This signals that $(KMODSRCS) != $(MODSRCS). Typegraph is not usable under
3516N/A# kmdb. As such, we don't bother compiling it.
3516N/AKMOD_SOURCES_DIFFERENT=$(POUND_SIGN)
3516N/A
3516N/Ainclude ../../../../Makefile.cmd
3516N/Ainclude ../../../../Makefile.cmd.64
3516N/Ainclude ../../Makefile.sparcv9
3516N/Ainclude ../../../Makefile.module
3516N/A
3516N/Admod/$(MODULE) := LDLIBS += -lm
3516N/A
3516N/A#
3516N/A# We are not actually hardwiring some dependency on sun4u, we just need to
3516N/A# include sys/param.h with _MACHDEP defined, and this forces the inclusion of
3516N/A# machparam.h, even though we don't use anything there. This is a temporary
3516N/A# kludge until we invent -DDONTINCLUDEMACHPARAM or something.
3516N/A#
3516N/ACPPFLAGS += -I$(SRC)/uts/sun4u
3516N/A
3516N/A# Needed to include c2/audit.h (from cred.h)
3516N/ACPPFLAGS += -I$(SRC)/uts/common
3516N/A# Needed to find include file mutex_impl.h
3516N/ACPPFLAGS += -I$(SRC)/uts/sparc/v9
3516N/A