-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile
31 lines (26 loc) · 851 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Makefile for libosdp
all:
(cd src-lib; make all; cd ..)
(cd src-485; make all; cd ..)
(cd src-tls; make all; cd ..)
(cd src-ui; make all; cd ..)
clean:
(cd src-lib; make clean; cd ..)
(cd src-485; make clean; cd ..)
(cd src-tls; make clean; cd ..)
(cd src-ui; make clean; cd ..)
rm -rf release-libosdp.tgz opt stderr
build: all
(cd src-lib; make build; cd ..)
(cd src-485; make build; cd ..)
(cd src-tls; make build; cd ..)
(cd src-ui; make build; cd ..)
cp doc/config-samples/open-osdp-params-CP.json \
opt/open-osdp/run/CP/open-osdp-params.json
cp doc/config-samples/open-osdp-params-PD.json \
opt/open-osdp/run/PD/open-osdp-params.json
cp doc/config-samples/open-osdp-params-MON.json \
opt/open-osdp/run/MON/open-osdp-params.json
(cd test; make build-test; cd ..)
release: build
tar czvf release-libosdp.tgz opt/*