-
Notifications
You must be signed in to change notification settings - Fork 17
/
Makefile.Unix.in
53 lines (40 loc) · 1.19 KB
/
Makefile.Unix.in
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
bindings_dir = src/bindings-pkcs11
rpc_dir = src/rpc-pkcs11
server_dir = src/pkcs11proxyd
client_dir = src/client-lib
filter_dir = src/filter
tests_dir = src/tests
.PHONY: all bindings rpc server client filter install uninstall tests
.NOTPARALLEL: all bindings rpc server client filter install uninstall tests
all: @with_bindings@ @with_rpc@ @with_filter@ @with_server@ @with_client@
bindings:
@MAKEPROG@ @debug_mode@ -C $(bindings_dir)
rpc:
@MAKEPROG@ -C $(rpc_dir)
server:
@MAKEPROG@ -C $(server_dir)
client:
@MAKEPROG@ @debug_mode@ -C $(client_dir)
filter:
@MAKEPROG@ -C $(filter_dir)
tests:
@MAKEPROG@ -C $(tests_dir)
install:
@MAKEPROG@ install -C $(server_dir)
@MAKEPROG@ install -C $(client_dir)
uninstall:
@MAKEPROG@ uninstall -C $(server_dir)
@MAKEPROG@ uninstall -C $(client_dir)
clean: @with_bindings_clean@ @with_rpc_clean@ @with_server_clean@ @with_client_clean@ @with_filter_clean@ tests_clean
bindings_clean:
@MAKEPROG@ clean -C $(bindings_dir)
rpc_clean:
@MAKEPROG@ clean -C $(rpc_dir)
server_clean:
@MAKEPROG@ clean -C $(server_dir)
client_clean:
@MAKEPROG@ clean -C $(client_dir)
filter_clean:
@MAKEPROG@ clean -C $(filter_dir)
tests_clean:
@MAKEPROG@ clean -C $(tests_dir)