1*45ede40bSAndy Fiddaman# CDDL HEADER START 2*45ede40bSAndy Fiddaman# 3*45ede40bSAndy Fiddaman# This file and its contents are supplied under the terms of the 4*45ede40bSAndy Fiddaman# Common Development and Distribution License ("CDDL"), version 1.0. 5*45ede40bSAndy Fiddaman# You may only use this file in accordance with the terms of version 6*45ede40bSAndy Fiddaman# 1.0 of the CDDL. 7*45ede40bSAndy Fiddaman# 8*45ede40bSAndy Fiddaman# A full copy of the text of the CDDL should have accompanied this 9*45ede40bSAndy Fiddaman# source. A copy of the CDDL is also available via the Internet at 10*45ede40bSAndy Fiddaman# http://www.illumos.org/license/CDDL. 11*45ede40bSAndy Fiddaman# 12*45ede40bSAndy Fiddaman# CDDL HEADER END 13*45ede40bSAndy Fiddaman 14*45ede40bSAndy Fiddaman# 15*45ede40bSAndy Fiddaman# Copyright 2021 OmniOS Community Edition (OmniOSce) Association. 16*45ede40bSAndy Fiddaman# 17*45ede40bSAndy Fiddaman 18*45ede40bSAndy Fiddamaninclude ../Makefile.com 19*45ede40bSAndy Fiddamaninclude ../../Makefile.lib.64 20*45ede40bSAndy Fiddaman 21*45ede40bSAndy FiddamanPYSHEBANG = $(PYTHON3b) 22*45ede40bSAndy FiddamanPYVER = $(PYTHON3b_VERSION) 23*45ede40bSAndy FiddamanPYSUFFIX = $(PYTHON3b_SUFFIX) 24*45ede40bSAndy Fiddaman 25*45ede40bSAndy FiddamanLDLIBS64 += -L$(ADJUNCT_PROTO)/usr/lib/$(MACH64) 26*45ede40bSAndy FiddamanMAPFILES= $(SRCDIR)/mapfile-py3 27*45ede40bSAndy FiddamanROOTPYZFSFILES= $(PYSRCS:%=$(ROOTLIBDIR)/%) 28*45ede40bSAndy Fiddaman$(ROOTLIBDIR)/$(DYNLIB) := FILEMODE= 755 29*45ede40bSAndy Fiddaman 30*45ede40bSAndy Fiddamanall: $(LIBS) 31*45ede40bSAndy Fiddamaninstall: all $(ROOTLIBS) $(ROOTPYZFSFILES) 32*45ede40bSAndy Fiddaman 33*45ede40bSAndy Fiddaman$(ROOTLIBDIR)/%.so: %.so 34*45ede40bSAndy Fiddaman $(INS.file) 35*45ede40bSAndy Fiddaman 36*45ede40bSAndy Fiddaman$(ROOTLIBDIR)/%: ../common/% 37*45ede40bSAndy Fiddaman $(INS.pyfile) 38*45ede40bSAndy Fiddaman $(PYTHON3b) -mpy_compile $@ 39*45ede40bSAndy Fiddaman 40