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
↓ 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
↓ 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
↓ open down ↓ 31 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX