Makefile revision 34f9b3eef6fdadbda0a846aa4d68691ac40eace5
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt#
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User# CDDL HEADER START
3e02c9e33656dcd9c364633d42dd785d3e6fdd66Automatic Updater#
3e02c9e33656dcd9c364633d42dd785d3e6fdd66Automatic Updater# The contents of this file are subject to the terms of the
c6fb85f9500350e5ce58c9a24f5d264c8a8bd6f4Automatic Updater# Common Development and Distribution License (the "License").
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# You may not use this file except in compliance with the License.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt#
3e02c9e33656dcd9c364633d42dd785d3e6fdd66Automatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# or http://www.opensolaris.org/os/licensing.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# See the License for the specific language governing permissions
3e02c9e33656dcd9c364633d42dd785d3e6fdd66Automatic Updater# and limitations under the License.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt#
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# When distributing Covered Code, include this CDDL HEADER in each
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# If applicable, add the following below this CDDL HEADER, with the
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# fields enclosed by brackets "[]" replaced with your own identifying
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt#
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# CDDL HEADER END
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt#
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt# Use is subject to license terms.
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater#
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan HuntSHELL=/usr/bin/ksh93
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Huntinclude ../Makefile.lib
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan HuntSUBDIRS = $(MACH)
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt$(BUILD64)SUBDIRS += $(MACH64)
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Huntall := TARGET= all
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updaterclean := TARGET= clean
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Huntclobber := TARGET= clobber
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Huntinstall := TARGET= install
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Huntlint := TARGET= lint
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt_msg := TARGET= _msg
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User.KEEP_STATE:
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userall clean clobber install lint _msg: $(SUBDIRS)
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserLIBRARY= libsum.a
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserHDRS= \
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt sum.h
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserHDRDIR32= $(MACH)/include/ast
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserHDRDIR64= $(MACH64)/include/ast
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userinclude ../Makefile.asthdr
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Huntinstall_h: $(ROOTHDRS)
fd0b768f4c23d22c89f8a156a632831583b7fb68Automatic Updater
fd0b768f4c23d22c89f8a156a632831583b7fb68Automatic Updater# We don't check these header files because they're owned by AT&T/AST
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Huntcheck:
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User$(SPARC_BLD)$(SUBDIRS): FRC
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User$(SPARC_BLD) @cd $@; pwd; $(MAKE) $(TARGET)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User$(INTEL_BLD)$(SUBDIRS): FRC
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan Hunt$(INTEL_BLD) @cd $@; pwd; $(MAKE) $(TARGET)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
1bc5499c2a0fc5d2b11849e97cdd6305a64eb242Evan HuntFRC:
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updaterinclude ../Makefile.targ
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User