Print this page
5468 Missing dependencies in lib/Makefile

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fm/modules/Makefile.plugin
          +++ new/usr/src/cmd/fm/modules/Makefile.plugin
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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  # Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
       23 +# Copyright 2015 RackTop Systems.
  23   24  #
  24   25  
  25   26  .KEEP_STATE:
  26   27  .SUFFIXES:
  27   28  
  28   29  include $(SRC)/cmd/Makefile.cmd
  29   30  MODCLASS = plugins
  30   31  
  31   32  #
  32   33  # Set PROG and OBJS based on the values of MODULE and SRCS.  We expect that
↓ open down ↓ 60 lines elided ↑ open up ↑
  93   94  .NO_PARALLEL:
  94   95  .PARALLEL: $(OBJS) $(LINTFILES) $(DMOD_OBJS) $(DMODLINTFILES)
  95   96  
  96   97  $(PROG): $(OBJS) $(APIMAP)
  97   98          $(LINK.c) $(LINKOBJS) -o $@ $(LDLIBS)
  98   99          $(CTFMERGE) -L VERSION -o $@ $(LINKOBJS)
  99  100          $(POST_PROCESS_SO)
 100  101  
 101  102  $(DMODPROG): $(DMOD_OBJS) $(MAPFILE-DMOD)
 102  103          -@mkdir -p $(@D)
 103      -        $(LINK.c) $(DMOD_OBJS) $(MAPFILE-DMOD:%=-M%) -o $@ -lc
      104 +        $(LINK.c) $(DMOD_OBJS) $(MAPFILE-DMOD:%=-M%) -o $@ $(LDLIBS) -lc
 104  105          $(POST_PROCESS)
 105  106  
 106  107  %.o: %.c
 107  108          $(COMPILE.c) $< -o $(@F)
 108  109          $(CTFCONVERT) $(CTFCVTFLAGS) $(@F)
 109  110  
 110  111  clean:
 111  112          $(RM) $(OBJS) $(DMOD_OBJS) $(LINTFILES) $(DMODLINTFILES) $(CLEANFILES) \
 112  113              $(LINKOBJS)
 113  114  
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX