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.
|
|
|
|
@echo If you use install, openssl will be used.
|
|
|
|
|
|
|
|
install: install-openssl
|
|
|
|
|
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
|