components/ksh93/Makefile
changeset 844 55358dcf0cb2
parent 815 e17805629856
child 909 ec78fc2e4b1d
equal deleted inserted replaced
843:190d2b5889a8 844:55358dcf0cb2
    54 COMPONENT_SRC_1= $(COMPONENT_NAME_1).$(COMPONENT_VERSION_1)
    54 COMPONENT_SRC_1= $(COMPONENT_NAME_1).$(COMPONENT_VERSION_1)
    55 COMPONENT_ARCHIVE_1= $(COMPONENT_NAME_1).$(COMPONENT_VERSION_1).tgz
    55 COMPONENT_ARCHIVE_1= $(COMPONENT_NAME_1).$(COMPONENT_VERSION_1).tgz
    56 COMPONENT_ARCHIVE_HASH_1= \
    56 COMPONENT_ARCHIVE_HASH_1= \
    57     sha256:44ae3913e6c0c8992c6c3cba16864fd4c4a18c6da8e7d87c85a23060cea7cd1a
    57     sha256:44ae3913e6c0c8992c6c3cba16864fd4c4a18c6da8e7d87c85a23060cea7cd1a
    58 COMPONENT_ARCHIVE_URL_1= http://www2.research.att.com/~gsf/download/tgz/$(COMPONENT_ARCHIVE_1)
    58 COMPONENT_ARCHIVE_URL_1= http://www2.research.att.com/~gsf/download/tgz/$(COMPONENT_ARCHIVE_1)
    59 COMPONENT_PATCHES_1= solaris_alias.patch build_cflags.patch path_utmp.patch \
    59 COMPONENT_PATCHES_1= compiler.patch path_utmp.patch\
       
    60 					 solaris_alias.patch \
    60 					 CR6919590.patch CR7033181.patch \
    61 					 CR6919590.patch CR7033181.patch \
    61 					 CR7071431.patch CR7036535.patch \
    62 					 CR7071431.patch CR7036535.patch \
    62 					 CRXXX_Error_Catalog.patch CR7025778.patch \
    63 					 CRXXX_Error_Catalog.patch CR7025778.patch \
    63 					 CR7065478.patch CR7026179.patch \
    64 					 CR7065478.patch CR7026179.patch \
    64 					 CR7065900.patch CR7110983.patch \
    65 					 CR7065900.patch CR7110983.patch \
    65 					 CR7105086.patch disable_dll.patch \
    66 					 CR7105086.patch multi_lang_arith.patch \
    66 					 CR7057565.patch CR7046434.patch \
    67 					 CR7057565.patch CR7046434.patch \
    67 					 CR7032821.patch CR7009897.patch \
    68 					 CR7032821.patch CR7009897.patch \
    68 					 CR6964621.patch CR7032068.patch \
    69 					 CR6964621.patch CR7032068.patch \
    69 					 CR7061011.patch CR6934836.patch \
    70 					 CR7061011.patch CR6934836.patch \
    70 					 CR7089799.patch CR6917338.patch \
    71 					 CR7089799.patch CR6917338.patch \
    71 					 CR7019368.patch CR6729252.patch \
    72 					 CR7019368.patch CR6729252.patch \
    72 					 MAP_TYPE_64_Bits.patch CR7167466.patch \
    73 					 MAP_TYPE_64_Bits.patch CR7167466.patch \
    73 					 CR7168611.patch
    74 					 CR7168611.patch
    74 
    75 
    75 					 
    76 # Fixup HOSTTYPE to match uname output and bits
    76 					 
    77 HOSTTYPE32=sol11.$(shell uname -p)
       
    78 HOSTTYPE64=sol11.$(shell uname -p)-64
    77 
    79 
    78 # Make the unpack of the second archive relocate to a sensible place
    80 # Make the unpack of the second archive relocate to a sensible place
    79 UNPACK_ARGS_1= -r $(COMPONENT_SRC_1)
    81 UNPACK_ARGS_1= -r $(COMPONENT_SRC_1)
    80 
    82 
    81 # We override LD_B_DIRECT because -B direct has unfortunate consequences for the
    83 # We override LD_B_DIRECT because -B direct has unfortunate consequences for the
    87 CC.RUNPATH=
    89 CC.RUNPATH=
    88 CC.LD.RUNPATH=
    90 CC.LD.RUNPATH=
    89 CC.LD.ORIGIN=
    91 CC.LD.ORIGIN=
    90 CC.DLL.ORIGIN=
    92 CC.DLL.ORIGIN=
    91 
    93 
       
    94 # Fix up the permissions of the compiler wrapper scripts from the patch
       
    95 COMPONENT_PRE_BUILD_ACTION=($(CHMOD) +x $(@D)/src/cmd/INIT/cc.sol11.*)
       
    96 
    92 # Prevent nmake from taking over the entire machine
    97 # Prevent nmake from taking over the entire machine
    93 NPROCS=1
    98 NPROC=1
    94 
    99 
    95 # Set the built to build all targets, install all of ast-base, and test ksh93.
   100 # Set the built to build all targets, install all of ast-base, and test ksh93.
    96 COMPONENT_BUILD_TARGETS += 
   101 COMPONENT_BUILD_TARGETS += 
    97 COMPONENT_INSTALL_PACKAGES += ast-base
   102 COMPONENT_INSTALL_PACKAGES += ast-base
    98 COMPONENT_TEST_TARGETS += ksh93
   103 COMPONENT_TEST_TARGETS = ksh93
    99 
   104 
   100 # Unpack the ast-base tarball and copy it into the INIT tree,
   105 # Unpack the ast-base tarball and copy it into the INIT tree,
   101 # mark it as un-patched 
   106 # mark it as un-patched 
   102 COMPONENT_POST_UNPACK_ACTION_1= \
   107 COMPONENT_POST_UNPACK_ACTION_1= \
   103 	$(RM) $(COMPONENT_SRC)/*patched_1; \
   108 	$(RM) $(COMPONENT_SRC)/*patched_1; \