components/ruby/ruby-19/Makefile
changeset 3817 30b42c38bbc4
parent 2225 f064d3d3190d
child 3964 10ed4d01fd40
equal deleted inserted replaced
3814:60344306d223 3817:30b42c38bbc4
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 
    26 include ../../../make-rules/shared-macros.mk
    26 include ../../../make-rules/shared-macros.mk
    27 
    27 
    28 COMPONENT_NAME=		ruby
    28 COMPONENT_NAME=		ruby
    39 IPS_COMPONENT_VERSION=	$(COMPONENT_VERSION).$(COMPONENT_PATCH_VERSION)
    39 IPS_COMPONENT_VERSION=	$(COMPONENT_VERSION).$(COMPONENT_PATCH_VERSION)
    40 COMPONENT_BUGDB=	utility/ruby
    40 COMPONENT_BUGDB=	utility/ruby
    41 
    41 
    42 TPNO=			15969
    42 TPNO=			15969
    43 
    43 
    44 include $(WS_TOP)/make-rules/prep.mk
    44 include $(WS_MAKE_RULES)/prep.mk
    45 include $(WS_TOP)/make-rules/ips.mk
    45 include $(WS_MAKE_RULES)/ips.mk
    46 include $(WS_TOP)/make-rules/configure.mk
    46 include $(WS_MAKE_RULES)/configure.mk
    47 
    47 
    48 # COMPONENT_VERSION <major>.<minor>.<teeny>
    48 # COMPONENT_VERSION <major>.<minor>.<teeny>
    49 # is transformed into <major>.<minor> for RUBY_VER.
    49 # is transformed into <major>.<minor> for RUBY_VER.
    50 # First change the separator '.' to ' ', so we can use "word" to pull the 
    50 # First change the separator '.' to ' ', so we can use "word" to pull the 
    51 # first two space-separated words from the string.
    51 # first two space-separated words from the string.
   145 ASLR_MODE =		$(ASLR_DISABLE)
   145 ASLR_MODE =		$(ASLR_DISABLE)
   146 
   146 
   147 CLEAN_PATHS +=		Solaris/gem.1 Solaris/rbconfig.sedscript.mod \
   147 CLEAN_PATHS +=		Solaris/gem.1 Solaris/rbconfig.sedscript.mod \
   148 			Solaris/ruby.1.sedscript.mod
   148 			Solaris/ruby.1.sedscript.mod
   149 
   149 
   150 include $(WS_TOP)/make-rules/shared-targets.mk
       
   151 
       
   152 # common targets
   150 # common targets
   153 
   151 
   154 configure:	$(CONFIGURE_64)
   152 configure:	$(CONFIGURE_64)
   155 
   153 
   156 build:		$(BUILD_64)
   154 build:		$(BUILD_64)
   157 
   155 
   158 install:	build $(INSTALL_64)
   156 install:	build $(INSTALL_64)
   159 
   157 
   160 test:	$(TEST_64)
   158 test:	$(TEST_64)
   161 
   159 
   162 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
   160 REQUIRED_PACKAGES += library/database/gdbm
   163 
   161 REQUIRED_PACKAGES += library/libffi
   164 include $(WS_TOP)/make-rules/depend.mk
   162 REQUIRED_PACKAGES += library/ncurses
       
   163 REQUIRED_PACKAGES += library/readline
       
   164 REQUIRED_PACKAGES += library/security/openssl
       
   165 REQUIRED_PACKAGES += library/zlib
       
   166 REQUIRED_PACKAGES += runtime/tcl-8
       
   167 REQUIRED_PACKAGES += runtime/tk-8
       
   168 REQUIRED_PACKAGES += system/core-os
       
   169 REQUIRED_PACKAGES += system/library
       
   170 REQUIRED_PACKAGES += system/library/math
       
   171 REQUIRED_PACKAGES += system/linker
       
   172 REQUIRED_PACKAGES += x11/library/libx11