Print this page
5468 Missing dependencies in lib/Makefile

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/picl/plugins/common/devtree/Makefile
          +++ new/usr/src/cmd/picl/plugins/common/devtree/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      -# ident "%Z%%M% %I%     %E% SMI"
       26 +# Copyright 2015 RackTop Systems.
  27   27  #
  28   28  # cmd/picl/plugins/common/devtree/Makefile
  29   29  #
  30   30  LIBRARY=        libpicldevtree.a
  31   31  VERS=           .1
  32   32  
  33   33  OBJECTS=        picldevtree.o
  34   34  
  35   35  # include library definitions
  36   36  include $(SRC)/lib/Makefile.lib
↓ open down ↓ 12 lines elided ↑ open up ↑
  49   49  CLOBBERFILES += $(LIBLINKS)
  50   50  
  51   51  CPPFLAGS +=     -I$(SRC)/lib/libsysevent -I$(SRC)/uts/common
  52   52  
  53   53  CFLAGS +=       $(CCVERBOSE) $(C_PICFLAGS)
  54   54  CPPFLAGS +=     -D_REENTRANT
  55   55  LDLIBS +=       -L$(SRC)/lib/libsysevent -L$(SRC)/lib/libpicltree/$(MACH)
  56   56  LDLIBS +=       -lc -lkstat -ldevinfo -lpicltree -lnvpair
  57   57  LDLIBS +=       -L../piclevent -L$(ROOT)/usr/lib/picl/plugins -lpiclevent
  58   58  LDLIBS +=       -R/usr/platform/\$$PLATFORM/lib/picl/plugins
  59      -LDLIBS +=       -R/usr/platform/sun4u/lib/picl/plugins
       59 +$(SPARC_BLD)LDLIBS +=   -R/usr/platform/sun4u/lib/picl/plugins
  60   60  LDLIBS +=       -R/usr/lib/picl/plugins
  61   61  
  62   62  LINTFLAGS +=    -L$(SRC)/lib/libpicltree/$(MACH) -lpicltree
  63   63  
  64   64  .KEEP_STATE:
  65   65  
  66   66  SUBDIRS=
  67   67  
  68   68  POFILE= picldevtree.po
  69   69  
↓ open down ↓ 20 lines elided ↑ open up ↑
  90   90          $(RM) $@; $(SYMLINK) $(DYNLIB) $@
  91   91  
  92   92  # include library targets
  93   93  include $(SRC)/cmd/picl/plugins/Makefile.targ
  94   94  include $(SRC)/lib/Makefile.targ
  95   95  
  96   96  lint :
  97   97          $(LINT.c) $(SRCS)
  98   98  
  99   99  %.so: %.o
 100      -        $(LINK.c) -o $@ $(GSHARED) -h $@ $<
      100 +        $(LINK.c) -o $@ $(GSHARED) -h $@ $< $(LDLIBS)
 101  101  
 102  102  %.o: %.c
 103  103          $(COMPILE.c) -o $@ $<
 104  104  
 105  105  $(SUBDIRS): FRC
 106  106          @cd $@; pwd; $(MAKE) $(TARGET)
 107  107  
 108  108  FRC:
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX