]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/sorter/Makefile
Just fixed a comment in libimages.
[libucw.git] / ucw / sorter / Makefile
index a3e538e185e3a999a4e978bd1763c60164965fb1..7430c03214a49748ff4f15652f151447d2d04250 100644 (file)
@@ -3,11 +3,19 @@
 DIRS+=ucw/sorter
 
 LIBUCW_MODS+=$(addprefix sorter/, config govern sbuck array)
-LIBUCW_INCLUDES+=$(addprefix sorter/, array.h common.h s-fixint.h \
+LIBUCW_SORTER_INCLUDES=$(addprefix sorter/, array.h array-simple.h common.h s-fixint.h \
        s-internal.h s-multiway.h s-radix.h s-twoway.h sorter.h)
+LIBUCW_INCLUDES+=$(LIBUCW_SORTER_INCLUDES)
 
 ifdef CONFIG_DEBUG_TOOLS
 PROGS+=$(o)/ucw/sorter/sort-test
 endif
 
 $(o)/ucw/sorter/sort-test: $(o)/ucw/sorter/sort-test.o $(LIBUCW)
+
+INSTALL_TARGETS+=install-ucw-sorter
+install-ucw-sorter:
+       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