Makefile revision 38cb303e93cd6529fb20fa80f324e15529ff8b53
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma#
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma# CDDL HEADER START
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma#
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma# The contents of this file are subject to the terms of the
2c8454e288252bcfa5e77ea3d35bfed05266b869hajma# Common Development and Distribution License (the "License").
2c8454e288252bcfa5e77ea3d35bfed05266b869hajma# You may not use this file except in compliance with the License.
2c8454e288252bcfa5e77ea3d35bfed05266b869hajma#
2c8454e288252bcfa5e77ea3d35bfed05266b869hajma# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2c8454e288252bcfa5e77ea3d35bfed05266b869hajma# or http://www.opensolaris.org/os/licensing.
074f2520bc04a7a93b4123bc58fb40055c9174d2hajma# See the License for the specific language governing permissions
074f2520bc04a7a93b4123bc58fb40055c9174d2hajma# and limitations under the License.
074f2520bc04a7a93b4123bc58fb40055c9174d2hajma#
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma# When distributing Covered Code, include this CDDL HEADER in each
2c8454e288252bcfa5e77ea3d35bfed05266b869hajma# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2c8454e288252bcfa5e77ea3d35bfed05266b869hajma# If applicable, add the following below this CDDL HEADER, with the
2c8454e288252bcfa5e77ea3d35bfed05266b869hajma# fields enclosed by brackets "[]" replaced with your own identifying
2c8454e288252bcfa5e77ea3d35bfed05266b869hajma# information: Portions Copyright [yyyy] [name of copyright owner]
2c8454e288252bcfa5e77ea3d35bfed05266b869hajma#
2c8454e288252bcfa5e77ea3d35bfed05266b869hajma# CDDL HEADER END
074f2520bc04a7a93b4123bc58fb40055c9174d2hajma#
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
include ../Makefile.lib
SUBDIRS = $(MACH)
$(BUILD64)SUBDIRS += $(MACH64)
# conditional assignments
all := TARGET= all
install := TARGET= install
clean := TARGET= clean
clobber := TARGET= clobber
lint := TARGET= lint
test := TARGET= test
# definitions for install_h target
HDRS= device_info.h libdevinfo.h
ROOTHDRDIR= $(ROOT)/usr/include
ROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
CHECKHDRS= $(HDRS:%.h=%.check)
.KEEP_STATE:
all install clean clobber lint: $(SUBDIRS)
# install rule for install_h target
$(ROOTHDRDIR)/%: %
$(INS.file)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC: