xref: /illumos-gate/usr/src/lib/pylibbe/py3/Makefile (revision fa79a855d371dfcb29461ad6ebaf48a458bf9f14)
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
18PYTHON = $(PYTHON3)
19PYTHON_VERSION = $(PYTHON3_VERSION)
20PYTHON_SUFFIX = $(PYTHON3_SUFFIX)
21LDLIBS64 += -L$(ADJUNCT_PROTO)/usr/lib/$(MACH64)
22MAPFILES = $(SRCDIR)/mapfile-py3
23$(ROOTLIBDIR)/$(DYNLIB) := FILEMODE= 755
24
25$(ROOTLIBS):
26	$(INS.file) $(DYNLIB)
27
28install: all $(ROOTLIBS)
29