ncurses: only keep the version with widechar support
Only keep the widechar version of ncurses as libncursesw.so.9 Keep the old name to avoid breaking the ABI compatibility (the non widechar version libncurses.so.9 is not binary compatible with libncursesw.so.9) since all ports and base are already only linking against the widechar version we can simply remove libncurses.so.9 Since the .9 version only lived in the dev branch and never ended in a release, it is simply removed and not added to any binary compat package. Add symlinks to keep build time compatibility for anyone linking against -lncurses
This commit is contained in:
parent
9fd96b416c
commit
821aa63a09
@ -2524,7 +2524,6 @@ _bt_clean= ${CLEANDIR}
|
|||||||
${LOCAL_TOOL_DIRS} \
|
${LOCAL_TOOL_DIRS} \
|
||||||
${_jevents} \
|
${_jevents} \
|
||||||
lib/ncurses/ncurses \
|
lib/ncurses/ncurses \
|
||||||
lib/ncurses/ncursesw \
|
|
||||||
${_rescue} \
|
${_rescue} \
|
||||||
${_share} \
|
${_share} \
|
||||||
usr.bin/awk \
|
usr.bin/awk \
|
||||||
@ -2870,7 +2869,7 @@ _prebuild_libs= ${_kerberos5_lib_libasn1} \
|
|||||||
lib/libkiconv lib/libkvm lib/liblzma lib/libmd lib/libnv \
|
lib/libkiconv lib/libkvm lib/liblzma lib/libmd lib/libnv \
|
||||||
lib/libzstd \
|
lib/libzstd \
|
||||||
${_lib_casper} \
|
${_lib_casper} \
|
||||||
lib/ncurses/ncurses lib/ncurses/ncursesw \
|
lib/ncurses/ncurses \
|
||||||
lib/libopie lib/libpam/libpam ${_lib_libthr} \
|
lib/libopie lib/libpam/libpam ${_lib_libthr} \
|
||||||
${_lib_libradius} lib/libsbuf lib/libtacplus \
|
${_lib_libradius} lib/libsbuf lib/libtacplus \
|
||||||
lib/libgeom \
|
lib/libgeom \
|
||||||
@ -2891,7 +2890,7 @@ _prebuild_libs= ${_kerberos5_lib_libasn1} \
|
|||||||
|
|
||||||
.if ${MK_DIALOG} != "no"
|
.if ${MK_DIALOG} != "no"
|
||||||
_prebuild_libs+= gnu/lib/libdialog
|
_prebuild_libs+= gnu/lib/libdialog
|
||||||
gnu/lib/libdialog__L: lib/msun__L lib/ncurses/ncursesw__L
|
gnu/lib/libdialog__L: lib/msun__L lib/ncurses/ncurses__L
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${MK_GOOGLETEST} != "no"
|
.if ${MK_GOOGLETEST} != "no"
|
||||||
|
@ -45,7 +45,7 @@ _LC_LIBDIRS.${MK_KERBEROS:tl}+= kerberos5/lib
|
|||||||
|
|
||||||
_LC_INCDIRS= \
|
_LC_INCDIRS= \
|
||||||
include \
|
include \
|
||||||
lib/ncurses/ncursesw \
|
lib/ncurses/ncurses \
|
||||||
${_LC_LIBDIRS.yes}
|
${_LC_LIBDIRS.yes}
|
||||||
|
|
||||||
.if ${MK_FILE} != "no"
|
.if ${MK_FILE} != "no"
|
||||||
@ -94,7 +94,7 @@ build${libcompat}: .PHONY
|
|||||||
DIRPRFX=${_dir}/ ${_t}
|
DIRPRFX=${_dir}/ ${_t}
|
||||||
.endfor
|
.endfor
|
||||||
.endfor
|
.endfor
|
||||||
.for _dir in lib/ncurses/ncurses lib/ncurses/ncursesw ${_libmagic} ${_jevents}
|
.for _dir in lib/ncurses/ncurses lib/ncurses/ncurses ${_libmagic} ${_jevents}
|
||||||
.for _t in ${_obj} build-tools
|
.for _t in ${_obj} build-tools
|
||||||
${_+_}cd ${.CURDIR}/${_dir}; \
|
${_+_}cd ${.CURDIR}/${_dir}; \
|
||||||
WORLDTMP=${WORLDTMP} \
|
WORLDTMP=${WORLDTMP} \
|
||||||
|
@ -36,6 +36,8 @@
|
|||||||
# xargs -n1 | sort | uniq -d;
|
# xargs -n1 | sort | uniq -d;
|
||||||
# done
|
# done
|
||||||
|
|
||||||
|
# 20210105: remove non widechar version of clang
|
||||||
|
OLD_LIBS+=lib/libncurses.so.9
|
||||||
# 20210103: new clang import which bumps version from 11.0.0 to 11.0.1.
|
# 20210103: new clang import which bumps version from 11.0.0 to 11.0.1.
|
||||||
OLD_FILES+=usr/lib/clang/11.0.0/include/cuda_wrappers/algorithm
|
OLD_FILES+=usr/lib/clang/11.0.0/include/cuda_wrappers/algorithm
|
||||||
OLD_FILES+=usr/lib/clang/11.0.0/include/cuda_wrappers/complex
|
OLD_FILES+=usr/lib/clang/11.0.0/include/cuda_wrappers/complex
|
||||||
|
@ -1,13 +1,11 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
SUBDIR= ncurses form menu panel \
|
SUBDIR= ncurses form menu panel
|
||||||
ncursesw formw menuw panelw
|
|
||||||
|
|
||||||
SUBDIR_PARALLEL=
|
SUBDIR_PARALLEL=
|
||||||
|
|
||||||
.for subdir in ${SUBDIR:Nncurses*:N*w}
|
.for subdir in ${SUBDIR:Nncurses*}
|
||||||
SUBDIR_DEPEND_${subdir}= ncurses
|
SUBDIR_DEPEND_${subdir}= ncurses
|
||||||
SUBDIR_DEPEND_${subdir}w= ncursesw
|
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
.include <bsd.subdir.mk>
|
.include <bsd.subdir.mk>
|
||||||
|
@ -4,20 +4,11 @@
|
|||||||
|
|
||||||
NCURSES_DIR= ${SRCTOP}/contrib/ncurses
|
NCURSES_DIR= ${SRCTOP}/contrib/ncurses
|
||||||
|
|
||||||
.if defined(ENABLE_WIDEC)
|
|
||||||
LIB_SUFFIX= w
|
|
||||||
CFLAGS+= -D_XOPEN_SOURCE_EXTENDED -DENABLE_WIDEC
|
CFLAGS+= -D_XOPEN_SOURCE_EXTENDED -DENABLE_WIDEC
|
||||||
NCURSES_CFG_H= ${.CURDIR:H}/ncurses/ncurses_cfg.h
|
|
||||||
.else
|
|
||||||
LIB_SUFFIX=
|
|
||||||
NCURSES_CFG_H= ${.CURDIR}/ncurses_cfg.h
|
NCURSES_CFG_H= ${.CURDIR}/ncurses_cfg.h
|
||||||
.endif
|
|
||||||
|
|
||||||
CFLAGS+= -I.
|
CFLAGS+= -I.
|
||||||
.if exists(${.OBJDIR:H}/ncurses${LIB_SUFFIX})
|
CFLAGS+= -I${.CURDIR:H}/ncurses
|
||||||
CFLAGS+= -I${.OBJDIR:H}/ncurses${LIB_SUFFIX}
|
|
||||||
.endif
|
|
||||||
CFLAGS+= -I${.CURDIR:H}/ncurses${LIB_SUFFIX}
|
|
||||||
|
|
||||||
# for ${NCURSES_CFG_H}
|
# for ${NCURSES_CFG_H}
|
||||||
CFLAGS+= -I${.CURDIR:H}/ncurses
|
CFLAGS+= -I${.CURDIR:H}/ncurses
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <src.opts.mk>
|
||||||
.include "${.CURDIR:H}/config.mk"
|
.include "${.CURDIR:H}/config.mk"
|
||||||
|
|
||||||
SRCDIR= ${NCURSES_DIR}/form
|
SRCDIR= ${NCURSES_DIR}/form
|
||||||
|
|
||||||
LIB= form${LIB_SUFFIX}
|
LIB= formw
|
||||||
|
|
||||||
.PATH: ${SRCDIR}
|
.PATH: ${SRCDIR}
|
||||||
SRCS= \
|
SRCS= \
|
||||||
@ -54,9 +55,8 @@ CLEANFILES= ncurses_def.h
|
|||||||
CFLAGS+= -I${SRCDIR}
|
CFLAGS+= -I${SRCDIR}
|
||||||
CFLAGS+= -I${NCURSES_DIR}/menu
|
CFLAGS+= -I${NCURSES_DIR}/menu
|
||||||
|
|
||||||
LIBADD+= ncurses${LIB_SUFFIX}
|
LIBADD+= ncursesw
|
||||||
|
|
||||||
.if defined(ENABLE_WIDEC)
|
|
||||||
INCS= form.h
|
INCS= form.h
|
||||||
|
|
||||||
.PATH: ${NCURSES_DIR}/man
|
.PATH: ${NCURSES_DIR}/man
|
||||||
@ -156,8 +156,16 @@ MLINKS= form_cursor.3 pos_form_cursor.3 \
|
|||||||
form_win.3 scale_form.3 \
|
form_win.3 scale_form.3 \
|
||||||
form_win.3 set_form_sub.3 \
|
form_win.3 set_form_sub.3 \
|
||||||
form_win.3 set_form_win.3
|
form_win.3 set_form_win.3
|
||||||
.else
|
|
||||||
MAN=
|
# backward compat
|
||||||
|
.if ${MK_INSTALLLIB} != "no"
|
||||||
|
SYMLINKS+= libformw.a ${LIBDIR}/libform.a
|
||||||
|
.endif
|
||||||
|
.if !defined(NO_PIC)
|
||||||
|
SYMLINKS+= libformw.so ${LIBDIR}/libform.so
|
||||||
|
.endif
|
||||||
|
.if ${MK_PROFILE} != "no"
|
||||||
|
SYMLINKS+= libformw_p.a ${LIBDIR}/libform_p.a
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.lib.mk>
|
.include <bsd.lib.mk>
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
# $FreeBSD$
|
|
||||||
|
|
||||||
ENABLE_WIDEC=
|
|
||||||
|
|
||||||
.include "${.CURDIR:H}/form/Makefile"
|
|
@ -1,17 +0,0 @@
|
|||||||
# $FreeBSD$
|
|
||||||
# Autogenerated - do NOT edit!
|
|
||||||
|
|
||||||
DIRDEPS = \
|
|
||||||
include \
|
|
||||||
include/xlocale \
|
|
||||||
lib/${CSU_DIR} \
|
|
||||||
lib/libc \
|
|
||||||
lib/libcompiler_rt \
|
|
||||||
lib/ncurses/ncursesw \
|
|
||||||
|
|
||||||
|
|
||||||
.include <dirdeps.mk>
|
|
||||||
|
|
||||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
|
||||||
# local dependencies - needed for -jN in clean tree
|
|
||||||
.endif
|
|
@ -1,10 +1,11 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <src.opts.mk>
|
||||||
.include "${.CURDIR:H}/config.mk"
|
.include "${.CURDIR:H}/config.mk"
|
||||||
|
|
||||||
SRCDIR= ${NCURSES_DIR}/menu
|
SRCDIR= ${NCURSES_DIR}/menu
|
||||||
|
|
||||||
LIB= menu${LIB_SUFFIX}
|
LIB= menuw
|
||||||
|
|
||||||
.PATH: ${SRCDIR}
|
.PATH: ${SRCDIR}
|
||||||
SRCS= \
|
SRCS= \
|
||||||
@ -40,9 +41,8 @@ CLEANFILES= ncurses_def.h
|
|||||||
|
|
||||||
CFLAGS+= -I${SRCDIR}
|
CFLAGS+= -I${SRCDIR}
|
||||||
|
|
||||||
LIBADD+= ncurses${LIB_SUFFIX}
|
LIBADD+= ncursesw
|
||||||
|
|
||||||
.if defined(ENABLE_WIDEC)
|
|
||||||
INCS= menu.h eti.h
|
INCS= menu.h eti.h
|
||||||
|
|
||||||
.PATH: ${NCURSES_DIR}/man
|
.PATH: ${NCURSES_DIR}/man
|
||||||
@ -128,8 +128,16 @@ MLINKS= menu_attributes.3 menu_back.3 \
|
|||||||
mitem_value.3 item_value.3 \
|
mitem_value.3 item_value.3 \
|
||||||
mitem_value.3 set_item_value.3 \
|
mitem_value.3 set_item_value.3 \
|
||||||
mitem_visible.3 item_visible.3
|
mitem_visible.3 item_visible.3
|
||||||
.else
|
|
||||||
MAN=
|
# backward compat
|
||||||
|
.if ${MK_INSTALLLIB} != "no"
|
||||||
|
SYMLINKS+= libmenuw.a ${LIBDIR}/libmenu.a
|
||||||
|
.endif
|
||||||
|
.if !defined(NO_PIC)
|
||||||
|
SYMLINKS+= libmenuw.so ${LIBDIR}/libmenu.so
|
||||||
|
.endif
|
||||||
|
.if ${MK_PROFILE} != "no"
|
||||||
|
SYMLINKS+= libmenuw_p.a ${LIBDIR}/libmenu_p.a
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.lib.mk>
|
.include <bsd.lib.mk>
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
# $FreeBSD$
|
|
||||||
|
|
||||||
ENABLE_WIDEC=
|
|
||||||
|
|
||||||
.include "${.CURDIR:H}/menu/Makefile"
|
|
@ -1,17 +0,0 @@
|
|||||||
# $FreeBSD$
|
|
||||||
# Autogenerated - do NOT edit!
|
|
||||||
|
|
||||||
DIRDEPS = \
|
|
||||||
include \
|
|
||||||
include/xlocale \
|
|
||||||
lib/${CSU_DIR} \
|
|
||||||
lib/libc \
|
|
||||||
lib/libcompiler_rt \
|
|
||||||
lib/ncurses/ncursesw \
|
|
||||||
|
|
||||||
|
|
||||||
.include <dirdeps.mk>
|
|
||||||
|
|
||||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
|
||||||
# local dependencies - needed for -jN in clean tree
|
|
||||||
.endif
|
|
@ -3,16 +3,11 @@
|
|||||||
PACKAGE= clibs
|
PACKAGE= clibs
|
||||||
SHLIBDIR?= /lib
|
SHLIBDIR?= /lib
|
||||||
|
|
||||||
.if !defined(ENABLE_WIDEC)
|
|
||||||
# Override any MAN= setting below..
|
|
||||||
MK_MAN=no
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <src.opts.mk>
|
.include <src.opts.mk>
|
||||||
|
|
||||||
.include "${.CURDIR:H}/config.mk"
|
.include "${.CURDIR:H}/config.mk"
|
||||||
|
|
||||||
LIB= ncurses${LIB_SUFFIX}
|
LIB= ncursesw
|
||||||
SHLIB_MAJOR= 9
|
SHLIB_MAJOR= 9
|
||||||
|
|
||||||
NO_LINT=
|
NO_LINT=
|
||||||
@ -22,17 +17,10 @@ NCURSES_MINOR!= egrep 'NCURSES_MINOR[ ]*=' ${NCURSES_DIR}/dist.mk | sed -e 's%^
|
|||||||
NCURSES_PATCH!= egrep 'NCURSES_PATCH[ ]*=' ${NCURSES_DIR}/dist.mk | sed -e 's%^[^0-9]*%%'
|
NCURSES_PATCH!= egrep 'NCURSES_PATCH[ ]*=' ${NCURSES_DIR}/dist.mk | sed -e 's%^[^0-9]*%%'
|
||||||
|
|
||||||
# From autoconf (!)
|
# From autoconf (!)
|
||||||
.if defined(ENABLE_WIDEC)
|
|
||||||
NCURSES_CH_T= cchar_t
|
NCURSES_CH_T= cchar_t
|
||||||
NCURSES_OK_WCHAR_T= 1
|
NCURSES_OK_WCHAR_T= 1
|
||||||
NEED_WCHAR_H= 1
|
NEED_WCHAR_H= 1
|
||||||
NCURSES_EXT_COLORS= 1
|
NCURSES_EXT_COLORS= 1
|
||||||
.else
|
|
||||||
NCURSES_CH_T= chtype
|
|
||||||
NCURSES_OK_WCHAR_T=
|
|
||||||
NEED_WCHAR_H= 0
|
|
||||||
NCURSES_EXT_COLORS= 0
|
|
||||||
.endif
|
|
||||||
NCURSES_EXT_FUNCS= 1
|
NCURSES_EXT_FUNCS= 1
|
||||||
NCURSES_CONST= const
|
NCURSES_CONST= const
|
||||||
NCURSES_INLINE= inline
|
NCURSES_INLINE= inline
|
||||||
@ -242,7 +230,6 @@ SRCS+= \
|
|||||||
lib_vidattr.c \
|
lib_vidattr.c \
|
||||||
tty_update.c
|
tty_update.c
|
||||||
|
|
||||||
.if defined(ENABLE_WIDEC)
|
|
||||||
.PATH: ${NCURSES_DIR}/ncurses/widechar
|
.PATH: ${NCURSES_DIR}/ncurses/widechar
|
||||||
SRCS+= \
|
SRCS+= \
|
||||||
charable.c \
|
charable.c \
|
||||||
@ -265,7 +252,6 @@ SRCS+= \
|
|||||||
lib_vline_set.c \
|
lib_vline_set.c \
|
||||||
lib_wacs.c \
|
lib_wacs.c \
|
||||||
lib_wunctrl.c
|
lib_wunctrl.c
|
||||||
.endif
|
|
||||||
|
|
||||||
.PATH: ${NCURSES_DIR}/ncurses/trace
|
.PATH: ${NCURSES_DIR}/ncurses/trace
|
||||||
SRCS+= \
|
SRCS+= \
|
||||||
@ -298,42 +284,54 @@ HEADERS= curses.h term.h termcap.h unctrl.h
|
|||||||
SRCHDRS= ncurses_dll.h
|
SRCHDRS= ncurses_dll.h
|
||||||
CLEANFILES+= ncurses_dll.h
|
CLEANFILES+= ncurses_dll.h
|
||||||
|
|
||||||
.if defined(ENABLE_WIDEC)
|
|
||||||
INCS= ${HEADERS} ${SRCHDRS}
|
INCS= ${HEADERS} ${SRCHDRS}
|
||||||
INCSLINKS= curses.h ${INCLUDEDIR}/ncurses.h
|
INCSLINKS= curses.h ${INCLUDEDIR}/ncurses.h
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${MK_INSTALLLIB} != "no"
|
.if ${MK_INSTALLLIB} != "no"
|
||||||
SYMLINKS+= libncurses${LIB_SUFFIX}.a ${LIBDIR}/libcurses${LIB_SUFFIX}.a
|
SYMLINKS+= libncursesw.a ${LIBDIR}/libcursesw.a
|
||||||
SYMLINKS+= libncurses${LIB_SUFFIX}.a ${LIBDIR}/libtermcap${LIB_SUFFIX}.a
|
SYMLINKS+= libncursesw.a ${LIBDIR}/libtermcapw.a
|
||||||
SYMLINKS+= libncurses${LIB_SUFFIX}.a ${LIBDIR}/libtermlib${LIB_SUFFIX}.a
|
SYMLINKS+= libncursesw.a ${LIBDIR}/libtermlibw.a
|
||||||
SYMLINKS+= libncurses${LIB_SUFFIX}.a ${LIBDIR}/libtinfo${LIB_SUFFIX}.a
|
SYMLINKS+= libncursesw.a ${LIBDIR}/libtinfow.a
|
||||||
|
# backward compat
|
||||||
|
SYMLINKS+= libncursesw.a ${LIBDIR}/libncurses.a
|
||||||
|
SYMLINKS+= libncursesw.a ${LIBDIR}/libcurses.a
|
||||||
|
SYMLINKS+= libncursesw.a ${LIBDIR}/libtermcap.a
|
||||||
|
SYMLINKS+= libncursesw.a ${LIBDIR}/libtermlib.a
|
||||||
|
SYMLINKS+= libncursesw.a ${LIBDIR}/libtinfo.a
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NO_PIC)
|
.if !defined(NO_PIC)
|
||||||
# no need for major at all, it's an ld-time redirection only
|
# no need for major at all, it's an ld-time redirection only
|
||||||
SYMLINKS+= libncurses${LIB_SUFFIX}.so ${LIBDIR}/libcurses${LIB_SUFFIX}.so
|
SYMLINKS+= libncursesw.so ${LIBDIR}/libcursesw.so
|
||||||
SYMLINKS+= libncurses${LIB_SUFFIX}.so ${LIBDIR}/libtermcap${LIB_SUFFIX}.so
|
SYMLINKS+= libncursesw.so ${LIBDIR}/libtermcapw.so
|
||||||
SYMLINKS+= libncurses${LIB_SUFFIX}.so ${LIBDIR}/libtermlib${LIB_SUFFIX}.so
|
SYMLINKS+= libncursesw.so ${LIBDIR}/libtermlibw.so
|
||||||
SYMLINKS+= libncurses${LIB_SUFFIX}.so ${LIBDIR}/libtinfo${LIB_SUFFIX}.so
|
SYMLINKS+= libncursesw.so ${LIBDIR}/libtinfow.so
|
||||||
|
# backward compat
|
||||||
|
SYMLINKS+= libncursesw.so ${LIBDIR}/libncurses.so
|
||||||
|
SYMLINKS+= libncursesw.so ${LIBDIR}/libcurses.so
|
||||||
|
SYMLINKS+= libncursesw.so ${LIBDIR}/libtermcap.so
|
||||||
|
SYMLINKS+= libncursesw.so ${LIBDIR}/libtermlib.so
|
||||||
|
SYMLINKS+= libncursesw.so ${LIBDIR}/libtinfo.so
|
||||||
.endif
|
.endif
|
||||||
.if ${MK_PROFILE} != "no"
|
.if ${MK_PROFILE} != "no"
|
||||||
SYMLINKS+= libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libcurses${LIB_SUFFIX}_p.a
|
SYMLINKS+= libncursesw_p.a ${LIBDIR}/libcursesw_p.a
|
||||||
SYMLINKS+= libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libtermcap${LIB_SUFFIX}_p.a
|
SYMLINKS+= libncursesw_p.a ${LIBDIR}/libtermcapw_p.a
|
||||||
SYMLINKS+= libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libtermlib${LIB_SUFFIX}_p.a
|
SYMLINKS+= libncursesw_p.a ${LIBDIR}/libtermlibw_p.a
|
||||||
SYMLINKS+= libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libtinfo${LIB_SUFFIX}_p.a
|
SYMLINKS+= libncursesw_p.a ${LIBDIR}/libtinfow_p.a
|
||||||
|
# backward compat
|
||||||
|
SYMLINKS+= libncursesw_p.a ${LIBDIR}/libncurses_p.a
|
||||||
|
SYMLINKS+= libncursesw_p.a ${LIBDIR}/libcurses_p.a
|
||||||
|
SYMLINKS+= libncursesw_p.a ${LIBDIR}/libtermcap_p.a
|
||||||
|
SYMLINKS+= libncursesw_p.a ${LIBDIR}/libtermlib_p.a
|
||||||
|
SYMLINKS+= libncursesw_p.a ${LIBDIR}/libtinfo_p.a
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${.CURDIR:T} == "ncursesw"
|
|
||||||
.if defined(ENABLE_WIDEC)
|
|
||||||
DOCSDIR= ${SHAREDIR}/doc/ncurses
|
DOCSDIR= ${SHAREDIR}/doc/ncurses
|
||||||
DOCS= ncurses-intro.html hackguide.html
|
DOCS= ncurses-intro.html hackguide.html
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${MK_HTML} != "no"
|
.if ${MK_HTML} != "no"
|
||||||
.PATH: ${NCURSES_DIR}/doc/html
|
.PATH: ${NCURSES_DIR}/doc/html
|
||||||
FILESGROUPS= DOCS
|
FILESGROUPS= DOCS
|
||||||
.endif
|
.endif
|
||||||
.endif
|
|
||||||
|
|
||||||
# Generated source
|
# Generated source
|
||||||
.ORDER: names.c codes.c
|
.ORDER: names.c codes.c
|
||||||
@ -394,9 +392,7 @@ curses.h: curses.head MKkey_defs.sh Caps Caps-ncurses
|
|||||||
cat curses.head > $@.new
|
cat curses.head > $@.new
|
||||||
AWK=${AWK} _POSIX2_VERSION=199209 sh ${NCURSES_DIR}/include/MKkey_defs.sh \
|
AWK=${AWK} _POSIX2_VERSION=199209 sh ${NCURSES_DIR}/include/MKkey_defs.sh \
|
||||||
${NCURSES_DIR}/include/Caps ${NCURSES_DIR}/include/Caps-ncurses >> $@.new
|
${NCURSES_DIR}/include/Caps ${NCURSES_DIR}/include/Caps-ncurses >> $@.new
|
||||||
.if defined(ENABLE_WIDEC)
|
|
||||||
cat ${NCURSES_DIR}/include/curses.wide >> $@.new
|
cat ${NCURSES_DIR}/include/curses.wide >> $@.new
|
||||||
.endif
|
|
||||||
cat ${NCURSES_DIR}/include/curses.tail >> $@.new
|
cat ${NCURSES_DIR}/include/curses.tail >> $@.new
|
||||||
mv -f $@.new $@
|
mv -f $@.new $@
|
||||||
|
|
||||||
@ -505,7 +501,6 @@ terminfo.5: MKterminfo.sh terminfo.head Caps
|
|||||||
|
|
||||||
CLEANFILES+= terminfo.5
|
CLEANFILES+= terminfo.5
|
||||||
|
|
||||||
.if defined(ENABLE_WIDEC)
|
|
||||||
.PATH: ${NCURSES_DIR}/man
|
.PATH: ${NCURSES_DIR}/man
|
||||||
MAN= \
|
MAN= \
|
||||||
curs_addch.3 \
|
curs_addch.3 \
|
||||||
@ -585,7 +580,6 @@ MAN+= \
|
|||||||
|
|
||||||
MAN+= term.5 terminfo.5 scr_dump.5 user_caps.5
|
MAN+= term.5 terminfo.5 scr_dump.5 user_caps.5
|
||||||
MAN+= term.7
|
MAN+= term.7
|
||||||
.endif
|
|
||||||
|
|
||||||
CLEANFILES+= ${MAN:M*.3}
|
CLEANFILES+= ${MAN:M*.3}
|
||||||
|
|
||||||
@ -1065,7 +1059,6 @@ MLINKS= ncurses.3 curses.3 \
|
|||||||
resizeterm.3 is_term_resized.3 \
|
resizeterm.3 is_term_resized.3 \
|
||||||
resizeterm.3 resize_term.3
|
resizeterm.3 resize_term.3
|
||||||
|
|
||||||
.if defined(ENABLE_WIDEC)
|
|
||||||
MLINKS+=curs_add_wch.3 add_wch.3 \
|
MLINKS+=curs_add_wch.3 add_wch.3 \
|
||||||
curs_add_wch.3 echo_wchar.3 \
|
curs_add_wch.3 echo_wchar.3 \
|
||||||
curs_add_wch.3 mvadd_wch.3 \
|
curs_add_wch.3 mvadd_wch.3 \
|
||||||
@ -1145,8 +1138,6 @@ MLINKS+=curs_add_wch.3 add_wch.3 \
|
|||||||
curs_scanw.3 vw_scanw.3 \
|
curs_scanw.3 vw_scanw.3 \
|
||||||
curs_scanw.3 vwscanw.3 \
|
curs_scanw.3 vwscanw.3 \
|
||||||
curs_scanw.3 wscanw.3
|
curs_scanw.3 wscanw.3
|
||||||
.endif
|
|
||||||
|
|
||||||
|
|
||||||
.include <bsd.lib.mk>
|
.include <bsd.lib.mk>
|
||||||
|
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
# $FreeBSD$
|
|
||||||
|
|
||||||
ENABLE_WIDEC=
|
|
||||||
|
|
||||||
.PATH: ${.CURDIR:H}/ncurses
|
|
||||||
|
|
||||||
.include "${.CURDIR:H}/ncurses/Makefile"
|
|
@ -1,16 +0,0 @@
|
|||||||
# $FreeBSD$
|
|
||||||
# Autogenerated - do NOT edit!
|
|
||||||
|
|
||||||
DIRDEPS = \
|
|
||||||
include \
|
|
||||||
include/xlocale \
|
|
||||||
lib/${CSU_DIR} \
|
|
||||||
lib/libc \
|
|
||||||
lib/libcompiler_rt \
|
|
||||||
|
|
||||||
|
|
||||||
.include <dirdeps.mk>
|
|
||||||
|
|
||||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
|
||||||
# local dependencies - needed for -jN in clean tree
|
|
||||||
.endif
|
|
@ -1,10 +1,11 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <src.opts.mk>
|
||||||
.include "${.CURDIR:H}/config.mk"
|
.include "${.CURDIR:H}/config.mk"
|
||||||
|
|
||||||
SRCDIR= ${NCURSES_DIR}/panel
|
SRCDIR= ${NCURSES_DIR}/panel
|
||||||
|
|
||||||
LIB= panel${LIB_SUFFIX}
|
LIB= panelw
|
||||||
|
|
||||||
.PATH: ${SRCDIR}
|
.PATH: ${SRCDIR}
|
||||||
SRCS= \
|
SRCS= \
|
||||||
@ -29,10 +30,7 @@ CLEANFILES= ncurses_def.h
|
|||||||
|
|
||||||
CFLAGS+= -I${SRCDIR}
|
CFLAGS+= -I${SRCDIR}
|
||||||
|
|
||||||
LIBADD+= ncurses${LIB_SUFFIX}
|
LIBADD+= ncursesw
|
||||||
|
|
||||||
.if defined(ENABLE_WIDEC)
|
|
||||||
INCS= panel.h
|
|
||||||
|
|
||||||
# generate MAN
|
# generate MAN
|
||||||
.PATH: ${NCURSES_DIR}/man
|
.PATH: ${NCURSES_DIR}/man
|
||||||
@ -56,10 +54,19 @@ MLINKS= panel.3 bottom_panel.3 \
|
|||||||
panel.3 show_panel.3 \
|
panel.3 show_panel.3 \
|
||||||
panel.3 top_panel.3 \
|
panel.3 top_panel.3 \
|
||||||
panel.3 update_panels.3
|
panel.3 update_panels.3
|
||||||
.else
|
|
||||||
MAN=
|
# backward compat
|
||||||
|
.if ${MK_INSTALLLIB} != "no"
|
||||||
|
SYMLINKS+= libpanelw.a ${LIBDIR}/libpanel.a
|
||||||
.endif
|
.endif
|
||||||
|
.if !defined(NO_PIC)
|
||||||
|
SYMLINKS+= libpanelw.so ${LIBDIR}/libpanel.so
|
||||||
|
.endif
|
||||||
|
.if ${MK_PROFILE} != "no"
|
||||||
|
SYMLINKS+= libpanelw_p.a ${LIBDIR}/libpanel_p.a
|
||||||
|
.endif
|
||||||
|
|
||||||
|
INCS= panel.h
|
||||||
.include <bsd.lib.mk>
|
.include <bsd.lib.mk>
|
||||||
|
|
||||||
# Keep the .SUFFIXES line after the include of bsd.lib.mk
|
# Keep the .SUFFIXES line after the include of bsd.lib.mk
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
# $FreeBSD$
|
|
||||||
|
|
||||||
ENABLE_WIDEC=
|
|
||||||
|
|
||||||
.include "${.CURDIR:H}/panel/Makefile"
|
|
@ -1,17 +0,0 @@
|
|||||||
# $FreeBSD$
|
|
||||||
# Autogenerated - do NOT edit!
|
|
||||||
|
|
||||||
DIRDEPS = \
|
|
||||||
include \
|
|
||||||
include/xlocale \
|
|
||||||
lib/${CSU_DIR} \
|
|
||||||
lib/libc \
|
|
||||||
lib/libcompiler_rt \
|
|
||||||
lib/ncurses/ncursesw \
|
|
||||||
|
|
||||||
|
|
||||||
.include <dirdeps.mk>
|
|
||||||
|
|
||||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
|
||||||
# local dependencies - needed for -jN in clean tree
|
|
||||||
.endif
|
|
@ -144,7 +144,6 @@ _LIBRARIES= \
|
|||||||
memstat \
|
memstat \
|
||||||
mp \
|
mp \
|
||||||
mt \
|
mt \
|
||||||
ncurses \
|
|
||||||
ncursesw \
|
ncursesw \
|
||||||
netgraph \
|
netgraph \
|
||||||
netmap \
|
netmap \
|
||||||
@ -182,7 +181,6 @@ _LIBRARIES= \
|
|||||||
supcplusplus \
|
supcplusplus \
|
||||||
sysdecode \
|
sysdecode \
|
||||||
tacplus \
|
tacplus \
|
||||||
termcap \
|
|
||||||
termcapw \
|
termcapw \
|
||||||
tpool \
|
tpool \
|
||||||
ufs \
|
ufs \
|
||||||
@ -376,7 +374,6 @@ _DP_c+= ssp_nonshared
|
|||||||
_DP_stats= sbuf pthread
|
_DP_stats= sbuf pthread
|
||||||
_DP_stdthreads= pthread
|
_DP_stdthreads= pthread
|
||||||
_DP_tacplus= md
|
_DP_tacplus= md
|
||||||
_DP_panel= ncurses
|
|
||||||
_DP_panelw= ncursesw
|
_DP_panelw= ncursesw
|
||||||
_DP_rpcsec_gss= gssapi
|
_DP_rpcsec_gss= gssapi
|
||||||
_DP_smb= kiconv
|
_DP_smb= kiconv
|
||||||
@ -663,14 +660,10 @@ LIBBSDXMLDIR= ${OBJTOP}/lib/libexpat
|
|||||||
LIBKVMDIR= ${OBJTOP}/lib/libkvm
|
LIBKVMDIR= ${OBJTOP}/lib/libkvm
|
||||||
LIBPTHREADDIR= ${OBJTOP}/lib/libthr
|
LIBPTHREADDIR= ${OBJTOP}/lib/libthr
|
||||||
LIBMDIR= ${OBJTOP}/lib/msun
|
LIBMDIR= ${OBJTOP}/lib/msun
|
||||||
LIBFORMDIR= ${OBJTOP}/lib/ncurses/form
|
LIBFORMWDIR= ${OBJTOP}/lib/ncurses/form
|
||||||
LIBFORMLIBWDIR= ${OBJTOP}/lib/ncurses/formw
|
LIBMENUWDIR= ${OBJTOP}/lib/ncurses/menu
|
||||||
LIBMENUDIR= ${OBJTOP}/lib/ncurses/menu
|
LIBNCURSESWDIR= ${OBJTOP}/lib/ncurses/ncurses
|
||||||
LIBMENULIBWDIR= ${OBJTOP}/lib/ncurses/menuw
|
LIBPANELWDIR= ${OBJTOP}/lib/ncurses/panel
|
||||||
LIBNCURSESDIR= ${OBJTOP}/lib/ncurses/ncurses
|
|
||||||
LIBNCURSESWDIR= ${OBJTOP}/lib/ncurses/ncursesw
|
|
||||||
LIBPANELDIR= ${OBJTOP}/lib/ncurses/panel
|
|
||||||
LIBPANELWDIR= ${OBJTOP}/lib/ncurses/panelw
|
|
||||||
LIBCRYPTODIR= ${OBJTOP}/secure/lib/libcrypto
|
LIBCRYPTODIR= ${OBJTOP}/secure/lib/libcrypto
|
||||||
LIBSPLDIR= ${OBJTOP}/cddl/lib/libspl
|
LIBSPLDIR= ${OBJTOP}/cddl/lib/libspl
|
||||||
LIBSSHDIR= ${OBJTOP}/secure/lib/libssh
|
LIBSSHDIR= ${OBJTOP}/secure/lib/libssh
|
||||||
@ -679,7 +672,6 @@ LIBTEKENDIR= ${OBJTOP}/sys/teken/libteken
|
|||||||
LIBEGACYDIR= ${OBJTOP}/tools/build
|
LIBEGACYDIR= ${OBJTOP}/tools/build
|
||||||
LIBLNDIR= ${OBJTOP}/usr.bin/lex/lib
|
LIBLNDIR= ${OBJTOP}/usr.bin/lex/lib
|
||||||
|
|
||||||
LIBTERMCAPDIR= ${LIBNCURSESDIR}
|
|
||||||
LIBTERMCAPWDIR= ${LIBNCURSESWDIR}
|
LIBTERMCAPWDIR= ${LIBNCURSESWDIR}
|
||||||
|
|
||||||
# Default other library directories to lib/libNAME.
|
# Default other library directories to lib/libNAME.
|
||||||
|
@ -14,7 +14,7 @@ CRUNCH_ALIAS_tset= reset
|
|||||||
|
|
||||||
CRUNCH_PROGS_usr.bin+= vmstat
|
CRUNCH_PROGS_usr.bin+= vmstat
|
||||||
#CRUNCH_PROGS_user.bin+= systat
|
#CRUNCH_PROGS_user.bin+= systat
|
||||||
CRUNCH_LIBS+= -ldevstat -lncursesw -lncurses -lmemstat -lkvm -lelf
|
CRUNCH_LIBS+= -ldevstat -lncursesw -lmemstat -lkvm -lelf
|
||||||
|
|
||||||
# CRUNCH_PROGS_usr.bin+= tar
|
# CRUNCH_PROGS_usr.bin+= tar
|
||||||
CRUNCH_PROGS_usr.bin+= cpio
|
CRUNCH_PROGS_usr.bin+= cpio
|
||||||
|
@ -7,7 +7,7 @@ PROG= athratestats
|
|||||||
|
|
||||||
SRCS= main.c opt_ah.h ah_osdep.h
|
SRCS= main.c opt_ah.h ah_osdep.h
|
||||||
|
|
||||||
LIBADD+= ncurses
|
LIBADD+= ncursesw
|
||||||
|
|
||||||
CLEANFILES+= opt_ah.h ah_osdep.h
|
CLEANFILES+= opt_ah.h ah_osdep.h
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user