We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8267851 commit 87cee93Copy full SHA for 87cee93
Makefile
@@ -0,0 +1,18 @@
1
+all:
2
+ build
3
+ install
4
+ clean
5
+
6
+build:
7
+ if [ ! -d "./include" ];then chmod +x *.sh && ./download_headers.sh; fi
8
+ mkdir -p bin
9
+ go build --buildmode=c-shared -o bin/
10
11
+install:
12
+ cp bin/pkcs11-kmip /usr/lib/pkcs11/pkcs11-kmip.so
13
+ chmod +x /usr/lib/pkcs11/pkcs11-kmip.so
14
15
+clean:
16
+ rm -Rf bin
17
18
+.PHONY: build install clean
README.md
@@ -9,8 +9,7 @@ A PKCS#11 module which connects to a KMIP server.
To build this module, you just run:
```shell
-./download_headers.sh
-go build --buildmode=c-shared -o bin/
+make build
```
Note: Because of Cgo, `gcc` is expected to be installed.
0 commit comments