Print this page
make: ship the Joyent patch to enable parallel make (originally from rm)

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/make/bin/Makefile
          +++ new/usr/src/cmd/make/bin/Makefile
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  OBJS=   ar.o            \
  16   16          depvar.o        \
  17   17          dist.o          \
  18   18          doname.o        \
  19   19          dosys.o         \
  20   20          files.o         \
  21   21          globals.o       \
  22   22          implicit.o      \
  23   23          macro.o         \
  24   24          main.o          \
  25      -        make.o          \
  26   25          misc.o          \
  27   26          nse_printdep.o  \
  28   27          parallel.o      \
  29   28          pmake.o         \
  30   29          read.o          \
  31   30          read2.o         \
  32   31          rep.o           \
  33   32          state.o
  34   33  
  35   34  include ../../Makefile.cmd
  36   35  include ../Makefile.com
  37   36  
  38   37  LDLIBS += ../lib/mksh/libmksh.a ../lib/mksdmsi18n/libmksdmsi18n.a ../lib/vroot/libvroot.a
  39      -LDLIBS += ../lib/bsd/libbsd.a -lc
       38 +LDLIBS += ../lib/bsd/libbsd.a -lc -lnsl -lumem
  40   39  
  41   40  CPPFLAGS += -D_FILE_OFFSET_BITS=64
  42   41  
  43   42  ROOTLINKS = $(ROOTCCSBIN)/make $(ROOTXPG4BIN)/make $(ROOTBIN)/dmake $(ROOTCCSLIB)/svr4.make \
  44   43          $(ROOTLIB)/svr4.make
  45   44  
  46   45  ROOTRULES = $(ROOTSHLIB)/make/make.rules $(ROOTSHLIB)/make/svr4.make.rules
  47   46  
  48   47  all:    $(PROG)
  49   48  
↓ open down ↓ 40 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX