iconv: Bail out of the loop when an illegal sequence of bytes occurs.
[elinks/elinks-j605.git] / src / util / Makefile
blobc0fa9dfb746b0e0f8fee579ed5822697114df174
1 top_builddir=../..
2 include $(top_builddir)/Makefile.config
4 INCLUDES += $(GNUTLS_CFLAGS) $(OPENSSL_CFLAGS)
6 OBJS-unless$(CONFIG_SMALL) += fastfind.o
7 OBJS-$(CONFIG_CSS) += scanner.o
8 OBJS-$(CONFIG_DEBUG) += memdebug.o
9 OBJS-$(CONFIG_DOM) += scanner.o
11 # Use own MD5 implementation if testing libc or there's no OpenSSL
12 # (either the real thing or GNUTLS compat wrappers).
13 OBJS-$(CONFIG_OWN_LIBC) += md5.o
14 ifeq ($(CONFIG_GNUTLS_OPENSSL_COMPAT),no)
15 OBJS-unless$(CONFIG_OPENSSL) += md5.o
16 endif
18 ifeq ($(CONFIG_BITTORRENT),yes)
19 # BitTorrent is the only user. Compile in SHA1 if testing libc or
20 # there is no OpenSSL. The GNUTLS OpenSSL wrappers doesn't have it.
21 OBJS-$(CONFIG_OWN_LIBC) += sha1.o
22 OBJS-unless$(CONFIG_OPENSSL) += sha1.o
23 endif
25 OBJS = \
26 base64.o \
27 color.o \
28 conv.o \
29 env.o \
30 error.o \
31 file.o \
32 hash.o \
33 memlist.o \
34 memory.o \
35 random.o \
36 secsave.o \
37 snprintf.o \
38 string.o \
39 time.o
41 include $(top_srcdir)/Makefile.lib