xref: /illumos-gate/usr/src/cmd/ast/ksh/amd64/Makefile (revision 2e00117bdb9152d78b3ddf7509ed11147cd829bf)
1b30d1939SAndy Fiddaman#
2b30d1939SAndy Fiddaman# CDDL HEADER START
3b30d1939SAndy Fiddaman#
4b30d1939SAndy Fiddaman# The contents of this file are subject to the terms of the
5b30d1939SAndy Fiddaman# Common Development and Distribution License (the "License").
6b30d1939SAndy Fiddaman# You may not use this file except in compliance with the License.
7b30d1939SAndy Fiddaman#
8b30d1939SAndy Fiddaman# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9b30d1939SAndy Fiddaman# or http://www.opensolaris.org/os/licensing.
10b30d1939SAndy Fiddaman# See the License for the specific language governing permissions
11b30d1939SAndy Fiddaman# and limitations under the License.
12b30d1939SAndy Fiddaman#
13b30d1939SAndy Fiddaman# When distributing Covered Code, include this CDDL HEADER in each
14b30d1939SAndy Fiddaman# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15b30d1939SAndy Fiddaman# If applicable, add the following below this CDDL HEADER, with the
16b30d1939SAndy Fiddaman# fields enclosed by brackets "[]" replaced with your own identifying
17b30d1939SAndy Fiddaman# information: Portions Copyright [yyyy] [name of copyright owner]
18b30d1939SAndy Fiddaman#
19b30d1939SAndy Fiddaman# CDDL HEADER END
20b30d1939SAndy Fiddaman#
21b30d1939SAndy Fiddaman
22b30d1939SAndy Fiddaman#
23b30d1939SAndy Fiddaman# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24b30d1939SAndy Fiddaman# Use is subject to license terms.
25b30d1939SAndy Fiddaman#
26b30d1939SAndy Fiddaman# Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
27b30d1939SAndy Fiddaman#
28b30d1939SAndy Fiddaman
29b30d1939SAndy Fiddaman# Specify the MACH we currently use to build and test ksh
30b30d1939SAndy FiddamanLIBSHELLMACH= $(MACH64)
31b30d1939SAndy Fiddaman
32b30d1939SAndy Fiddamaninclude ../../../Makefile.cmd
33b30d1939SAndy Fiddamaninclude ../../../Makefile.cmd.64
34b30d1939SAndy Fiddaman
35b30d1939SAndy Fiddamaninclude ../Makefile.com
36b30d1939SAndy Fiddaman
37*2e00117bSRichard LoweROOTLINK=$(PROG:%=$(ROOTBIN64)/%)
38*2e00117bSRichard Lowe
39*2e00117bSRichard Loweinstall: all $(ROOTPROG) $(ROOTLINK)
40b30d1939SAndy Fiddaman	$(INSTALL.ksh.64bit)
41b30d1939SAndy Fiddaman
42*2e00117bSRichard Lowe$(ROOTLINK):
43*2e00117bSRichard Lowe	$(RM) $@; $(SYMLINK) ../../bin/ksh $@
44*2e00117bSRichard Lowe
45b30d1939SAndy Fiddamaninclude ../../../Makefile.targ
46