xref: /titanic_52/usr/src/cmd/ast/libpp/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# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23*906afcb8SAndy Fiddaman# Use is subject to license terms.
24*906afcb8SAndy Fiddaman#
25*906afcb8SAndy Fiddaman# Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
26*906afcb8SAndy Fiddaman#
27*906afcb8SAndy Fiddaman
28*906afcb8SAndy FiddamanSHELL= /usr/bin/ksh93
29*906afcb8SAndy Fiddaman
30*906afcb8SAndy Fiddamaninclude		$(SRC)/lib/Makefile.lib
31*906afcb8SAndy Fiddaman
32*906afcb8SAndy FiddamanSUBDIRS=	$(MACH)
33*906afcb8SAndy Fiddaman
34*906afcb8SAndy Fiddamanall :=		TARGET= all
35*906afcb8SAndy Fiddamanclean :=	TARGET= clean
36*906afcb8SAndy Fiddamanclobber :=	TARGET= clobber
37*906afcb8SAndy Fiddamaninstall :=	TARGET= install
38*906afcb8SAndy Fiddamanlint :=		TARGET= lint
39*906afcb8SAndy Fiddaman_msg := 	TARGET= _msg
40*906afcb8SAndy Fiddaman
41*906afcb8SAndy Fiddaman.KEEP_STATE:
42*906afcb8SAndy Fiddaman
43*906afcb8SAndy Fiddamanall clean clobber install lint: $(SUBDIRS)
44*906afcb8SAndy Fiddaman_msg: $(MACH)
45*906afcb8SAndy Fiddaman_feature:
46*906afcb8SAndy Fiddaman
47*906afcb8SAndy Fiddamaninclude ../Makefile.ast
48*906afcb8SAndy Fiddamaninclude Makefile.defs
49*906afcb8SAndy FiddamanHDRS= $(HEADERINSTALL)
50*906afcb8SAndy FiddamanHDRDIR32= $(ASTSRC)
51*906afcb8SAndy FiddamanHDRDIR64= $(ASTSRC)
52*906afcb8SAndy Fiddamaninclude ../Makefile.asthdr
53*906afcb8SAndy Fiddaman
54*906afcb8SAndy Fiddamaninstall_h: $(ROOTHDRS)
55*906afcb8SAndy Fiddamaninstall: install_h
56*906afcb8SAndy Fiddaman
57*906afcb8SAndy Fiddaman$(SUBDIRS):	FRC
58*906afcb8SAndy Fiddaman	@cd $@; pwd; $(MAKE) $(TARGET)
59*906afcb8SAndy FiddamanFRC:
60*906afcb8SAndy Fiddaman
61*906afcb8SAndy Fiddamaninclude $(SRC)/lib/Makefile.targ
62