components/cdrtools/Makefile
changeset 5682 94c0ca64c022
parent 5427 25b736152081
child 7687 1093e2a9adbd
equal deleted inserted replaced
5681:b8fe51f35344 5682:94c0ca64c022
    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 
       
    22 #
    21 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
    22 #
    24 #
    23 
    25 BUILD_BITS= 64
    24 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    25 
    27 
    26 COMPONENT_NAME=         cdrtools
    28 COMPONENT_NAME=         cdrtools
    27 COMPONENT_VERSION=      3.01
    29 COMPONENT_VERSION=      3.01
    28 # Zero not allowed in front of number
    30 # Zero not allowed in front of number
    29 IPS_COMPONENT_VERSION=  3.1
    31 IPS_COMPONENT_VERSION=  3.1
       
    32 HUMAN_VERSION=          $(COMPONENT_VERSION)
    30 COMPONENT_SUBVERSION=   a22
    33 COMPONENT_SUBVERSION=   a22
    31 COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
       
    32 COMPONENT_PROJECT_URL= 	http://cdrecord.berlios.de/private/cdrecord.html 
    34 COMPONENT_PROJECT_URL= 	http://cdrecord.berlios.de/private/cdrecord.html 
    33 COMPONENT_ARCHIVE=      $(COMPONENT_SRC)$(COMPONENT_SUBVERSION).tar.gz
    35 COMPONENT_ARCHIVE=      $(COMPONENT_SRC)$(COMPONENT_SUBVERSION).tar.gz
    34 COMPONENT_ARCHIVE_HASH=	\
    36 COMPONENT_ARCHIVE_HASH=	\
    35     sha256:facd40dc66f1499dfe936e647b694bee7a12cd63afd901a35bec855d9e3600a5
    37     sha256:facd40dc66f1499dfe936e647b694bee7a12cd63afd901a35bec855d9e3600a5
    36 COMPONENT_ARCHIVE_URL=  ftp://ftp.berlios.de/pub/cdrecord/alpha/$(COMPONENT_ARCHIVE)
    38 COMPONENT_ARCHIVE_URL=  ftp://ftp.berlios.de/pub/cdrecord/alpha/$(COMPONENT_ARCHIVE)
    37 COMPONENT_BUGDB=	utility/cdrtools
       
    38 
    39 
    39 TPNO=			6305
    40 TPNO=			6305
    40 
    41 
    41 PATH=			$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
       
    42 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
    42 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
    43 PATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:/usr/bin
    43 PATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:$(USRBINDIR)
       
    44 else
       
    45 PATH=$(SPRO_VROOT)/bin:$(USRBINDIR):$(GNUBIN)
    44 endif
    46 endif
    45 
    47 
    46 include $(WS_MAKE_RULES)/prep.mk
    48 BUILD_STYLE= justmake
    47 include $(WS_MAKE_RULES)/justmake.mk
    49 TEST_TARGET= $(NO_TESTS)
    48 include $(WS_MAKE_RULES)/ips.mk
    50 include $(WS_MAKE_RULES)/common.mk
    49 
    51 
    50 COMPONENT_INSTALL_ARGS +=  GMAKE_NOWARN=true
    52 COMPONENT_INSTALL_ARGS +=  GMAKE_NOWARN=true
    51 COMPONENT_INSTALL_ARGS +=  CCOM=cc64
    53 COMPONENT_INSTALL_ARGS +=  CCOM=cc64
    52 COMPONENT_BUILD_ARGS += GMAKE_NOWARN=true
    54 COMPONENT_BUILD_ARGS += GMAKE_NOWARN=true
    53 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
    55 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
    56 endif
    58 endif
    57 COMPONENT_BUILD_ARGS += CCOM=cc64
    59 COMPONENT_BUILD_ARGS += CCOM=cc64
    58 # cdrtools doesn't work with gmake for sparc 64-bit compile.
    60 # cdrtools doesn't work with gmake for sparc 64-bit compile.
    59 GMAKE = $(CCSMAKE)
    61 GMAKE = $(CCSMAKE)
    60 
    62 
    61 # Enable ASLR for this component
       
    62 ASLR_MODE =    $(ASLR_ENABLE)
       
    63 
       
    64 build:          $(BUILD_64)
       
    65 
       
    66 install:        $(INSTALL_64)
       
    67 
       
    68 test:		$(NO_TESTS)
       
    69 
       
    70 system-test:    $(NO_TESTS)
       
    71 
       
    72 
       
    73 REQUIRED_PACKAGES += shell/ksh93
    63 REQUIRED_PACKAGES += shell/ksh93
    74 REQUIRED_PACKAGES += system/library