components/openssl/openssl-1.0.1-fips-140/Makefile
branchs11-update
changeset 3464 57f7ad288af9
parent 3396 2865c45ffb48
child 3623 d9c6d29792fb
equal deleted inserted replaced
3462:3fbdd7a202d6 3464:57f7ad288af9
    23 export PARFAIT_BUILD=no
    23 export PARFAIT_BUILD=no
    24 
    24 
    25 include ../../../make-rules/shared-macros.mk
    25 include ../../../make-rules/shared-macros.mk
    26 
    26 
    27 PATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin:/usr/perl5/bin
    27 PATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin:/usr/perl5/bin
       
    28 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
       
    29 PATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin:/usr/perl5/bin
       
    30 endif
    28 
    31 
    29 COMPONENT_NAME =	openssl-fips-140
    32 COMPONENT_NAME =	openssl-fips-140
    30 # Note that this is the OpenSSL version that is used to build FIPS-140 certified
    33 # Note that this is the OpenSSL version that is used to build FIPS-140 certified
    31 # libraries. However, we use the FIPS canister version for the IPS package.
    34 # libraries. However, we use the FIPS canister version for the IPS package.
    32 COMPONENT_VERSION =	1.0.1j
    35 COMPONENT_VERSION =	1.0.1j
   127 # opensslconf.h version from the 32 bit build.
   130 # opensslconf.h version from the 32 bit build.
   128 COMPONENT_POST_CONFIGURE_ACTION = \
   131 COMPONENT_POST_CONFIGURE_ACTION = \
   129    ( [ $(BITS) -eq 32 ] && $(GPATCH) -p1 $(@D)/crypto/opensslconf.h \
   132    ( [ $(BITS) -eq 32 ] && $(GPATCH) -p1 $(@D)/crypto/opensslconf.h \
   130       patches-post-config/opensslconf.patch; cd $(@D); $(MAKE) depend; )
   133       patches-post-config/opensslconf.patch; cd $(@D); $(MAKE) depend; )
   131 
   134 
   132 # Enable ASLR for this component
       
   133 ASLR_MODE = $(ASLR_ENABLE)
       
   134 
       
   135 # We must make sure that openssl-fips component is built before this 1.0.1
   135 # We must make sure that openssl-fips component is built before this 1.0.1
   136 # component since in order to build FIPS-140 certified libraries, the canister
   136 # component since in order to build FIPS-140 certified libraries, the canister
   137 # is needed. Note that we must unset BITS that would override the same variable
   137 # is needed. Note that we must unset BITS that would override the same variable
   138 # used in openssl-fips' Makefile, and we would end up up with both canisters
   138 # used in openssl-fips' Makefile, and we would end up up with both canisters
   139 # built in 64 (or 32) bits.
   139 # built in 64 (or 32) bits.