components/apr-util/Makefile
branchs11-update
changeset 3042 e8d9a292d553
parent 2623 948dde330876
child 3661 47545fb8aed4
equal deleted inserted replaced
3041:21f8567d0e0e 3042:e8d9a292d553
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 include ../../make-rules/shared-macros.mk
    23 include ../../make-rules/shared-macros.mk
    24 
    24 
    25 COMPONENT_NAME=		apr-util
    25 COMPONENT_NAME=		apr-util
    26 COMPONENT_VERSION=	1.3.9
    26 COMPONENT_VERSION=	1.3.9
    40 
    40 
    41 PATCH_LEVEL=0
    41 PATCH_LEVEL=0
    42 
    42 
    43 CONFIGURE_PREFIX=/usr/apr-util/1.3
    43 CONFIGURE_PREFIX=/usr/apr-util/1.3
    44 
    44 
    45 CONFIGURE_OPTIONS +=	--with-mysql=/usr/mysql/5.1
    45 CONFIGURE_OPTIONS +=	--with-mysql=/usr/mysql/5.5
    46 CONFIGURE_OPTIONS +=	--with-expat=/usr
    46 CONFIGURE_OPTIONS +=	--with-expat=/usr
    47 CONFIGURE_OPTIONS +=	--with-sqlite3=/usr
    47 CONFIGURE_OPTIONS +=	--with-sqlite3=/usr
    48 CONFIGURE_OPTIONS +=	--with-ldap=ldap_r-2.4
    48 CONFIGURE_OPTIONS +=	--with-ldap=ldap_r-2.4
    49 CONFIGURE_OPTIONS +=	--with-ldap-include=/usr/include/openldap
    49 CONFIGURE_OPTIONS +=	--with-ldap-include=/usr/include/openldap
    50 CONFIGURE_OPTIONS +=	--without-odbc
    50 CONFIGURE_OPTIONS +=	--without-odbc
    51 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
    51 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
    52 CONFIGURE_OPTIONS.32 +=	--enable-layout=OpenSolaris
    52 CONFIGURE_OPTIONS.32 +=	--enable-layout=OpenSolaris
    53 CONFIGURE_OPTIONS.64 +=	--enable-layout=OpenSolaris-$(MACH64)
    53 CONFIGURE_OPTIONS.64 +=	--enable-layout=OpenSolaris-$(MACH64)
    54 CONFIGURE_OPTIONS.32 +=	--with-apr=/usr/apr/1.3/bin/apr-1-config
    54 CONFIGURE_OPTIONS.32 +=	--with-apr=/usr/apr/1.3/bin/apr-1-config
    55 CONFIGURE_OPTIONS.64 +=	--with-apr=/usr/apr/1.3/bin/$(MACH64)/apr-1-config
    55 CONFIGURE_OPTIONS.64 +=	--with-apr=/usr/apr/1.3/bin/$(MACH64)/apr-1-config
    56 CONFIGURE_OPTIONS.64 +=	MYSQL_CONFIG=/usr/mysql/5.1/bin/$(MACH64)/mysql_config
    56 CONFIGURE_OPTIONS.32 +=	MYSQL_CONFIG=/usr/mysql/5.5/bin/$(MACH32)/mysql_config
    57 
    57 
    58 PATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
    58 PATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
    59 
    59 
    60 COMPONENT_TEST_TARGETS= test
    60 COMPONENT_TEST_TARGETS= test
    61 
    61 
    68 # Documentation is generated in and directly packaged from 32 bit build
    68 # Documentation is generated in and directly packaged from 32 bit build
    69 # directory using doxygen.
    69 # directory using doxygen.
    70 PKG_PROTO_DIRS += $(BUILD_DIR)/$(MACH32)/docs/dox/html
    70 PKG_PROTO_DIRS += $(BUILD_DIR)/$(MACH32)/docs/dox/html
    71 PKG_PROTO_DIRS += $(BUILD_DIR)/$(MACH32)/docs/dox/html/search
    71 PKG_PROTO_DIRS += $(BUILD_DIR)/$(MACH32)/docs/dox/html/search
    72 
    72 
       
    73 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
       
    74 
    73 docs: $(BUILD_DIR)/$(MACH32)/.built
    75 docs: $(BUILD_DIR)/$(MACH32)/.built
    74 	cd $(BUILD_DIR)/$(MACH32); doxygen docs/doxygen.conf
    76 	cd $(BUILD_DIR)/$(MACH32); doxygen docs/doxygen.conf
    75 
    77 
    76 build: $(BUILD_32_and_64) docs
    78 build: $(BUILD_32_and_64) docs
    77 
    79 
    78 install: $(INSTALL_32_and_64)
    80 install: $(INSTALL_32_and_64)
       
    81 	# workaround for 18195512
       
    82 	elfedit -e "dyn:runpath /usr/mysql/5.5/lib/" \
       
    83 	  $(PROTO_DIR)/usr/apr-util/1.3/lib/apr-util-1/apr_dbd_mysql-1.so
       
    84 	elfedit -e "dyn:runpath /usr/mysql/5.5/lib/$(MACH64)" \
       
    85 	  $(PROTO_DIR)/usr/apr-util/1.3/lib/$(MACH64)/apr-util-1/apr_dbd_mysql-1.so
    79 
    86 
    80 test: $(TEST_32_and_64)
    87 test: $(TEST_32_and_64)
    81 
    88 
    82 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    89 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    83 
    90