Print this page
9704 move socket functions to libc

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/sbin/dhcpagent/Makefile
          +++ new/usr/src/cmd/cmd-inet/sbin/dhcpagent/Makefile
↓ open down ↓ 39 lines elided ↑ open up ↑
  40   40  
  41   41  CERRWARN += -_gcc=-Wno-switch
  42   42  CERRWARN += -_gcc=-Wno-parentheses
  43   43  
  44   44  #
  45   45  # to compile a debug version, do a `make COPTFLAG="-g -XO0"'
  46   46  #
  47   47  
  48   48  CPPFLAGS  += -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
  49   49  LDLIBS    += -lxnet -lnvpair -ldhcpagent -ldhcputil -linetutil -ldevinfo \
  50      -        -ldlpi -lresolv -lsocket -lipadm
       50 +        -ldlpi -lresolv -lipadm
  51   51  
  52   52  # Disable warnings that affect all XPG applications.
  53   53  LINTFLAGS += -erroff=E_INCONS_ARG_DECL2 -erroff=E_INCONS_VAL_TYPE_DECL2
  54   54  
  55   55  .KEEP_STATE:
  56   56  
  57   57  all:            $(ROOTFS_PROG)
  58   58  
  59   59  install:        all $(ROOTSBINPROG) $(ROOTETCDEFAULTFILES)
  60   60  
↓ open down ↓ 13 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX