Makefile revision 6bbe05905a1c10a2703f95fb4912eb14b87f6670
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# CDDL HEADER START
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# The contents of this file are subject to the terms of the
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# Common Development and Distribution License (the "License").
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# You may not use this file except in compliance with the License.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# or http://www.opensolaris.org/os/licensing.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# See the License for the specific language governing permissions
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# and limitations under the License.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# When distributing Covered Code, include this CDDL HEADER in each
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# If applicable, add the following below this CDDL HEADER, with the
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# fields enclosed by brackets "[]" replaced with your own identifying
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# information: Portions Copyright [yyyy] [name of copyright owner]
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# CDDL HEADER END
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# Use is subject to license terms.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelinclude $(SRC)/lib/Makefile.lib
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelSUBDIRS = $(MACH)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel$(BUILD64)SUBDIRS += $(MACH64)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# conditional assignments
3db86aab554edbb4244c8d1a1c90f152eee768afstevelall := TARGET= all
3db86aab554edbb4244c8d1a1c90f152eee768afstevelinstall := TARGET= install
3db86aab554edbb4244c8d1a1c90f152eee768afstevelclean := TARGET= clean
3db86aab554edbb4244c8d1a1c90f152eee768afstevelclobber := TARGET= clobber
3db86aab554edbb4244c8d1a1c90f152eee768afstevellint := TARGET= lint
3db86aab554edbb4244c8d1a1c90f152eee768afstevel_msg := TARGET= _msg
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelsparc_HDRS=
3db86aab554edbb4244c8d1a1c90f152eee768afstevelsparcv9_HDRS=
3db86aab554edbb4244c8d1a1c90f152eee768afsteveli386_HDRS=
3db86aab554edbb4244c8d1a1c90f152eee768afstevelHDRS= $($(MACH)_HDRS)
3db86aab554edbb4244c8d1a1c90f152eee768afstevelROOTHDRDIR= $(ROOT)/usr/include
3db86aab554edbb4244c8d1a1c90f152eee768afstevelROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
3db86aab554edbb4244c8d1a1c90f152eee768afstevelCHECKHDRS= $(HDRS:%.h=%.check)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel.KEEP_STATE:
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelall install clean clobber lint: $(SUBDIRS)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel_msg: $(MACH) $(MACH64)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel$(ROOTHDRDIR)/%: %
3db86aab554edbb4244c8d1a1c90f152eee768afstevel $(INS.file)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel$(ROOTHDRDIR):
3db86aab554edbb4244c8d1a1c90f152eee768afstevel $(INS.dir)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelcheck: $(CHECKHDRS)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel$(MACH) $(MACH64): FRC
3db86aab554edbb4244c8d1a1c90f152eee768afstevel @cd $@; pwd; $(MAKE) $(TARGET)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelFRC:
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel