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