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