X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Futils%2FMakefile;h=2a8f2b9928973bd0f0c1df028229ebeaec92e956;hb=d306a98a767cebe06bb927af10888157c3e62ab9;hp=3227bb0a7401a302a33d63ed77c6f784aa14aab8;hpb=86b74f27a95b617008575a9088e4c675e9f956d6;p=libucw.git diff --git a/ucw/utils/Makefile b/ucw/utils/Makefile index 3227bb0a..2a8f2b99 100644 --- a/ucw/utils/Makefile +++ b/ucw/utils/Makefile @@ -1,19 +1,23 @@ # Makefile for the UCW utilities (c) 2008 Michal Vaner -UCW_UTILS=$(addprefix $(o)/ucw/utils/,basecode daemon-helper rotate-log urltool) +UCW_UTILS=$(addprefix $(o)/ucw/utils/ucw-,basecode daemon-control rotate-log urltool) PROGS+=$(UCW_UTILS) DIRS+=ucw/utils -$(o)/ucw/utils/basecode: $(o)/ucw/utils/basecode.o $(LIBUCW) -$(o)/ucw/utils/daemon-helper: $(o)/ucw/utils/daemon-helper.o $(LIBUCW) -$(o)/ucw/utils/urltool: $(o)/ucw/utils/urltool.o $(LIBUCW) +ifdef CONFIG_UCW_OBSOLETE_DAEMON_HELPER +PROGS+=$(o)/ucw/utils/ucw-daemon-helper +endif + +$(o)/ucw/utils/ucw-basecode: $(o)/ucw/utils/ucw-basecode.o $(LIBUCW) +$(o)/ucw/utils/ucw-daemon-helper: $(o)/ucw/utils/ucw-daemon-helper.o $(LIBUCW) +$(o)/ucw/utils/ucw-daemon-control: $(o)/ucw/utils/ucw-daemon-control.o $(LIBUCW) +$(o)/ucw/utils/ucw-urltool: $(o)/ucw/utils/ucw-urltool.o $(LIBUCW) TESTS+=$(o)/ucw/utils/basecode.test -$(o)/ucw/utils/basecode.test: $(o)/ucw/utils/basecode +$(o)/ucw/utils/basecode.test: $(o)/ucw/utils/ucw-basecode -INSTALL_TARGETS+=install-ucw-utils +INSTALL_UTILS_TARGETS+=install-ucw-utils install-ucw-utils: install -d -m 755 $(DESTDIR)$(INSTALL_BIN_DIR) install -m 755 $(UCW_UTILS) $(DESTDIR)$(INSTALL_BIN_DIR) - .PHONY: install-ucw-utils