Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
98N/A#
98N/A# CDDL HEADER START
606N/A#
98N/A# The contents of this file are subject to the terms of the
1630N/A# Common Development and Distribution License, Version 1.0 only
98N/A# (the "License"). You may not use this file except in compliance
98N/A# with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
98N/A#
98N/A#ident "%Z%%M% %I% %E% SMI"
98N/A
98N/AMODULE = genunix.so
493N/AMDBTGT = kvm
98N/A
98N/ACOMMONSRCS = \
1634N/A bio.c \
98N/A contract.c \
911N/A cpupart.c \
1634N/A ctxop.c \
1634N/A cyclic.c \
1634N/A devinfo.c \
911N/A findstack.c \
98N/A genunix.c \
1549N/A kgrep.c \
606N/A kmem.c \
1119N/A ldi.c \
606N/A leaky.c \
98N/A leaky_subr.c \
98N/A lgrp.c \
98N/A list.c \
493N/A log.c \
98N/A memory.c \
705N/A mmd.c \
705N/A modhash.c \
705N/A ndievents.c \
705N/A net.c \
1630N/A nvpair.c \
1630N/A rctl.c \
1630N/A sobj.c \
98N/A streams.c \
1549N/A sysevent.c \
606N/A thread.c \
1425N/A tsd.c \
1425N/A vfs.c \
1097N/A zone.c
1097N/A
98N/AKMODSRCS = \
1425N/A $(COMMONSRCS)
1425N/A
1425N/AMODSRCS = \
1425N/A $(COMMONSRCS) \
1425N/A typegraph.c
1549N/A
1549N/A#
1549N/A# This signals that $(KMODSRCS) != $(MODSRCS). Typegraph is not usable under
1549N/A# kmdb. As such, we don't bother compiling it.
1549N/AKMOD_SOURCES_DIFFERENT=$(POUND_SIGN)
1549N/A
98N/Ainclude ../../../../Makefile.cmd
493N/Ainclude ../../../../Makefile.cmd.64
include ../../Makefile.sparcv9
include ../../../Makefile.module
#
# 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