equal
deleted
inserted
replaced
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. |
142 ASLR_MODE = $(ASLR_DISABLE) |
142 ASLR_MODE = $(ASLR_DISABLE) |
143 |
143 |
144 CLEAN_PATHS += Solaris/gem.1 Solaris/rbconfig.sedscript.mod \ |
144 CLEAN_PATHS += Solaris/gem.1 Solaris/rbconfig.sedscript.mod \ |
145 Solaris/ruby.1.sedscript.mod |
145 Solaris/ruby.1.sedscript.mod |
146 |
146 |
147 include $(WS_TOP)/make-rules/shared-targets.mk |
|
148 |
|
149 # common targets |
147 # common targets |
150 |
148 |
151 build: $(BUILD_64) |
149 build: $(BUILD_64) |
152 |
150 |
153 install: build $(INSTALL_64) |
151 install: build $(INSTALL_64) |
154 |
152 |
155 test: $(TEST_64) |
153 test: $(TEST_64) |
156 |
154 |
157 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
|
158 |
155 |
159 include $(WS_TOP)/make-rules/depend.mk |
156 REQUIRED_PACKAGES += library/database/gdbm |
|
157 REQUIRED_PACKAGES += library/libffi |
|
158 REQUIRED_PACKAGES += library/ncurses |
|
159 REQUIRED_PACKAGES += library/readline |
|
160 REQUIRED_PACKAGES += library/security/openssl |
|
161 REQUIRED_PACKAGES += library/zlib |
|
162 REQUIRED_PACKAGES += runtime/tcl-8 |
|
163 REQUIRED_PACKAGES += runtime/tk-8 |
|
164 REQUIRED_PACKAGES += system/core-os |
|
165 REQUIRED_PACKAGES += system/library |
|
166 REQUIRED_PACKAGES += system/library/math |
|
167 REQUIRED_PACKAGES += system/linker |
|
168 REQUIRED_PACKAGES += x11/library/libx11 |