Print this page
12312 fix unused lib dependencies


   6 # (the "License").  You may not use this file except in compliance
   7 # with the License.
   8 #
   9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  10 # or http://www.opensolaris.org/os/licensing.
  11 # See the License for the specific language governing permissions
  12 # and limitations under the License.
  13 #
  14 # When distributing Covered Code, include this CDDL HEADER in each
  15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16 # If applicable, add the following below this CDDL HEADER, with the
  17 # fields enclosed by brackets "[]" replaced with your own identifying
  18 # information: Portions Copyright [yyyy] [name of copyright owner]
  19 #
  20 # CDDL HEADER END
  21 #
  22 #
  23 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 # cmd/picl/plugins/common/memcfg/Makefile
  27 #
  28 LIBRARY=        libpiclmemcfg.a
  29 VERS=           .1
  30 
  31 OBJECTS=        piclmemcfg_comm.o
  32 
  33 # include library definitions
  34 include $(SRC)/lib/Makefile.lib
  35 
  36 include $(SRC)/cmd/picl/plugins/Makefile.com
  37 
  38 SRCS=           $(OBJECTS:%.o=%.c)
  39 
  40 LIBS =          $(DYNLIB)
  41 
  42 ROOTLIBDIR =    $(USR_LIB_PLUGINDIR)
  43 
  44 CLEANFILES=     $(LINTOUT) $(LINTLIB)
  45 
  46 CPPFLAGS +=     -I$(SRC)/uts/sun4u/sys -I$(SRC)/cmd/picl/plugins/common/memcfg
  47 CFLAGS +=       $(CCVERBOSE) $(C_PICFLAGS)
  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
  56 
  57 CLOBBERFILES += $(LIBLINKS)
  58 
  59 .KEEP_STATE:
  60 
  61 SUBDIRS=
  62 
  63 all :=          TARGET= all
  64 install :=      TARGET= install
  65 clean :=        TARGET= clean
  66 clobber :=      TARGET= clobber
  67 lint :=         TARGET= lint
  68 _msg :=         TARGET= _msg
  69 
  70 POFILE=         piclmemcfg_comm.po
  71 
  72 all: $(LIBS) $(LIBLINKS)
  73 
  74 install:        $(ROOTLIBDIR) all $(ROOTLIBS) $(ROOTLINKS)
  75 




   6 # (the "License").  You may not use this file except in compliance
   7 # with the License.
   8 #
   9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  10 # or http://www.opensolaris.org/os/licensing.
  11 # See the License for the specific language governing permissions
  12 # and limitations under the License.
  13 #
  14 # When distributing Covered Code, include this CDDL HEADER in each
  15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16 # If applicable, add the following below this CDDL HEADER, with the
  17 # fields enclosed by brackets "[]" replaced with your own identifying
  18 # information: Portions Copyright [yyyy] [name of copyright owner]
  19 #
  20 # CDDL HEADER END
  21 #
  22 #
  23 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 # Copyright 2020 Joyent, Inc.
  27 #
  28 LIBRARY=        libpiclmemcfg.a
  29 VERS=           .1
  30 
  31 OBJECTS=        piclmemcfg_comm.o
  32 
  33 # include library definitions
  34 include $(SRC)/lib/Makefile.lib
  35 
  36 include $(SRC)/cmd/picl/plugins/Makefile.com
  37 
  38 SRCS=           $(OBJECTS:%.o=%.c)
  39 
  40 LIBS =          $(DYNLIB)
  41 
  42 ROOTLIBDIR =    $(USR_LIB_PLUGINDIR)
  43 
  44 CLEANFILES=     $(LINTOUT) $(LINTLIB)
  45 
  46 CPPFLAGS +=     -I$(SRC)/uts/sun4u/sys -I$(SRC)/cmd/picl/plugins/common/memcfg
  47 CFLAGS +=       $(CCVERBOSE) $(C_PICFLAGS)
  48 
  49 LDLIBS +=       -lc -lpicltree -lnvpair






  50 
  51 CLOBBERFILES += $(LIBLINKS)
  52 
  53 .KEEP_STATE:
  54 
  55 SUBDIRS=
  56 
  57 all :=          TARGET= all
  58 install :=      TARGET= install
  59 clean :=        TARGET= clean
  60 clobber :=      TARGET= clobber
  61 lint :=         TARGET= lint
  62 _msg :=         TARGET= _msg
  63 
  64 POFILE=         piclmemcfg_comm.po
  65 
  66 all: $(LIBS) $(LIBLINKS)
  67 
  68 install:        $(ROOTLIBDIR) all $(ROOTLIBS) $(ROOTLINKS)
  69