dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / tools / Makefile.tools
blob4a31c899b1b1cdcbd689a6af95ccd3e71a40945f
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
22 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
24 # Definitions common to tool source.
26 include $(SRC)/Makefile.master
28 FILEMODE=       0555
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 ROOTONBLDENV=           $(ROOTONBLD)/env
42 ROOTONBLDMAN=           $(ROOTONBLD)/man
43 ROOTONBLDMAN1ONBLD=     $(ROOTONBLD)/man/man1onbld
44 ROOTONBLDETCABI=        $(ROOTONBLD)/etc/abi
45 ROOTONBLDETCEXCEPT=     $(ROOTONBLD)/etc/exception_lists
47 CPPFLAGS=
48 ELFSIGN_O=              $(TRUE)
49 LDLIBS=
50 LDFLAGS=                $(MAPFILE.PGA:%=-Wl,-M%)
52 ROOTONBLDPROG=          $(PROG:%=$(ROOTONBLDBIN)/%)
53 ROOTONBLDMACHPROG=      $(PROG:%=$(ROOTONBLDBINMACH)/%)
54 ROOTONBLDSHFILES=       $(SHFILES:%=$(ROOTONBLDBIN)/%)
55 ROOTONBLDMAKEFILES=     $(MAKEFILES:%=$(ROOTONBLDBIN)/%)
56 ROOTONBLDMACHSHFILES=   $(SHFILES:%=$(ROOTONBLDBINMACH)/%)
57 ROOTONBLDMACHBINARIES=  $(BINARIES:%=$(ROOTONBLDBINMACH)/%)
58 ROOTONBLDETCFILES=      $(ETCFILES:%=$(ROOTONBLDETC)/%)
59 ROOTONBLDENVFILES=      $(ENVFILES:%=$(ROOTONBLDENV)/%)
60 ROOTONBLDPERLFILES=     $(PERLFILES:%=$(ROOTONBLDBIN)/%)
61 ROOTONBLDPERLMODULES=   $(PERLMODULES:%=$(ROOTONBLDLIBPERL)/%)
62 ROOTONBLDPYFILES=       $(PYFILES:%=$(ROOTONBLDBIN)/%)
63 ROOTONBLDMAN1ONBLDFILES=$(MAN1ONBLDFILES:%=$(ROOTONBLDMAN1ONBLD)/%)
64 ROOTONBLDABIAUDITFILES= $(ABI_AUDITFILES:%=$(ROOTONBLDETCABI)/%)
65 ROOTONBLDEXCEPTFILES=   $(EXCEPTFILES:%=$(ROOTONBLDETCEXCEPT)/%)
67 $(ROOTONBLDETCABI)/%: %
68         $(INS.file)
70 $(ROOTONBLDETCEXCEPT)/%: $(SRCTOP)/exception_lists/%
71         $(INS.file)
73 $(ROOTONBLDBIN)/%: %
74         $(INS.file)
76 $(ROOTONBLDBINMACH)/%: %
77         $(INS.file)
79 $(ROOTONBLDETC)/%: %
80         $(INS.file)
82 $(ROOTONBLDLIBPERL)/%: %
83         $(INS.file)
85 $(ROOTONBLDMAN1ONBLD)/%: %
86         $(INS.file)
88 $(ROOTONBLDENV)/%: %
89         $(INS.file)