Makefile revision 70818f5837509317d1f5dac4d82d7b5a2d547c29
1377N/A#
1377N/A# CDDL HEADER START
1377N/A#
1377N/A# The contents of this file are subject to the terms of the
1377N/A# Common Development and Distribution License (the "License").
1377N/A# You may not use this file except in compliance with the License.
1377N/A#
1377N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1377N/A# or http://www.opensolaris.org/os/licensing.
1377N/A# See the License for the specific language governing permissions
1377N/A# and limitations under the License.
1377N/A#
1377N/A# When distributing Covered Code, include this CDDL HEADER in each
1377N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1377N/A# If applicable, add the following below this CDDL HEADER, with the
1377N/A# fields enclosed by brackets "[]" replaced with your own identifying
1377N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1377N/A#
1377N/A# CDDL HEADER END
1377N/A#
1377N/A#
1377N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
1377N/A# Use is subject to license terms.
1377N/A#
1377N/A#ident "%Z%%M% %I% %E% SMI"
1377N/A
1377N/AARCH = sun4v
1377N/APRIDIR=../platform-mem
1377N/A
1377N/Asun4v_SRCS = dimm_sun4v.c mem_mdesc.c
1377N/A
1377N/AINCDIRS = $(ROOT)/usr/platform/sun4v/include \
1377N/A $(PRIDIR)
1377N/A
1377N/A# include ../../sun4/chip/Makefile.chip
1377N/A
1377N/AMODULE = dimm
1377N/ACLASS = arch
1377N/ASUN4DIR = ../../sun4/$(MODULE)
1377N/AMODULESRCS = $($(ARCH)_SRCS)
1377N/A
1377N/Ainclude ../../Makefile.plugin
1377N/A
1377N/AINCDIRS += $(SUN4DIR)
1377N/A
1377N/ACPPFLAGS += $(INCDIRS:%=-I%)
1377N/A
1377N/A%.o: $(SUN4DIR)/%.c
1377N/A $(COMPILE.c) -o $@ $<
1377N/A $(CTFCONVERT_O)
2232N/A
2232N/A%.ln: $(SUN4DIR)/%.c
2232N/A $(LINT.c) -c $<
2051N/A
2232N/A# end of what would be body of ../../sun4/mem/Makefile.mem
1377N/ALDLIBS += -lumem -lmdesc -lldom
1377N/A
1377N/A%.o: $(PRIDIR)/%.c
1377N/A $(COMPILE.c) -o $@ $<
1377N/A $(CTFCONVERT_O)
1377N/A
1780N/A%.ln: $(PRIDIR)/%.c
2232N/A $(LINT.c) -c $<
1780N/A