sslmake/Makefile

21 lines
673 B
Makefile
Raw Normal View History

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, gnutls will be used.
@echo gnutls has an easier configfile-format (%.cfg) instead of the a little more complex openssl format (%.cnf).
install: install-gnutls
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-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