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.targ
          +++ new/usr/src/cmd/sgs/libelf/Makefile.targ
↓ open down ↓ 38 lines elided ↑ open up ↑
  39   39                  $(COMPILE.c) -DELF -o $@ $<
  40   40                  $(POST_PROCESS_O)
  41   41  
  42   42  objs/%.o \
  43   43  pics/%.o:       ../common/%.c
  44   44                  $(COMPILE.c) -o $@ $<
  45   45                  $(POST_PROCESS_O)
  46   46  
  47   47  all:            $(BLTSRCS) .WAIT $(LIBS) $(LIBLINKS)
  48   48  
  49      -install:        all .WAIT $(ROOTFS_LIBS) $(ROOTFS_LINKS) \
  50      -                .WAIT $(ROOTDEMODIRS) .WAIT $(ROOTDEMOFILES)
       49 +install:        all .WAIT $(ROOTLIBS) $(ROOTLINKS) \
       50 +                .WAIT $(ROOTDEMODIRS) .WAIT $(ROOTDEMOFILES) $(ROOTCOMPATLINKS)
  51   51  
  52   52  delete:
  53   53                  $(RM) $(DYNLIB)
  54   54  
  55   55  $(LIBLINKS):
  56   56                  $(RM) $(LIBLINKS)
  57   57                  $(SYMLINK) $(DYNLIB) $(LIBLINKS)
  58   58  
  59   59  CLOBBERFILES += $(LIBLINKS)
  60   60  
↓ open down ↓ 60 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX