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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libresolv/Makefile
          +++ new/usr/src/lib/libresolv/Makefile
↓ open down ↓ 58 lines elided ↑ open up ↑
  59   59  CFLAGS += $(CCVERBOSE)
  60   60  
  61   61  CERRWARN += -_gcc=-Wno-parentheses
  62   62  CERRWARN += -_gcc=-Wno-uninitialized
  63   63  
  64   64  # not linted
  65   65  SMATCH=off
  66   66  
  67   67  ROOTDYNLIBS=    $(DYNLIB:%=$(ROOTLIBDIR)/%)
  68   68  
       69 +COMPATLINKS=    /usr/lib/$(DYNLIB)
       70 +
  69   71  .KEEP_STATE:
  70   72  
  71   73  LIBS = $(DYNLIB)
  72   74  
  73   75  all: $(LIBS)
  74   76  
  75      -install: all $(ROOTDYNLIBS)
       77 +install: all $(ROOTDYNLIBS) $(ROOTCOMPATLINKS)
  76   78  
  77   79  lint: lintcheck
  78   80  
  79   81  # include library targets
  80   82  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX