Makefile revision 7ce76caa61769eef87a2368b9ef90e4661e3f193
98N/A#
98N/A# CDDL HEADER START
98N/A#
98N/A# The contents of this file are subject to the terms of the
98N/A# Common Development and Distribution License (the "License").
98N/A# You may not use this file except in compliance with the License.
98N/A#
98N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
98N/A# or http://www.opensolaris.org/os/licensing.
98N/A# See the License for the specific language governing permissions
98N/A# and limitations under the License.
98N/A#
98N/A# When distributing Covered Code, include this CDDL HEADER in each
98N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
98N/A# If applicable, add the following below this CDDL HEADER, with the
98N/A# fields enclosed by brackets "[]" replaced with your own identifying
98N/A# information: Portions Copyright [yyyy] [name of copyright owner]
98N/A#
98N/A# CDDL HEADER END
98N/A#
98N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
98N/A# Use is subject to license terms.
98N/A#
98N/A#
98N/A
98N/APROG= installgrub
98N/A
98N/APCFS_SRC= $(SRC)/common/fs/pcfs.c
98N/A
98N/AOBJS= installgrub.o floppy.o pcfs.o
126N/ASRCS= installgrub.c floppy.c $(PCFS_SRC)
98N/ASBINLINKS= $(PROG)
98N/A
98N/Ainclude ../Makefile.com
98N/A
98N/ACPPFLAGS += -I$(SRC)/uts/i86pc -I$(SRC)/uts/intel -I$(SRC)/uts/common
98N/A
98N/ALDLIBS += -lmd5
98N/A
98N/ALINTFLAGS += \
98N/A -erroff=E_BAD_PTR_CAST_ALIGN \
98N/A -erroff=E_STATIC_UNUSED \
98N/A -erroff=E_FUNC_RET_MAYBE_IGNORED \
98N/A -erroff=E_FUNC_RET_MAYBE_IGNORED2
98N/A
98N/A.KEEP_STATE:
126N/A
98N/Aall: $(PROG)
98N/A
98N/A$(PROG): $(OBJS)
123N/A $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
98N/A $(POST_PROCESS)
98N/A
98N/A
98N/A# pick pcfs from usr/src/common/fs
98N/Apcfs.o: $(PCFS_SRC)
98N/A $(COMPILE.c) -o $@ $(PCFS_SRC)
98N/A
98N/Ainstall: all $(ROOTSBINPROG) .WAIT $(ROOTUSRSBINLINKS)
98N/A
98N/Aclean:
98N/A $(RM) $(OBJS)
98N/A
98N/Alint: lint_SRCS
98N/A
98N/Ainclude ../Makefile.targ
98N/A