Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/ucbcmd/Makefile.ucbcmd
+++ new/usr/src/ucbcmd/Makefile.ucbcmd
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21
22 22 #
23 23 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
24 24 # Use is subject to license terms.
25 25 #
26 26 #
27 27 # ucbcmd/Makefile.ucbcmd
28 28 #
29 29 # Definitions common to ucb command source.
30 30 #
31 31 # include global definitions; SRC should be defined in the shell.
32 32 # SRC is needed until RFE 1026993 is implemented.
33 33
34 34 include $(SRC)/Makefile.master
35 35
36 36 LN= ln
37 37 SH= sh
38 38 CHMOD= chmod
39 39 MKDIR= mkdir
40 40 TOUCH= touch
41 41
42 42 FILEMODE= 0555
43 43 LIBFILEMODE= 0444
44 44 ROOTBIN= $(ROOT)/usr/ucb
45 45 ROOTLIB= $(ROOT)/usr/ucblib
46 46 ROOT4LIB= $(ROOT)/usr/4lib
47 47 ROOTETC= $(ROOT)/etc
48 48 ROOTSHLIB= $(ROOT)/usr/share/lib
49 49 ROOTBIN32= $(ROOTBIN)/$(MACH32)
50 50 ROOTBIN64= $(ROOTBIN)/$(MACH64)
51 51
52 52 ROOTPROG= $(PROG:%=$(ROOTBIN)/%)
53 53 ROOTLIBPROG= $(PROG:%=$(ROOTLIB)/%)
54 54 ROOT4LIBPROG= $(PROG:%=$(ROOT4LIB)/%)
55 55 ROOTETCPROG= $(PROG:%=$(ROOTETC)/%)
56 56 ROOTPROG64= $(PROG:%=$(ROOTBIN64)/%)
↓ open down ↓ |
56 lines elided |
↑ open up ↑ |
57 57 ROOTPROG32= $(PROG:%=$(ROOTBIN32)/%)
58 58
59 59 ISAEXEC= $(ROOT)/usr/lib/isaexec
60 60
61 61 # storing LDLIBS in two macros allows reordering of options
62 62 LDLIBS.cmd = $(ENVLDLIBS1) $(ENVLDLIBS2) $(ENVLDLIBS3)
63 63 LDLIBS = $(LDLIBS.cmd)
64 64
65 65 LDFLAGS.cmd = \
66 66 $(ENVLDFLAGS1) $(ENVLDFLAGS2) $(ENVLDFLAGS3) \
67 - $(MAPFILE.NES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%)
67 + $(MAPFILE.NES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%) \
68 + -Bdirect
68 69
69 70 LDFLAGS = $(LDFLAGS.cmd)
70 71
71 72 $(ROOTBIN)/%: %
72 73 $(INS.file)
73 74
74 75 $(ROOTLIB)/%: %
75 76 $(INS.file)
76 77
77 78 $(ROOT4LIB)/%: %
78 79 $(INS.file)
79 80
80 81 $(ROOTETC)/%: %
81 82 $(INS.file)
82 83
83 84 $(ROOTBIN64)/%: %
84 85 $(INS.file)
85 86
86 87 $(ROOTBIN32)/%: %
87 88 $(INS.file)
88 89
89 90 # Define the majority text domain in this directory
90 91 TEXT_DOMAIN= SUNW_OST_UCBCMD
↓ open down ↓ |
13 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX