Updated to support brand new External Server Interface
This commit is contained in:
parent
ee57e48d53
commit
4ea54ae61a
5 changed files with 129 additions and 94 deletions
15
Makefile
15
Makefile
|
@ -2,11 +2,8 @@ BUILD := $(shell date -u +%Y%m%d-%H%M%S)
|
|||
OS := $(shell uname -s)
|
||||
|
||||
PREFIX = $(DESTDIR)/opt/CronosAgent
|
||||
TOOLKIT = ../..
|
||||
|
||||
DIRECTORIES = \
|
||||
$(TOOLKIT)/Common \
|
||||
$(TOOLKIT)/KAIROS
|
||||
DIRECTORIES =
|
||||
|
||||
ifeq ($(OS), Linux)
|
||||
LIBRARIES += \
|
||||
|
@ -46,14 +43,14 @@ install:
|
|||
install -D -d $(PREFIX)
|
||||
install -o root -g root cronosagent $(PREFIX)
|
||||
install -o root -g root cronosagent.sh $(PREFIX)
|
||||
install -o root -g root cronosagent-init $(PREFIX)
|
||||
install -m 644 -o root -g root Main/brandmeister-monit $(PREFIX)
|
||||
install -m 644 -o root -g root Main/brandmeister.plist $(PREFIX)
|
||||
install -m 644 -o root -g root Main/brandmeister.service $(PREFIX)
|
||||
# install -o root -g root cronosagent-init $(PREFIX)
|
||||
# install -m 644 -o root -g root cronosagent-monit $(PREFIX)
|
||||
# install -m 644 -o root -g root cronosagent.plist $(PREFIX)
|
||||
install -m 644 -o root -g root cronosagent.service $(PREFIX)
|
||||
|
||||
clean:
|
||||
rm -f $(PREREQUISITES) $(OBJECTS) cronosagent
|
||||
rm -f *.d $(TOOLKIT)/*/*.d
|
||||
rm -f *.d
|
||||
|
||||
version:
|
||||
echo "#define VERSION $(shell svn info | grep -E "^Revision:" | grep -o -E "[0-9]+")" > Version.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue