make-rules/shared-macros.mk
changeset 34 d20b10eba317
parent 32 280a7444e782
child 38 cd00ea74156e
equal deleted inserted replaced
33:371c8e56136d 34:d20b10eba317
    38 COMPILER =		studio
    38 COMPILER =		studio
    39 BITS =			32
    39 BITS =			32
    40 PYTHON_VERSION =	2.6
    40 PYTHON_VERSION =	2.6
    41 PYTHON_VERSIONS =	2.4 2.6
    41 PYTHON_VERSIONS =	2.4 2.6
    42 
    42 
    43 TOOLS =		$(WS_TOP)/tools
       
    44 WS_LOGS =	$(WS_TOP)/logs
    43 WS_LOGS =	$(WS_TOP)/logs
    45 MAKE_RULES =	$(WS_TOP)/make-rules
    44 WS_REPO =	$(WS_TOP)/repo
       
    45 WS_TOOLS =	$(WS_TOP)/tools
       
    46 WS_MAKE_RULES =	$(WS_TOP)/make-rules
       
    47 WS_COMPONENTS =	$(WS_TOP)/components
    46 
    48 
    47 PKG_REPO =	file://$(WS_TOP)/repo
    49 BASS_O_MATIC =	$(WS_TOOLS)/bass-o-matic
       
    50 
       
    51 PKG_REPO =	file:$(WS_REPO)
    48 PROTO_DIR =	$(shell pwd)/$(COMPONENT_SRC)/installed-prototype-$(MACH)
    52 PROTO_DIR =	$(shell pwd)/$(COMPONENT_SRC)/installed-prototype-$(MACH)
    49 
    53 
    50 # work around _TIME, _DATE, embedded date chatter in component builds
    54 # work around _TIME, _DATE, embedded date chatter in component builds
    51 # to use, set TIME_CONSTANT in the component Makefile and add $(CONSTANT_TIME)
    55 # to use, set TIME_CONSTANT in the component Makefile and add $(CONSTANT_TIME)
    52 # to the appropriate {CONFIGURE|BUILD|INSTALL}_ENV
    56 # to the appropriate {CONFIGURE|BUILD|INSTALL}_ENV
    53 CONSTANT_TIME =		LD_PRELOAD_32=$(TOOLS)/time-$(MACH32).so
    57 CONSTANT_TIME =		LD_PRELOAD_32=$(WS_TOOLS)/time-$(MACH32).so
    54 CONSTANT_TIME +=	LD_PRELOAD_64=$(TOOLS)/time-$(MACH64).so
    58 CONSTANT_TIME +=	LD_PRELOAD_64=$(WS_TOOLS)/time-$(MACH64).so
    55 CONSTANT_TIME +=	TIME_CONSTANT=$(TIME_CONSTANT)
    59 CONSTANT_TIME +=	TIME_CONSTANT=$(TIME_CONSTANT)
    56 
    60 
    57 # set MACH from uname -p to either sparc or i386
    61 # set MACH from uname -p to either sparc or i386
    58 MACH =		$(shell uname -p)
    62 MACH =		$(shell uname -p)
    59 
    63