equal
deleted
inserted
replaced
34 MAKE_RULES = $(WS_TOP)/components/make-rules |
34 MAKE_RULES = $(WS_TOP)/components/make-rules |
35 |
35 |
36 PKG_REPO = file://$(WS_TOP)/repo |
36 PKG_REPO = file://$(WS_TOP)/repo |
37 PROTO_DIR = $(shell pwd)/$(COMPONENT_SRC)/installed-prototype-$(MACH) |
37 PROTO_DIR = $(shell pwd)/$(COMPONENT_SRC)/installed-prototype-$(MACH) |
38 |
38 |
39 CONSTANT_TIME = LD_PRELOAD=$(TOOLS)/time.o |
39 # work around _TIME, _DATE, embedded date chatter in component builds |
|
40 # to use, set TIME_CONSTANT in the component Makefile and add $(CONSTANT_TIME) |
|
41 # to the appropriate {CONFIGURE|BUILD|INSTALL}_ENV |
|
42 CONSTANT_TIME = LD_PRELOAD_32=$(TOOLS)/time-$(MACH32).so |
|
43 CONSTANT_TIME += LD_PRELOAD_64=$(TOOLS)/time-$(MACH64).so |
|
44 CONSTANT_TIME += TIME_CONSTANT=$(TIME_CONSTANT) |
40 |
45 |
41 # set MACH from uname -p to either sparc or i386 |
46 # set MACH from uname -p to either sparc or i386 |
42 MACH = $(shell uname -p) |
47 MACH = $(shell uname -p) |
43 |
48 |
44 # set MACH32 from MACH to either sparcv7 or i86 |
49 # set MACH32 from MACH to either sparcv7 or i86 |
73 CCC.gcc.64 = $(GCC_ROOT)/bin/CC -m64 |
78 CCC.gcc.64 = $(GCC_ROOT)/bin/CC -m64 |
74 |
79 |
75 CC = $(CC.$(COMPILER).$(BITS)) |
80 CC = $(CC.$(COMPILER).$(BITS)) |
76 CCC = $(CCC.$(COMPILER).$(BITS)) |
81 CCC = $(CCC.$(COMPILER).$(BITS)) |
77 |
82 |
|
83 LD = /usr/bin/ld |
|
84 |
78 PYTHON.2.4.32 = /usr/bin/python2.4 |
85 PYTHON.2.4.32 = /usr/bin/python2.4 |
79 PYTHON.2.4.64 = /usr/bin/amd64/python2.4 |
86 PYTHON.2.4.64 = /usr/bin/amd64/python2.4 |
80 |
87 |
81 PYTHON.2.6.32 = /usr/bin/python2.6 |
88 PYTHON.2.6.32 = /usr/bin/python2.6 |
82 PYTHON.2.6.64 = /usr/bin/amd64/python2.6 |
89 PYTHON.2.6.64 = /usr/bin/amd64/python2.6 |
92 |
99 |
93 TOUCH = /usr/bin/touch |
100 TOUCH = /usr/bin/touch |
94 MKDIR = /bin/mkdir -p |
101 MKDIR = /bin/mkdir -p |
95 RM = /bin/rm -f |
102 RM = /bin/rm -f |
96 CP = /bin/cp -f |
103 CP = /bin/cp -f |
|
104 ENV = /usr/bin/env |