Print this page
9704 move socket functions to libc

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libslp/Makefile.com
          +++ new/usr/src/lib/libslp/Makefile.com
↓ open down ↓ 28 lines elided ↑ open up ↑
  29   29  OBJECTS =       SLPFindAttrs.o SLPFindSrvTypes.o SLPFindSrvs.o SLPOpen.o \
  30   30                  SLPReg.o SLPUtils.o SLPParseSrvURL.o SLPGetRefreshInterval.o \
  31   31                  slp_queue.o slp_utils.o slp_search.o slp_ua_common.o slp_net.o \
  32   32                  slp_net_utils.o slp_ipc.o slp_config.o slp_utf8.o \
  33   33                  slp_targets.o slp_da_cache.o slp_jni_support.o DAAdvert.o \
  34   34                  SAAdvert.o slp_auth.o
  35   35  
  36   36  include ../../Makefile.lib
  37   37  
  38   38  LIBS =          $(DYNLIB) $(LINTLIB)
  39      -LDLIBS +=       -lc -lnsl -lsocket
       39 +LDLIBS +=       -lc -lnsl
  40   40  $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  41   41  
  42   42  SRCDIR =        ../clib
  43   43  
  44   44  CFLAGS +=       $(CCVERBOSE)
  45   45  CPPFLAGS +=     -D_REENTRANT -I../clib -I$(JAVA_ROOT)/include \
  46   46                  -I$(JAVA_ROOT)/include/solaris
  47   47  
  48   48  CERRWARN +=     -_gcc=-Wno-uninitialized
  49   49  CERRWARN +=     -_gcc=-Wno-parentheses
  50   50  
  51   51  .KEEP_STATE:
  52   52  
  53   53  all:
  54   54  
  55   55  lint: lintcheck
  56   56  
  57   57  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX