mutt.mk (876B)
1 TARG = mutt 2 DEPS = libressl ncurses 3 4 INSTALL_MAN1 = `{ ls -1 doc/*.1 } 5 INSTALL_BIN = mutt smime_keys pgpring pgpewrap 6 7 <$mkbuild/mk.common 8 9 mutt:QV: 10 export CFLAGS="$CFLAGS $DEPS_CFLAGS" 11 export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" 12 # https://sourceware.org/bugzilla/show_bug.cgi?id=16698 13 test x"$arch" = x"arm" && export LDFLAGS="`printf "%s" \"$LDFLAGS\" | sed 's@-Wl,--gc-sections@@g'`" 14 # 15 CC="$CC" ./configure \ 16 --build="${TOOLCHAIN_TRIPLET}" \ 17 --host="${HOST_TOOLCHAIN_TRIPLET}" \ 18 --prefix="$PREFIX" \ 19 --mandir="$ROOT/share/man" \ 20 --disable-shared \ 21 --disable-nls \ 22 --disable-iconv \ 23 --with-ssl \ 24 --with-curses \ 25 --with-mailpath="/var/spool/mail" \ 26 --enable-static 27 # make doc/makedoc.c on host. 28 printf 'all:\n\ttrue\nclean:\n\ttrue' > doc/Makefile 29 $HOSTCC doc/makedoc.c -o doc/makedoc -D_GNU_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR 30 # 31 make -j$nprocs