Print this page
make: translate using gettext, rather than the unmaintainable catgets

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/make/bin/Makefile
          +++ new/usr/src/cmd/make/bin/Makefile
↓ open down ↓ 4 lines elided ↑ open up ↑
   5    5  # 1.0 of the CDDL.
   6    6  #
   7    7  # A full copy of the text of the CDDL should have accompanied this
   8    8  # source.  A copy of the CDDL is also available via the Internet at
   9    9  # http://www.illumos.org/license/CDDL.
  10   10  #
  11   11  
  12   12  # Copyright 2015, Richard Lowe.
  13   13  
  14   14  PROG=   make
       15 +POFILE= make.po
  15   16  OBJS=   ar.o            \
  16   17          depvar.o        \
  17   18          doname.o        \
  18   19          dosys.o         \
  19   20          files.o         \
  20   21          globals.o       \
  21   22          implicit.o      \
  22   23          macro.o         \
  23   24          main.o          \
  24   25          misc.o          \
  25   26          nse_printdep.o  \
  26   27          parallel.o      \
  27   28          pmake.o         \
  28   29          read.o          \
  29   30          read2.o         \
  30   31          rep.o           \
  31   32          state.o
       33 +POFILES= $(OBJS:%.o=%.po)
  32   34  
  33   35  include ../../Makefile.cmd
  34   36  include ../Makefile.com
  35   37  
  36      -LDLIBS += ../lib/mksh/libmksh.a ../lib/mksdmsi18n/libmksdmsi18n.a ../lib/vroot/libvroot.a
       38 +LDLIBS += ../lib/mksh/libmksh.a ../lib/vroot/libvroot.a
  37   39  LDLIBS += ../lib/bsd/libbsd.a -lc -lnsl -lumem
  38   40  
  39   41  CPPFLAGS += -D_FILE_OFFSET_BITS=64
  40   42  
  41   43  ROOTLINKS = $(ROOTCCSBIN)/make $(ROOTXPG4BIN)/make $(ROOTBIN)/dmake $(ROOTCCSLIB)/svr4.make \
  42   44          $(ROOTLIB)/svr4.make
  43   45  
  44   46  ROOTRULES = $(ROOTSHLIB)/make/make.rules $(ROOTSHLIB)/make/svr4.make.rules
  45   47  
  46   48  all:    $(PROG)
↓ open down ↓ 41 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX