History log of /freebsd-10.1-release/lib/ncurses/ncurses/Makefile
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 245887 24-Jan-2013 brooks

Only install manpages and html documentation in the ncurses/*w (wchar)
builds so that it is only installed once. This is consistent with the
existing decision to only install headers in the that case.


# 195767 19-Jul-2009 kensmith

Bump the version of all non-symbol-versioned shared libraries in
preparation for 8.0-RELEASE. Add the previous version of those
libraries to ObsoleteFiles.inc and bump __FreeBSD_Version.

Reviewed by: kib
Approved by: re (rwatson)


# 184989 15-Nov-2008 rafan

- Update ncurses to 5.7-20081102 (5.7 release) and build glue
- This also removes $FreeBSD$ from two now unmodifed source files
ncurses/tinfo/lib_raw.c and ncurses/tinfo/lib_baudrate.c

MFC after: 2 months (after 7.1 and 6.4 are released)


# 176235 13-Feb-2008 rafan

- Remove duplicate tputs.3 from MLINK. As we use termcap in the bsae, remove
the one links to curs_terminfo.

Submitted by: David Naylor <blackdragon at highveldmail.co.za>
MFC after: 3 days


# 176190 11-Feb-2008 rafan

- Update build glues for ncurses 5.6 snapshot 20080209
- While I'm here, sort macro defines in ncurses_cfg.h


# 174999 30-Dec-2007 rafan

- Update build glue for 5.6-20071222


# 172832 20-Oct-2007 ru

- Convert NO_INSTALLLIB option to a new syntax: makefiles should
test MK_INSTALLLIB, users can set WITHOUT_INSTALLLIB. The old
NO_INSTALLLIB is still supported as several makefiles set it.

- While here, fix an install when instructed not to install libs
(usr.bin/lex/lib/Makefile).

PR: bin/114200
Submitted by: Henrik Brix Andersen


# 171527 20-Jul-2007 rafan

- Correctly substitute variables like @NCURSES_MAJOR@ in manual pages

PR: doc/114711
Submitted by: Yuri Pankov <yuri at darklight.org.ru>
Approved by: re (bmah)
MFC after: 3 days


# 170826 16-Jun-2007 rafan

- Bump ncurses share library version for the coming RELENG_7

Pointed out by: jhb
Approved by: delphij (mentor)


# 169971 25-May-2007 rafan

- When I introduce wide character enabled ncurses into base, all headers
are installed twice (once in non-widec version, onec in widec version).
Headers with widec enabled are compatible with non-widec version
for libraries. However, if you do a repeat build/install, the curses.h
is always overwritten. The reason is that headers and statics libraries
are installed with -S option to preserve their mtime if no actual changes,
which saves time when doing incremental builds. The curses.h is installed
by non-widec ncurses first, then by widec ncurses. So next time, it happens
again. You see something like this:

# pwd
/usr/src/lib/ncurses
# make -s installincludes INSTALL="install -v"
===> ncurses (installincludes)
install: curses.h -> /usr/include/curses.h
===> ncursesw (installincludes)
install: curses.h -> /usr/include/curses.h
# make -s installincludes INSTALL="install -v"
===> ncurses (installincludes)
install: curses.h -> /usr/include/curses.h
===> ncursesw (installincludes)
install: curses.h -> /usr/include/curses.h

The solution is to disable installing headers in non-widec version. Now
you see this:

# pwd
/usr/src/lib/ncurses
# make -s installincludes INSTALL="install -v"
===> ncurses (installincludes)
===> ncursesw (installincludes)
# make -s installincludes INSTALL="install -v"
===> ncurses (installincludes)
===> ncursesw (installincludes)

For form/panel/menu libraries, the headers are the same for both version.
To be consistent with ncurses, I also disable the installation in non-widec
version.

Reported by: des
Reviewed by: ru
Thanks to: ru
Approved by: delphij (mentor)
MFC after: 2 weeks


# 168774 16-Apr-2007 ru

Add a missing backslash and unbreak the build.


# 168772 16-Apr-2007 rafan

- Add missing man page links
- Remove link for define_key.3 which is a real man page
- Some whitespace nits

Approved by: delphij (mentor)


# 167359 09-Mar-2007 rafan

Enable ncurses wide character support

Approved by: delphij (mentor)
Tested by: kris on pointyhat (early version), current@


# 167358 09-Mar-2007 rafan

- style.Makefile(9) fix
- first line is $FreeBSD$
- Reorder special variables: DPADD, LPADD, CFLAGS
- Use = instead of += for variables that are initially empty
- Use space instead of tab after :
- Use one tab after =
- Use .SUFFIXES for section 3 manual page which simplifies Makefile a lot
- Use SHAREDIR instead of /usr/share
- Remove SRCDIR in INCS since we set .PATH properly
- Use plural in variable name when it stands for more that one source file

Reviewed by: ru
Approved by: delphij (mentor)


# 166389 01-Feb-2007 rafan

Remove old libmytinfo link.

Approved by: delphij (mentor)
Requested by: ache


# 166130 20-Jan-2007 rafan

Introduce new ncurses build glues which are part of ncurses 5.6 update.

Approved by: delphij
Inspired by: DragonFly's and lib/bind


# 166129 20-Jan-2007 rafan

Force commit to note the following repocopies:

lib/libform/Makefile -> lib/ncurses/form/Makefile
lib/libmenu/Makefile -> lib/ncurses/menu/Makefile
lib/libncurses/Makefile -> lib/ncurses/ncurses/Makefile
lib/libncurses/ncurses_cfg.h -> lib/ncurses/ncurses/ncurses_cfg.h
lib/libncurses/pathnames.h -> lib/ncurses/ncurses/pathnames.h
lib/libncurses/termcap.c -> lib/ncurses/ncurses/termcap.c
lib/libpanel/Makefile -> lib/ncurses/panel/Makefile

Approved by: delphij
Repocopied by: kuriyama


# 156854 18-Mar-2006 ru

Convert NO_PROFILE and NO_LIB32 to new style.


# 156837 18-Mar-2006 ru

Provide alternate default for SHLIBDIR before bsd.own.mk does this.

Reported by: phk


# 156813 17-Mar-2006 ru

Reimplementation of world/kernel build options. For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)


# 148297 22-Jul-2005 kensmith

Bump the shared library version number of all libraries that have not
been bumped since RELENG_5.

Reviewed by: ru
Approved by: re (not needed for commit check but in principle...)


# 139119 21-Dec-2004 ru

NOHTML -> NO_HTML


# 139110 21-Dec-2004 ru

NOINSTALLLIB -> NO_INSTALLLIB


# 139106 21-Dec-2004 ru

NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE


# 136910 24-Oct-2004 ru

For variables that are only checked with defined(), don't provide
any fake value.


# 136665 18-Oct-2004 ru

Replaced afterinstall: with FILES.


# 119581 30-Aug-2003 ru

Unbreak the NOINSTALLLIB install.

PR: 50945
Submitted by: Rene de Vries <rene@tunix.nl>
Reminded by: jmallett


# 119071 18-Aug-2003 obrien

style.Makefile(5)


# 119017 17-Aug-2003 gordon

Stage 3 of dynamic root support. Make all the libraries needed to run
binaries in /bin and /sbin installed in /lib. Only the versioned files
reside in /lib, the .so symlink continues to live /usr/lib so the
toolchain doesn't need to be modified.


# 115898 06-Jun-2003 kuriyama

Use
cat ${.ALLSRC} > ${.TARGET}
rather than
ln -sf ${.ALLSRC} ${.TARGET}
not to depends on absolute-path of symbolic links.

Commented by: marcel, obrien, bde


# 114297 30-Apr-2003 obrien

Symlink with -f.


# 113664 18-Apr-2003 ru

Make this compile under cs_CZ.ISO8859-2 locale.

Reported by: Pav Lucistnik <pav@oook.cz>

We hit this problem earlier, in PR misc/45460.


# 113136 05-Apr-2003 imp

Migrate to a new way of dealing with building from old revisions of
FreeBSD. This method attempts to centralize all the necessary hacks
or work arounds in one of two places in the tree (src/Makefile.inc1
and src/tools/build). We build a small compatibility library
(libbuild.a) as well as selectively installing necessary include
files. We then include this directory when building host binaries.

This removes all the past release compatibilty hacks from various
places in the tree. We still build on tip of stable and current. I
will work with those that want to support more, although I anticipate
it will just work.

Many thanks to ru@, obrien@ and jhb@ for providing valuable input at
various stage of implementation, as well as for working together to
positively effect a change for the better.


# 111490 25-Feb-2003 ru

Fixed CLEANFILES.

Submitted by: cron


# 106851 13-Nov-2002 ru

Actually check if stdbool.h exists when BOOTSTRAPPING.


# 106848 13-Nov-2002 ru

Bootstrapping aid for 4.0-RELEASE.


# 104073 27-Sep-2002 peter

Zap now-unused SHLIB_MINOR


# 103966 25-Sep-2002 markm

Try not to lint(1) contrib'ed sources. This Is Very Messy.


# 103909 24-Sep-2002 ache

Set _POSIX2_VERSION=199209 before calling MKkey_defs.sh as workaround of
obsolete +POS sort syntax.


# 103563 18-Sep-2002 mux

Add a missing file into the CLEANFILES variable.

Approved by: peter


# 103436 16-Sep-2002 peter

Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports. As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL. It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha


# 102227 21-Aug-2002 mike

o Merge <machine/ansi.h> and <machine/types.h> into a new header
called <machine/_types.h>.
o <machine/ansi.h> will continue to live so it can define MD clock
macros, which are only MD because of gratuitous differences between
architectures.
o Change all headers to make use of this. This mainly involves
changing:
#ifdef _BSD_FOO_T_
typedef _BSD_FOO_T_ foo_t;
#undef _BSD_FOO_T_
#endif
to:
#ifndef _FOO_T_DECLARED
typedef __foo_t foo_t;
#define _FOO_T_DECLARED
#endif

Concept by: bde
Reviewed by: jake, obrien


# 100872 29-Jul-2002 ru

Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by: bde


# 100313 18-Jul-2002 ru

s/${INSTALL} -c/${INSTALL} ${COPY}/


# 97740 02-Jun-2002 ache

Add NCURSES_OSPEED replace command to MANFILTER


# 97053 21-May-2002 peter

Initial update of bmake glue for ncurses-5.2-20020518. More to come.


# 96462 12-May-2002 ru

Added new bsd.incs.mk which handles installing of header files
via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to
handle symlinking include files. Allow for multiple groups of
include files to be installed, with the powerful INCSGROUPS knob.
Documentation to follow.

Added standard `includes' and `incsinstall' targets, use them
in Makefile.inc1. Headers from the following makefiles were
not installed before (during `includes' in Makefile.inc1):

kerberos5/lib/libtelnet/Makefile
lib/libbz2/Makefile
lib/libdevinfo/Makefile
lib/libform/Makefile
lib/libisc/Makefile
lib/libmenu/Makefile
lib/libmilter/Makefile
lib/libpanel/Makefile

Replaced all `beforeinstall' targets for installing includes
with the INCS stuff.

Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,
and for compatibility with NetBSD. Similarly for INCOWN, INCGRP,
and INCMODE.

Consistently use INCLUDEDIR instead of /usr/include.

gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes
were only lightly tested due to the missing contrib/libstdc++-v3.
I fully tested the pre-WIP_GCC31 version of this patch with the
contrib/libstdc++.295 stuff.

These changes have been tested on i386 with the -DNO_WERROR "make
world" and "make release".


# 83453 14-Sep-2001 ru

Unbreak build-tools -- build and use up-to-date ${HEADERS}.
These might not be present in /usr/include, or they may be
incompatible with the version we are building (for library
upgrades/downgrades).

This stopped the RELENG_4 buildworld on a -CURRENT box.
Well, this only fixes the issue if MFC'ed. :-)


# 78121 11-Jun-2001 peter

Turn on the extra 'const' settings for various curses functions. While
this is not strictly compliant with XSI curses, it enables us to pass
const strings to many more functions that are actually const safe than
before. This should be harmless.

Requested by: lots of folks


# 77879 07-Jun-2001 sobomax

Create curs_termcap.3 --> termcap.3 MLINK, so many manpages in our tree that
reference to termcap.3 will not be pointing to nowhere.

MFC after: 1 week


# 76783 17-May-2001 obrien

Use the correct FreeBSD definitions for wint_t and wchar_t.


# 76734 17-May-2001 peter

Argh. Fix a long-standing man page filter botch. See terminfo(5) for
the effect.


# 76731 17-May-2001 peter

Update for ncurses 5.2-20010512 import


# 74870 27-Mar-2001 ru

MAN[1-9] -> MAN.


# 69619 05-Dec-2000 tg

Add some missing functions in MLINKS. Link assume_default_colors.3
and use_default_colors.3 to default_colors.3 instead of dft_fgbg.3.
The former seems to be newer and/or better maintained.


# 66975 11-Oct-2000 peter

Fix a buildworld hiccup with build-tools that wasn't present in standalone
library builds.


# 66968 11-Oct-2000 peter

Update bmake glue after ncurses 5.1-20001009 import.


# 64245 04-Aug-2000 ru

src/Makefile.inc1 sets DESTDIR=${WORLDTMP} for `buildworld' stage
causing pre-processed manual pages, like terminfo(5), to point to
the temporary build tree.


# 62457 03-Jul-2000 peter

Add new man pages


# 62456 03-Jul-2000 peter

Get this to compile in the 5.1-20000701-prerelease environment.


# 57685 02-Mar-2000 peter

Make a link from curses.3 -> ncurses.3 so that 'man 3 curses' does
something remotely useful.


# 56642 26-Jan-2000 peter

Add the new version.c file for curses_version(3)


# 55816 11-Jan-2000 green

This is the second half of unbreaking the world build. Add a -DNOHTML
corollary for -DNOINFO and -DNOMAN. I'll fix this properly (add
specific HTML doc magic) in the .mk files later; right now, just
unbreak the world.


# 55813 11-Jan-2000 green

*draws his sword*
I smite thee, vile buildworld breakage!

The story is that these were added to beforeinstall improperly. In our
beforeinstall, a full mtree has not been populated. Since the tree is
not populated, we explode from missing directories on doc install. It
should not be done in beforeinstall (includes) anyway.


# 55759 10-Jan-2000 phantom

Install html files to /usr/share/doc/ncurses/


# 54876 20-Dec-1999 marcel

Make sure curses.h is generated when making build-tools make_keys
and make_hash depend on it.


# 54576 13-Dec-1999 marcel

Add a `build-tools' target for make_hash and make_keys.


# 54435 11-Dec-1999 marcel

Install include files with mode 444.


# 53926 30-Nov-1999 peter

EEK! termios mode wasn't activated..

Noticed by: Christian Weisgerber <naddy@mips.rhein-neckar.de>


# 51687 26-Sep-1999 peter

Try and catch a make -j problem in 'make depend'.

Tested by: Dirk-Willem van Gulik <dirkx@va-179.skylink.it>


# 50726 01-Sep-1999 peter

Add a missing dependency for make_hash which could make various forms of
make -jN fail. This fixes the present problem only, not the larger one
of when those internal tools are built and the cross-compiling etc.

Submitted by: luoqi


# 50676 30-Aug-1999 dt

Make SYMLINKS relative. SYMLINKS are supposed to be relative, and for this
reason ${DESTDIR} isn't added to the symlink source.


# 50624 30-Aug-1999 peter

Use src/contrib/ncurses, v5.0.990821 prerelease.

This isn't quite finished yet, there are still some unresolved problems
with ospeed and the sgtty.h (non-posix) terminal interface. Mostly
this only causes problems with src/games.

The other tools and libraries (libform,libpanel,libmenu) will come
shortly but are seperate.

Beware, there be dragons here! (The build will be broken for a short
while)


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 34710 20-Mar-1998 bde

Renamed the generated include file keys.tries to keys.tries.h so
that it can be put in SRCS for dependency generation to work
properly. Don't use beforedepend, as usual.


# 30605 20-Oct-1997 ache

Remove terminfo manpage we don't have it


# 28698 25-Aug-1997 ache

Fix saving/restoring tty modes, allow initscr be called twice,
from ncurses 4.1


# 28665 24-Aug-1997 ache

Add winnstr family and fake resizeterm from ncurses 4.1 for compatibility
with recent applications.
Bump minor number.


# 22993 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 18050 05-Sep-1996 bde

Fixed DPADD.


# 17935 30-Aug-1996 peter

cmp -s || install -c ==> install -C


# 17830 26-Aug-1996 peter

Delete -DGOOD_SELECT from CFLAGS, we don't have it. This is used to
indicate that select() returns the leftover time remaining in the timeval
arg of select, we don't do that (yet :-).


# 15947 27-May-1996 wosch

remove MLINKS tparm.3 due name clash with libtermcap


# 13987 08-Feb-1996 mpp

Added some missing MLINKS for section 3 man pages.
Also corrected a few minor formatting errors, file location and cross
references in some of the section 3 man pages.

This shuts up a lot of the output from "manck" for section 3.


# 9971 06-Aug-1995 bde

Install source files with the -c flag, not with the optional flag ${COPY}.


# 8353 08-May-1995 ache

Bump major number instead of minor


# 8247 03-May-1995 ache

Bump minor number


# 7962 20-Apr-1995 ache

Add a bit more docs


# 6344 13-Feb-1995 ache

Add missing lib_window.c to SRCS


# 4941 04-Dec-1994 ache

termcap.h now belongs to system


# 4898 02-Dec-1994 ache

Upgrade to version 1.8.6


# 4860 29-Nov-1994 ache

wscrl: implement partial scrolling via al/dl
winsdel: implemented via wscrl
winsertln/deleteln: implemented as macros via winsdel


# 3960 28-Oct-1994 ache

Add -I${.CURDIR}


# 3526 11-Oct-1994 ache

LDADD: = -> +=


# 3523 11-Oct-1994 ache

Fix two problems pointed by Bruce:
keys.tries generated in ${.CURDIR} which may be readonly
lib_options.{po,so} not properly rebuilded if keys.tries deleted
and no .depend


# 3482 09-Oct-1994 ache

Merge term.h & nterm.h


# 3455 09-Oct-1994 ache

Add copyright.c to be always linked in


# 3410 07-Oct-1994 ache

Moved from ports with several enhancements