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


  58         show.o \
  59         terminit.o \
  60         topitem.o \
  61         visible.o
  62 
  63 # include library definitions
  64 include ../../../Makefile.lib
  65 
  66 LIBS =          $(DYNLIB) $(LINTLIB)
  67 
  68 SRCDIR=         ../common
  69 
  70 $(LINTLIB) :=   SRCS=$(SRCDIR)/$(LINTSRC)
  71 
  72 CPPFLAGS +=     -I../inc
  73 CFLAGS +=       $(CCVERBOSE)
  74 LDLIBS +=       -lcurses -lc
  75 
  76 CERRWARN +=     -_gcc=-Wno-parentheses
  77 







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


  58         show.o \
  59         terminit.o \
  60         topitem.o \
  61         visible.o
  62 
  63 # include library definitions
  64 include ../../../Makefile.lib
  65 
  66 LIBS =          $(DYNLIB) $(LINTLIB)
  67 
  68 SRCDIR=         ../common
  69 
  70 $(LINTLIB) :=   SRCS=$(SRCDIR)/$(LINTSRC)
  71 
  72 CPPFLAGS +=     -I../inc
  73 CFLAGS +=       $(CCVERBOSE)
  74 LDLIBS +=       -lcurses -lc
  75 
  76 CERRWARN +=     -_gcc=-Wno-parentheses
  77 
  78 COMPATLINKS=    /usr/ccs/lib/libmenu.so \
  79                 /usr/ccs/lib/$(MACH64)/libmenu.so
  80 
  81 $(ROOT)/usr/ccs/lib/libmenu.so := COMPATLINKTARGET= ../../lib/libmenu.so.1
  82 $(ROOT)/usr/ccs/lib/$(MACH64)/libmenu.so:= \
  83         COMPATLINKTARGET=../../../lib/$(MACH64)/libmenu.so.1
  84 
  85 .KEEP_STATE:
  86 
  87 all: $(LIBS)
  88 
  89 lint: lintcheck
  90 
  91 # include library targets
  92 include ../../../Makefile.targ
  93 
  94 pics/%.o:       ../common/%.c
  95         $(COMPILE.c) -o $@ $<
  96         $(POST_PROCESS_O)