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


  35                 getehdr.o       getident.o      getphdr.o       getscn.o \
  36                 getshdr.o \
  37                 getphnum.o      getshnum.o      getshstrndx.o \
  38                 hash.o          input.o         kind.o \
  39                 ndxscn.o        newdata.o       newehdr.o       newphdr.o \
  40                 newscn.o        next.o          nextscn.o       output.o \
  41                 rand.o          rawdata.o       rawfile.o       rawput.o \
  42                 strptr.o        update.o        error.o         gelf.o \
  43                 clscook.o       checksum.o
  44 CLASSOBJS=      clscook64.o     newehdr64.o     newphdr64.o     update64.o \
  45                 checksum64.o
  46 BLTOBJS=        msg.o           xlate.o         xlate64.o
  47 MISCOBJS=       String.o        args.o          demangle.o      nlist.o \
  48                 nplist.o
  49 MISCOBJS64=     nlist.o
  50 
  51 OBJECTS=        $(BLTOBJS)  $(MACHOBJS)  $(COMOBJS)  $(CLASSOBJS) $(MISCOBJS)
  52 
  53 include $(SRC)/lib/Makefile.lib
  54 


  55 # Use the value of M4 set in Makefile.master via Makefile.lib
  56 
  57 DEMOFILES=      Makefile        00README        acom.c          dcom.c \
  58                 pcom.c          tpcom.c         dispsyms.c
  59 DEMOFILESRCDIR= ../demo
  60 ROOTDEMODIRBASE=$(ROOT)/usr/demo/ELF
  61 ROOTDEMODIRS=   $(ROOTDEMODIRBASE)
  62 
  63 include $(SRC)/cmd/sgs/Makefile.com
  64 
  65 MAPFILES =      ../common/mapfile-vers
  66 
  67 DYNFLAGS +=     $(VERSREF)
  68 LDLIBS +=       $(CONVLIBDIR) $(CONV_LIB) -lc
  69 
  70 CERRWARN +=     -_gcc=-Wno-parentheses
  71 CERRWARN +=     -_gcc=-Wno-uninitialized
  72 
  73 SMOFF += indenting
  74 
  75 BUILD.AR=       $(RM) $@ ; \
  76                 $(AR) q $@ `$(LORDER) $(OBJECTS:%=$(DIR)/%)| $(TSORT)`
  77                 $(POST_PROCESS_A)
  78 
  79 
  80 BLTDEFS=        msg.h
  81 BLTDATA=        msg.c
  82 BLTMESG=        $(SGSMSGDIR)/libelf
  83 
  84 BLTFILES=       $(BLTDEFS) $(BLTDATA) $(BLTMESG)
  85 
  86 SGSMSGCOM=      ../common/libelf.msg
  87 SGSMSG32=       ../common/libelf.32.msg
  88 SGSMSGTARG=     $(SGSMSGCOM)
  89 SGSMSGALL=      $(SGSMSGCOM) $(SGSMSG32)
  90 
  91 SGSMSGFLAGS1=   $(SGSMSGFLAGS) -m $(BLTMESG)
  92 SGSMSGFLAGS2=   $(SGSMSGFLAGS) -h $(BLTDEFS) -d $(BLTDATA) -n libelf_msg
  93 
  94 BLTSRCS=        $(BLTOBJS:%.o=%.c)
  95 LIBSRCS=        $(COMOBJS:%.o=../common/%.c)  $(MISCOBJS:%.o=../misc/%.c) \
  96                 $(MACHOBJS:%.o=%.c)  $(BLTSRCS)
  97 
  98 ROOTFS_DYNLIB=          $(DYNLIB:%=$(ROOTFS_LIBDIR)/%)
  99 
 100 ROOTFS_DYNLIB64=        $(DYNLIB:%=$(ROOTFS_LIBDIR64)/%)
 101 
 102 $(ROOTFS_DYNLIB) :=     FILEMODE= 755
 103 $(ROOTFS_DYNLIB64) :=   FILEMODE= 755
 104 
 105 LIBS =          $(DYNLIB)
 106 
 107 CLEANFILES +=   $(BLTSRCS) $(BLTFILES)
 108 
 109 .PARALLEL:      $(LIBS)


  35                 getehdr.o       getident.o      getphdr.o       getscn.o \
  36                 getshdr.o \
  37                 getphnum.o      getshnum.o      getshstrndx.o \
  38                 hash.o          input.o         kind.o \
  39                 ndxscn.o        newdata.o       newehdr.o       newphdr.o \
  40                 newscn.o        next.o          nextscn.o       output.o \
  41                 rand.o          rawdata.o       rawfile.o       rawput.o \
  42                 strptr.o        update.o        error.o         gelf.o \
  43                 clscook.o       checksum.o
  44 CLASSOBJS=      clscook64.o     newehdr64.o     newphdr64.o     update64.o \
  45                 checksum64.o
  46 BLTOBJS=        msg.o           xlate.o         xlate64.o
  47 MISCOBJS=       String.o        args.o          demangle.o      nlist.o \
  48                 nplist.o
  49 MISCOBJS64=     nlist.o
  50 
  51 OBJECTS=        $(BLTOBJS)  $(MACHOBJS)  $(COMOBJS)  $(CLASSOBJS) $(MISCOBJS)
  52 
  53 include $(SRC)/lib/Makefile.lib
  54 
  55 SRCDIR= $(SRC)/cmd/sgs/libelf
  56 
  57 # Use the value of M4 set in Makefile.master via Makefile.lib
  58 
  59 DEMOFILES=      Makefile        00README        acom.c          dcom.c \
  60                 pcom.c          tpcom.c         dispsyms.c
  61 DEMOFILESRCDIR= $(SRCDIR)/demo
  62 ROOTDEMODIRBASE=$(ROOT)/usr/demo/ELF
  63 ROOTDEMODIRS=   $(ROOTDEMODIRBASE)
  64 
  65 include $(SRC)/cmd/sgs/Makefile.com
  66 
  67 MAPFILES =      $(SRCDIR)/common/mapfile-vers
  68 
  69 DYNFLAGS +=     $(VERSREF)
  70 LDLIBS +=       $(CONVLIBDIR) -lconv -lc
  71 
  72 CERRWARN +=     -_gcc=-Wno-parentheses
  73 CERRWARN +=     -_gcc=-Wno-uninitialized
  74 
  75 SMOFF += indenting
  76 
  77 BUILD.AR=       $(RM) $@ ; \
  78                 $(AR) q $@ `$(LORDER) $(OBJECTS:%=$(DIR)/%)| $(TSORT)`
  79                 $(POST_PROCESS_A)
  80 
  81 
  82 BLTDEFS=        msg.h
  83 BLTDATA=        msg.c
  84 BLTMESG=        $(SGSMSGDIR)/libelf
  85 
  86 BLTFILES=       $(BLTDEFS) $(BLTDATA) $(BLTMESG)
  87 
  88 SGSMSGCOM=      $(SRCDIR)/common/libelf.msg
  89 SGSMSG32=       $(SRCDIR)/common/libelf.32.msg
  90 SGSMSGTARG=     $(SGSMSGCOM)
  91 SGSMSGALL=      $(SGSMSGCOM) $(SGSMSG32)
  92 
  93 SGSMSGFLAGS1=   $(SGSMSGFLAGS) -m $(BLTMESG)
  94 SGSMSGFLAGS2=   $(SGSMSGFLAGS) -h $(BLTDEFS) -d $(BLTDATA) -n libelf_msg
  95 
  96 BLTSRCS=        $(BLTOBJS:%.o=%.c)
  97 LIBSRCS=        $(COMOBJS:%.o=$(SRCDIR)/common/%.c)  $(MISCOBJS:%.o=$(SRCDIR)/misc/%.c) \
  98                 $(MACHOBJS:%.o=%.c)  $(BLTSRCS)
  99 
 100 ROOTFS_DYNLIB=          $(DYNLIB:%=$(ROOTFS_LIBDIR)/%)
 101 
 102 ROOTFS_DYNLIB64=        $(DYNLIB:%=$(ROOTFS_LIBDIR64)/%)
 103 
 104 $(ROOTFS_DYNLIB) :=     FILEMODE= 755
 105 $(ROOTFS_DYNLIB64) :=   FILEMODE= 755
 106 
 107 LIBS =          $(DYNLIB)
 108 
 109 CLEANFILES +=   $(BLTSRCS) $(BLTFILES)
 110 
 111 .PARALLEL:      $(LIBS)