Print this page
9704 move socket functions to libc


  37                 ipmi_misc.o     \
  38                 ipmi_sdr.o      \
  39                 ipmi_sel.o      \
  40                 ipmi_sensor.o   \
  41                 ipmi_sunoem.o   \
  42                 ipmi_tables.o   \
  43                 ipmi_user.o     \
  44                 ipmi_util.o     \
  45                 libipmi.o
  46 
  47 SRCS=           $(OBJECTS:%.o:$(SRCDIR)/%c.)
  48 
  49 include ../../Makefile.lib
  50 
  51 LIBS=           $(DYNLIB) $(LINTLIB)
  52 
  53 SRCDIR=         ../common
  54 
  55 CLEANFILES +=   $(SRCDIR)/ipmi_tables.c 
  56 INCS +=         -I$(SRCDIR)
  57 LDLIBS +=       -lc -lm -lnvpair -lsocket -lnsl
  58 CPPFLAGS +=     $(INCS)
  59 CSTD = $(CSTD_GNU99)
  60 
  61 CERRWARN +=     -_gcc=-Wno-uninitialized
  62 
  63 $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
  64 
  65 .KEEP_STATE:
  66 
  67 all: $(LIBS)
  68 
  69 lint: lintcheck
  70 
  71 $(SRCDIR)/ipmi_tables.c: $(SRCDIR)/mktables.sh $(SRCDIR)/libipmi.h
  72         sh $(SRCDIR)/mktables.sh $(SRCDIR)/libipmi.h > $@
  73 
  74 include ../../Makefile.targ


  37                 ipmi_misc.o     \
  38                 ipmi_sdr.o      \
  39                 ipmi_sel.o      \
  40                 ipmi_sensor.o   \
  41                 ipmi_sunoem.o   \
  42                 ipmi_tables.o   \
  43                 ipmi_user.o     \
  44                 ipmi_util.o     \
  45                 libipmi.o
  46 
  47 SRCS=           $(OBJECTS:%.o:$(SRCDIR)/%c.)
  48 
  49 include ../../Makefile.lib
  50 
  51 LIBS=           $(DYNLIB) $(LINTLIB)
  52 
  53 SRCDIR=         ../common
  54 
  55 CLEANFILES +=   $(SRCDIR)/ipmi_tables.c
  56 INCS +=         -I$(SRCDIR)
  57 LDLIBS +=       -lc -lm -lnvpair -lnsl
  58 CPPFLAGS +=     $(INCS)
  59 CSTD = $(CSTD_GNU99)
  60 
  61 CERRWARN +=     -_gcc=-Wno-uninitialized
  62 
  63 $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
  64 
  65 .KEEP_STATE:
  66 
  67 all: $(LIBS)
  68 
  69 lint: lintcheck
  70 
  71 $(SRCDIR)/ipmi_tables.c: $(SRCDIR)/mktables.sh $(SRCDIR)/libipmi.h
  72         sh $(SRCDIR)/mktables.sh $(SRCDIR)/libipmi.h > $@
  73 
  74 include ../../Makefile.targ