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