xref: /illumos-gate/usr/src/cmd/ast/libpp/Makefile (revision b30d1939)
1749f21d3Swesolows#
2749f21d3Swesolows# CDDL HEADER START
3749f21d3Swesolows#
4749f21d3Swesolows# The contents of this file are subject to the terms of the
5749f21d3Swesolows# Common Development and Distribution License (the "License").
6749f21d3Swesolows# You may not use this file except in compliance with the License.
7749f21d3Swesolows#
8749f21d3Swesolows# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9749f21d3Swesolows# or http://www.opensolaris.org/os/licensing.
10749f21d3Swesolows# See the License for the specific language governing permissions
11749f21d3Swesolows# and limitations under the License.
12749f21d3Swesolows#
13749f21d3Swesolows# When distributing Covered Code, include this CDDL HEADER in each
14749f21d3Swesolows# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15749f21d3Swesolows# If applicable, add the following below this CDDL HEADER, with the
16749f21d3Swesolows# fields enclosed by brackets "[]" replaced with your own identifying
17749f21d3Swesolows# information: Portions Copyright [yyyy] [name of copyright owner]
18749f21d3Swesolows#
19749f21d3Swesolows# CDDL HEADER END
20749f21d3Swesolows#
21749f21d3Swesolows#
227c2fbfb3SApril Chin# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23749f21d3Swesolows# Use is subject to license terms.
24749f21d3Swesolows#
25*b30d1939SAndy Fiddaman# Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
26*b30d1939SAndy Fiddaman#
27749f21d3Swesolows
28*b30d1939SAndy FiddamanSHELL= /usr/bin/ksh93
29da2e3ebdSchin
30*b30d1939SAndy Fiddamaninclude		$(SRC)/lib/Makefile.lib
31da2e3ebdSchin
32*b30d1939SAndy FiddamanSUBDIRS=	$(MACH)
33da2e3ebdSchin
34da2e3ebdSchinall :=		TARGET= all
35da2e3ebdSchinclean :=	TARGET= clean
36da2e3ebdSchinclobber :=	TARGET= clobber
37da2e3ebdSchininstall :=	TARGET= install
38241c90a0SRichard Lowe_msg :=		TARGET= _msg
39da2e3ebdSchin
40da2e3ebdSchin.KEEP_STATE:
41da2e3ebdSchin
42*b30d1939SAndy Fiddamanall clean clobber install: $(SUBDIRS)
43*b30d1939SAndy Fiddaman_msg: $(MACH)
44*b30d1939SAndy Fiddaman_feature:
45da2e3ebdSchin
46*b30d1939SAndy Fiddamaninclude ../Makefile.ast
47*b30d1939SAndy Fiddamaninclude Makefile.defs
48*b30d1939SAndy FiddamanHDRS= $(HEADERINSTALL)
49*b30d1939SAndy FiddamanHDRDIR32= $(ASTSRC)
50*b30d1939SAndy FiddamanHDRDIR64= $(ASTSRC)
51da2e3ebdSchininclude ../Makefile.asthdr
52da2e3ebdSchin
53da2e3ebdSchininstall_h: $(ROOTHDRS)
54*b30d1939SAndy Fiddamaninstall: install_h
55da2e3ebdSchin
56da2e3ebdSchin$(SUBDIRS):	FRC
57da2e3ebdSchin	@cd $@; pwd; $(MAKE) $(TARGET)
58da2e3ebdSchinFRC:
59da2e3ebdSchin
60*b30d1939SAndy Fiddamaninclude $(SRC)/lib/Makefile.targ
61