Print this page
5468 Missing dependencies in lib/Makefile

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/cachefs/unshare/Makefile
          +++ new/usr/src/cmd/fs.d/cachefs/unshare/Makefile
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13  #
  14   14  # When distributing Covered Code, include this CDDL HEADER in each
  15   15  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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      -#ident  "%Z%%M% %I%     %E% SMI"
  24      -#
  25   23  # Copyright (c) 1999 by Sun Microsystems, Inc.
  26   24  # All rights reserved.
  27   25  #
       26 +# Copyright 2015 RackTop Systems.
       27 +#
  28   28  # cmd/fs.d/cachefs/unshare
  29   29  #
  30   30  
  31   31  FSTYPE=         cachefs
  32   32  LIBPROG=        unshare
  33   33  ATTMK=          $(LIBPROG)
  34   34  
  35   35  include         ../../Makefile.fstype
  36   36  
  37   37  PROGOBJS=       $(PROGSRCS:%.c=%.o)
  38   38  
  39   39  PROGSRCS=       $(LIBPROG:%=%.c)
  40   40  
  41   41  $(LIBPROG):     $(PROGOBJS)
  42      -        $(LINK.c) -o $@ $(PROGOBJS)
       42 +        $(LINK.c) -o $@ $(PROGOBJS) $(LDLIBS)
  43   43          $(POST_PROCESS)
  44   44  
  45   45  clean:
  46   46          $(RM) $(PROGOBJS) $(LIBPROG)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX