21 #
22 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
23 #
24 # Definitions common to tool source.
25 #
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 ROOTONBLDLIBPERL= $(ROOTONBLD)/lib/perl
40 ROOTONBLDLIBPY= $(ROOTONBLD)/lib/python
41 ROOTONBLDLIBPY_24= $(ROOTONBLD)/lib/python2.4
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
50 CPPFLAGS= -D_TS_ERRNO
51 ELFSIGN_O= $(TRUE)
52 LDLIBS=
53 LDFLAGS= $(MAPFILE.NES:%=-M%) $(MAPFILE.NED:%=-M%) \
54 $(MAPFILE.PGA:%=-M%)
55
56 ROOTONBLDPROG= $(PROG:%=$(ROOTONBLDBIN)/%)
57 ROOTONBLDMACHPROG= $(PROG:%=$(ROOTONBLDBINMACH)/%)
58 ROOTONBLDSHFILES= $(SHFILES:%=$(ROOTONBLDBIN)/%)
59 ROOTONBLDMAKEFILES= $(MAKEFILES:%=$(ROOTONBLDBIN)/%)
60 ROOTONBLDMACHSHFILES= $(SHFILES:%=$(ROOTONBLDBINMACH)/%)
61 ROOTONBLDMACHBINARIES= $(BINARIES:%=$(ROOTONBLDBINMACH)/%)
|
21 #
22 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
23 #
24 # Definitions common to tool source.
25 #
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 ROOTONBLDLIBPERL= $(ROOTONBLD)/lib/perl
40 ROOTONBLDLIBPY= $(ROOTONBLD)/lib/python
41 ROOTONBLDLIBPY_26= $(ROOTONBLD)/lib/python2.6
42 ROOTONBLDENV= $(ROOTONBLD)/env
43 ROOTONBLDGK= $(ROOTONBLD)/gk
44 ROOTONBLDMAN= $(ROOTONBLD)/man
45 ROOTONBLDMAN1= $(ROOTONBLD)/man/man1
46 ROOTONBLDETCABI= $(ROOTONBLD)/etc/abi
47 ROOTONBLDETCEXCEPT= $(ROOTONBLD)/etc/exception_lists
48
49 CPPFLAGS= -D_TS_ERRNO
50 ELFSIGN_O= $(TRUE)
51 LDLIBS=
52 LDFLAGS= $(MAPFILE.NES:%=-M%) $(MAPFILE.NED:%=-M%) \
53 $(MAPFILE.PGA:%=-M%)
54
55 ROOTONBLDPROG= $(PROG:%=$(ROOTONBLDBIN)/%)
56 ROOTONBLDMACHPROG= $(PROG:%=$(ROOTONBLDBINMACH)/%)
57 ROOTONBLDSHFILES= $(SHFILES:%=$(ROOTONBLDBIN)/%)
58 ROOTONBLDMAKEFILES= $(MAKEFILES:%=$(ROOTONBLDBIN)/%)
59 ROOTONBLDMACHSHFILES= $(SHFILES:%=$(ROOTONBLDBINMACH)/%)
60 ROOTONBLDMACHBINARIES= $(BINARIES:%=$(ROOTONBLDBINMACH)/%)
|