Makefile revision 2
253N/A#
253N/A# CDDL HEADER START
253N/A#
253N/A# The contents of this file are subject to the terms of the
253N/A# Common Development and Distribution License (the "License").
253N/A# You may not use this file except in compliance with the License.
253N/A#
253N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
253N/A# or http://www.opensolaris.org/os/licensing.
253N/A# See the License for the specific language governing permissions
253N/A# and limitations under the License.
253N/A#
253N/A# When distributing Covered Code, include this CDDL HEADER in each
253N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
253N/A# If applicable, add the following below this CDDL HEADER, with the
253N/A# fields enclosed by brackets "[]" replaced with your own identifying
253N/A# information: Portions Copyright [yyyy] [name of copyright owner]
253N/A#
253N/A# CDDL HEADER END
253N/A#
5680N/A#
5680N/A# Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.
5361N/A#
253N/A
5680N/Ainclude ../Makefile.lib
253N/A
253N/ASUBDIRS = $(MACH)
5680N/A$(BUILD64)SUBDIRS += $(MACH64)
253N/A
253N/A# conditional assignments
6504N/Aall := TARGET= all
844N/Ainstall := TARGET= install
6504N/Aclean := TARGET= clean
1258N/Aclobber := TARGET= clobber
253N/Alint := TARGET= lint
253N/Atest := TARGET= test
844N/Astub := TARGET = stub
844N/Astubinstall := TARGET = stubinstall
253N/A
253N/A# definitions for install_h target
6504N/AHDRS= libdevice.h
2899N/AROOTHDRDIR= $(ROOT)/usr/include
5680N/AROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
5680N/ACHECKHDRS= $(HDRS:%.h=%.check)
253N/A
253N/A.KEEP_STATE:
253N/A
5709N/Aall install clean clobber lint stub stubinstall: $(SUBDIRS)
253N/A
253N/A# install rule for install_h target
253N/A
253N/A$(ROOTHDRDIR)/%: %
253N/A $(INS.file)
5680N/A
253N/Ainstall_h: $(ROOTHDRS)
253N/A
5680N/Acheck: $(CHECKHDRS)
253N/A
253N/A$(SUBDIRS): FRC
253N/A @cd $@; pwd; $(MAKE) $(TARGET)
253N/A
253N/AFRC:
253N/A