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
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.
14 # Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
16 include ..
/Makefile.com
17 include ..
/..
/Makefile.lib
.64
20 PYTHON_VERSION
= $(PYTHON3_VERSION
)
21 PYTHON_SUFFIX
= $(PYTHON3_SUFFIX
)
23 LDLIBS64
+= -L
$(ADJUNCT_PROTO
)/usr
/lib
/$(MACH64
)
24 MAPFILES
= $(SRCDIR
)/mapfile-py3
25 ROOTPYSOLFILES
= $(PYSRCS
:%=$(ROOTLIBDIR
)/%)
26 $(ROOTLIBDIR
)/$(DYNLIB
) := FILEMODE
= 755
29 install: all $(ROOTLIBS
) $(ROOTPYSOLFILES
)
31 $(ROOTLIBDIR
)/%.so
: %.so
34 $(ROOTLIBDIR
)/%: ..
/common
/%
36 $(PYTHON
) -mpy_compile
$@