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-gateinclude ../Makefile.grub 87c478bd9Sstevel@tonic-gateinclude Makefile.solaris.defs 97c478bd9Sstevel@tonic-gate 107c478bd9Sstevel@tonic-gate.KEEP_STATE: 117c478bd9Sstevel@tonic-gate 127c478bd9Sstevel@tonic-gateSUBDIRS = netboot stage2 stage1 lib grub util docs 137c478bd9Sstevel@tonic-gate 147c478bd9Sstevel@tonic-gate# 157c478bd9Sstevel@tonic-gate# Source files to be installed in $(SRC_DIR). 167c478bd9Sstevel@tonic-gate# NOTE: although it's under SCCS, config.h is not included here because 177c478bd9Sstevel@tonic-gate# it's automatically generated when configure is run. 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gateSRC_DIR = $(ROOT_SRC) 207c478bd9Sstevel@tonic-gate 217c478bd9Sstevel@tonic-gateSRC_FILES = AUTHORS BUGS COPYING ChangeLog INSTALL MAINTENANCE \ 227c478bd9Sstevel@tonic-gate Makefile.am Makefile.in NEWS README THANKS TODO \ 237c478bd9Sstevel@tonic-gate acinclude.m4 aclocal.m4 config.h.in configure.ac stamp-h.in 247c478bd9Sstevel@tonic-gateINST_FILES = $(SRC_FILES:%=$(SRC_DIR)/%) 257c478bd9Sstevel@tonic-gate 267c478bd9Sstevel@tonic-gateSRC_EXECS = compile config.guess config.sub configure depcomp \ 277c478bd9Sstevel@tonic-gate install-sh missing mkinstalldirs 287c478bd9Sstevel@tonic-gateINST_EXECS = $(SRC_EXECS:%=$(SRC_DIR)/%) 297c478bd9Sstevel@tonic-gate$(INST_EXECS) := FILEMODE = 755 307c478bd9Sstevel@tonic-gate 317c478bd9Sstevel@tonic-gate 327c478bd9Sstevel@tonic-gateINSTALL_TARGETS = $(INST_FILES) $(INST_EXECS) 337c478bd9Sstevel@tonic-gate 347c478bd9Sstevel@tonic-gateall := TARGET = all 357c478bd9Sstevel@tonic-gateinstall := TARGET = install 367c478bd9Sstevel@tonic-gateclean := TARGET = clean 377c478bd9Sstevel@tonic-gateclobber := TARGET = clobber 387c478bd9Sstevel@tonic-gate 397c478bd9Sstevel@tonic-gate 407c478bd9Sstevel@tonic-gateall install clean clobber: $(SUBDIRS) 417c478bd9Sstevel@tonic-gate 427c478bd9Sstevel@tonic-gate$(SUBDIRS): _FORCE 437c478bd9Sstevel@tonic-gate @cd $@; pwd; $(MAKE) -f Makefile.solaris $(TARGET) 447c478bd9Sstevel@tonic-gate 457c478bd9Sstevel@tonic-gate 467c478bd9Sstevel@tonic-gateinstall: $(INSTALL_TARGETS) 477c478bd9Sstevel@tonic-gate 487c478bd9Sstevel@tonic-gate$(SRC_DIR)/%: $(SRC_DIR) % 497c478bd9Sstevel@tonic-gate $(INS.file) 507c478bd9Sstevel@tonic-gate 517c478bd9Sstevel@tonic-gate$(SRC_DIR): 527c478bd9Sstevel@tonic-gate $(INS.dir) 537c478bd9Sstevel@tonic-gate 547c478bd9Sstevel@tonic-gate 557c478bd9Sstevel@tonic-gate_FORCE: 56