Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.lib/wpad/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.lib/wpad/Makefile
↓ open down ↓ 18 lines elided ↑ open up ↑
  19   19  # CDDL HEADER END
  20   20  #
  21   21  # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  22   22  # Use is subject to license terms.
  23   23  #
  24   24  
  25   25  PROG =          wpad
  26   26  MANIFEST =      wpa.xml
  27   27  OBJS =          wpa_supplicant.o wpa.o wpa_enc.o eloop.o \
  28   28                  driver_wifi.o l2_packet.o
  29      -SRCS =          $(OBJS:%.o=%.c)
       29 +SRCS =          $(OBJS:%.o=%.c)
  30   30  
  31   31  include ../../../Makefile.cmd
  32   32  
  33   33  ROOTMANIFESTDIR = $(ROOTSVCNETWORK)
  34   34  
  35      -LDLIBS    +=    -ldladm -ldlpi
       35 +LDLIBS    +=    -ldladm -ldlpi
  36   36  all install := LDLIBS += -lcrypto
       37 +all install := ADJUNCT_LIBS = libcrypto.so
  37   38  
  38      -LINTFLAGS +=    -u
       39 +LINTFLAGS +=    -u
  39   40  
  40   41  .KEEP_STATE:
  41   42  
  42   43  all:            $(PROG)
  43   44  
  44   45  $(PROG):        $(OBJS)
  45   46                  $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  46   47                  $(POST_PROCESS)
  47   48  
  48   49  include ../Makefile.lib
↓ open down ↓ 11 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX