7065N/A# The contents of this file are subject to the terms of the 7065N/A# Common Development and Distribution License (the "License"). 7065N/A# You may not use this file except in compliance with the License. 7065N/A# See the License for the specific language governing permissions 7065N/A# and limitations under the License. 7065N/A# When distributing Covered Code, include this CDDL HEADER in each 7065N/A# If applicable, add the following below this CDDL HEADER, with the 7065N/A# fields enclosed by brackets "[]" replaced with your own identifying 7065N/A# information: Portions Copyright [yyyy] [name of copyright owner] 7065N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. 7065N/A# Samba uses gcc-like structure members initialization 7065N/A# ...so solarisstudio12.1 (default in 11.3) fails to compile Samba 7065N/A# Samba does not work properly on i386 when built by studio with -xO3+. 7065N/A# Both SPRO_VROOT and studio_OPT vars must use the override keyword otherwise 7065N/A# Userland will ignore it and use its default value. 7065N/A# parfait seems to spin on us 7065N/A# Verbosed waf produces unreadable output if parallelized. 7065N/A# Uncomment to enable verbose build. 7065N/A# Set build dirs for Samba + Winbind / Winbind (without Samba). 7065N/A# Set the pkg... path to search files in ./Solaris/ dir (mainly the SMF manifests are there) 7065N/A# More libs needed by smbd (libavahi, libgamin, ...) 7065N/A#CPPFLAGS += -DSAMBA_VERSION_VENDOR_SUFFIX=\\\"Placeholder_for_vendor_suffix\\\" 7065N/A# --enable-fhs should not be on 7065N/A# Whenever getfacl is found HAVE_SOLARIS_UNIXWARE_ACLS is set and 7065N/A# vfs_solarisacl is placed into the list of the static modules 7065N/A --
with-
shared-
modules=
vfs_worm,
vfs_zfsacl,
vfs_prealloc,
vfs_cacheprime,
vfs_commit,
idmap_ldap,
idmap_tdb2,
idmap_rid,
idmap_ad,
idmap_hash,
idmap_adex 7065N/A#CONFIGURE_OPTIONS += --enable-nss-wrapper 7065N/A#CONFIGURE_OPTIONS += --with-system-mitkrb5 7065N/A# (motivation) Samba started to use WAF (build system from Google) from the 3.x 7065N/A# (as a parallel build system) but Samba4 discontinued the use of auto tools 7065N/A# (note) .BDprep target is an additional step between .prep and .configure 7065N/A# targets. It was added because there were problems with libtool-like phase of 7065N/A# WAF when the not "prepared well". "waf distclean" on CLONEY'ed BUILD_DIR is 7065N/A# Prepare build dir for Samba + Winbind. 7065N/A# Configure of Samba + Winbind. 7065N/A# Install of Samba + Winbind. 7065N/A# Prepare build dir for Winbind (without Samba) for different bitness. 7065N/A# Configure of Winbind (without Samba) for different bitness. 7065N/A# Build of Winbind (without Samba) for different bitness. 7065N/A# Installf Winbind (without Samba) for different bitness. 7065N/A# Set appropriate bitnesses for Samba + Winbind / Winbind (without Samba). 7065N/A # set version of python interpreter for pkglint 7065N/A /
usr/
bin/
sed -e
'1,1s&^#!.*python[:blank:]\{0,\}$$&#!$(PYTHON.$(PYTHON_VERSION))&' \