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