./listener.cpp \
./pidfile.cpp
-STGLIBS = -lstg_logger \
- -lstg_common \
- -lstg_crypto \
- -lscript_executer \
- -lconffiles
+STGLIBS = -lstglogger \
+ -lstgcommon \
+ -lstgcrypto \
+ -lstgscriptexecuter \
+ -lstgconffiles
LIBS += $(LIB_THREAD)
install: install-bin install-data
install-bin:
- mkdir -m $(BIN_MODE) -p $(PREFIX)/usr/sbin
install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/sbin/$(PROG)
$(MAKE) -C $(DIR_LIBSRC) install
install-data:
# Install etc
- mkdir -m $(DATA_MODE) -p $(PREFIX)/etc/stargazer
+ mkdir -m $(DIR_MODE) -p $(PREFIX)/etc/stargazer
install -m $(DATA_MODE) -o $(OWNER) ./rscriptd.conf $(PREFIX)/etc/stargazer/rscriptd.conf
uninstall: uninstall-bin uninstall-data