Print this page
11461 should use a native link-editor during the build
11463 SUNWonld has passed its use-by date
11464 cmd/sgs/tools should contain tools, not common code
11465 sgsmsg should be built with the rest of the build tools

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/nm/sparc/Makefile
          +++ new/usr/src/cmd/sgs/nm/sparc/Makefile
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  
  36   36  COMOBJS=        nm.o
  37   37  
  38   38  OBJS=           $(COMOBJS)
  39   39  XPG4OBJS=       objs.xpg4/nm.o
  40   40  
  41   41  SRCS=           $(COMOBJS:%.o=../common/%.c)
  42   42  
  43   43  LLDFLAGS=       '-R$$ORIGIN/../../lib'
  44   44  INCLIST=        -I../../include -I../../include/sparc \
  45      -                -I$(SRCBASE)/uts/$(ARCH)/sys
       45 +                -I$(SRC)/uts/$(ARCH)/sys
  46   46  DEFLIST=        -DTARGET=SPARC -DSPARC=1 -D$(ARFORMAT) -DELF
  47   47  CPPFLAGS=       $(INCLIST) $(DEFLIST) $(CPPFLAGS.master)  -I$(ELFCAP)
  48      -LDLIBS +=       $(CONVLIBDIR) $(CONV_LIB) $(ELFLIBDIR) -lelf
       48 +LDLIBS +=       $(CONVLIBDIR) -lconv $(ELFLIBDIR) -lelf
  49   49  objs.xpg4/%.o := CPPFLAGS += -DXPG4
  50   50  
  51   51  
  52   52  # Building SUNWonld results in a call to the `package' target.  Requirements
  53   53  # needed to run this application on older releases are established:
  54   54  #       i18n support requires libintl.so.1 prior to 2.6
  55   55  
  56   56  package :=      LDLIBS += /usr/lib/libintl.so.1
  57   57  
  58   58  
↓ open down ↓ 31 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX