Print this page
9704 move socket functions to libc

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libipmi/Makefile.com
          +++ new/usr/src/lib/libipmi/Makefile.com
↓ open down ↓ 44 lines elided ↑ open up ↑
  45   45                  libipmi.o
  46   46  
  47   47  SRCS=           $(OBJECTS:%.o:$(SRCDIR)/%c.)
  48   48  
  49   49  include ../../Makefile.lib
  50   50  
  51   51  LIBS=           $(DYNLIB) $(LINTLIB)
  52   52  
  53   53  SRCDIR=         ../common
  54   54  
  55      -CLEANFILES +=   $(SRCDIR)/ipmi_tables.c 
       55 +CLEANFILES +=   $(SRCDIR)/ipmi_tables.c
  56   56  INCS +=         -I$(SRCDIR)
  57      -LDLIBS +=       -lc -lm -lnvpair -lsocket -lnsl
       57 +LDLIBS +=       -lc -lm -lnvpair -lnsl
  58   58  CPPFLAGS +=     $(INCS)
  59   59  CSTD = $(CSTD_GNU99)
  60   60  
  61   61  CERRWARN +=     -_gcc=-Wno-uninitialized
  62   62  
  63   63  $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
  64   64  
  65   65  .KEEP_STATE:
  66   66  
  67   67  all: $(LIBS)
  68   68  
  69   69  lint: lintcheck
  70   70  
  71   71  $(SRCDIR)/ipmi_tables.c: $(SRCDIR)/mktables.sh $(SRCDIR)/libipmi.h
  72   72          sh $(SRCDIR)/mktables.sh $(SRCDIR)/libipmi.h > $@
  73   73  
  74   74  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX