genode/ports/src/noux-pkg/lynx/target.mk
Christian Prochaska 47690b8802 Noux: make install target configurable
With this patch the make install target for Noux applications gets defined
in the 'NOUX_INSTALL_TARGET' make variable with 'install-strip' as default.

Fixes #503.
2012-11-22 09:21:53 +01:00

37 lines
712 B
Makefile

NOUX_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
#
# Needed for <sys/types.h>
#
NOUX_CFLAGS += -D__BSD_VISIBLE
LIBS += ncurses zlib libssl libcrypto libc_resolv
#
# Make the zlib linking test succeed
#
Makefile: dummy_libs
NOUX_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 $@
NOUX_INSTALL_TARGET = install
include $(REP_DIR)/mk/noux.mk