26 include $(SRC)/Makefile.master
27
28 FILEMODE= 0555
29
30 TOOLS= $(SRC)/tools
31 TOOLS_PROTO= $(TOOLS)/proto/root_$(MACH)-nd
32 ROOTOPT= $(TOOLS_PROTO)/opt
33 ROOTONBLD= $(ROOTOPT)/onbld
34 ROOTONBLDBIN= $(ROOTONBLD)/bin
35 ROOTONBLDBINMACH= $(ROOTONBLD)/bin/$(MACH)
36 ROOTONBLDETC= $(ROOTONBLD)/etc
37 ROOTONBLDLIB= $(ROOTONBLD)/lib
38 ROOTONBLDLIBMACH= $(ROOTONBLD)/lib/$(MACH)
39 ROOTONBLDLIBMACH64= $(ROOTONBLD)/lib/$(MACH)/64
40 ROOTONBLDLIBPERL= $(ROOTONBLD)/lib/perl
41 ROOTONBLDLIBPY= $(ROOTONBLD)/lib/python
42 ROOTONBLDLIBPY_26= $(ROOTONBLD)/lib/python2.6
43 ROOTONBLDENV= $(ROOTONBLD)/env
44 ROOTONBLDGK= $(ROOTONBLD)/gk
45 ROOTONBLDMAN= $(ROOTONBLD)/man
46 ROOTONBLDMAN1= $(ROOTONBLD)/man/man1
47 ROOTONBLDETCABI= $(ROOTONBLD)/etc/abi
48 ROOTONBLDETCEXCEPT= $(ROOTONBLD)/etc/exception_lists
49 ROOTONBLDSHARE= $(ROOTONBLD)/share
50
51 CPPFLAGS= -D_TS_ERRNO
52 ELFSIGN_O= $(TRUE)
53 LDLIBS=
54 LDFLAGS= $(MAPFILE.NES:%=-M%) $(MAPFILE.NED:%=-M%) \
55 $(MAPFILE.PGA:%=-M%)
56
57 ROOTONBLDPROG= $(PROG:%=$(ROOTONBLDBIN)/%)
58 ROOTONBLDMACHPROG= $(PROG:%=$(ROOTONBLDBINMACH)/%)
59 ROOTONBLDSHFILES= $(SHFILES:%=$(ROOTONBLDBIN)/%)
60 ROOTONBLDMAKEFILES= $(MAKEFILES:%=$(ROOTONBLDBIN)/%)
61 ROOTONBLDMACHSHFILES= $(SHFILES:%=$(ROOTONBLDBINMACH)/%)
62 ROOTONBLDMACHBINARIES= $(BINARIES:%=$(ROOTONBLDBINMACH)/%)
63 ROOTONBLDETCFILES= $(ETCFILES:%=$(ROOTONBLDETC)/%)
64 ROOTONBLDENVFILES= $(ENVFILES:%=$(ROOTONBLDENV)/%)
65 ROOTONBLDGKFILES= $(GKFILES:%=$(ROOTONBLDGK)/.%)
66 ROOTONBLDGKSHFILES= $(SHFILES:%=$(ROOTONBLDGK)/%)
67 ROOTONBLDPERLFILES= $(PERLFILES:%=$(ROOTONBLDBIN)/%)
68 ROOTONBLDPERLMODULES= $(PERLMODULES:%=$(ROOTONBLDLIBPERL)/%)
69 ROOTONBLDPYFILES= $(PYFILES:%=$(ROOTONBLDBIN)/%)
70 ROOTONBLDMAN1FILES= $(MAN1FILES:%=$(ROOTONBLDMAN1)/%)
71 ROOTONBLDABIAUDITFILES= $(ABI_AUDITFILES:%=$(ROOTONBLDETCABI)/%)
72 ROOTONBLDEXCEPTFILES= $(EXCEPTFILES:%=$(ROOTONBLDETCEXCEPT)/%)
73
74 # Break a chicken-and-egg dependency cycle for the tools build
75 SCCSCHECK=@echo would sccscheck
76
77 $(ROOTONBLDETCABI)/%: %
78 $(INS.file)
79
80 $(ROOTONBLDETCEXCEPT)/%: $(CODEMGR_WS)/exception_lists/%
81 $(INS.file)
82
83 $(ROOTONBLDBIN)/%: %
84 $(INS.file)
85
86 $(ROOTONBLDBINMACH)/%: %
87 $(INS.file)
88
89 $(ROOTONBLDETC)/%: %
90 $(INS.file)
91
92 $(ROOTONBLDLIBPERL)/%: %
93 $(INS.file)
94
95 $(ROOTONBLDMAN1)/%: %
96 $(INS.file)
97
98 $(ROOTONBLDENV)/%: %
99 $(INS.file)
100
101 $(ROOTONBLDGK)/.%: %
102 $(INS.rename)
103
104 $(ROOTONBLDGK)/%: %
105 $(INS.file)
|
26 include $(SRC)/Makefile.master
27
28 FILEMODE= 0555
29
30 TOOLS= $(SRC)/tools
31 TOOLS_PROTO= $(TOOLS)/proto/root_$(MACH)-nd
32 ROOTOPT= $(TOOLS_PROTO)/opt
33 ROOTONBLD= $(ROOTOPT)/onbld
34 ROOTONBLDBIN= $(ROOTONBLD)/bin
35 ROOTONBLDBINMACH= $(ROOTONBLD)/bin/$(MACH)
36 ROOTONBLDETC= $(ROOTONBLD)/etc
37 ROOTONBLDLIB= $(ROOTONBLD)/lib
38 ROOTONBLDLIBMACH= $(ROOTONBLD)/lib/$(MACH)
39 ROOTONBLDLIBMACH64= $(ROOTONBLD)/lib/$(MACH)/64
40 ROOTONBLDLIBPERL= $(ROOTONBLD)/lib/perl
41 ROOTONBLDLIBPY= $(ROOTONBLD)/lib/python
42 ROOTONBLDLIBPY_26= $(ROOTONBLD)/lib/python2.6
43 ROOTONBLDENV= $(ROOTONBLD)/env
44 ROOTONBLDGK= $(ROOTONBLD)/gk
45 ROOTONBLDMAN= $(ROOTONBLD)/man
46 ROOTONBLDMAN1ONBLD= $(ROOTONBLD)/man/man1onbld
47 ROOTONBLDETCABI= $(ROOTONBLD)/etc/abi
48 ROOTONBLDETCEXCEPT= $(ROOTONBLD)/etc/exception_lists
49 ROOTONBLDSHARE= $(ROOTONBLD)/share
50
51 CPPFLAGS= -D_TS_ERRNO
52 ELFSIGN_O= $(TRUE)
53 LDLIBS=
54 LDFLAGS= $(MAPFILE.NES:%=-M%) $(MAPFILE.NED:%=-M%) \
55 $(MAPFILE.PGA:%=-M%)
56
57 ROOTONBLDPROG= $(PROG:%=$(ROOTONBLDBIN)/%)
58 ROOTONBLDMACHPROG= $(PROG:%=$(ROOTONBLDBINMACH)/%)
59 ROOTONBLDSHFILES= $(SHFILES:%=$(ROOTONBLDBIN)/%)
60 ROOTONBLDMAKEFILES= $(MAKEFILES:%=$(ROOTONBLDBIN)/%)
61 ROOTONBLDMACHSHFILES= $(SHFILES:%=$(ROOTONBLDBINMACH)/%)
62 ROOTONBLDMACHBINARIES= $(BINARIES:%=$(ROOTONBLDBINMACH)/%)
63 ROOTONBLDETCFILES= $(ETCFILES:%=$(ROOTONBLDETC)/%)
64 ROOTONBLDENVFILES= $(ENVFILES:%=$(ROOTONBLDENV)/%)
65 ROOTONBLDGKFILES= $(GKFILES:%=$(ROOTONBLDGK)/.%)
66 ROOTONBLDGKSHFILES= $(SHFILES:%=$(ROOTONBLDGK)/%)
67 ROOTONBLDPERLFILES= $(PERLFILES:%=$(ROOTONBLDBIN)/%)
68 ROOTONBLDPERLMODULES= $(PERLMODULES:%=$(ROOTONBLDLIBPERL)/%)
69 ROOTONBLDPYFILES= $(PYFILES:%=$(ROOTONBLDBIN)/%)
70 ROOTONBLDMAN1ONBLDFILES=$(MAN1ONBLDFILES:%=$(ROOTONBLDMAN1ONBLD)/%)
71 ROOTONBLDABIAUDITFILES= $(ABI_AUDITFILES:%=$(ROOTONBLDETCABI)/%)
72 ROOTONBLDEXCEPTFILES= $(EXCEPTFILES:%=$(ROOTONBLDETCEXCEPT)/%)
73
74 # Break a chicken-and-egg dependency cycle for the tools build
75 SCCSCHECK=@echo would sccscheck
76
77 $(ROOTONBLDETCABI)/%: %
78 $(INS.file)
79
80 $(ROOTONBLDETCEXCEPT)/%: $(CODEMGR_WS)/exception_lists/%
81 $(INS.file)
82
83 $(ROOTONBLDBIN)/%: %
84 $(INS.file)
85
86 $(ROOTONBLDBINMACH)/%: %
87 $(INS.file)
88
89 $(ROOTONBLDETC)/%: %
90 $(INS.file)
91
92 $(ROOTONBLDLIBPERL)/%: %
93 $(INS.file)
94
95 $(ROOTONBLDMAN1ONBLD)/%: %
96 $(INS.file)
97
98 $(ROOTONBLDENV)/%: %
99 $(INS.file)
100
101 $(ROOTONBLDGK)/.%: %
102 $(INS.rename)
103
104 $(ROOTONBLDGK)/%: %
105 $(INS.file)
|