Makefile revision 9dd0f810214fdc8e1af881a9a5c4b6927629ff9e
829N/A#
6321N/A# CDDL HEADER START
829N/A#
829N/A# The contents of this file are subject to the terms of the
829N/A# Common Development and Distribution License (the "License").
829N/A# You may not use this file except in compliance with the License.
2362N/A#
829N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2362N/A# or http://www.opensolaris.org/os/licensing.
829N/A# See the License for the specific language governing permissions
829N/A# and limitations under the License.
829N/A#
829N/A# When distributing Covered Code, include this CDDL HEADER in each
829N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
829N/A# If applicable, add the following below this CDDL HEADER, with the
829N/A# fields enclosed by brackets "[]" replaced with your own identifying
829N/A# information: Portions Copyright [yyyy] [name of copyright owner]
829N/A#
829N/A# CDDL HEADER END
829N/A
2362N/A
2362N/A#
2362N/A#
829N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
829N/A# Use is subject to license terms.
829N/A#
829N/A#ident "%Z%%M% %I% %E% SMI"
829N/A
829N/AMODULE = genunix.so
829N/AMDBTGT = kvm
829N/A
829N/ACOMMONSRCS = \
829N/A avl.c \
829N/A bio.c \
829N/A contract.c \
829N/A cpupart.c \
829N/A ctxop.c \
829N/A cyclic.c \
829N/A devinfo.c \
829N/A findstack.c \
829N/A fm.c \
829N/A genunix.c \
829N/A kgrep.c \
829N/A kmem.c \
6321N/A ldi.c \
829N/A leaky.c \
829N/A leaky_subr.c \
829N/A lgrp.c \
6321N/A list.c \
829N/A log.c \
6321N/A mdi.c \
829N/A memory.c \
829N/A mmd.c \
829N/A modhash.c \
6321N/A ndievents.c \
829N/A net.c \
6321N/A nvpair.c \
829N/A rctl.c \
829N/A sobj.c \
829N/A streams.c \
829N/A sysevent.c \
829N/A thread.c \
829N/A tsd.c \
829N/A tsol.c \
829N/A vfs.c \
829N/A zone.c
829N/A
829N/AKMODSRCS = \
829N/A $(COMMONSRCS)
829N/A
829N/AMODSRCS = \
829N/A $(COMMONSRCS) \
829N/A typegraph.c
829N/A
829N/A#
829N/A# This signals that $(KMODSRCS) != $(MODSRCS). Typegraph is not usable under
829N/A# kmdb. As such, we don't bother compiling it.
829N/AKMOD_SOURCES_DIFFERENT=$(POUND_SIGN)
829N/A
829N/Ainclude ../../../../Makefile.cmd
829N/Ainclude ../../Makefile.ia32
829N/Ainclude ../../../Makefile.module
829N/A
829N/A#
829N/A# We are not actually hardwiring some dependency on i86pc, we just need to
829N/A# include sys/param.h with _MACHDEP defined, and this forces the inclusion of
829N/A# machparam.h, even though we don't use anything there. This is a temporary
829N/A# kludge until we invent -DDONTINCLUDEMACHPARAM or something.
829N/A#
829N/ACPPFLAGS += -I$(SRC)/uts/i86pc
829N/A
829N/A# Needed to include c2/audit.h (from cred.h)
829N/ACPPFLAGS += -I$(SRC)/uts/common
829N/A
829N/A# Needed to find include file mutex_impl.h
829N/ACPPFLAGS += -I$(SRC)/uts/intel
829N/A