xref: /illumos-gate/usr/src/cmd/ast/libdll/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#
217c2fbfb3SApril Chin
22749f21d3Swesolows#
237c2fbfb3SApril Chin# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24749f21d3Swesolows# Use is subject to license terms.
25749f21d3Swesolows#
26*b30d1939SAndy Fiddaman# Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
27*b30d1939SAndy Fiddaman#
28749f21d3Swesolows
29*b30d1939SAndy FiddamanSHELL= /usr/bin/ksh93
30da2e3ebdSchin
31*b30d1939SAndy Fiddamaninclude		$(SRC)/lib/Makefile.lib
32da2e3ebdSchin
33*b30d1939SAndy FiddamanSUBDIRS= $(MACH)
34da2e3ebdSchin$(BUILD64)SUBDIRS += $(MACH64)
35da2e3ebdSchin
36da2e3ebdSchinall :=		TARGET= all
37da2e3ebdSchinclean :=	TARGET= clean
38da2e3ebdSchinclobber :=	TARGET= clobber
39da2e3ebdSchininstall :=	TARGET= install
40*b30d1939SAndy Fiddamaninstall_h :=	TARGET= install_h
41241c90a0SRichard Lowe_msg :=		TARGET= _msg
42*b30d1939SAndy Fiddaman_feature :=	TARGET= _feature
43da2e3ebdSchin
44da2e3ebdSchin.KEEP_STATE:
45*b30d1939SAndy Fiddaman.PARALLEL: $(SUBDIRS)
46da2e3ebdSchin
47*b30d1939SAndy Fiddamanall clean clobber install _feature: $(SUBDIRS)
48*b30d1939SAndy Fiddaman_msg: $(MACH)
49da2e3ebdSchin
50*b30d1939SAndy Fiddamaninclude Makefile.defs
51*b30d1939SAndy FiddamanHDRS= $(HEADERINSTALL)
52*b30d1939SAndy FiddamanHDRDIR32= $(MACH)/ast
53*b30d1939SAndy FiddamanHDRDIR64= $(MACH64)/ast
54da2e3ebdSchininclude ../Makefile.asthdr
55da2e3ebdSchin
56*b30d1939SAndy Fiddamaninstall_h: $(SUBDIRS) .WAIT $(ROOTHDRS)
57*b30d1939SAndy Fiddamaninstall: install_h
58da2e3ebdSchin
59da2e3ebdSchin$(SUBDIRS):	FRC
60da2e3ebdSchin	@cd $@; pwd; $(MAKE) $(TARGET)
61da2e3ebdSchinFRC:
62da2e3ebdSchin
63*b30d1939SAndy Fiddamaninclude $(SRC)/lib/Makefile.targ
64