xref: /titanic_52/usr/src/cmd/ast/libshell/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 2009 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 Fiddamanlint :=		TARGET= lint
42*906afcb8SAndy Fiddaman_msg := 	TARGET= _msg
43*906afcb8SAndy Fiddaman_feature :=	TARGET= _feature
44*906afcb8SAndy Fiddaman
45*906afcb8SAndy Fiddaman.KEEP_STATE:
46*906afcb8SAndy Fiddaman.PARALLEL: $(SUBDIRS)
47*906afcb8SAndy Fiddaman
48*906afcb8SAndy Fiddamanall clean clobber install lint _feature: $(SUBDIRS)
49*906afcb8SAndy Fiddaman_msg: $(MACH)
50*906afcb8SAndy Fiddaman
51*906afcb8SAndy Fiddamaninclude Makefile.defs
52*906afcb8SAndy FiddamanHDRS= $(HEADERINSTALL)
53*906afcb8SAndy FiddamanHDRDIR32= $(MACH)/ast
54*906afcb8SAndy FiddamanHDRDIR64= $(MACH64)/ast
55*906afcb8SAndy Fiddamaninclude ../Makefile.asthdr
56*906afcb8SAndy Fiddaman
57*906afcb8SAndy Fiddamaninstall_h: $(SUBDIRS) .WAIT $(ROOTHDRS)
58*906afcb8SAndy Fiddamaninstall: install_h
59*906afcb8SAndy Fiddaman
60*906afcb8SAndy Fiddaman$(SUBDIRS):	FRC
61*906afcb8SAndy Fiddaman	@cd $@; pwd; $(MAKE) $(TARGET)
62*906afcb8SAndy FiddamanFRC:
63*906afcb8SAndy Fiddaman
64*906afcb8SAndy FiddamanASTSRC= $(CONTRIB)/ast/src/cmd/ksh93
65*906afcb8SAndy Fiddamaninclude Makefile.demo
66*906afcb8SAndy Fiddamaninclude Makefile.doc
67*906afcb8SAndy Fiddaman
68*906afcb8SAndy Fiddamaninclude $(SRC)/lib/Makefile.targ
69