Makefile revision 1529f529004c61fcfd0d95ab79b0f257d6ad4451
0N/A#
381N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
0N/A#
0N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
0N/A#
0N/A
0N/ACLASS = arch
0N/AARCH = sun4v
0N/AMODULE = generic-mem
0N/AGENERIC_MEM = ../../sun4v/$(MODULE)
0N/A
0N/ASRCS = \
0N/A gmem_main.c \
0N/A gmem_mem.c \
0N/A gmem_dimm.c \
0N/A gmem_memerr.c \
0N/A gmem_page.c \
0N/A gmem_state.c \
0N/A gmem_fmri.c \
0N/A gmem_util.c
0N/A
0N/Ainclude ../../Makefile.plugin
0N/A
0N/AINCDIRS += \
0N/A $(SRC)/uts/sun4 \
0N/A $(SRC)/uts/sparc/v9 \
0N/A $(SRC)/uts/sun4v \
0N/A $(ROOT)/usr/platform/sun4v/include \
0N/A $(GENERIC_MEM)
0N/A
0N/AGMEM_VERSION = "1.0"
0N/A
0N/ALDLIBS += -L$(ROOTLIB)/fm -ltopo
0N/ALDFLAGS += -R/usr/lib/fm
0N/ACPPFLAGS += $(INCDIRS:%=-I%) -DGMEM_VERSION='$(GMEM_VERSION)' -D$(ARCH)
0N/A
0N/A%.o: $(GENERIC_MEM)/%.c
0N/A $(COMPILE.c) -o $@ $<
0N/A $(CTFCONVERT_O)
524N/A
0N/A%.ln: $(GENERIC_MEM)/%.c
0N/A $(LINT.c) -c $<
0N/A