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


  41 pics/%.o:       $(CRTSRCS)/%.s
  42                 $(BUILD.s)
  43                 $(POST_PROCESS_S_O)
  44 
  45 pics/%.o:       %.c
  46                 $(COMPILE.c) -o $@ $<
  47                 $(POST_PROCESS_O)
  48 
  49 pics/%.o:       ../common/%.c
  50                 $(COMPILE.c) -o $@ $<
  51                 $(POST_PROCESS_O)
  52 
  53 pics/%.o:       $(VAR_AVLDIR)/%.c
  54                 $(COMPILE.c) -o $@ $<
  55                 $(POST_PROCESS_O)
  56 
  57 pics/%.o:       $(VAR_DTRDIR)/%.c
  58                 $(COMPILE.c) -o $@ $<
  59                 $(POST_PROCESS_O)
  60 
  61 pics/%.o:       $(SGSTOOLS)/common/%.c
  62                 $(COMPILE.c) -o $@ $<
  63                 $(POST_PROCESS_O)
  64 
  65 pics/%.o:       $(SRCBASE)/uts/$(PLAT)/krtld/%.c
  66                 $(COMPILE.c) -o $@ $<
  67                 $(POST_PROCESS_O)
  68 
  69 pics/elfcap.o:  $(ELFCAP)/elfcap.c
  70                 $(COMPILE.c) -o $@ $(ELFCAP)/elfcap.c
  71                 $(POST_PROCESS_O)
  72 
  73 $(RTLD):        pics $(PICS) $(CRTS)
  74                 $(LD_USE_PROTO)ld -o $@ -dy -G $(DYNFLAGS) $(CRTI) $(PICS) \
  75                     $(LDLIBS) $(CRTN)
  76                 $(POST_PROCESS_SO)
  77 
  78 delete:
  79                 -$(RM) $(RTLD)
  80 
  81 $(ROOTFS_LIBDIR)/%:     %
  82                 $(INS.file)
  83 
  84 $(ETCLIBDIR)/%:         %
  85                 $(INS.file)
  86 
  87 include         $(SRC)/lib/Makefile.targ
  88 include         $(SRC)/cmd/sgs/Makefile.targ
  89 
  90 # Derived source and header files (messaging).
  91 
  92 catalog:        $(BLTMESG)
  93 
  94 chkmsg :=       SGSMSGCHK=../common/rtld.chk.msg


  41 pics/%.o:       $(CRTSRCS)/%.s
  42                 $(BUILD.s)
  43                 $(POST_PROCESS_S_O)
  44 
  45 pics/%.o:       %.c
  46                 $(COMPILE.c) -o $@ $<
  47                 $(POST_PROCESS_O)
  48 
  49 pics/%.o:       ../common/%.c
  50                 $(COMPILE.c) -o $@ $<
  51                 $(POST_PROCESS_O)
  52 
  53 pics/%.o:       $(VAR_AVLDIR)/%.c
  54                 $(COMPILE.c) -o $@ $<
  55                 $(POST_PROCESS_O)
  56 
  57 pics/%.o:       $(VAR_DTRDIR)/%.c
  58                 $(COMPILE.c) -o $@ $<
  59                 $(POST_PROCESS_O)
  60 
  61 pics/%.o:       $(SGSCOMMON)/%.c
  62                 $(COMPILE.c) -o $@ $<
  63                 $(POST_PROCESS_O)
  64 
  65 pics/%.o:       $(SRC)/uts/$(PLAT)/krtld/%.c
  66                 $(COMPILE.c) -o $@ $<
  67                 $(POST_PROCESS_O)
  68 
  69 pics/elfcap.o:  $(ELFCAP)/elfcap.c
  70                 $(COMPILE.c) -o $@ $(ELFCAP)/elfcap.c
  71                 $(POST_PROCESS_O)
  72 
  73 $(RTLD):        pics $(PICS) $(CRTS)
  74                 $(LD) -o $@ -dy -G $(DYNFLAGS) $(CRTI) $(PICS) \
  75                     $(LDLIBS) $(CRTN)
  76                 $(POST_PROCESS_SO)
  77 
  78 delete:
  79                 -$(RM) $(RTLD)
  80 
  81 $(ROOTFS_LIBDIR)/%:     %
  82                 $(INS.file)
  83 
  84 $(ETCLIBDIR)/%:         %
  85                 $(INS.file)
  86 
  87 include         $(SRC)/lib/Makefile.targ
  88 include         $(SRC)/cmd/sgs/Makefile.targ
  89 
  90 # Derived source and header files (messaging).
  91 
  92 catalog:        $(BLTMESG)
  93 
  94 chkmsg :=       SGSMSGCHK=../common/rtld.chk.msg