Print this page
9704 move socket functions to libc

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/print/bsd-sysv-commands/Makefile
          +++ new/usr/src/cmd/print/bsd-sysv-commands/Makefile
↓ open down ↓ 54 lines elided ↑ open up ↑
  55   55  
  56   56  LPLIB   =       $(SRC)/cmd/lp/lib
  57   57  LIBLP   =       $(LPLIB)/lp/liblp.a
  58   58  CFLAGS +=       $(CCVERBOSE)
  59   59  CPPFLAGS +=     -I.
  60   60  CPPFLAGS +=     -I../../../lib/print/libpapi-common/common
  61   61  CPPFLAGS +=     -I$(ROOT)/usr/include
  62   62  CPPFLAGS +=     -I../../lp/include
  63   63  LDLIBS +=       $(LIBLP) -lpapi -lc
  64   64  in.lpd:=        CFLAGS +=       -DSOLARIS_PRIVATE_POST_0_9
  65      -in.lpd:=        LDLIBS +=       -lnsl -lsocket
       65 +in.lpd:=        LDLIBS +=       -lnsl
  66   66  
  67   67  CERRWARN +=     -_gcc=-Wno-unused-variable
  68   68  CERRWARN +=     -_gcc=-Wno-uninitialized
  69   69  
  70   70  all:    $(BINPROGS) $(SBINPROGS)
  71   71  
  72   72  #       each program needs common.o as well
  73   73  $(BINPROGS) $(SBINPROGS) $(LIBPRINTPROGS):      $(BINPROGS:%=%.c) $(SBINPROGS:%=%.c)  $(LIBPRINTPROGS:%=%.c) common.o
  74   74          $(LINK.c) -o $@ $@.c common.o $(LDLIBS)
  75   75          $(POST_PROCESS)
↓ open down ↓ 35 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX