82d33c01b078ed404a986a369750cdb4743773fbav#
82d33c01b078ed404a986a369750cdb4743773fbav# CDDL HEADER START
82d33c01b078ed404a986a369750cdb4743773fbav#
82d33c01b078ed404a986a369750cdb4743773fbav# The contents of this file are subject to the terms of the
82d33c01b078ed404a986a369750cdb4743773fbav# Common Development and Distribution License (the "License").
82d33c01b078ed404a986a369750cdb4743773fbav# You may not use this file except in compliance with the License.
82d33c01b078ed404a986a369750cdb4743773fbav#
82d33c01b078ed404a986a369750cdb4743773fbav# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
82d33c01b078ed404a986a369750cdb4743773fbav# or http://www.opensolaris.org/os/licensing.
82d33c01b078ed404a986a369750cdb4743773fbav# See the License for the specific language governing permissions
82d33c01b078ed404a986a369750cdb4743773fbav# and limitations under the License.
82d33c01b078ed404a986a369750cdb4743773fbav#
82d33c01b078ed404a986a369750cdb4743773fbav# When distributing Covered Code, include this CDDL HEADER in each
82d33c01b078ed404a986a369750cdb4743773fbav# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
82d33c01b078ed404a986a369750cdb4743773fbav# If applicable, add the following below this CDDL HEADER, with the
82d33c01b078ed404a986a369750cdb4743773fbav# fields enclosed by brackets "[]" replaced with your own identifying
82d33c01b078ed404a986a369750cdb4743773fbav# information: Portions Copyright [yyyy] [name of copyright owner]
82d33c01b078ed404a986a369750cdb4743773fbav#
82d33c01b078ed404a986a369750cdb4743773fbav# CDDL HEADER END
82d33c01b078ed404a986a369750cdb4743773fbav#
82d33c01b078ed404a986a369750cdb4743773fbav#
5f149bca52352f45598e5563debe72ce04bd7a21cy# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
82d33c01b078ed404a986a369750cdb4743773fbav# Use is subject to license terms.
82d33c01b078ed404a986a369750cdb4743773fbav#
82d33c01b078ed404a986a369750cdb4743773fbav
82d33c01b078ed404a986a369750cdb4743773fbavPLATFORMS = SUNW,SPARC-Enterprise
82d33c01b078ed404a986a369750cdb4743773fbavCLASS = plat
82d33c01b078ed404a986a369750cdb4743773fbavMODULE = cpumem-retire
82d33c01b078ed404a986a369750cdb4743773fbav
82d33c01b078ed404a986a369750cdb4743773fbavCPUMEM_RETIRE_COMMON = ../../common/$(MODULE)
82d33c01b078ed404a986a369750cdb4743773fbav
82d33c01b078ed404a986a369750cdb4743773fbavINCDIRS += .
82d33c01b078ed404a986a369750cdb4743773fbavINCDIRS += $(CPUMEM_RETIRE_COMMON)
82d33c01b078ed404a986a369750cdb4743773fbav
82d33c01b078ed404a986a369750cdb4743773fbavSRCS = \
5f149bca52352f45598e5563debe72ce04bd7a21cy cma_main.c \
5f149bca52352f45598e5563debe72ce04bd7a21cy cma_cpu.c \
5f149bca52352f45598e5563debe72ce04bd7a21cy cma_cpu_arch.c \
5f149bca52352f45598e5563debe72ce04bd7a21cy cma_page.c \
5f149bca52352f45598e5563debe72ce04bd7a21cy cma_page_arch.c
82d33c01b078ed404a986a369750cdb4743773fbav
82d33c01b078ed404a986a369750cdb4743773fbavinclude ../../Makefile.plugin
82d33c01b078ed404a986a369750cdb4743773fbav
82d33c01b078ed404a986a369750cdb4743773fbavCMA_VERSION = "1.1"
82d33c01b078ed404a986a369750cdb4743773fbav
82d33c01b078ed404a986a369750cdb4743773fbav
82d33c01b078ed404a986a369750cdb4743773fbavLIBDIRS = $(ROOT)/usr/platform/$(PLATFORMS)/lib
5f149bca52352f45598e5563debe72ce04bd7a21cyCPPFLAGS += $(INCDIRS:%=-I%) -DCMA_VERSION='$(CMA_VERSION)' -Dopl
82d33c01b078ed404a986a369750cdb4743773fbavLDFLAGS += -R/usr/lib/fm
e4b86885570d77af552e9cf94f142f4d744fb8c8Cheng Sean YeLDLIBS += -L$(ROOTLIB)/fm -lfmd_agent
82d33c01b078ed404a986a369750cdb4743773fbav
82d33c01b078ed404a986a369750cdb4743773fbav%.o: $(CPUMEM_RETIRE_COMMON)/%.c
82d33c01b078ed404a986a369750cdb4743773fbav $(COMPILE.c) -o $@ $<
82d33c01b078ed404a986a369750cdb4743773fbav $(CTFCONVERT_O)
82d33c01b078ed404a986a369750cdb4743773fbav
82d33c01b078ed404a986a369750cdb4743773fbav%.ln: $(CPUMEM_RETIRE_COMMON)/%.c
82d33c01b078ed404a986a369750cdb4743773fbav $(LINT.c) -c $<