17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 37c478bd9Sstevel@tonic-gate# Use is subject to license terms. 47c478bd9Sstevel@tonic-gate# 57c478bd9Sstevel@tonic-gate# ident "%Z%%M% %I% %E% SMI" 67c478bd9Sstevel@tonic-gate# 77c478bd9Sstevel@tonic-gate.KEEP_STATE: 87c478bd9Sstevel@tonic-gate 97c478bd9Sstevel@tonic-gateinclude ../Makefile.master 107c478bd9Sstevel@tonic-gateinclude Makefile.grub 117c478bd9Sstevel@tonic-gate 127c478bd9Sstevel@tonic-gateall := TARGET = all 137c478bd9Sstevel@tonic-gateinstall := TARGET = install 147c478bd9Sstevel@tonic-gateclean := TARGET = clean 157c478bd9Sstevel@tonic-gateclobber := TARGET = clobber 167c478bd9Sstevel@tonic-gate 177c478bd9Sstevel@tonic-gateGRUB = grub-0.95 187c478bd9Sstevel@tonic-gate 197c478bd9Sstevel@tonic-gateSUBDIRS = $(GRUB) 207c478bd9Sstevel@tonic-gate 217c478bd9Sstevel@tonic-gateSPLASH_IMAGE = splash.xpm.gz 227c478bd9Sstevel@tonic-gateGRUB_MENU = menu.lst 237c478bd9Sstevel@tonic-gateINSTALL_MENU = install_menu 247c478bd9Sstevel@tonic-gate 257c478bd9Sstevel@tonic-gateINST_TARGETS = $(ROOT_BOOT_GRUB)/$(SPLASH_IMAGE) 267c478bd9Sstevel@tonic-gateINST_TARGETS += $(ROOT_BOOT_GRUB)/$(GRUB_MENU) 277c478bd9Sstevel@tonic-gateINST_TARGETS += $(ROOT_BOOT_GRUB)/$(INSTALL_MENU) 287c478bd9Sstevel@tonic-gate 297c478bd9Sstevel@tonic-gateall: $(SUBDIRS) 307c478bd9Sstevel@tonic-gate 317c478bd9Sstevel@tonic-gateinstall: $(SUBDIRS) $(INST_TARGETS) 327c478bd9Sstevel@tonic-gate 337c478bd9Sstevel@tonic-gate 347c478bd9Sstevel@tonic-gate# Makefiles in the GRUB source tree are named "Makefile.solaris". 357c478bd9Sstevel@tonic-gate$(GRUB): FRC 367c478bd9Sstevel@tonic-gate cd $@; pwd; $(MAKE) -f Makefile.solaris $(TARGET) 377c478bd9Sstevel@tonic-gate 387c478bd9Sstevel@tonic-gate$(ROOT_BOOT_GRUB)/%: $(ROOT_BOOT_GRUB) % 397c478bd9Sstevel@tonic-gate $(INS.file) 407c478bd9Sstevel@tonic-gate 417c478bd9Sstevel@tonic-gate$(ROOT_BOOT_GRUB): 427c478bd9Sstevel@tonic-gate $(INS.dir) 437c478bd9Sstevel@tonic-gate 447c478bd9Sstevel@tonic-gate 45*c6fe1048Sjongkisclean clobber: $(SUBDIRS) 467c478bd9Sstevel@tonic-gate 477c478bd9Sstevel@tonic-gateFRC: 48