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 # |
21 # |
22 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
22 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
23 # |
23 # |
24 |
24 BUILD_BITS= 32 |
25 include ../../make-rules/shared-macros.mk |
25 include ../../make-rules/shared-macros.mk |
26 |
26 |
27 COMPONENT_NAME= memcached-java |
27 COMPONENT_NAME= memcached-java |
28 COMPONENT_VERSION= 2.0.1 |
28 COMPONENT_VERSION= 2.0.1 |
29 COMPONENT_RELEASE= release_$(COMPONENT_VERSION) |
29 COMPONENT_RELEASE= release_$(COMPONENT_VERSION) |
30 COMPONENT_SRC= java_memcached-$(COMPONENT_RELEASE) |
30 COMPONENT_SRC= java_memcached-$(COMPONENT_RELEASE) |
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
32 COMPONENT_ARCHIVE_HASH= \ |
31 COMPONENT_ARCHIVE_HASH= \ |
33 sha256:f0978f387cd6c42191a3ec366ecc5519f66ee03e686c5d080eb2516ebbecdcc4 |
32 sha256:f0978f387cd6c42191a3ec366ecc5519f66ee03e686c5d080eb2516ebbecdcc4 |
34 COMPONENT_ARCHIVE_URL= http://img.whalin.com/memcached/jdk5/standard/$(COMPONENT_ARCHIVE) |
33 COMPONENT_ARCHIVE_URL= http://img.whalin.com/memcached/jdk5/standard/$(COMPONENT_ARCHIVE) |
35 COMPONENT_PROJECT_URL= http://whalin.com/memcached/ |
34 COMPONENT_PROJECT_URL= http://whalin.com/memcached/ |
36 COMPONENT_BUGDB= database/memcached |
35 COMPONENT_BUGDB= database/memcached |
37 |
36 |
38 TPNO= 5586 |
37 TPNO= 5586 |
39 |
38 |
40 include $(WS_MAKE_RULES)/prep.mk |
39 BUILD_STYLE= ant |
41 include $(WS_MAKE_RULES)/ant.mk |
40 include $(WS_MAKE_RULES)/common.mk |
42 include $(WS_MAKE_RULES)/ips.mk |
|
43 |
41 |
44 # Make sure we remove unneeded pieces from the source (the test dir) |
42 # Make sure we remove unneeded pieces from the source (the test dir) |
45 # and also the existing source files which will be generated anew |
43 # and also the existing source files which will be generated anew |
46 # by the build (java_memcached-release_2.0.1.jar and the javadocs dir). |
44 # by the build (java_memcached-release_2.0.1.jar and the javadocs dir). |
47 # Remove these items during the prep phase, before cloney creates symlinks |
45 # Remove these items during the prep phase, before cloney creates symlinks |
68 |
66 |
69 # Nothing is installed into the proto area. |
67 # Nothing is installed into the proto area. |
70 # All files in the package will come from the build directory. |
68 # All files in the package will come from the build directory. |
71 PKG_PROTO_DIRS += $(BUILD_DIR_$(BITS)) |
69 PKG_PROTO_DIRS += $(BUILD_DIR_$(BITS)) |
72 |
70 |
73 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
|
74 |
|
75 # common targets |
|
76 |
|
77 build: $(BUILD_32) |
|
78 |
|
79 # Nothing needed for install; all files are generated |
|
80 # during the build. |
|
81 install: build |
|
82 |
|
83 test: $(NO_TESTS) |
|
84 |
|
85 system-test: $(NO_TESTS) |
|
86 |
|
87 |
|
88 REQUIRED_PACKAGES += runtime/java/jre-8 |
71 REQUIRED_PACKAGES += runtime/java/jre-8 |