xref: /illumos-gate/usr/src/lib/pylibbe/py3/Makefile (revision ac2f5fbefc05314fcd97b03f2338b39e6efe643f)
1# CDDL HEADER START
2#
3# This file and its contents are supplied under the terms of the
4# Common Development and Distribution License ("CDDL"), version 1.0.
5# You may only use this file in accordance with the terms of version
6# 1.0 of the CDDL.
7#
8# A full copy of the text of the CDDL should have accompanied this
9# source. A copy of the CDDL is also available via the Internet at
10# http://www.illumos.org/license/CDDL.
11# CDDL HEADER END
12
13# Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
14
15include ../Makefile.com
16include ../../Makefile.lib.64
17
18PYSHEBANG = $(PYTHON3)
19PYVER = $(PYTHON3_VERSION)
20PYSUFFIX = $(PYTHON3_SUFFIX)
21
22LDLIBS64 += -L$(ADJUNCT_PROTO)/usr/lib/$(MACH64)
23MAPFILES = $(SRCDIR)/mapfile-py3
24$(ROOTLIBDIR)/$(DYNLIB) := FILEMODE= 755
25
26$(ROOTLIBS):
27	$(INS.file) $(DYNLIB)
28
29install: all $(ROOTLIBS)
30