34 |
34 |
35 COMPONENT_BUGDB= utility/docker-engine |
35 COMPONENT_BUGDB= utility/docker-engine |
36 |
36 |
37 TPNO= 27475 |
37 TPNO= 27475 |
38 |
38 |
39 include $(WS_MAKE_RULES)/prep.mk |
39 BUILD_STYLE= justmake |
40 include $(WS_MAKE_RULES)/ips.mk |
40 # Remove the conditional when BUILD_ARCH is removed above. |
|
41 ifeq ($(strip $(BUILD_ARCH)),$(MACH)) |
|
42 BUILD_TARGET= |
|
43 INSTALL_TARGET= |
|
44 endif |
|
45 TEST_TARGET= $(NO_TESTS) |
41 |
46 |
42 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
47 # Requires S12-only changes from ON. |
|
48 ifeq ($(BUILD_TYPE), evaluation) |
|
49 PUBLISH_STAMP= |
|
50 endif |
|
51 |
|
52 include $(WS_MAKE_RULES)/common.mk |
|
53 |
|
54 # Go-based components are not currently compatible with ASLR. |
|
55 ASLR_MODE= $(ASLR_DISABLE) |
43 |
56 |
44 PKG_PROTO_DIRS += $(COMPONENT_DIR)/files/man |
57 PKG_PROTO_DIRS += $(COMPONENT_DIR)/files/man |
45 |
58 |
|
59 # Remove the conditional when BUILD_ARCH is removed above. |
|
60 ifeq ($(strip $(BUILD_ARCH)),$(MACH)) |
|
61 ifneq ($(BUILD_TYPE), evaluation) |
46 # common targets |
62 # common targets |
47 build: $(SOURCE_DIR)/.prep |
63 build: $(SOURCE_DIR)/.prep |
48 cd $(SOURCE_DIR); DOCKER_GITCOMMIT=6f2305e \ |
64 cd $(SOURCE_DIR); DOCKER_GITCOMMIT=6f2305e \ |
49 AUTO_GOPATH=1 ./hack/make.sh dynbinary |
65 AUTO_GOPATH=1 ./hack/make.sh dynbinary |
50 $(TOUCH) $(SOURCE_DIR)/.built |
66 $(TOUCH) $(SOURCE_DIR)/.built |
51 |
67 |
52 install: FRC |
68 install: FRC |
53 $(TOUCH) $(SOURCE_DIR)/.installed |
69 $(TOUCH) $(SOURCE_DIR)/.installed |
54 |
70 endif |
55 test: $(NO_TESTS) |
71 endif |
56 |
72 |
57 REQUIRED_PACKAGES += database/sqlite-3 |
73 REQUIRED_PACKAGES += database/sqlite-3 |
58 REQUIRED_PACKAGES += system/core-os |
74 REQUIRED_PACKAGES += system/core-os |
59 REQUIRED_PACKAGES += system/library |
75 REQUIRED_PACKAGES += system/library |
60 REQUIRED_PACKAGES += system/zones |
76 REQUIRED_PACKAGES += system/zones |