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