X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Futils%2FMakefile;h=b0068726712184007c56da4ae1071062fcb566e8;hb=ecf11d9c9949a6e9323a4f18c2418532d7f77b8f;hp=aa9f96a0d7475f0f90df884b0962dad3a3a0efad;hpb=28035f2edb4fab5a145a8e4a0274e1109e797635;p=libucw.git diff --git a/ucw/utils/Makefile b/ucw/utils/Makefile index aa9f96a0..b0068726 100644 --- a/ucw/utils/Makefile +++ b/ucw/utils/Makefile @@ -1,11 +1,24 @@ # Makefile for the UCW utilities (c) 2008 Michal Vaner -PROGS+=$(addprefix $(o)/ucw/utils/,basecode daemon-helper rotate-log urltool) +UCW_UTILS=$(addprefix $(o)/ucw/utils/,basecode daemon-control rotate-log urltool) +PROGS+=$(UCW_UTILS) DIRS+=ucw/utils +ifdef CONFIG_UCW_OBSOLETE_DAEMON_HELPER +PROGS+=$(o)/ucw/utils/daemon-helper +endif + $(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/daemon-control: $(o)/ucw/utils/daemon-control.o $(LIBUCW) $(o)/ucw/utils/urltool: $(o)/ucw/utils/urltool.o $(LIBUCW) TESTS+=$(o)/ucw/utils/basecode.test $(o)/ucw/utils/basecode.test: $(o)/ucw/utils/basecode + +INSTALL_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