components/samba/samba30/Makefile
branchs11-update
changeset 3996 20c0f21bbe1e
parent 3661 47545fb8aed4
equal deleted inserted replaced
3994:3781477accf3 3996:20c0f21bbe1e
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 
    26 include ../../../make-rules/shared-macros.mk
    26 include ../../../make-rules/shared-macros.mk
    27 
    27 
    28 #  Motivation:
    28 #  Motivation:
    43 COMPONENT_BUGDB=	utility/samba
    43 COMPONENT_BUGDB=	utility/samba
    44 
    44 
    45 TPNO_LIBSMBCLIENT=	17765
    45 TPNO_LIBSMBCLIENT=	17765
    46 TPNO_MOZLDAP=		4457
    46 TPNO_MOZLDAP=		4457
    47 
    47 
    48 include ../../../make-rules/prep.mk
    48 include $(WS_MAKE_RULES)/prep.mk
    49 
    49 
    50 SRC_OFFSET =	source
    50 SRC_OFFSET =	source
    51 BUILD_DIR_32 = $(BUILD_DIR)/$(MACH32)/$(SRC_OFFSET)
    51 BUILD_DIR_32 = $(BUILD_DIR)/$(MACH32)/$(SRC_OFFSET)
    52 
    52 
    53 include ../../../make-rules/configure.mk
    53 include $(WS_MAKE_RULES)/configure.mk
    54 include ../../../make-rules/ips.mk
    54 include $(WS_MAKE_RULES)/ips.mk
    55 
    55 
    56 CONFIGURE_SCRIPT = $(BUILD_DIR_32)/configure
    56 CONFIGURE_SCRIPT = $(BUILD_DIR_32)/configure
    57 
    57 
    58 # Build mozldap if not yet built.
    58 # Build mozldap if not yet built.
    59 $(COMPONENT_DIR)/../mozldap/build/$(MACH32)/.installed \
    59 $(COMPONENT_DIR)/../mozldap/build/$(MACH32)/.installed \
   139 LICENSE_TRANSFORMS =
   139 LICENSE_TRANSFORMS =
   140 
   140 
   141 # common targets
   141 # common targets
   142 build:		$(BUILD_32)
   142 build:		$(BUILD_32)
   143 
   143 
   144 include ../../../make-rules/shared-targets.mk
       
   145 
       
   146 install:	$(INSTALL_32)
   144 install:	$(INSTALL_32)
   147 
   145 
   148 test:		$(NO_TESTS)
   146 test:		$(NO_TESTS)
   149 
   147 
   150 clean::
   148 clean::
   151 	$(GMAKE) -C $(COMPONENT_DIR)/../mozldap clean
   149 	$(GMAKE) -C $(COMPONENT_DIR)/../mozldap clean
   152 
   150 
   153 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
   154 
   151 
   155 include ../../../make-rules/depend.mk
   152 REQUIRED_PACKAGES += library/nspr
       
   153 REQUIRED_PACKAGES += library/openldap
       
   154 REQUIRED_PACKAGES += library/security/nss
       
   155 REQUIRED_PACKAGES += service/security/kerberos-5
       
   156 REQUIRED_PACKAGES += system/library