213 BUILD_TOOLS = /ws/onnv-tools |
213 BUILD_TOOLS = /ws/onnv-tools |
214 |
214 |
215 SPRO_ROOT = $(BUILD_TOOLS)/SUNWspro |
215 SPRO_ROOT = $(BUILD_TOOLS)/SUNWspro |
216 SPRO_VROOT = $(SPRO_ROOT)/sunstudio12.1 |
216 SPRO_VROOT = $(SPRO_ROOT)/sunstudio12.1 |
217 |
217 |
|
218 PARFAIT_ROOT = $(BUILD_TOOLS)/parfait/parfait-tools-0.5.0.1/ |
|
219 PARFAIT= $(PARFAIT_ROOT)/bin/parfait |
|
220 export PARFAIT_NATIVESUNCC=$(SPRO_VROOT)/bin/cc |
|
221 export PARFAIT_NATIVESUNCXX=$(SPRO_VROOT)/bin/CC |
|
222 export PARFAIT_NATIVEGCC=$(GCC_ROOT)/bin/gcc |
|
223 export PARFAIT_NATIVEGXX=$(GCC_ROOT)/bin/g++ |
|
224 # for now |
|
225 export PARFAIT_CLANG=0 |
|
226 |
218 GCC_ROOT = /usr/sfw |
227 GCC_ROOT = /usr/sfw |
219 |
228 |
220 CC.studio.32 = $(SPRO_VROOT)/bin/cc |
229 CC.studio.32 = $(SPRO_VROOT)/bin/cc |
221 CXX.studio.32 = $(SPRO_VROOT)/bin/CC |
230 CXX.studio.32 = $(SPRO_VROOT)/bin/CC |
222 |
231 |
|
232 |
223 CC.studio.64 = $(SPRO_VROOT)/bin/cc |
233 CC.studio.64 = $(SPRO_VROOT)/bin/cc |
224 CXX.studio.64 = $(SPRO_VROOT)/bin/CC |
234 CXX.studio.64 = $(SPRO_VROOT)/bin/CC |
225 |
235 |
226 CC.gcc.32 = $(GCC_ROOT)/bin/gcc |
236 CC.gcc.32 = $(GCC_ROOT)/bin/gcc |
227 CXX.gcc.32 = $(GCC_ROOT)/bin/g++ |
237 CXX.gcc.32 = $(GCC_ROOT)/bin/g++ |
228 |
238 |
229 CC.gcc.64 = $(GCC_ROOT)/bin/gcc |
239 CC.gcc.64 = $(GCC_ROOT)/bin/gcc |
230 CXX.gcc.64 = $(GCC_ROOT)/bin/g++ |
240 CXX.gcc.64 = $(GCC_ROOT)/bin/g++ |
231 |
241 |
232 CC = $(CC.$(COMPILER).$(BITS)) |
|
233 CXX = $(CXX.$(COMPILER).$(BITS)) |
|
234 |
242 |
235 lint.32 = $(SPRO_VROOT)/bin/lint -m32 |
243 lint.32 = $(SPRO_VROOT)/bin/lint -m32 |
236 lint.64 = $(SPRO_VROOT)/bin/lint -m64 |
244 lint.64 = $(SPRO_VROOT)/bin/lint -m64 |
237 |
245 |
238 LINT = $(lint.$(BITS)) |
246 LINT = $(lint.$(BITS)) |
244 PYTHON.2.6.VENDOR_PACKAGES = $(PYTHON.2.6.VENDOR_PACKAGES.$(BITS)) |
252 PYTHON.2.6.VENDOR_PACKAGES = $(PYTHON.2.6.VENDOR_PACKAGES.$(BITS)) |
245 |
253 |
246 PYTHON.2.7.VENDOR_PACKAGES.32 = /usr/lib/python2.7/vendor-packages |
254 PYTHON.2.7.VENDOR_PACKAGES.32 = /usr/lib/python2.7/vendor-packages |
247 PYTHON.2.7.VENDOR_PACKAGES.64 = /usr/lib/python2.7/vendor-packages/64 |
255 PYTHON.2.7.VENDOR_PACKAGES.64 = /usr/lib/python2.7/vendor-packages/64 |
248 PYTHON.2.7.VENDOR_PACKAGES = $(PYTHON.2.7.VENDOR_PACKAGES.$(BITS)) |
256 PYTHON.2.7.VENDOR_PACKAGES = $(PYTHON.2.7.VENDOR_PACKAGES.$(BITS)) |
|
257 |
|
258 ifeq ($(strip $(PARFAIT_BUILD)),yes) |
|
259 CC.studio.32 = $(WS_TOOLS)/parfait/cc |
|
260 CXX.studio.32 = $(WS_TOOLS)/parfait/CC |
|
261 CC.studio.64 = $(WS_TOOLS)/parfait/cc |
|
262 CXX.studio.64 = $(WS_TOOLS)/parfait/CC |
|
263 CC.gcc.32 = $(WS_TOOLS)/parfait/gcc |
|
264 CXX.gcc.32 = $(WS_TOOLS)/parfait/g++ |
|
265 CC.gcc.64 = $(WS_TOOLS)/parfait/gcc |
|
266 CXX.gcc.64 = $(WS_TOOLS)/parfait/g++ |
|
267 LD = $(WS_TOOLS)/parfait/ld |
|
268 endif |
|
269 |
|
270 CC = $(CC.$(COMPILER).$(BITS)) |
|
271 CXX = $(CXX.$(COMPILER).$(BITS)) |
|
272 |
249 |
273 |
250 PYTHON_VENDOR_PACKAGES.32 = /usr/lib/python$(PYTHON_VERSION)/vendor-packages |
274 PYTHON_VENDOR_PACKAGES.32 = /usr/lib/python$(PYTHON_VERSION)/vendor-packages |
251 PYTHON_VENDOR_PACKAGES.64 = /usr/lib/python$(PYTHON_VERSION)/vendor-packages/64 |
275 PYTHON_VENDOR_PACKAGES.64 = /usr/lib/python$(PYTHON_VERSION)/vendor-packages/64 |
252 PYTHON_VENDOR_PACKAGES = $(PYTHON_VENDOR_PACKAGES.$(BITS)) |
276 PYTHON_VENDOR_PACKAGES = $(PYTHON_VENDOR_PACKAGES.$(BITS)) |
253 |
277 |
610 COMPONENT_BUILD_ARGS += $(COMPONENT_BUILD_ARGS.$(BITS)) |
634 COMPONENT_BUILD_ARGS += $(COMPONENT_BUILD_ARGS.$(BITS)) |
611 COMPONENT_INSTALL_ENV += $(COMPONENT_INSTALL_ENV.$(BITS)) |
635 COMPONENT_INSTALL_ENV += $(COMPONENT_INSTALL_ENV.$(BITS)) |
612 COMPONENT_INSTALL_ARGS += $(COMPONENT_INSTALL_ARGS.$(BITS)) |
636 COMPONENT_INSTALL_ARGS += $(COMPONENT_INSTALL_ARGS.$(BITS)) |
613 |
637 |
614 # declare these phony so that we avoid filesystem conflicts. |
638 # declare these phony so that we avoid filesystem conflicts. |
615 .PHONY: prep build install publish test clean clobber |
639 .PHONY: prep build install publish test clean clobber parfait |
616 |
640 |
617 # If there are no tests to execute |
641 # If there are no tests to execute |
618 NO_TESTS = test-nothing |
642 NO_TESTS = test-nothing |
619 test-nothing: |
643 test-nothing: |
620 @echo "There are no tests available at this time." |
644 @echo "There are no tests available at this time." |