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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/lex/Makefile.targ
          +++ new/usr/src/cmd/sgs/lex/Makefile.targ
↓ open down ↓ 75 lines elided ↑ open up ↑
  76   76          $(COMPILE.c) -o $@ $<
  77   77          $(POST_PROCESS_O)
  78   78  
  79   79  objs/%.o pics/%.o:      ../common/%.c
  80   80          $(COMPILE.c) -o $@ $<
  81   81          $(POST_PROCESS_O)
  82   82  
  83   83  $(DYNLINKLIBDIR)/%: %$(VERS)
  84   84          $(INS.liblink)
  85   85  
       86 +$(ROOTCOMPATLINKS):
       87 +        $(RM) $@; $(SYMLINK) $(COMPATLINKTARGET) $@
       88 +
  86   89  clean:
  87   90          $(RM) $(POBJS) $(OBJS) $(PICS) $(CLEANFILES)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX