1 # Support routines for shell scripts
4 UCW_SHELL_PROGS=$(addprefix $(o)/ucw/shell/,config logger)
5 PROGS+=$(UCW_SHELL_PROGS)
6 DATAFILES+=$(o)/ucw/shell/libucw.sh
8 $(o)/ucw/shell/config: $(o)/ucw/shell/config.o $(LIBUCW)
9 $(o)/ucw/shell/logger: $(o)/ucw/shell/logger.o $(LIBUCW)
11 TESTS+=$(addprefix $(o)/ucw/shell/,config.test)
13 $(o)/ucw/shell/config.test: $(o)/ucw/shell/config
15 INSTALL_TARGETS+=install-ucw-shell
17 install -d -m 755 $(DESTDIR)$(INSTALL_BIN_DIR)
18 install -m 755 $(UCW_SHELL_PROGS) $(DESTDIR)$(INSTALL_BIN_DIR)
20 .PHONY: install-ucw-shell