make-rules/shared-macros.mk
changeset 59 7500d63edb42
parent 58 d8024c042a00
child 61 7684fe2a9eb5
equal deleted inserted replaced
58:d8024c042a00 59:7500d63edb42
    53 WS_LINT_CACHE =	$(WS_TOP)/cache
    53 WS_LINT_CACHE =	$(WS_TOP)/cache
    54 
    54 
    55 BASS_O_MATIC =	$(WS_TOOLS)/bass-o-matic
    55 BASS_O_MATIC =	$(WS_TOOLS)/bass-o-matic
    56 
    56 
    57 PKG_REPO =	file:$(WS_REPO)
    57 PKG_REPO =	file:$(WS_REPO)
    58 PROTO_DIR =	$(shell pwd)/$(COMPONENT_SRC)/installed-prototype-$(MACH)
    58 
       
    59 SOURCE_DIR =	$(shell pwd)/$(COMPONENT_SRC)
       
    60 BUILD_DIR =	$(shell pwd)/build
       
    61 PROTO_DIR =	$(BUILD_DIR)/prototype/$(MACH)
    59 
    62 
    60 SFWBIN =	/usr/sfw/bin
    63 SFWBIN =	/usr/sfw/bin
    61 SFWLIB =	/usr/sfw/lib
    64 SFWLIB =	/usr/sfw/lib
    62 PROTOSFWBIN =	$(PROTO_DIR)/$(SFWBIN)
    65 PROTOSFWBIN =	$(PROTO_DIR)/$(SFWBIN)
    63 PROTOSFWLIB =	$(PROTO_DIR)/$(SFWLIB)
    66 PROTOSFWLIB =	$(PROTO_DIR)/$(SFWLIB)
    78 
    81 
    79 # set MACH64 from MACH to either sparcv9 or amd64
    82 # set MACH64 from MACH to either sparcv9 or amd64
    80 MACH64_1 =	$(MACH:sparc=sparcv9)
    83 MACH64_1 =	$(MACH:sparc=sparcv9)
    81 MACH64 =	$(MACH64_1:i386=amd64)
    84 MACH64 =	$(MACH64_1:i386=amd64)
    82 
    85 
    83 BUILD_32 =		$(COMPONENT_SRC)/build-$(MACH32)/.built
    86 BUILD_32 =		$(BUILD_DIR)/$(MACH32)/.built
    84 BUILD_64 =		$(COMPONENT_SRC)/build-$(MACH64)/.built
    87 BUILD_64 =		$(BUILD_DIR)/$(MACH64)/.built
    85 BUILD_32_and_64 =	$(BUILD_32) $(BUILD_64)
    88 BUILD_32_and_64 =	$(BUILD_32) $(BUILD_64)
    86 
    89 
    87 INSTALL_32 =		$(COMPONENT_SRC)/build-$(MACH32)/.installed
    90 INSTALL_32 =		$(BUILD_DIR)/$(MACH32)/.installed
    88 INSTALL_64 =		$(COMPONENT_SRC)/build-$(MACH64)/.installed
    91 INSTALL_64 =		$(BUILD_DIR)/$(MACH64)/.installed
    89 INSTALL_32_and_64 =	$(INSTALL_32) $(INSTALL_64)
    92 INSTALL_32_and_64 =	$(INSTALL_32) $(INSTALL_64)
    90 
    93 
    91 # BUILD_TOOLS is the root of all tools not normally installed on the system.
    94 # BUILD_TOOLS is the root of all tools not normally installed on the system.
    92 BUILD_TOOLS =	/ws/onnv-tools
    95 BUILD_TOOLS =	/ws/onnv-tools
    93 
    96