Print this page
8609 want a position independent CRT

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/nice/Makefile
          +++ new/usr/src/cmd/nice/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  # If applicable, add the following below this CDDL HEADER, with the
  17   17  # fields enclosed by brackets "[]" replaced with your own identifying
  18   18  # information: Portions Copyright [yyyy] [name of copyright owner]
  19   19  #
  20   20  # CDDL HEADER END
  21   21  #
  22   22  #
  23   23  # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26      -# ident "%Z%%M% %I%     %E% SMI"
  27      -#
  28   26  
  29   27  PROG= nice
  30   28  XPG4PROG= nice
  31   29  OBJS= nice.o
  32   30  
  33   31  include ../Makefile.cmd
  34   32  CFLAGS += $(CCVERBOSE)
  35   33  
  36   34  clean $(XPG4) := OBJS += values-xpg4.o
  37   35  
  38   36  .KEEP_STATE:
  39   37  
  40   38  all: $(PROG) $(XPG4)
  41   39  
  42   40  $(PROG) $(XPG4): $$(OBJS)
  43   41          $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  44   42          $(POST_PROCESS)
  45   43  
  46   44  install: all $(ROOTPROG) $(ROOTXPG4PROG)
  47   45  
  48      -values-xpg4.o: ../../lib/common/common/values-xpg4.c
  49      -        $(COMPILE.c) -o $@ ../../lib/common/common/values-xpg4.c
       46 +values-xpg4.o: ../../lib/crt/common/values-xpg4.c
       47 +        $(COMPILE.c) -o $@ ../../lib/crt/common/values-xpg4.c
  50   48  
  51   49  clean:
  52   50          $(RM) $(OBJS)
  53   51  
  54   52  lint:   lint_PROG
  55   53  
  56   54  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX