Makefile revision af28f636873b7156cfd73ceffa927658cca33fd0
286N/A#
286N/A# CDDL HEADER START
286N/A#
286N/A# The contents of this file are subject to the terms of the
286N/A# Common Development and Distribution License (the "License").
286N/A# You may not use this file except in compliance with the License.
286N/A#
286N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
286N/A# or http://www.opensolaris.org/os/licensing.
286N/A# See the License for the specific language governing permissions
286N/A# and limitations under the License.
286N/A#
286N/A# When distributing Covered Code, include this CDDL HEADER in each
286N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
286N/A# If applicable, add the following below this CDDL HEADER, with the
286N/A# fields enclosed by brackets "[]" replaced with your own identifying
286N/A# information: Portions Copyright [yyyy] [name of copyright owner]
286N/A#
286N/A# CDDL HEADER END
286N/A#
286N/A# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
286N/A#
286N/A
286N/APROG= installboot
286N/A
286N/AEINFO_SRC= ./../common/bblk_einfo.c
286N/AUTILS_SRC =./../common/boot_utils.c
286N/AEXTRA_SRC =./../common/mboot_extra.c
286N/A
286N/AOBJS= installboot.o bblk_einfo.o boot_utils.o mboot_extra.o
286N/ASRCS= installboot.c $(UTILS_SRC) $(EINFO_SRC) $(EXTRA_SRC)
286N/A
286N/Ainclude ../Makefile.com
286N/A
286N/ACPPFLAGS += -I$(SRC)/uts/common
286N/A
286N/ALDLIBS += -lmd5
286N/A
286N/AC99MODE= -xc99=%all
286N/AC99LMODE= -Xc99=%all
286N/A
286N/ALINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN
286N/A
286N/A.KEEP_STATE:
286N/A
286N/Aall: $(PROG)
286N/A
286N/A$(PROG): $(OBJS)
286N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
286N/A $(POST_PROCESS)
286N/A
286N/Aboot_utils.o: $(UTILS_SRC)
286N/A $(COMPILE.c) -o $@ $(UTILS_SRC)
286N/A
286N/Amboot_extra.o: $(EXTRA_SRC)
286N/A $(COMPILE.c) -o $@ $(EXTRA_SRC)
286N/A
286N/Abblk_einfo.o: $(EINFO_SRC)
286N/A $(COMPILE.c) -o $@ $(EINFO_SRC)
286N/A
286N/Ainstall: all $(ROOTUSRSBINPROG)
286N/A
286N/Aclean:
286N/A $(RM) $(OBJS)
286N/A
286N/Alint: lint_SRCS
286N/A
286N/Ainclude ../Makefile.targ
286N/A