Makefile revision e4b86885570d77af552e9cf94f142f4d744fb8c8
1281N/A# CDDL HEADER START
1186N/A#
1186N/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#
1281N/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# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
1262N/A# Use is subject to license terms.
0N/A#
1186N/A
1186N/A#
1186N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
1186N/A#
1186N/AUTSBASE = ../..
1186N/A
1186N/A#
1186N/A# Define the module and object file sets.
0N/A#
1186N/AMODULE = cpu_ms.AuthenticAMD.15
1186N/A#
1186N/AOBJECTS = $(CPU_AO_OBJS:%=$(OBJS_DIR)/%)
1186N/ALINTS = $(CPU_AO_OBJS:%.o=$(LINTS_DIR)/%.ln)
1186N/AROOTMODULE = $(ROOT_PSM_CPU_DIR)/$(MODULE)
1186N/A
1186N/ASRCDIR = ../../i86pc/cpu/amd_opteron
962N/A
1186N/AAO_MCA_DISP_C = $(OBJS_DIR)/ao_mca_disp.c
1186N/AAO_MCA_DISP_SRC = $(SRCDIR)/ao_mca_disp.in
1281N/AAO_GENDISP = ../../i86pc/cpu/scripts/ao_gendisp
1281N/A
1281N/A#
1281N/A# Include common rules.
1281N/A#
1281N/Ainclude $(UTSBASE)/i86xpv/Makefile.i86xpv
1281N/Ainclude $(UTSBASE)/i86pc/cpu/Makefile.files
962N/A
1281N/A#
1281N/A# Our lint library has a different name from that of the module we build.
1281N/A#
1281N/ALINT_MODULE = amd_opteron
1281N/A
1281N/A#
1281N/A# Define targets
1281N/A#
1281N/AALL_TARGET = $(BINARY)
1281N/ALINT_TARGET = $(LINT_MODULE).lint
1281N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
1281N/A
1281N/A#
1281N/A# Overrides and additions
1281N/A#
1281N/ACLEANFILES += $(AO_MCA_DISP_C)
1281N/ACPPFLAGS += -I$(SRCDIR) -I$(OBJS_DIR)
1281N/AASFLAGS += -I$(SRCDIR) -I$(OBJS_DIR)
1281N/ALDFLAGS += -dy -N misc/acpica
1281N/A
1281N/A#
1281N/A# Default build targets.
1281N/A#
1281N/A.KEEP_STATE:
1281N/A
1281N/Adef: $(DEF_DEPS)
1281N/A
1281N/Aall: $(ALL_DEPS)
1281N/A
1281N/Aclean: $(CLEAN_DEPS)
1186N/A
1186N/Aclobber: $(CLOBBER_DEPS)
1186N/A
1186N/Alint: $(LINT_DEPS)
1186N/A
1281N/Amodlintlib: $(MODLINTLIB_DEPS)
1281N/A
1281N/Aclean.lint: $(CLEAN_LINT_DEPS)
1281N/A
1281N/Ainstall: $(INSTALL_DEPS)
1281N/A
1281N/A#
1281N/A# Create ao_mca_disp.c
1281N/A#
1281N/A$(AO_MCA_DISP_C): $(AO_MCA_DISP_SRC) $(AO_GENDISP)
1281N/A $(AO_GENDISP) $(AO_MCA_DISP_SRC) >$@
1281N/A
1281N/A$(OBJS_DIR)/%.o: $(OBJS_DIR)/%.c
1281N/A $(COMPILE.c) -o $@ $<
1281N/A $(CTFCONVERT_O)
1281N/A
1281N/A#
1281N/A# Include common targets.
1281N/A#
1281N/Ainclude ../Makefile.targ
1281N/A