Makefile.com revision 9dd828891378a0a6a509ab601b4c5c20ca5562ec
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
BOOTSRCDIR = ../..
PLAT_DIR = .
START_OBJS = $(START_S_SRC:%.s=%.o)
# Note: the BIOS_S_SRC (biosint.s) must come first
CPPINCS += -I$(TOP_CMN_DIR)
CPPINCS += -I. -I$(PAMD64_DIR)
CPPINCS += -I$(PSMSYSHDRDIR)
#
# Force 16-bit alignment in multiboot
#
#
# This should be globally enabled!
#
#
# Inherit the debug format
#
CFLAGS += $(DEBUGFORMAT)
YFLAGS = -d
#
# Loader flags used to build biosint
#
#
# Loader flags used to build unified boot
#
#
# Object files used to build unified boot
# Note: START_OBJS must come within first 8K to comply with Multiboot Spec
#
UNI_L_OBJS = $(UNI_OBJS:%.o=%.ln)
$(POST_PROCESS)
$(LINT.c) $(UNI_L_OBJS)
$(ROOT_BOOT_DIR): $(ROOT)
-$(INS.dir.root.sys)
$(ROOT_BOOT_SOL_DIR): $(ROOT_BOOT_DIR)
-$(INS.dir.root.sys)
$(ROOT_BOOT_SOL_DIR)/%: % $(ROOT_BOOT_SOL_DIR)
$(INS.file)
#
# AMD64 genassym fun
#
$(PAMD64_S_SRC:%.s=%.o) : $(GENASSYM_FILES)
$(PAMD64_SL_SRC:%.s=%.o) : $(GENASSYM_FILES)
$(ENVCPPFLAGS3) $(ENVCPPFLAGS4)
$(GENASSYM): $(GENASSYM_SRC)
./$(GENASSYM) >>$@
$(START_OBJS): $(ASSYM_H)
FRC: