1 # Support routines for shell scripts
4 UCW_SHELL_PROGS=$(addprefix $(o)/ucw/shell/,config logger logoutput)
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)
10 $(o)/ucw/shell/logoutput: $(o)/ucw/shell/logoutput.o $(LIBUCW)
12 TESTS+=$(addprefix $(o)/ucw/shell/,config.test)
14 $(o)/ucw/shell/config.test: $(o)/ucw/shell/config
16 INSTALL_TARGETS+=install-ucw-shell
18 install -d -m 755 $(DESTDIR)$(INSTALL_BIN_DIR)
19 install -m 755 $(UCW_SHELL_PROGS) $(DESTDIR)$(INSTALL_BIN_DIR)
21 .PHONY: install-ucw-shell