Print this page
5468 Missing dependencies in lib/Makefile

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.bin/nca/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.bin/nca/Makefile
↓ open down ↓ 14 lines elided ↑ open up ↑
  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   23  # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
       25 +#
       26 +# Copyright 2015 RackTop Systems.
  25   27  # 
  26   28  
  27   29  PROG=   ncab2clf 
  28   30  OBJS=   ncab2clf.o
  29   31  SRCS=   $(OBJS:%.o=%.c)
  30   32  
  31   33  include ../../../Makefile.cmd
  32   34  
  33   35  #
  34   36  # Message catalog
↓ open down ↓ 13 lines elided ↑ open up ↑
  48   50  CERRWARN +=     -_gcc=-Wno-parentheses
  49   51  CPPFLAGS +=     -I$(INC_PATH)
  50   52  
  51   53  .KEEP_STATE:
  52   54  
  53   55  .PARALLEL: $(OBJS)
  54   56  
  55   57  all: $(PROG)
  56   58  
  57   59  $(PROG): $(OBJS)
  58      -        $(LINK.c) $(OBJS) -o $@
       60 +        $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  59   61          $(POST_PROCESS)
  60   62  
  61   63  #
  62   64  # Message catalog
  63   65  #
  64   66  _msg: $(POFILE)
  65   67  
  66   68  $(POFILE): $(SRCS)
  67   69          $(RM) ncab2clf.po
  68   70          $(COMPILE.cpp) $(SRCS) > $(POFILE).i
↓ open down ↓ 13 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX