Print this page
lgen shouldn't be in file-locking tests
Reduce lint noise in file-locking tests
        
*** 23,38 ****
          acquire-lock
  
  C99MODE = -xc99=%all
  
  SRCS = $(PROGS:%=%.c) $(UTILS)
  PROGS32 = $(PROGS:%=%.32)
  PROGS64 = $(PROGS:%=%.64)
  
- runtests.32 :=  LDLIBS += -lgen
- runtests.64 :=  LDLIBS64 += -lgen
- 
  ROOTOPTDIR = $(ROOT)/opt/os-tests/tests/file-locking
  ROOTOPTPROGS = $(PROGS32:%=$(ROOTOPTDIR)/%) \
          $(PROGS64:%=$(ROOTOPTDIR)/%)
  
  all     :=      TARGET = all
--- 23,36 ----
          acquire-lock
  
  C99MODE = -xc99=%all
  
  SRCS = $(PROGS:%=%.c) $(UTILS)
+ LINTS = $(SRCS:%.c=%.ln)
  PROGS32 = $(PROGS:%=%.32)
  PROGS64 = $(PROGS:%=%.64)
  
  ROOTOPTDIR = $(ROOT)/opt/os-tests/tests/file-locking
  ROOTOPTPROGS = $(PROGS32:%=$(ROOTOPTDIR)/%) \
          $(PROGS64:%=$(ROOTOPTDIR)/%)
  
  all     :=      TARGET = all
*** 45,55 ****
  
  install: $(ROOTOPTPROGS)
  
  all: $(PROGS32) $(PROGS64)
  
! lint: lint_SRCS
  
  clean:
          -rm $(PROGS32) $(PROGS64)
  
  $(ROOTOPTPROGS): $(PROGS32) $(PROGS64) $(ROOTOPTDIR)
--- 43,53 ----
  
  install: $(ROOTOPTPROGS)
  
  all: $(PROGS32) $(PROGS64)
  
! lint: $(LINTS)
  
  clean:
          -rm $(PROGS32) $(PROGS64)
  
  $(ROOTOPTPROGS): $(PROGS32) $(PROGS64) $(ROOTOPTDIR)