1 # Support routines for shell scripts
4 UCW_SHELL_PROGS=$(addprefix $(o)/ucw/shell/ucw-,config logger logoutput)
5 PROGS+=$(UCW_SHELL_PROGS)
6 DATAFILES+=$(o)/ucw/shell/libucw.sh
8 $(o)/ucw/shell/ucw-config: $(o)/ucw/shell/ucw-config.o $(LIBUCW)
9 $(o)/ucw/shell/ucw-logger: $(o)/ucw/shell/ucw-logger.o $(LIBUCW)
10 $(o)/ucw/shell/ucw-logoutput: $(o)/ucw/shell/ucw-logoutput.o $(LIBUCW)
12 TESTS+=$(addprefix $(o)/ucw/shell/,config.test)
14 $(o)/ucw/shell/config.test: $(o)/ucw/shell/ucw-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)
20 .PHONY: install-ucw-shell