2013-05-27 16:52:28 +02:00
|
|
|
|
|
|
|
PREFIX ?= /usr/local
|
|
|
|
EPREFIX ?= $(PREFIX)/bin
|
|
|
|
D ?= /
|
|
|
|
|
|
|
|
all:
|
|
|
|
@echo Choose: If you prefer openssl, use install-openssl. If you prefer gnutls, use install-gnutls.
|
2018-01-11 21:35:43 +01:00
|
|
|
@echo If you use install, gnutls will be used.
|
|
|
|
@echo gnutls has an easier configfile-format (%.cfg) instead of the a little more complex openssl format (%.cnf).
|
2013-05-27 16:52:28 +02:00
|
|
|
|
2018-01-11 21:35:43 +01:00
|
|
|
install: install-gnutls
|
2013-05-27 16:52:28 +02:00
|
|
|
|
2013-07-17 23:18:22 +02:00
|
|
|
$(D)/$(EPREFIX):
|
|
|
|
install --owner root --group root --mode 0755 -d $(D)/$(EPREFIX)
|
|
|
|
|
|
|
|
install-openssl: $(D)/$(EPREFIX)
|
2013-07-17 23:07:33 +02:00
|
|
|
install --owner root --group root --mode 0755 sslmake-openssl $(D)/$(EPREFIX)/sslmake
|
2013-05-27 16:52:28 +02:00
|
|
|
|
2013-07-17 23:18:22 +02:00
|
|
|
install-gnutls: $(D)/$(EPREFIX)
|
2013-07-17 23:07:33 +02:00
|
|
|
install --owner root --group root --mode 0755 sslmake-gnutls $(D)/$(EPREFIX)/sslmake
|