1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/src/util/Makefile
Witold Filipczyk 89f99a0667 [md5] Force to use own implementation of MD5
MD5 in openssl-3.0 is deprecated, so to avoid
warnings was switched to ELink's version.
2022-01-10 20:23:47 +01:00

39 lines
782 B
Makefile

top_builddir=../..
include $(top_builddir)/Makefile.config
INCLUDES += $(GNUTLS_CFLAGS) $(OPENSSL_CFLAGS)
SUBDIRS = qs_parse
OBJS-unless$(CONFIG_SMALL) += fastfind.o
OBJS-$(CONFIG_CSS) += scanner.o
OBJS-$(CONFIG_DEBUG) += memdebug.o
OBJS-$(CONFIG_DOM) += scanner.o
ifeq ($(CONFIG_BITTORRENT),yes)
OBJS-$(CONFIG_BITTORRENT) += scanner.o
# BitTorrent is the only user. Compile in SHA1 if testing libc or
# there is no OpenSSL. The GNUTLS OpenSSL wrappers doesn't have it.
OBJS-$(CONFIG_OWN_LIBC) += sha1.o
OBJS-unless$(CONFIG_OPENSSL) += sha1.o
endif
OBJS = \
base64.o \
color.o \
conv.o \
env.o \
error.o \
file.o \
hash.o \
md5.o \
memlist.o \
memory.o \
random.o \
secsave.o \
snprintf.o \
string.o \
time.o
include $(top_srcdir)/Makefile.lib