Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
487N/A#
487N/A# CDDL HEADER START
487N/A#
487N/A# The contents of this file are subject to the terms of the
487N/A# Common Development and Distribution License (the "License").
487N/A# You may not use this file except in compliance with the License.
487N/A#
487N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
487N/A# or http://www.opensolaris.org/os/licensing.
487N/A# See the License for the specific language governing permissions
487N/A# and limitations under the License.
487N/A#
487N/A# When distributing Covered Code, include this CDDL HEADER in each
487N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
487N/A# If applicable, add the following below this CDDL HEADER, with the
487N/A# fields enclosed by brackets "[]" replaced with your own identifying
487N/A# information: Portions Copyright [yyyy] [name of copyright owner]
487N/A#
487N/A# CDDL HEADER END
487N/A
487N/A
487N/A#
487N/A#
487N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
487N/A# Use is subject to license terms.
487N/A#
487N/A
487N/AMODULE = genunix.so
487N/AMDBTGT = kvm
487N/A
487N/Ainclude ../../../common/modules/genunix/Makefile.files
487N/A
487N/ACOMMONSRCS = \
487N/A $(GENUNIX_SRCS)
487N/A
487N/AKMODSRCS = \
487N/A $(COMMONSRCS)
487N/A
487N/AMODSRCS = \
487N/A $(COMMONSRCS) \
487N/A typegraph.c
487N/A
487N/A#
487N/A# This signals that $(KMODSRCS) != $(MODSRCS). Typegraph is not usable under
487N/A# kmdb. As such, we don't bother compiling it.
487N/AKMOD_SOURCES_DIFFERENT=$(POUND_SIGN)
487N/A
487N/Ainclude ../../../../Makefile.cmd
487N/Ainclude ../../../../Makefile.cmd.64
487N/Ainclude ../../Makefile.sparcv9
487N/Ainclude ../../../Makefile.module
487N/A
487N/Admod/$(MODULE) := LDLIBS += -lm
487N/A
487N/A#
487N/A# We are not actually hardwiring some dependency on sun4u, we just need to
487N/A# include sys/param.h with _MACHDEP defined, and this forces the inclusion of
487N/A# machparam.h, even though we don't use anything there. This is a temporary
487N/A# kludge until we invent -DDONTINCLUDEMACHPARAM or something.
487N/A#
487N/ACPPFLAGS += -I$(SRC)/uts/sun4u
487N/A
487N/A# Needed to include c2/audit.h (from cred.h)
487N/ACPPFLAGS += -I$(SRC)/uts/common
487N/A# Needed to find include file mutex_impl.h
487N/ACPPFLAGS += -I$(SRC)/uts/sparc/v9
487N/A
487N/ACERRWARN += -_gcc=-Wno-char-subscripts
487N/ACERRWARN += -_gcc=-Wno-unused-label
487N/ACERRWARN += -_gcc=-Wno-uninitialized
487N/ACERRWARN += -_gcc=-Wno-parentheses
487N/ACERRWARN += -_gcc=-Wno-type-limits
487N/A