Print this page
12312 fix unused lib dependencies
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/picl/plugins/common/memcfg/Makefile
+++ new/usr/src/cmd/picl/plugins/common/memcfg/Makefile
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, Version 1.0 only
6 6 # (the "License"). You may not use this file except in compliance
7 7 # with the License.
8 8 #
9 9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 10 # or http://www.opensolaris.org/os/licensing.
11 11 # See the License for the specific language governing permissions
12 12 # and limitations under the License.
13 13 #
14 14 # When distributing Covered Code, include this CDDL HEADER in each
15 15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
↓ open down ↓ |
15 lines elided |
↑ open up ↑ |
16 16 # If applicable, add the following below this CDDL HEADER, with the
17 17 # fields enclosed by brackets "[]" replaced with your own identifying
18 18 # information: Portions Copyright [yyyy] [name of copyright owner]
19 19 #
20 20 # CDDL HEADER END
21 21 #
22 22 #
23 23 # Copyright 2004 Sun Microsystems, Inc. All rights reserved.
24 24 # Use is subject to license terms.
25 25 #
26 -# cmd/picl/plugins/common/memcfg/Makefile
26 +# Copyright 2020 Joyent, Inc.
27 27 #
28 28 LIBRARY= libpiclmemcfg.a
29 29 VERS= .1
30 30
31 31 OBJECTS= piclmemcfg_comm.o
32 32
33 33 # include library definitions
34 34 include $(SRC)/lib/Makefile.lib
35 35
36 36 include $(SRC)/cmd/picl/plugins/Makefile.com
37 37
38 38 SRCS= $(OBJECTS:%.o=%.c)
↓ open down ↓ |
2 lines elided |
↑ open up ↑ |
39 39
40 40 LIBS = $(DYNLIB)
41 41
42 42 ROOTLIBDIR = $(USR_LIB_PLUGINDIR)
43 43
44 44 CLEANFILES= $(LINTOUT) $(LINTLIB)
45 45
46 46 CPPFLAGS += -I$(SRC)/uts/sun4u/sys -I$(SRC)/cmd/picl/plugins/common/memcfg
47 47 CFLAGS += $(CCVERBOSE) $(C_PICFLAGS)
48 48
49 -LDLIBS += -L$(SRC)/lib/libpicltree/$(MACH)
50 -LDLIBS += -L../devtree
51 -LDLIBS += -L$(ROOT)/usr/lib/picl/plugins
52 -LDLIBS += -lc -lpicltree -lpicldevtree -lnvpair
53 -$(SPARC_BLD)LDLIBS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins \
54 - -R/usr/platform/sun4u/lib/picl/plugins
55 -LDLIBS += -R/usr/lib/picl/plugins
49 +LDLIBS += -lc -lpicltree -lnvpair
56 50
57 51 CLOBBERFILES += $(LIBLINKS)
58 52
59 53 .KEEP_STATE:
60 54
61 55 SUBDIRS=
62 56
63 57 all := TARGET= all
64 58 install := TARGET= install
65 59 clean := TARGET= clean
66 60 clobber := TARGET= clobber
67 61 lint := TARGET= lint
68 62 _msg := TARGET= _msg
69 63
70 64 POFILE= piclmemcfg_comm.po
71 65
72 66 all: $(LIBS) $(LIBLINKS)
73 67
74 68 install: $(ROOTLIBDIR) all $(ROOTLIBS) $(ROOTLINKS)
75 69
76 70 _msg: $(MSGDOMAIN) $(POFILE)
77 71 $(RM) $(MSGDOMAIN)/$(POFILE)
78 72 $(CP) $(POFILE) $(MSGDOMAIN)
79 73
80 74 $(MSGDOMAIN):
81 75 $(INS.dir)
82 76
83 77 $(LIBLINKS): FRC
84 78 $(RM) $@; $(SYMLINK) $(DYNLIB) $@
85 79
86 80 # include library targets
87 81 include $(SRC)/cmd/picl/plugins/Makefile.targ
88 82 include $(SRC)/lib/Makefile.targ
89 83
90 84 lint :
91 85 $(LINT.c) $(SRCS)
92 86
93 87 $(SUBDIRS): FRC
94 88 @cd $@; pwd; $(MAKE) $(TARGET)
95 89
96 90 FRC:
↓ open down ↓ |
31 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX