genode/repos/ports/src/noux-pkg/lynx/target.mk
Emery Hemingway 8ca63d4a6e libc: reintegrate libc_resolv library
Remove getaddrinfo and freeaddrinfo from the Libc::Plugin and get rid of
the extra libc_resolv library. Remove getaddrinfo/freeaddrinfo symbol
hiding patch for FreeBSD sources. Remove libc_resolv from Makefiles and
run scenarios.

Fix #2273
2017-10-05 17:40:04 +02:00

43 lines
800 B
Makefile

CONFIGURE_ARGS = --with-ssl \
--with-zlib \
--disable-nls \
--disable-ipv6 \
--disable-rpath-hack \
--with-cfg-file=/etc/lynx.cfg \
--with-lss-file=/etc/lynx.lss
#
# Rather than dealing with autoconf force usage of <openssl/xxx.h>
# by defining it explicitly
#
CFLAGS += -DUSE_OPENSSL_INCL
#
# Needed for <sys/types.h>
#
CFLAGS += -D__BSD_VISIBLE
LIBS += ncurses zlib libssl libcrypto
#
# Make the zlib linking test succeed
#
Makefile: dummy_libs
LDFLAGS += -L$(PWD)
dummy_libs: libcrypto.a libssl.a libz.a
libcrypto.a:
$(VERBOSE)$(AR) -rc $@
libssl.a:
$(VERBOSE)$(AR) -rc $@
libz.a:
$(VERBOSE)$(AR) -rc $@
INSTALL_TARGET = install
include $(call select_from_repositories,mk/noux.mk)