mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Added SSL support
SVN revision: 2056
This commit is contained in:
parent
bd8689f674
commit
93349c41f2
8
Makefile
8
Makefile
@ -21,6 +21,9 @@ DESTDIR = $(ROOT)$(PREFIX)/bin
|
|||||||
SDESTDIR = $(ROOT)$(PREFIX)/sbin
|
SDESTDIR = $(ROOT)$(PREFIX)/sbin
|
||||||
RCDIR = $(ROOT)/etc/rc.d/init.d
|
RCDIR = $(ROOT)/etc/rc.d/init.d
|
||||||
|
|
||||||
|
# flag for SSL support
|
||||||
|
USE_SSL = 1
|
||||||
|
|
||||||
#############################################################
|
#############################################################
|
||||||
|
|
||||||
# Default compilation flags unless stated otherwise.
|
# Default compilation flags unless stated otherwise.
|
||||||
@ -70,6 +73,11 @@ endif
|
|||||||
|
|
||||||
CFLAGS += -DOS_$(OSTYPE)
|
CFLAGS += -DOS_$(OSTYPE)
|
||||||
|
|
||||||
|
ifdef USE_SSL
|
||||||
|
CFLAGS += -DHAVE_SSL
|
||||||
|
LIBS += -lssl
|
||||||
|
endif
|
||||||
|
|
||||||
all: $(EXECS)
|
all: $(EXECS)
|
||||||
|
|
||||||
regex.o: src/regex.c src/regex.h
|
regex.o: src/regex.c src/regex.h
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user