64 BASS_O_MATIC = $(WS_TOOLS)/bass-o-matic |
64 BASS_O_MATIC = $(WS_TOOLS)/bass-o-matic |
65 |
65 |
66 CLONEY = $(WS_TOOLS)/cloney |
66 CLONEY = $(WS_TOOLS)/cloney |
67 |
67 |
68 CONFIG_SHELL = /bin/bash |
68 CONFIG_SHELL = /bin/bash |
69 |
|
70 MAN_STABILITY = $(WS_TOOLS)/man-stability |
|
71 |
69 |
72 PKG_REPO = file:$(WS_REPO) |
70 PKG_REPO = file:$(WS_REPO) |
73 |
71 |
74 COMPONENT_DIR = $(shell pwd) |
72 COMPONENT_DIR = $(shell pwd) |
75 SOURCE_DIR = $(COMPONENT_DIR)/$(COMPONENT_SRC) |
73 SOURCE_DIR = $(COMPONENT_DIR)/$(COMPONENT_SRC) |
154 BUILD_DIR_64 = $(BUILD_DIR)/$(MACH64) |
152 BUILD_DIR_64 = $(BUILD_DIR)/$(MACH64) |
155 |
153 |
156 BUILD_32 = $(BUILD_DIR_32)/.built |
154 BUILD_32 = $(BUILD_DIR_32)/.built |
157 BUILD_64 = $(BUILD_DIR_64)/.built |
155 BUILD_64 = $(BUILD_DIR_64)/.built |
158 BUILD_32_and_64 = $(BUILD_32) $(BUILD_64) |
156 BUILD_32_and_64 = $(BUILD_32) $(BUILD_64) |
|
157 $(BUILD_DIR_32)/.built: BITS=32 |
|
158 $(BUILD_DIR_64)/.built: BITS=64 |
159 |
159 |
160 INSTALL_32 = $(BUILD_DIR_32)/.installed |
160 INSTALL_32 = $(BUILD_DIR_32)/.installed |
161 INSTALL_64 = $(BUILD_DIR_64)/.installed |
161 INSTALL_64 = $(BUILD_DIR_64)/.installed |
162 INSTALL_32_and_64 = $(INSTALL_32) $(INSTALL_64) |
162 INSTALL_32_and_64 = $(INSTALL_32) $(INSTALL_64) |
|
163 $(BUILD_DIR_32)/.install: BITS=32 |
|
164 $(BUILD_DIR_64)/.install: BITS=64 |
|
165 |
|
166 # set the default target for installation of the component |
|
167 COMPONENT_INSTALL_TARGETS = install |
163 |
168 |
164 TEST_32 = $(BUILD_DIR_32)/.tested |
169 TEST_32 = $(BUILD_DIR_32)/.tested |
165 TEST_64 = $(BUILD_DIR_64)/.tested |
170 TEST_64 = $(BUILD_DIR_64)/.tested |
166 TEST_32_and_64 = $(TEST_32) $(TEST_64) |
171 TEST_32_and_64 = $(TEST_32) $(TEST_64) |
|
172 $(BUILD_DIR_32)/.tested: BITS=32 |
|
173 $(BUILD_DIR_64)/.tested: BITS=64 |
|
174 |
|
175 # set the default target for test of the component |
|
176 COMPONENT_TEST_TARGETS = check |
167 |
177 |
168 # BUILD_TOOLS is the root of all tools not normally installed on the system. |
178 # BUILD_TOOLS is the root of all tools not normally installed on the system. |
169 BUILD_TOOLS = /ws/onnv-tools |
179 BUILD_TOOLS = /ws/onnv-tools |
170 |
180 |
171 SPRO_ROOT = $(BUILD_TOOLS)/SUNWspro |
181 SPRO_ROOT = $(BUILD_TOOLS)/SUNWspro |
467 # Add any bit-specific settings |
477 # Add any bit-specific settings |
468 COMPONENT_BUILD_ENV += $(COMPONENT_BUILD_ENV.$(BITS)) |
478 COMPONENT_BUILD_ENV += $(COMPONENT_BUILD_ENV.$(BITS)) |
469 COMPONENT_BUILD_ARGS += $(COMPONENT_BUILD_ARGS.$(BITS)) |
479 COMPONENT_BUILD_ARGS += $(COMPONENT_BUILD_ARGS.$(BITS)) |
470 COMPONENT_INSTALL_ENV += $(COMPONENT_INSTALL_ENV.$(BITS)) |
480 COMPONENT_INSTALL_ENV += $(COMPONENT_INSTALL_ENV.$(BITS)) |
471 COMPONENT_INSTALL_ARGS += $(COMPONENT_INSTALL_ARGS.$(BITS)) |
481 COMPONENT_INSTALL_ARGS += $(COMPONENT_INSTALL_ARGS.$(BITS)) |
|
482 |
|
483 # If there are no tests to execute |
|
484 NO_TESTS = test-nothing |
|
485 test-nothing: |
|
486 @echo "There are no tests available at this time." |