Makefile revision 2
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# CDDL HEADER START
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# The contents of this file are subject to the terms of the
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# Common Development and Distribution License (the "License").
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# You may not use this file except in compliance with the License.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# or http://www.opensolaris.org/os/licensing.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# See the License for the specific language governing permissions
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# and limitations under the License.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# When distributing Covered Code, include this CDDL HEADER in each
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# If applicable, add the following below this CDDL HEADER, with the
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# CDDL HEADER END
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncinclude ../Makefile.lib
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncSUBDIRS = $(MACH)
f78b12e570284aa8291f4ca1add24937fd107403vboxsync$(BUILD64)SUBDIRS += $(MACH64)
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# conditional assignments
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncall := TARGET= all
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncinstall := TARGET= install
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncclean := TARGET= clean
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncclobber := TARGET= clobber
f78b12e570284aa8291f4ca1add24937fd107403vboxsynclint := TARGET= lint
f78b12e570284aa8291f4ca1add24937fd107403vboxsynctest := TARGET= test
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncstub := TARGET = stub
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncstubinstall := TARGET = stubinstall
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# definitions for install_h target
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncHDRS= librcm.h librcm_impl.h librcm_event.h
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncROOTHDRDIR= $(ROOT)/usr/include
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncCHECKHDRS= $(HDRS:%.h=%.check)
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync.KEEP_STATE:
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncall install clean clobber lint stub stubinstall: $(SUBDIRS)
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync# install rule for install_h target
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync$(ROOTHDRDIR)/%: %
f78b12e570284aa8291f4ca1add24937fd107403vboxsync $(INS.file)
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncinstall_h: $(ROOTHDRS)
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsynccheck: $(CHECKHDRS)
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync$(SUBDIRS): FRC
f78b12e570284aa8291f4ca1add24937fd107403vboxsync @cd $@; pwd; $(MAKE) $(TARGET)
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncFRC:
f78b12e570284aa8291f4ca1add24937fd107403vboxsync