Print this page
9704 move socket functions to libc


  27 
  28 LIB_OBJS =      ilb_sg.o ilb_comm.o ilb_subr.o ilb_rules.o
  29 LIB_OBJS +=     ilb_hc.o ilb_nat.o
  30 
  31 OBJECTS =       $(LIB_OBJS)
  32 
  33 include ../../Makefile.lib
  34 
  35 LIB_SRCS=       $(LIB_OBJS:%.o=$(SRCDIR)/%.c)
  36 LIBS =          $(DYNLIB) $(LINTLIB)
  37 INCS +=         -I../common -I$(SRC)/uts/common
  38 LDLIBS +=       -lc
  39 
  40 SRCDIR =        ../common
  41 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  42 
  43 CSTD =  $(CSTD_GNU99)
  44 
  45 CFLAGS +=       -mt $(CCVERBOSE)
  46 CPPFLAGS +=     $(INCS)
  47 LDLIBS +=       -lsocket
  48 
  49 .KEEP_STATE:
  50 
  51 all: $(LIBS)
  52 
  53 lint: $(LIB_SRCS)
  54         $(LINT.c) $(LINTCHECKFLAGS) $(LIB_SRCS) $(LDLIBS)
  55 
  56 include ../../Makefile.targ


  27 
  28 LIB_OBJS =      ilb_sg.o ilb_comm.o ilb_subr.o ilb_rules.o
  29 LIB_OBJS +=     ilb_hc.o ilb_nat.o
  30 
  31 OBJECTS =       $(LIB_OBJS)
  32 
  33 include ../../Makefile.lib
  34 
  35 LIB_SRCS=       $(LIB_OBJS:%.o=$(SRCDIR)/%.c)
  36 LIBS =          $(DYNLIB) $(LINTLIB)
  37 INCS +=         -I../common -I$(SRC)/uts/common
  38 LDLIBS +=       -lc
  39 
  40 SRCDIR =        ../common
  41 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  42 
  43 CSTD =  $(CSTD_GNU99)
  44 
  45 CFLAGS +=       -mt $(CCVERBOSE)
  46 CPPFLAGS +=     $(INCS)

  47 
  48 .KEEP_STATE:
  49 
  50 all: $(LIBS)
  51 
  52 lint: $(LIB_SRCS)
  53         $(LINT.c) $(LINTCHECKFLAGS) $(LIB_SRCS) $(LDLIBS)
  54 
  55 include ../../Makefile.targ