Makefile revision 5680
292N/A# The contents of this file are subject to the terms of the 295N/A# Common Development and Distribution License (the "License"). 168N/A# You may not use this file except in compliance with the License. 292N/A# See the License for the specific language governing permissions 292N/A# and limitations under the License. 292N/A# When distributing Covered Code, include this CDDL HEADER in each 168N/A# If applicable, add the following below this CDDL HEADER, with the 168N/A# fields enclosed by brackets "[]" replaced with your own identifying 292N/A# information: Portions Copyright [yyyy] [name of copyright owner] 292N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. 168N/A# Samba does not work properly on i386 when built by studio with -xO3+. 168N/A# Both SPRO_VROOT and studio_OPT vars must use the override keyword otherwise 168N/A# Userland will ignore it and use its default value. 168N/A# To use the older 12.3 compiler instead of the default 12.4 compiler uncomment 168N/A#override SPRO_VROOT = $(SPRO_ROOT)/solarisstudio12.3 295N/A# Verbosed waf produces unreadable output if parallelized. 295N/A# Uncomment to enable verbose build. 295N/A#override WAFOPT1 = -v -j1 295N/A# Set build dirs for Samba + Winbind / Winbind (without Samba). 168N/A# Depends on S12-only libraries from Desktop to build. 168N/A# Oracle HSM is not supported on 12.0 yet but the libsam.so target should rather be commented out than removed 168N/A# (note) change compiler bitness here when Samba became 64bits 168N/A# Samba 4 needs extension of krb5 API, which is implemented in a Samba private 295N/A# version 1.9 or higher this extension will no longer be needed 168N/A# see Bug 18308792 for details. 168N/A# More libs needed by smbd (libavahi, libgamin, ...) 168N/A#CPPFLAGS += -DSAMBA_VERSION_VENDOR_SUFFIX=\\\"Placeholder_for_vendor_suffix\\\" 168N/A# --enable-fhs should not be on 295N/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,
vfs_solarisacl 295N/A# Build targets for WAF: 295N/A# (motivation) Samba started to use WAF (build system from Google) from the 3.x 295N/A# (as a parallel build system) but Samba4 discontinued the use of auto tools 295N/A# (note) .BDprep target is an additional step between .prep and .configure 168N/A# targets. It was added because there were problems with libtool-like phase of 168N/A# WAF when the not "prepared well". "waf distclean" on CLONEY'ed BUILD_DIR is 168N/A# Prepare build dir for Samba + Winbind. 295N/A # re-create configure dir 295N/A# Configure of Samba + Winbind. 168N/A# Depends on S12-only libraries from Desktop to build. 168N/A# Build of Samba + Winbind. 168N/A# Install of Samba + Winbind. 168N/A# Prepare build dir for Winbind (without Samba) for different bitness. 168N/A # re-create configure dir 295N/A# Configure of Winbind (without Samba) for different bitness. 295N/A# Build of Winbind (without Samba) for different bitness. 168N/A# Installf Winbind (without Samba) for different bitness. # Set appropriate bitnesses for Samba + Winbind / Winbind (without Samba).