X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=ucw%2Futils%2FMakefile;h=1ba0449a2f027ca884b9ee9f5b66b39f6f40dc80;hb=78a39d6019e14a576bd58a26f0c161980ae51daf;hp=3227bb0a7401a302a33d63ed77c6f784aa14aab8;hpb=e938d9e3bf5c98b502178ee26d81a410890fb725;p=libucw.git diff --git a/ucw/utils/Makefile b/ucw/utils/Makefile index 3227bb0a..1ba0449a 100644 --- a/ucw/utils/Makefile +++ b/ucw/utils/Makefile @@ -1,15 +1,20 @@ # 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-ucw-utils: