xref: /titanic_52/usr/src/cmd/ast/libast/Makefile (revision 906afcb89d0412cc073b95c2d701a804a8cdb62c)
1*906afcb8SAndy Fiddaman#
2*906afcb8SAndy Fiddaman# CDDL HEADER START
3*906afcb8SAndy Fiddaman#
4*906afcb8SAndy Fiddaman# The contents of this file are subject to the terms of the
5*906afcb8SAndy Fiddaman# Common Development and Distribution License (the "License").
6*906afcb8SAndy Fiddaman# You may not use this file except in compliance with the License.
7*906afcb8SAndy Fiddaman#
8*906afcb8SAndy Fiddaman# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*906afcb8SAndy Fiddaman# or http://www.opensolaris.org/os/licensing.
10*906afcb8SAndy Fiddaman# See the License for the specific language governing permissions
11*906afcb8SAndy Fiddaman# and limitations under the License.
12*906afcb8SAndy Fiddaman#
13*906afcb8SAndy Fiddaman# When distributing Covered Code, include this CDDL HEADER in each
14*906afcb8SAndy Fiddaman# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*906afcb8SAndy Fiddaman# If applicable, add the following below this CDDL HEADER, with the
16*906afcb8SAndy Fiddaman# fields enclosed by brackets "[]" replaced with your own identifying
17*906afcb8SAndy Fiddaman# information: Portions Copyright [yyyy] [name of copyright owner]
18*906afcb8SAndy Fiddaman#
19*906afcb8SAndy Fiddaman# CDDL HEADER END
20*906afcb8SAndy Fiddaman#
21*906afcb8SAndy Fiddaman
22*906afcb8SAndy Fiddaman#
23*906afcb8SAndy Fiddaman# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24*906afcb8SAndy Fiddaman# Use is subject to license terms.
25*906afcb8SAndy Fiddaman#
26*906afcb8SAndy Fiddaman# Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
27*906afcb8SAndy Fiddaman#
28*906afcb8SAndy Fiddaman
29*906afcb8SAndy FiddamanSHELL= /usr/bin/ksh93
30*906afcb8SAndy Fiddaman
31*906afcb8SAndy Fiddamaninclude		$(SRC)/lib/Makefile.lib
32*906afcb8SAndy Fiddaman
33*906afcb8SAndy FiddamanSUBDIRS= $(MACH)
34*906afcb8SAndy Fiddaman$(BUILD64)SUBDIRS += $(MACH64)
35*906afcb8SAndy Fiddaman
36*906afcb8SAndy Fiddamanall :=		TARGET= all
37*906afcb8SAndy Fiddamanclean :=	TARGET= clean
38*906afcb8SAndy Fiddamanclobber :=	TARGET= clobber
39*906afcb8SAndy Fiddamaninstall :=	TARGET= install
40*906afcb8SAndy Fiddamaninstall_h :=	TARGET= install_h
41*906afcb8SAndy Fiddaman_msg :=		TARGET= _msg
42*906afcb8SAndy Fiddaman_feature :=	TARGET= _feature
43*906afcb8SAndy Fiddaman
44*906afcb8SAndy Fiddaman.KEEP_STATE:
45*906afcb8SAndy Fiddaman.PARALLEL: $(SUBDIRS)
46*906afcb8SAndy Fiddaman
47*906afcb8SAndy Fiddamanall clean clobber install _feature: $(SUBDIRS)
48*906afcb8SAndy Fiddaman_msg: $(MACH)
49*906afcb8SAndy Fiddaman
50*906afcb8SAndy Fiddamaninclude Makefile.defs
51*906afcb8SAndy FiddamanHDRS= $(HEADERINSTALL)
52*906afcb8SAndy FiddamanHDRDIR32= $(MACH)/ast
53*906afcb8SAndy FiddamanHDRDIR64= $(MACH64)/ast
54*906afcb8SAndy Fiddamaninclude ../Makefile.asthdr
55*906afcb8SAndy Fiddaman
56*906afcb8SAndy Fiddamaninstall_h: $(SUBDIRS) .WAIT $(ROOTHDRS)
57*906afcb8SAndy Fiddamaninstall: install_h
58*906afcb8SAndy Fiddaman
59*906afcb8SAndy Fiddaman$(SUBDIRS): FRC
60*906afcb8SAndy Fiddaman	@cd $@; pwd; $(MAKE) $(TARGET)
61*906afcb8SAndy FiddamanFRC:
62*906afcb8SAndy Fiddaman
63*906afcb8SAndy Fiddamaninclude $(SRC)/lib/Makefile.targ
64