16bbe0590SSundeep Panicker# 26bbe0590SSundeep Panicker# CDDL HEADER START 36bbe0590SSundeep Panicker# 46bbe0590SSundeep Panicker# The contents of this file are subject to the terms of the 56bbe0590SSundeep Panicker# Common Development and Distribution License (the "License"). 66bbe0590SSundeep Panicker# You may not use this file except in compliance with the License. 76bbe0590SSundeep Panicker# 86bbe0590SSundeep Panicker# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 96bbe0590SSundeep Panicker# or http://www.opensolaris.org/os/licensing. 106bbe0590SSundeep Panicker# See the License for the specific language governing permissions 116bbe0590SSundeep Panicker# and limitations under the License. 126bbe0590SSundeep Panicker# 136bbe0590SSundeep Panicker# When distributing Covered Code, include this CDDL HEADER in each 146bbe0590SSundeep Panicker# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 156bbe0590SSundeep Panicker# If applicable, add the following below this CDDL HEADER, with the 166bbe0590SSundeep Panicker# fields enclosed by brackets "[]" replaced with your own identifying 176bbe0590SSundeep Panicker# information: Portions Copyright [yyyy] [name of copyright owner] 186bbe0590SSundeep Panicker# 196bbe0590SSundeep Panicker# CDDL HEADER END 206bbe0590SSundeep Panicker# 216bbe0590SSundeep Panicker# 226bbe0590SSundeep Panicker# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 236bbe0590SSundeep Panicker# Use is subject to license terms. 246bbe0590SSundeep Panicker# 256bbe0590SSundeep Panicker# 266bbe0590SSundeep Panicker 276bbe0590SSundeep Panickerinclude $(SRC)/lib/Makefile.lib 286bbe0590SSundeep Panicker 296bbe0590SSundeep PanickerSUBDIRS = $(MACH) 306bbe0590SSundeep Panicker$(BUILD64)SUBDIRS += $(MACH64) 316bbe0590SSundeep Panicker 326bbe0590SSundeep Panicker# conditional assignments 336bbe0590SSundeep Panickerall := TARGET= all 346bbe0590SSundeep Panickerinstall := TARGET= install 356bbe0590SSundeep Panickerclean := TARGET= clean 366bbe0590SSundeep Panickerclobber := TARGET= clobber 376bbe0590SSundeep Panickerlint := TARGET= lint 386bbe0590SSundeep Panicker_msg := TARGET= _msg 396bbe0590SSundeep Panicker 406bbe0590SSundeep Panickersparc_HDRS= 416bbe0590SSundeep Panickersparcv9_HDRS= 426bbe0590SSundeep Panickeri386_HDRS= 43*d946b6ceSSundeep PanickerHDRS= nvfru.h $($(MACH)_HDRS) 446bbe0590SSundeep PanickerROOTHDRDIR= $(ROOT)/usr/include 456bbe0590SSundeep PanickerROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%) 466bbe0590SSundeep PanickerCHECKHDRS= $(HDRS:%.h=%.check) 476bbe0590SSundeep Panicker 486bbe0590SSundeep Panicker.KEEP_STATE: 496bbe0590SSundeep Panicker 506bbe0590SSundeep Panickerall install clean clobber lint: $(SUBDIRS) 516bbe0590SSundeep Panicker 526bbe0590SSundeep Panicker_msg: $(MACH) $(MACH64) 536bbe0590SSundeep Panicker 546bbe0590SSundeep Panicker 556bbe0590SSundeep Panicker$(ROOTHDRDIR)/%: % 566bbe0590SSundeep Panicker $(INS.file) 576bbe0590SSundeep Panicker 586bbe0590SSundeep Panicker$(ROOTHDRDIR): 596bbe0590SSundeep Panicker $(INS.dir) 606bbe0590SSundeep Panicker 61*d946b6ceSSundeep Panickerinstall_h: $(ROOTHDRS) 62*d946b6ceSSundeep Panicker 636bbe0590SSundeep Panickercheck: $(CHECKHDRS) 646bbe0590SSundeep Panicker 656bbe0590SSundeep Panicker$(MACH) $(MACH64): FRC 666bbe0590SSundeep Panicker @cd $@; pwd; $(MAKE) $(TARGET) 676bbe0590SSundeep Panicker 686bbe0590SSundeep PanickerFRC: 696bbe0590SSundeep Panicker 70