diff --git a/Makefile b/Makefile index 2e974a51..18f672e7 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,9 @@ DESTDIR = $(ROOT)$(PREFIX)/bin SDESTDIR = $(ROOT)$(PREFIX)/sbin RCDIR = $(ROOT)/etc/rc.d/init.d +# flag for SSL support +USE_SSL = 1 + ############################################################# # Default compilation flags unless stated otherwise. @@ -70,6 +73,11 @@ endif CFLAGS += -DOS_$(OSTYPE) +ifdef USE_SSL +CFLAGS += -DHAVE_SSL +LIBS += -lssl +endif + all: $(EXECS) regex.o: src/regex.c src/regex.h