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
   1    1  #
   2    2  # This file and its contents are supplied under the terms of the
   3    3  # Common Development and Distribution License ("CDDL"), version 1.0.
   4    4  # You may only use this file in accordance with the terms of version
  
    | 
      ↓ 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)
  47   49  
  48   50  install: all $(ROOTPROG) $(ROOTLINKS) $(ROOTRULES)
  49   51  
  50   52  $(PROG):        $(OBJS)
  51   53          $(LINK.cc) $(OBJS) -o $@ $(LDLIBS)
  52   54          $(POST_PROCESS)
  53   55  
  54   56  $(ROOTCCSBIN)/make:
  55   57          -$(RM) $@; $(SYMLINK) ../../bin/make $@
  56   58  
  57   59  $(ROOTCCSLIB)/svr4.make:
  58   60          -$(RM) $@; $(SYMLINK) ../../bin/make $@
  59   61  
  60   62  $(ROOTLIB)/svr4.make:
  61   63          -$(RM) $@; $(SYMLINK) ../bin/make $@
  62   64  
  63   65  $(ROOTXPG4BIN)/make:
  64   66          -$(RM) $@; $(SYMLINK) ../../bin/make $@
  65   67  
  66   68  $(ROOTBIN)/dmake:
  67   69          -$(RM) $@; $(SYMLINK) ./make $@
  68   70  
  69   71  $(ROOTRULES) := FILEMODE = 0444
  70   72  
  71   73  $(ROOTRULES): $(ROOTSHLIB)/make
  72   74  
  73   75  $(ROOTSHLIB)/make: FRC
  74   76          $(INS.dir)
  75   77  
  76   78  $(ROOTSHLIB)/make/%: %.file
  77   79          $(INS.rename)
  78   80  
  79   81  lint:
  80   82  
  81   83  clean:
  82   84          $(RM) $(OBJS)
  83   85  
  84   86  FRC:
  85   87  
  86   88  include ../../Makefile.targ
  87   89  
  
    | 
      ↓ open down ↓ | 
    41 lines elided | 
    
      ↑ open up ↑ | 
  
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX