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


  62         ty_regexp.o \
  63         utility.o
  64 
  65 # include library definitions
  66 include ../../../Makefile.lib
  67 
  68 LIBS =          $(DYNLIB) $(LINTLIB)
  69 
  70 SRCDIR=         ../common
  71 
  72 $(LINTLIB) :=   SRCS=$(SRCDIR)/$(LINTSRC)
  73 
  74 CPPFLAGS +=     -I../inc
  75 CFLAGS +=       $(CCVERBOSE)
  76 LDLIBS +=       -lcurses -lc
  77 
  78 CERRWARN +=     -_gcc=-Wno-parentheses
  79 CERRWARN +=     -_gcc=-Wno-uninitialized
  80 CERRWARN +=     -_gcc=-Wno-char-subscripts
  81 







  82 .KEEP_STATE:
  83 
  84 all: $(LIBS)
  85 
  86 lint: lintcheck
  87 
  88 # include library targets
  89 include ../../../Makefile.targ
  90 
  91 pics/%.o:       ../common/%.c
  92         $(COMPILE.c) -o $@ $<
  93         $(POST_PROCESS_O)


  62         ty_regexp.o \
  63         utility.o
  64 
  65 # include library definitions
  66 include ../../../Makefile.lib
  67 
  68 LIBS =          $(DYNLIB) $(LINTLIB)
  69 
  70 SRCDIR=         ../common
  71 
  72 $(LINTLIB) :=   SRCS=$(SRCDIR)/$(LINTSRC)
  73 
  74 CPPFLAGS +=     -I../inc
  75 CFLAGS +=       $(CCVERBOSE)
  76 LDLIBS +=       -lcurses -lc
  77 
  78 CERRWARN +=     -_gcc=-Wno-parentheses
  79 CERRWARN +=     -_gcc=-Wno-uninitialized
  80 CERRWARN +=     -_gcc=-Wno-char-subscripts
  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 
  89 .KEEP_STATE:
  90 
  91 all: $(LIBS)
  92 
  93 lint: lintcheck
  94 
  95 # include library targets
  96 include ../../../Makefile.targ
  97 
  98 pics/%.o:       ../common/%.c
  99         $(COMPILE.c) -o $@ $<
 100         $(POST_PROCESS_O)