Changeset View
Changeset View
Standalone View
Standalone View
lib/ncurses/config.mk
# $FreeBSD$ | # $FreeBSD$ | ||||
# This Makefile is shared by libncurses, libform, libmenu, libpanel. | # This Makefile is shared by libncurses, libform, libmenu, libpanel. | ||||
NCURSES_DIR= ${SRCTOP}/contrib/ncurses | NCURSES_DIR= ${SRCTOP}/contrib/ncurses | ||||
NCURSES_MAJOR= 6 | NCURSES_MAJOR= 6 | ||||
NCURSES_MINOR= 2 | NCURSES_MINOR= 2 | ||||
NCURSES_PATCH= 20210220 | NCURSES_PATCH= 20210220 | ||||
CFLAGS+= -D_XOPEN_SOURCE_EXTENDED | CFLAGS+= -D_XOPEN_SOURCE_EXTENDED | ||||
NCURSES_CFG_H= ${.CURDIR}/ncurses_cfg.h | NCURSES_CFG_H= ${.CURDIR}/ncurses_cfg.h | ||||
CFLAGS+= -I. | CFLAGS+= -I. | ||||
CFLAGS+= -I${.CURDIR:H}/ncurses | CFLAGS+= -I${.CURDIR:H}/tinfo | ||||
# for ${NCURSES_CFG_H} | # for ${NCURSES_CFG_H} | ||||
CFLAGS+= -I${.CURDIR:H}/ncurses | CFLAGS+= -I${.CURDIR:H}/ncurses | ||||
CFLAGS+= -I${NCURSES_DIR}/include | CFLAGS+= -I${NCURSES_DIR}/include | ||||
CFLAGS+= -I${NCURSES_DIR}/ncurses | CFLAGS+= -I${NCURSES_DIR}/ncurses | ||||
CFLAGS+= -I${.OBJDIR:H}/ncurses/ | CFLAGS+= -I${.OBJDIR:H}/tinfo/ | ||||
CFLAGS+= -Wall | CFLAGS+= -Wall | ||||
CFLAGS+= -DNDEBUG | CFLAGS+= -DNDEBUG | ||||
CFLAGS+= -DHAVE_CONFIG_H | CFLAGS+= -DHAVE_CONFIG_H | ||||
# everyone needs this | # everyone needs this | ||||
.PATH: ${NCURSES_DIR}/include | .PATH: ${NCURSES_DIR}/include | ||||
.PATH: ${.OBJDIR:H}/tinfo/ | |||||
# tools and directories | # tools and directories | ||||
AWK?= awk | AWK?= awk | ||||
TERMINFODIR?= ${SHAREDIR}/misc | TERMINFODIR?= ${SHAREDIR}/misc | ||||
# Generate headers | # Generate headers | ||||
ncurses_def.h: MKncurses_def.sh ncurses_defs | ncurses_def.h: MKncurses_def.sh ncurses_defs | ||||
AWK=${AWK} sh ${NCURSES_DIR}/include/MKncurses_def.sh \ | AWK=${AWK} sh ${NCURSES_DIR}/include/MKncurses_def.sh \ | ||||
Show All 19 Lines |