Makefile revision 6610
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# The contents of this file are subject to the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Common Development and Distribution License (the "License").
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You may not use this file except in compliance with the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# When distributing Covered Code, include this CDDL HEADER in each
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# If applicable, add the following below this CDDL HEADER, with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# fields enclosed by brackets "[]" replaced with your own identifying
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# information: Portions Copyright [yyyy] [name of copyright owner]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER END
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Samba does not work properly on i386 when built by studio with -xO3+.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Both SPRO_VROOT and studio_OPT vars must use the override keyword otherwise
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Userland will ignore it and use its default value.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# To use the older 12.3 compiler instead of the default 12.4 compiler uncomment
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# the following line.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#override SPRO_VROOT = $(SPRO_ROOT)/solarisstudio12.3
# directory to search for "include" in samba.p5m
# Oracle HSM is not supported on 12.0 yet but the libsam.so target should rather be commented out than removed
# $(CC.studio.64) -m64 -G $(studio_PIC) -hlibsam.so Solaris/libsam.c \
--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_ENV += CPPFLAGS="$(CPPFLAGS) -I$(PROTO_DIR)/usr/include -I$(COMPONENT_DIR)/Solaris/include"
# Propagation of smb.conf with default settings.
# (motivation) Samba started to use WAF (build system from Google) from the 3.x
$(TOUCH) $@
$(TOUCH) $@
$(TOUCH) $@
(cd $(@D) ; $(ENV) - $(WAF_PATH) LD_EXEC_OPTIONS="$(LD_EXEC_OPTIONS)" waf install $(WAFOPT1) --destdir=$(PROTO_DIR) )
$(TOUCH) $@
$(TOUCH) $@
$(TOUCH) $@
$(TOUCH) $@
$(TOUCH) $@
test: $(NO_TESTS)
clean::