1 # Makefile for the UCW utilities (c) 2008 Michal Vaner <vorner@ucw.cz>
3 UCW_UTILS=$(addprefix $(o)/ucw/utils/,basecode daemon-helper rotate-log urltool)
7 $(o)/ucw/utils/basecode: $(o)/ucw/utils/basecode.o $(LIBUCW)
8 $(o)/ucw/utils/daemon-helper: $(o)/ucw/utils/daemon-helper.o $(LIBUCW)
9 $(o)/ucw/utils/urltool: $(o)/ucw/utils/urltool.o $(LIBUCW)
11 TESTS+=$(o)/ucw/utils/basecode.test
12 $(o)/ucw/utils/basecode.test: $(o)/ucw/utils/basecode
14 INSTALL_TARGETS+=install-ucw-utils
16 install -d -m 755 $(DESTDIR)$(INSTALL_BIN_DIR)
17 install -m 755 $(UCW_UTILS) $(DESTDIR)$(INSTALL_BIN_DIR)
19 .PHONY: install-ucw-utils