Makefile revision f841f6ad96ea6675d6c6b35c749eaac601799fdf
424N/A#
424N/A# CDDL HEADER START
424N/A#
424N/A# The contents of this file are subject to the terms of the
424N/A# Common Development and Distribution License (the "License").
424N/A# You may not use this file except in compliance with the License.
424N/A#
424N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
424N/A# or http://www.opensolaris.org/os/licensing.
424N/A# See the License for the specific language governing permissions
424N/A# and limitations under the License.
424N/A#
424N/A# When distributing Covered Code, include this CDDL HEADER in each
424N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
424N/A# If applicable, add the following below this CDDL HEADER, with the
424N/A# fields enclosed by brackets "[]" replaced with your own identifying
424N/A# information: Portions Copyright [yyyy] [name of copyright owner]
424N/A#
424N/A# CDDL HEADER END
424N/A#
424N/A#
424N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
424N/A# Use is subject to license terms.
424N/A#
424N/A# ident "%Z%%M% %I% %E% SMI"
424N/A
424N/APLATFORMS = SUNW,SPARC-Enterprise
424N/ACLASS = plat
424N/AMODULE = cpumem-retire
424N/A
424N/ACPUMEM_RETIRE_COMMON = ../../common/$(MODULE)
424N/A
493N/AINCDIRS += .
424N/AINCDIRS += $(CPUMEM_RETIRE_COMMON)
424N/A
424N/ASRCS = \
493N/A cma_cpu.c \
424N/A cma_cpu_hc.c \
424N/A cma_main.c \
493N/A cma_page.c
424N/A
424N/Ainclude ../../Makefile.plugin
424N/A
424N/ACMA_VERSION = "1.1"
424N/A
424N/A
493N/ALIBDIRS = $(ROOT)/usr/platform/$(PLATFORMS)/lib
493N/ACPPFLAGS += $(INCDIRS:%=-I%) -DCMA_VERSION='$(CMA_VERSION)'
424N/ALDFLAGS += -R/usr/lib/fm
424N/ALDLIBS += -L$(ROOTLIB)/fm -ltopo
424N/A
424N/A%.o: $(CPUMEM_RETIRE_COMMON)/%.c
424N/A $(COMPILE.c) -o $@ $<
424N/A $(CTFCONVERT_O)
424N/A
%.ln: $(CPUMEM_RETIRE_COMMON)/%.c
$(LINT.c) -c $<