# 
# This is a basic makefile that uses a flat directory structure. It could be
# expanded to support multiple subdirectories and/or libraries
#

#.SILENT: all lib test steril clean tar dist link .DEFAULT
TOPDIR=.

ROOTDIR=true
SUBLIBFILES=$(LIBFILES_$(PWD))

TRANSDIR=./share/locale/
TRANSTEMPLATE=iwear_input_x11.pot

all:	systarget

include $(TOPDIR)/conf/Makefile.common

systarget: lib

test:	lib test-input-x11
#	@echo $(VIO)[MAKE]$(NOR) $(SRCDIRS)
#	@$(MAKE) -C $(SRCDIRS) test

test-input-x11: lib
	@echo $(VIO)[MAKE]$(NOR) test-input-x11
	@$(MAKE) -C src test

debug-input: lib
	valgrind -v --tool=memcheck --leak-check=yes --num-callers=9900 ./src/test