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