Print this page
12312 fix unused lib dependencies

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/rcm_daemon/Makefile.com
          +++ new/usr/src/cmd/rcm_daemon/Makefile.com
↓ open down ↓ 14 lines elided ↑ open up ↑
  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 (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24  # Copyright 2016 Nexenta Systems, Inc.
  25      -# Copyright (c) 2018, Joyent, Inc.
       25 +# Copyright 2020 Joyent, Inc.
  26   26  # Copyright 2019 Peter Tribble.
  27   27  #
  28   28  
  29   29  include ../../Makefile.cmd
  30   30  
  31   31  COMMON = ../common
  32   32  
  33   33  RCM_SRC = \
  34   34          $(COMMON)/rcm_event.c \
  35   35          $(COMMON)/rcm_main.c \
↓ open down ↓ 94 lines elided ↑ open up ↑
 130  130  SUNW_vlan_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm -lnvpair
 131  131  SUNW_vnic_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm -lnvpair
 132  132  SUNW_ibpart_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm -lnvpair
 133  133  SUNW_aggr_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm -lnvpair
 134  134  SUNW_ip_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -linetutil -ldladm -lipmp -lipadm -lnvpair -lsocket -lgen
 135  135  SUNW_ip_anon_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -linetutil
 136  136  SUNW_bridge_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm -lnvpair
 137  137  SUNW_mpxio_rcm.so := LDLIBS_MODULES += -ldevinfo
 138  138  LDLIBS_MODULES += -L$(ROOT)/lib -lrcm -lc
 139  139  
 140      -LDLIBS += -lgen -lelf -lrcm -lnvpair -ldevinfo -lnsl -lsocket
      140 +LDLIBS += -lrcm -lnvpair
 141  141  
 142  142  SRCS = $(RCM_SRC) $(COMMON_MOD_SRC)
 143  143  
 144  144  POFILES = $(SRCS:.c=.po)
 145  145  POFILE = prcm_daemon.po
 146  146  
 147  147  PERL_SCRIPTS = $(COMMON_PERL_SRC) $($(MACH)_PERL_SCRIPT_SRC)
 148  148  SHELL_SCRIPTS = $(COMMON_SHELL_SCRIPT_SRC)
 149  149  RCM_SCRIPTS = $(PERL_SCRIPTS) $(SHELL_SCRIPTS)
 150  150  
↓ open down ↓ 76 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX