xref: /illumos-gate/usr/src/cmd/sgs/demo_rdb/sparcv9/Makefile (revision 6d96b4576425f4553ac02099504f0c92248a6c3a)
1d9328cd4SRobert Mustacchi#
2d9328cd4SRobert Mustacchi# CDDL HEADER START
3d9328cd4SRobert Mustacchi#
4d9328cd4SRobert Mustacchi# The contents of this file are subject to the terms of the
5d9328cd4SRobert Mustacchi# Common Development and Distribution License (the "License").
6d9328cd4SRobert Mustacchi# You may not use this file except in compliance with the License.
7d9328cd4SRobert Mustacchi#
8d9328cd4SRobert Mustacchi# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9d9328cd4SRobert Mustacchi# or http://www.opensolaris.org/os/licensing.
10d9328cd4SRobert Mustacchi# See the License for the specific language governing permissions
11d9328cd4SRobert Mustacchi# and limitations under the License.
12d9328cd4SRobert Mustacchi#
13d9328cd4SRobert Mustacchi# When distributing Covered Code, include this CDDL HEADER in each
14d9328cd4SRobert Mustacchi# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15d9328cd4SRobert Mustacchi# If applicable, add the following below this CDDL HEADER, with the
16d9328cd4SRobert Mustacchi# fields enclosed by brackets "[]" replaced with your own identifying
17d9328cd4SRobert Mustacchi# information: Portions Copyright [yyyy] [name of copyright owner]
18d9328cd4SRobert Mustacchi#
19d9328cd4SRobert Mustacchi# CDDL HEADER END
20d9328cd4SRobert Mustacchi#
21d9328cd4SRobert Mustacchi
22d9328cd4SRobert Mustacchi#
23d9328cd4SRobert Mustacchi# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
24d9328cd4SRobert Mustacchi# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
25d9328cd4SRobert Mustacchi#
26d9328cd4SRobert Mustacchi
27d9328cd4SRobert Mustacchiinclude		../Makefile.com
28d9328cd4SRobert Mustacchi
29d9328cd4SRobert MustacchiCPPFLAGS +=	-D_SYSCALL32
30d9328cd4SRobert Mustacchi
31d9328cd4SRobert Mustacchi# DEMO DELETE START
32d9328cd4SRobert MustacchiCCVERBOSE=
33d9328cd4SRobert Mustacchi
34d9328cd4SRobert MustacchiLDFLAGS=	-L ../../$(MACH64) \
35d9328cd4SRobert Mustacchi		-L ../../../libelf/$(MACH64)
36d9328cd4SRobert Mustacchi
37d9328cd4SRobert Mustacchi# DEMO DELETE END
38d9328cd4SRobert Mustacchi
39d9328cd4SRobert Mustacchi# Change -m64 to -xarch=generic64 for use with older Sun compilers.
40d9328cd4SRobert MustacchiDEMOCFLAGS=	-m64
41d9328cd4SRobert Mustacchi
42d9328cd4SRobert Mustacchi.KEEP_STATE:
43d9328cd4SRobert Mustacchi
44d9328cd4SRobert Mustacchiall:		$(OBJDIR) .WAIT $(PROG)
45d9328cd4SRobert Mustacchi
46d9328cd4SRobert Mustacchitest:		$(TESTS)
47d9328cd4SRobert Mustacchi
48d9328cd4SRobert Mustacchi# DEMO DELETE START
49d9328cd4SRobert MustacchiDEMOCFLAGS=
50d9328cd4SRobert Mustacchi
51d9328cd4SRobert Mustacchicatalog:
52d9328cd4SRobert Mustacchi
53d9328cd4SRobert Mustacchiinstall:	all $(ROOTONLDBINPROG64)
54d9328cd4SRobert Mustacchi# DEMO DELETE END
55d9328cd4SRobert Mustacchi
56d9328cd4SRobert Mustacchiinclude		../Makefile.targ
57d9328cd4SRobert Mustacchi
58d9328cd4SRobert Mustacchi# DEMO DELETE START
59*6d96b457SPeter Tribbleinclude		../../../../Makefile.master.64
60d9328cd4SRobert Mustacchi# DEMO DELETE END
61