X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fsorter%2FMakefile;h=970ff8edc57e54d477c5f7b57ec3576833c9ae75;hb=959566090f98dd31eaa67d3d5959b641e5fe902b;hp=7430c03214a49748ff4f15652f151447d2d04250;hpb=a4fe009d3366b0a3e119713b0ecc7fc0070efdfa;p=libucw.git diff --git a/ucw/sorter/Makefile b/ucw/sorter/Makefile index 7430c032..970ff8ed 100644 --- a/ucw/sorter/Makefile +++ b/ucw/sorter/Makefile @@ -7,15 +7,18 @@ LIBUCW_SORTER_INCLUDES=$(addprefix sorter/, array.h array-simple.h common.h s-fi s-internal.h s-multiway.h s-radix.h s-twoway.h sorter.h) LIBUCW_INCLUDES+=$(LIBUCW_SORTER_INCLUDES) -ifdef CONFIG_DEBUG_TOOLS +ifdef CONFIG_UCW_DEBUG_TOOLS PROGS+=$(o)/ucw/sorter/sort-test +include $(s)/ucw/sorter/debug/Makefile endif +TESTS+=$(o)/ucw/sorter/sort-test.test + +$(o)/ucw/sorter/sort-test.test: $(o)/ucw/sorter/sort-test $(o)/ucw/sorter/sort-test: $(o)/ucw/sorter/sort-test.o $(LIBUCW) -INSTALL_TARGETS+=install-ucw-sorter -install-ucw-sorter: +INSTALL_API_TARGETS+=install-ucw-sorter-api +install-ucw-sorter-api: install -d -m 755 $(DESTDIR)$(INSTALL_INCLUDE_DIR)/ucw/sorter install -m 644 $(addprefix run/include/ucw/,$(LIBUCW_SORTER_INCLUDES)) $(DESTDIR)$(INSTALL_INCLUDE_DIR)/ucw/sorter/ - -.PHONY: install-ucw-sorter +.PHONY: install-ucw-sorter-api