ncurses.mk (1089B)
1 TARG = libncurses 2 INSTALL_BIN = progs/tic progs/tput progs/tset progs/infocmp progs/toe progs/tabs 3 INSTALL_MAN1 = man/tic.1m man/tput.1 man/tset.1 man/infocmp.1m man/toe.1m man/tabs.1 4 INSTALL_MAN5 = man/terminfo.5 5 INSTALL_EXTRA = install_terminfo 6 7 <$mkbuild/mk.common 8 9 libncurses:QV: 10 cp ../ncurses-fallback.c ncurses/fallback.c 11 CC="$CC -static" ./configure \ 12 --build="$TOOLCHAIN_TRIPLET" \ 13 --host="$HOST_TOOLCHAIN_TRIPLET" \ 14 --prefix="$PREFIX" \ 15 --mandir="$MANDIR" \ 16 --datadir="$PREFIX/share" \ 17 --without-tests \ 18 --with-normal \ 19 --enable-sigwinch \ 20 --disable-nls \ 21 --without-dlsym \ 22 --without-cxx \ 23 --without-cxx-binding \ 24 --enable-widec \ 25 --without-ada \ 26 --with-terminfo-dirs="$PREFIX/etc/terminfo:$PREFIX/lib/terminfo:$PREFIX/share/terminfo" \ 27 --with-fallbacks="linux vt100 xterm xterm256-color" </dev/ptmx 28 make -j$nprocs 29 ln -sf curses.h include/ncurses.h 30 cd lib 31 for lib in ncurses form panel menu ; do 32 ln -sf lib${lib}w_g.a lib${lib}_g.a 33 ln -sf lib${lib}w.a lib${lib}.a 34 done 35 36 37 install_terminfo:QV: 38 make -j$nprocs DESTDIR="$ROOT" install.data