components/samba/samba/Makefile
changeset 5176 6ed69e0ee716
parent 5145 652f7016dfd9
equal deleted inserted replaced
5175:c63cda9960d4 5176:6ed69e0ee716
    60 
    60 
    61 # Set build dirs for Samba + Winbind / Winbind (without Samba).
    61 # Set build dirs for Samba + Winbind / Winbind (without Samba).
    62 BUILD_DIR_SMB		= $(BUILD_DIR)/samba
    62 BUILD_DIR_SMB		= $(BUILD_DIR)/samba
    63 BUILD_DIR_WINB		= $(BUILD_DIR)/winbind
    63 BUILD_DIR_WINB		= $(BUILD_DIR)/winbind
    64 
    64 
       
    65 # Depends on S12-only libraries from Desktop to build.
       
    66 ifeq ($(BUILD_TYPE), evaluation)
       
    67 PUBLISH_STAMP=
       
    68 endif
    65 include $(WS_MAKE_RULES)/ips.mk
    69 include $(WS_MAKE_RULES)/ips.mk
    66 
    70 
    67 # directory to search for "include" in samba.p5m
    71 # directory to search for "include" in samba.p5m
    68 PKG_OPTIONS += -I $(COMPONENT_DIR)
    72 PKG_OPTIONS += -I $(COMPONENT_DIR)
    69 # Set the pkg... path to search files in ./Solaris/ dir (mainly the SMF manifests are there)
    73 # Set the pkg... path to search files in ./Solaris/ dir (mainly the SMF manifests are there)
   209 $(BUILD_DIR_SMB)/.configured:	$(BUILD_DIR_SMB)/.BDprep $(PROTO_DIR)/usr/lib/samba/$(MACH64)/libgssapi_krb5.so
   213 $(BUILD_DIR_SMB)/.configured:	$(BUILD_DIR_SMB)/.BDprep $(PROTO_DIR)/usr/lib/samba/$(MACH64)/libgssapi_krb5.so
   210 	(cd $(@D) ; $(ENV) $(WAF_PATH) $(CONFIGURE_ENV) $(CONFIGURE_ENV.$(BITS)) \
   214 	(cd $(@D) ; $(ENV) $(WAF_PATH) $(CONFIGURE_ENV) $(CONFIGURE_ENV.$(BITS)) \
   211 		waf configure $(WAFOPT1) $(CONFIGURE_OPTIONS) $(CONFIGURE_OPTIONS.$(BITS)) )
   215 		waf configure $(WAFOPT1) $(CONFIGURE_OPTIONS) $(CONFIGURE_OPTIONS.$(BITS)) )
   212 	$(TOUCH) $@
   216 	$(TOUCH) $@
   213 
   217 
       
   218 # Depends on S12-only libraries from Desktop to build.
       
   219 ifeq ($(BUILD_TYPE), evaluation)
       
   220 $(BUILD_DIR_SMB)/.built:
       
   221 $(BUILD_DIR_SMB)/.installed:
       
   222 $(BUILD_DIR_WINB)/.built:
       
   223 $(BUILD_DIR_WINB)/.installed:
       
   224 PUBLISH_STAMP=
       
   225 else
       
   226 
   214 # Build of Samba + Winbind.
   227 # Build of Samba + Winbind.
   215 $(BUILD_DIR_SMB)/.built:	$(BUILD_DIR_SMB)/.configured
   228 $(BUILD_DIR_SMB)/.built:	$(BUILD_DIR_SMB)/.configured
   216 	(cd $(@D) ; $(ENV) $(WAF_PATH) LD_EXEC_OPTIONS="$(LD_EXEC_OPTIONS)" waf build $(WAFOPT1) )
   229 	(cd $(@D) ; $(ENV) $(WAF_PATH) LD_EXEC_OPTIONS="$(LD_EXEC_OPTIONS)" waf build $(WAFOPT1) )
   217 	$(TOUCH) $@
   230 	$(TOUCH) $@
   218 
   231 
   255 	    $(INSTALL) -m 0555 -t $(PROTO_DIR)/usr/lib/samba/security$(MACHLIBDIR) bin/shared/pam_*.so* ; \
   268 	    $(INSTALL) -m 0555 -t $(PROTO_DIR)/usr/lib/samba/security$(MACHLIBDIR) bin/shared/pam_*.so* ; \
   256 	    $(INSTALL) -d $(PROTO_DIR)/usr/lib/samba/private$(MACHLIBDIR) ; \
   269 	    $(INSTALL) -d $(PROTO_DIR)/usr/lib/samba/private$(MACHLIBDIR) ; \
   257 	    $(INSTALL) -m 0555 -t $(PROTO_DIR)/usr/lib/samba/private$(MACHLIBDIR) bin/shared/private/*.so* \
   270 	    $(INSTALL) -m 0555 -t $(PROTO_DIR)/usr/lib/samba/private$(MACHLIBDIR) bin/shared/private/*.so* \
   258 	"
   271 	"
   259 	$(TOUCH) $@
   272 	$(TOUCH) $@
       
   273 endif
   260 
   274 
   261 # Set appropriate bitnesses for Samba + Winbind / Winbind (without Samba).
   275 # Set appropriate bitnesses for Samba + Winbind / Winbind (without Samba).
   262 $(BUILD_DIR_SMB)/.configured:	BITS=64
   276 $(BUILD_DIR_SMB)/.configured:	BITS=64
   263 $(BUILD_DIR_SMB)/.configured:	MACHLIBDIR=/$(MACH64)	
   277 $(BUILD_DIR_SMB)/.configured:	MACHLIBDIR=/$(MACH64)	
   264 $(BUILD_DIR_WINB)/.configured:	BITS=32
   278 $(BUILD_DIR_WINB)/.configured:	BITS=32