components/openssl/openssl-fips-140/Makefile
branchs11u3-sru
changeset 7926 26093f5b918b
parent 7708 595edade5051
equal deleted inserted replaced
7925:9029178fe4cd 7926:26093f5b918b
   118 # Disable SSLv2 protocol
   118 # Disable SSLv2 protocol
   119 CONFIGURE_OPTIONS += no-ssl2
   119 CONFIGURE_OPTIONS += no-ssl2
   120 
   120 
   121 # We define our own compiler and linker option sets for Solaris. See Configure
   121 # We define our own compiler and linker option sets for Solaris. See Configure
   122 # for more information.
   122 # for more information.
   123 CONFIGURE_OPTIONS32_i386 =	solaris-x86-cc-sunw
   123 CONFIGURE_OPTIONS32_i386 =      solaris-fips-x86-cc-sunw
   124 CONFIGURE_OPTIONS32_sparc =	solaris-fips-sparcv9-cc-sunw
   124 CONFIGURE_OPTIONS32_sparc =	solaris-fips-sparcv9-cc-sunw
   125 CONFIGURE_OPTIONS64_i386 =	solaris64-x86_64-cc-sunw
   125 CONFIGURE_OPTIONS64_i386 =      solaris64-fips-x86_64-cc-sunw
   126 CONFIGURE_OPTIONS64_sparc =	solaris64-fips-sparcv9-cc-sunw
   126 CONFIGURE_OPTIONS64_sparc =	solaris64-fips-sparcv9-cc-sunw
   127 
   127 
   128 # Some additional options needed for our engines.
   128 # Some additional options needed for our engines.
   129 CONFIGURE_OPTIONS += --pk11-libname=$(PKCS11_LIB$(BITS))
   129 CONFIGURE_OPTIONS += --pk11-libname=$(PKCS11_LIB$(BITS))
   130 CONFIGURE_OPTIONS += --enginesdir=$(ENGINESDIR_$(BITS))
   130 CONFIGURE_OPTIONS += --enginesdir=$(ENGINESDIR_$(BITS))
   178 # OpenSSL does not install into <dir>/$(MACH64) for 64-bit install so no such
   178 # OpenSSL does not install into <dir>/$(MACH64) for 64-bit install so no such
   179 # directory is created and Userland install code would fail when installing lint
   179 # directory is created and Userland install code would fail when installing lint
   180 # libraries.
   180 # libraries.
   181 COMPONENT_PRE_INSTALL_ACTION = ( $(MKDIR) $(PROTO_DIR)/usr/lib/$(MACH64); )
   181 COMPONENT_PRE_INSTALL_ACTION = ( $(MKDIR) $(PROTO_DIR)/usr/lib/$(MACH64); )
   182 
   182 
       
   183 # Remove unnecessary RUNPATH/RPATH for libcrypto.so.1.0.0
       
   184 COMPONENT_POST_INSTALL_ACTION.32 = \
       
   185     $(ELFEDIT) -e "dyn:delete RUNPATH" -e "dyn:delete RPATH" \
       
   186         $(BUILD_DIR_32)/libcrypto.so.1.0.0;
       
   187 COMPONENT_POST_INSTALL_ACTION.64 = \
       
   188     $(ELFEDIT) -e "dyn:delete RUNPATH" -e "dyn:delete RPATH" \
       
   189         $(BUILD_DIR_64)/libcrypto.so.1.0.0;
       
   190 COMPONENT_POST_INSTALL_ACTION += $(COMPONENT_POST_INSTALL_ACTION.$(BITS))
       
   191 
   183 $(SOURCE_DIR)/.prep: $(COMPONENT_DIR)/../openssl-fips/build/$(MACH32)/.installed \
   192 $(SOURCE_DIR)/.prep: $(COMPONENT_DIR)/../openssl-fips/build/$(MACH32)/.installed \
   184 		     $(COMPONENT_DIR)/../openssl-fips/build/$(MACH64)/.installed
   193 		     $(COMPONENT_DIR)/../openssl-fips/build/$(MACH64)/.installed
   185 
   194 
   186 configure:	$(CONFIGURE_32_and_64)
   195 configure:	$(CONFIGURE_32_and_64)
   187 
   196 
   212 
   221 
   213 
   222 
   214 REQUIRED_PACKAGES += developer/build/makedepend
   223 REQUIRED_PACKAGES += developer/build/makedepend
   215 REQUIRED_PACKAGES += network/rsync
   224 REQUIRED_PACKAGES += network/rsync
   216 REQUIRED_PACKAGES += system/library
   225 REQUIRED_PACKAGES += system/library
       
   226 REQUIRED_PACKAGES += system/linker