Print this page
lib: move compat links from targetdirs to proper makefiles

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/libelf/Makefile.com
          +++ new/usr/src/cmd/sgs/libelf/Makefile.com
↓ open down ↓ 43 lines elided ↑ open up ↑
  44   44  CLASSOBJS=      clscook64.o     newehdr64.o     newphdr64.o     update64.o \
  45   45                  checksum64.o
  46   46  BLTOBJS=        msg.o           xlate.o         xlate64.o
  47   47  MISCOBJS=       String.o        args.o          demangle.o      nlist.o \
  48   48                  nplist.o
  49   49  MISCOBJS64=     nlist.o
  50   50  
  51   51  OBJECTS=        $(BLTOBJS)  $(MACHOBJS)  $(COMOBJS)  $(CLASSOBJS) $(MISCOBJS)
  52   52  
  53   53  include $(SRC)/lib/Makefile.lib
       54 +include $(SRC)/lib/Makefile.rootfs
  54   55  
  55   56  # Use the value of M4 set in Makefile.master via Makefile.lib
  56   57  
  57   58  DEMOFILES=      Makefile        00README        acom.c          dcom.c \
  58   59                  pcom.c          tpcom.c         dispsyms.c
  59   60  DEMOFILESRCDIR= ../demo
  60   61  ROOTDEMODIRBASE=$(ROOT)/usr/demo/ELF
  61   62  ROOTDEMODIRS=   $(ROOTDEMODIRBASE)
  62   63  
  63   64  include $(SRC)/cmd/sgs/Makefile.com
↓ open down ↓ 23 lines elided ↑ open up ↑
  87   88  SGSMSG32=       ../common/libelf.32.msg
  88   89  SGSMSGTARG=     $(SGSMSGCOM)
  89   90  SGSMSGALL=      $(SGSMSGCOM) $(SGSMSG32)
  90   91  
  91   92  SGSMSGFLAGS1=   $(SGSMSGFLAGS) -m $(BLTMESG)
  92   93  SGSMSGFLAGS2=   $(SGSMSGFLAGS) -h $(BLTDEFS) -d $(BLTDATA) -n libelf_msg
  93   94  
  94   95  BLTSRCS=        $(BLTOBJS:%.o=%.c)
  95   96  LIBSRCS=        $(COMOBJS:%.o=../common/%.c)  $(MISCOBJS:%.o=../misc/%.c) \
  96   97                  $(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   98  
 105   99  LIBS =          $(DYNLIB)
 106  100  
 107  101  CLEANFILES +=   $(BLTSRCS) $(BLTFILES)
 108  102  
 109  103  .PARALLEL:      $(LIBS)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX