# # 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_audioplayer.pot all: systarget include $(TOPDIR)/conf/Makefile.common systarget: lib plugins_application plugin_dirs: @(if [ -e $(PREFIX)/lib/plugins ]; then \ echo "$(PREFIX)/lib/plugins exists"; else \ mkdir $(PREFIX)/lib/plugins ; \ fi) @(if [ -e $(PREFIX)/lib/plugins/applications ]; then \ echo "$(PREFIX)/lib/plugins/applications"; else \ mkdir $(PREFIX)/lib/plugins/applications ; \ fi) plugins plugins_application: plugin_dirs lib @echo $(VIO)[MAKE]$(NOR) plugins/applications @$(MAKE) -C plugins_application all #test: lib # @echo $(VIO)[MAKE]$(NOR) $(SRCDIRS) # @$(MAKE) -C $(SRCDIRS) test #mac_test : lib # @echo $(VIO)[MAKE]$(NOR) $(SRCDIRS) # @$(MAKE) -C $(SRCDIRS) mac_test #debug: lib test # valgrind -v --tool=memcheck --leak-check=yes --num-callers=9900 ./src/test clean:: @$(MAKE) -C plugins_application clean