]> mj.ucw.cz Git - libucw.git/blob - ucw/sorter/Makefile
tableprinter: return value of table_set_col_opt changed to int
[libucw.git] / ucw / sorter / Makefile
1 # Makefile for the UCW Sorter (c) 2007 Martin Mares <mj@ucw.cz>
2
3 DIRS+=ucw/sorter
4
5 LIBUCW_MODS+=$(addprefix sorter/, config govern sbuck array)
6 LIBUCW_SORTER_INCLUDES=$(addprefix sorter/, array.h array-simple.h common.h s-fixint.h \
7         s-internal.h s-multiway.h s-radix.h s-twoway.h sorter.h)
8 LIBUCW_INCLUDES+=$(LIBUCW_SORTER_INCLUDES)
9
10 ifdef CONFIG_UCW_DEBUG_TOOLS
11 PROGS+=$(o)/ucw/sorter/sort-test
12 include $(s)/ucw/sorter/debug/Makefile
13 endif
14
15 TESTS+=$(o)/ucw/sorter/sort-test.test
16
17 $(o)/ucw/sorter/sort-test.test: $(o)/ucw/sorter/sort-test
18 $(o)/ucw/sorter/sort-test: $(o)/ucw/sorter/sort-test.o $(LIBUCW)
19
20 INSTALL_API_TARGETS+=install-ucw-sorter-api
21 install-ucw-sorter-api:
22         install -d -m 755 $(DESTDIR)$(INSTALL_INCLUDE_DIR)/ucw/sorter
23         install -m 644 $(addprefix run/include/ucw/,$(LIBUCW_SORTER_INCLUDES)) $(DESTDIR)$(INSTALL_INCLUDE_DIR)/ucw/sorter/
24 .PHONY: install-ucw-sorter-api