xref: /illumos-gate/usr/src/lib/pylibbe/py3b/Makefile (revision c7ebb3fa8bd1474c486063f5c422f61578a4a968)
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 2021 OmniOS Community Edition (OmniOSce) Association.
14
15include ../Makefile.com
16include ../../Makefile.lib.64
17
18PYSHEBANG = $(PYTHON3b)
19PYVER = $(PYTHON3b_VERSION)
20PYSUFFIX = $(PYTHON3b_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