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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libeti/form/Makefile.com
          +++ new/usr/src/lib/libeti/form/Makefile.com
↓ open down ↓ 71 lines elided ↑ open up ↑
  72   72  $(LINTLIB) :=   SRCS=$(SRCDIR)/$(LINTSRC)
  73   73  
  74   74  CPPFLAGS +=     -I../inc
  75   75  CFLAGS +=       $(CCVERBOSE)
  76   76  LDLIBS +=       -lcurses -lc
  77   77  
  78   78  CERRWARN +=     -_gcc=-Wno-parentheses
  79   79  CERRWARN +=     -_gcc=-Wno-uninitialized
  80   80  CERRWARN +=     -_gcc=-Wno-char-subscripts
  81   81  
       82 +COMPATLINKS=    /usr/ccs/lib/libform.so \
       83 +                /usr/ccs/lib/$(MACH64)/libform.so
       84 +
       85 +$(ROOT)/usr/ccs/lib/libform.so := COMPATLINKTARGET= ../../lib/libform.so.1
       86 +$(ROOT)/usr/ccs/lib/$(MACH64)/libform.so := \
       87 +        COMPATLINKTARGET= ../../../lib/$(MACH64)/libform.so.1
       88 +
  82   89  .KEEP_STATE:
  83   90  
  84   91  all: $(LIBS)
  85   92  
  86   93  lint: lintcheck
  87   94  
  88   95  # include library targets
  89   96  include ../../../Makefile.targ
  90   97  
  91   98  pics/%.o:       ../common/%.c
  92   99          $(COMPILE.c) -o $@ $<
  93  100          $(POST_PROCESS_O)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX