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


  26 LIBRARY=        libavl.a
  27 VERS=           .1
  28 OBJECTS=        avl.o
  29 
  30 include ../../Makefile.lib
  31 include ../../Makefile.rootfs
  32 
  33 LIBS =          $(DYNLIB) $(LINTLIB)
  34 SRCS =          $(COMDIR)/avl.c
  35 
  36 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  37 
  38 COMDIR =        $(SRC)/common/avl
  39 
  40 LDLIBS +=       -lc
  41 CFLAGS +=       $(CCVERBOSE)
  42 
  43 .KEEP_STATE:
  44 
  45 all : $(LIBS)


  46 
  47 lint : lintcheck
  48 
  49 pics/%.o:        $(COMDIR)/%.c
  50         $(COMPILE.c) -o $@ $<
  51         $(POST_PROCESS_O)
  52 
  53 include ../../Makefile.targ


  26 LIBRARY=        libavl.a
  27 VERS=           .1
  28 OBJECTS=        avl.o
  29 
  30 include ../../Makefile.lib
  31 include ../../Makefile.rootfs
  32 
  33 LIBS =          $(DYNLIB) $(LINTLIB)
  34 SRCS =          $(COMDIR)/avl.c
  35 
  36 $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  37 
  38 COMDIR =        $(SRC)/common/avl
  39 
  40 LDLIBS +=       -lc
  41 CFLAGS +=       $(CCVERBOSE)
  42 
  43 .KEEP_STATE:
  44 
  45 all : $(LIBS)
  46 
  47 install : $(ROOTCOMPATLINKS)
  48 
  49 lint : lintcheck
  50 
  51 pics/%.o:        $(COMDIR)/%.c
  52         $(COMPILE.c) -o $@ $<
  53         $(POST_PROCESS_O)
  54 
  55 include ../../Makefile.targ