2018-09-02 08:30:36 +08:00
|
|
|
# $Id: Makefile.in,v 1.118 2018/08/12 00:06:34 tom Exp $
|
1998-03-01 12:21:12 +08:00
|
|
|
##############################################################################
|
2018-09-02 08:30:36 +08:00
|
|
|
# Copyright (c) 1998-2017,2018 Free Software Foundation, Inc. #
|
1998-03-01 12:21:12 +08:00
|
|
|
# #
|
|
|
|
# Permission is hereby granted, free of charge, to any person obtaining a #
|
|
|
|
# copy of this software and associated documentation files (the "Software"), #
|
|
|
|
# to deal in the Software without restriction, including without limitation #
|
|
|
|
# the rights to use, copy, modify, merge, publish, distribute, distribute #
|
|
|
|
# with modifications, sublicense, and/or sell copies of the Software, and to #
|
|
|
|
# permit persons to whom the Software is furnished to do so, subject to the #
|
|
|
|
# following conditions: #
|
|
|
|
# #
|
|
|
|
# The above copyright notice and this permission notice shall be included in #
|
|
|
|
# all copies or substantial portions of the Software. #
|
|
|
|
# #
|
|
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
|
|
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, #
|
|
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL #
|
|
|
|
# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER #
|
|
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING #
|
|
|
|
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER #
|
|
|
|
# DEALINGS IN THE SOFTWARE. #
|
|
|
|
# #
|
|
|
|
# Except as contained in this notice, the name(s) of the above copyright #
|
|
|
|
# holders shall not be used in advertising or otherwise to promote the sale, #
|
|
|
|
# use or other dealings in this Software without prior written #
|
|
|
|
# authorization. #
|
|
|
|
##############################################################################
|
|
|
|
#
|
2004-02-09 10:15:26 +08:00
|
|
|
# Author: Thomas E. Dickey
|
1998-03-01 12:21:12 +08:00
|
|
|
#
|
1997-05-15 12:00:00 +08:00
|
|
|
# Simple makefile for c++ window class demo
|
|
|
|
|
|
|
|
# turn off _all_ suffix rules; we'll generate our own
|
|
|
|
.SUFFIXES:
|
|
|
|
|
2015-08-09 08:19:07 +08:00
|
|
|
SHELL = @SHELL@
|
2010-11-28 08:33:36 +08:00
|
|
|
VPATH = @srcdir@
|
1997-05-15 12:00:00 +08:00
|
|
|
|
1999-10-24 12:32:42 +08:00
|
|
|
CF_MFLAGS = @cf_cv_makeflags@
|
|
|
|
@SET_MAKE@
|
2004-02-09 10:15:26 +08:00
|
|
|
x = @EXEEXT@
|
|
|
|
o = .@OBJEXT@
|
1999-10-24 12:32:42 +08:00
|
|
|
|
1997-05-15 12:00:00 +08:00
|
|
|
MODEL = ../@DFT_OBJ_SUBDIR@
|
2000-10-21 12:42:11 +08:00
|
|
|
DESTDIR = @DESTDIR@
|
2014-11-16 12:08:00 +08:00
|
|
|
top_srcdir = @top_srcdir@
|
1997-05-15 12:00:00 +08:00
|
|
|
srcdir = @srcdir@
|
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
2013-05-19 08:22:02 +08:00
|
|
|
bindir = @bindir@
|
1997-05-15 12:00:00 +08:00
|
|
|
libdir = @libdir@
|
|
|
|
includedir = @includedir@
|
2013-08-05 17:18:54 +08:00
|
|
|
includesubdir = @includesubdir@
|
|
|
|
|
|
|
|
INCLUDEDIR = $(DESTDIR)$(includedir)$(includesubdir)
|
1997-05-15 12:00:00 +08:00
|
|
|
|
2014-11-16 12:08:00 +08:00
|
|
|
PACKAGE = @PACKAGE@
|
|
|
|
|
2004-02-09 10:15:26 +08:00
|
|
|
LIBTOOL = @LIBTOOL_CXX@
|
2015-10-18 08:40:46 +08:00
|
|
|
LIBTOOL_OPTS = @LIBTOOL_OPTS@ @LIBTOOL_OPTS_CXX@
|
2004-02-09 10:15:26 +08:00
|
|
|
LIBTOOL_CLEAN = @LIB_CLEAN@
|
|
|
|
LIBTOOL_COMPILE = @LIB_COMPILE@
|
|
|
|
LIBTOOL_LINK = @LIB_LINK@
|
|
|
|
LIBTOOL_INSTALL = @LIB_INSTALL@
|
|
|
|
LIBTOOL_UNINSTALL = @LIB_UNINSTALL@
|
2010-05-16 08:56:17 +08:00
|
|
|
LIBTOOL_VERSION = @LIBTOOL_VERSION@
|
ncurses 5.7 - patch 20090328
+ extend ansi.sys pfkey capability from kf1-kf10 to kf1-kf48, moving
function key definitions from emx-base for consistency -TD
+ correct missing final 'p' in pfkey capability of ansi.sys-old (report
by Kalle Olavi Niemitalo).
+ improve test/ncurses.c 'F' test, show combining characters in color.
+ quiet a false report by cppcheck in c++/cursesw.cc by eliminating
a temporary variable.
+ use _nc_doalloc() rather than realloc() in a few places in ncurses
library to avoid leak in out-of-memory condition (reports by William
Egert and Martin Ettl based on cppcheck tool).
+ add --with-ncurses-wrap-prefix option to test/configure (discussion
with Charles Wilson).
+ use ncurses*-config scripts if available for test/configure.
+ update test/aclocal.m4 and test/configure
> patches by Charles Wilson:
+ modify CF_WITH_LIBTOOL configure check to allow unreleased libtool
version numbers (e.g. which include alphabetic chars, as well as
digits, after the final '.').
+ improve use of -no-undefined option for libtool by setting an
intermediate variable LT_UNDEF in the configure script, and then
using that in the libtool link-commands.
+ fix an missing use of NCURSES_PUBLIC_VAR() in tinfo/MKcodes.awk
from 2009031 changes.
+ improve mk-1st.awk script by writing separate cases for the
LIBTOOL_LINK command, depending on which library (ncurses, ticlib,
termlib) is to be linked.
+ modify configure.in to allow broken-linker configurations, not just
enable-reentrant, to set public wrap prefix.
2009-03-29 08:06:57 +08:00
|
|
|
LT_UNDEF = @LT_UNDEF@
|
2000-10-21 12:42:11 +08:00
|
|
|
|
2018-08-19 09:04:13 +08:00
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_LIB = $(INSTALL) @INSTALL_LIB@
|
1998-03-01 12:21:12 +08:00
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
2018-08-19 09:04:13 +08:00
|
|
|
INSTALL_OPT_P = @INSTALL_OPT_P@
|
1998-03-01 12:21:12 +08:00
|
|
|
|
|
|
|
AR = @AR@
|
2009-01-04 10:08:30 +08:00
|
|
|
ARFLAGS = @ARFLAGS@
|
2013-03-10 08:35:23 +08:00
|
|
|
AWK = @AWK@
|
|
|
|
LD = @LD@
|
|
|
|
LN_S = @LN_S@
|
2002-10-13 11:35:53 +08:00
|
|
|
|
|
|
|
CXX_AR = @CXX_AR@
|
2009-01-04 10:08:30 +08:00
|
|
|
CXX_ARFLAGS = @CXX_ARFLAGS@
|
2004-02-09 10:15:26 +08:00
|
|
|
RANLIB = @LIB_PREP@
|
1998-03-01 12:21:12 +08:00
|
|
|
|
1997-05-15 12:00:00 +08:00
|
|
|
CXX = @CXX@
|
2005-10-10 02:41:57 +08:00
|
|
|
CPP = @CXXCPP@
|
|
|
|
CXXFLAGS = @CXXFLAGS@ @EXTRA_CXXFLAGS@
|
1997-05-15 12:00:00 +08:00
|
|
|
CXXLIBS = @CXXLIBS@
|
|
|
|
|
|
|
|
INCDIR = ../include
|
2016-05-22 08:49:17 +08:00
|
|
|
CPPFLAGS = -DHAVE_CONFIG_H -I../c++ @CPPFLAGS@
|
1997-05-15 12:00:00 +08:00
|
|
|
|
2010-04-04 09:26:17 +08:00
|
|
|
CTAGS = @CTAGS@
|
|
|
|
ETAGS = @ETAGS@
|
|
|
|
|
2007-04-22 08:57:08 +08:00
|
|
|
CC = ${CXX}
|
1997-05-15 12:00:00 +08:00
|
|
|
CCFLAGS = $(CPPFLAGS) $(CXXFLAGS)
|
|
|
|
|
2000-10-21 12:42:11 +08:00
|
|
|
CFLAGS_LIBTOOL = $(CCFLAGS)
|
1997-05-15 12:00:00 +08:00
|
|
|
CFLAGS_NORMAL = $(CCFLAGS)
|
|
|
|
CFLAGS_DEBUG = $(CCFLAGS) @CXX_G_OPT@ -DTRACE
|
|
|
|
CFLAGS_PROFILE = $(CCFLAGS) -pg
|
1999-10-24 12:32:42 +08:00
|
|
|
CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@
|
1997-05-15 12:00:00 +08:00
|
|
|
|
|
|
|
CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
|
|
|
|
|
2000-10-21 12:42:11 +08:00
|
|
|
NCURSES_MAJOR = @NCURSES_MAJOR@
|
|
|
|
NCURSES_MINOR = @NCURSES_MINOR@
|
1998-03-01 12:21:12 +08:00
|
|
|
REL_VERSION = @cf_cv_rel_version@
|
|
|
|
ABI_VERSION = @cf_cv_abi_version@
|
|
|
|
|
2006-12-18 12:32:42 +08:00
|
|
|
LOCAL_LIBDIR = @top_builddir@/lib
|
|
|
|
|
2007-04-22 08:57:08 +08:00
|
|
|
LINK = @LINK_PROGS@ $(LIBTOOL_LINK) @CXXLDFLAGS@
|
2004-02-09 10:15:26 +08:00
|
|
|
SHLIB_DIRS = -L../lib
|
ncurses 5.9 - patch 20150502
+ modify the configure script to allow different default values
for ABI 5 versus ABI 6.
+ add wgetch-events to test-packages.
+ add a note on how to build ncurses-examples to test/README.
+ fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
Debian #783486) -TD
+ remove unnecessary ';' from E3 capabilities -TD
+ add tmux entry, derived from screen (patch by Nicholas Marriott).
+ split-out recent change to nsterm-bce as nsterm-build326, and add
nsterm-build342 to reflect changes with successive releases of OSX
(discussion with Leonardo B Schenkel)
+ add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
#783806)
+ add sample "magic" file, to document ext-putwin.
+ modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
generated ".pc" file when ld option "--as-needed" is used, or when
ncurses and tinfo are installed without using rpath (prompted by
discussion with Sylvain Bertrand).
+ modify test-package for ncurses6 to omit rpath feature when installed
in /usr.
+ add OSX's "*.dSYM" to clean-rules in makefiles.
+ make extra-suffix work for OSX configuration, e.g., for shared
libraries.
+ modify Ada95/configure script to work with pkg-config
+ move test-package for ncurses6 to /usr, since filename-conflicts have
been eliminated.
+ corrected build rules for Ada95/gen/generate; it does not depend on
the ncurses library aside from headers.
+ reviewed man pages, fixed a few other spelling errors.
+ fix a typo in curs_util.3x (Sven Joachim).
+ use extra-suffix in some overlooked shared library dependencies
found by 20150425 changes for test-packages.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git
2015-05-03 09:06:46 +08:00
|
|
|
SHLIB_LIST = $(SHLIB_DIRS) -lform@USE_LIB_SUFFIX@ -lmenu@USE_LIB_SUFFIX@ -lpanel@USE_LIB_SUFFIX@ -lncurses@USE_LIB_SUFFIX@ @SHLIB_LIST@
|
2000-10-21 12:42:11 +08:00
|
|
|
|
|
|
|
LIBROOT = ncurses++
|
|
|
|
|
ncurses 5.9 - patch 20150502
+ modify the configure script to allow different default values
for ABI 5 versus ABI 6.
+ add wgetch-events to test-packages.
+ add a note on how to build ncurses-examples to test/README.
+ fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
Debian #783486) -TD
+ remove unnecessary ';' from E3 capabilities -TD
+ add tmux entry, derived from screen (patch by Nicholas Marriott).
+ split-out recent change to nsterm-bce as nsterm-build326, and add
nsterm-build342 to reflect changes with successive releases of OSX
(discussion with Leonardo B Schenkel)
+ add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
#783806)
+ add sample "magic" file, to document ext-putwin.
+ modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
generated ".pc" file when ld option "--as-needed" is used, or when
ncurses and tinfo are installed without using rpath (prompted by
discussion with Sylvain Bertrand).
+ modify test-package for ncurses6 to omit rpath feature when installed
in /usr.
+ add OSX's "*.dSYM" to clean-rules in makefiles.
+ make extra-suffix work for OSX configuration, e.g., for shared
libraries.
+ modify Ada95/configure script to work with pkg-config
+ move test-package for ncurses6 to /usr, since filename-conflicts have
been eliminated.
+ corrected build rules for Ada95/gen/generate; it does not depend on
the ncurses library aside from headers.
+ reviewed man pages, fixed a few other spelling errors.
+ fix a typo in curs_util.3x (Sven Joachim).
+ use extra-suffix in some overlooked shared library dependencies
found by 20150425 changes for test-packages.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git
2015-05-03 09:06:46 +08:00
|
|
|
LIBNAME_LIBTOOL = @LIB_PREFIX@$(LIBROOT)@USE_LIB_SUFFIX@.la
|
|
|
|
LIBNAME_NORMAL = @LIB_PREFIX@$(LIBROOT)@USE_LIB_SUFFIX@.a
|
2000-10-21 12:42:11 +08:00
|
|
|
LIBNAME = @LIB_PREFIX@$(LIBROOT)@CXX_LIB_SUFFIX@
|
1998-03-01 12:21:12 +08:00
|
|
|
|
2013-03-10 08:35:23 +08:00
|
|
|
LIBRARIES = @Libs_To_Make@
|
2010-09-05 09:24:19 +08:00
|
|
|
|
ncurses 5.9 - patch 20150502
+ modify the configure script to allow different default values
for ABI 5 versus ABI 6.
+ add wgetch-events to test-packages.
+ add a note on how to build ncurses-examples to test/README.
+ fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
Debian #783486) -TD
+ remove unnecessary ';' from E3 capabilities -TD
+ add tmux entry, derived from screen (patch by Nicholas Marriott).
+ split-out recent change to nsterm-bce as nsterm-build326, and add
nsterm-build342 to reflect changes with successive releases of OSX
(discussion with Leonardo B Schenkel)
+ add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
#783806)
+ add sample "magic" file, to document ext-putwin.
+ modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
generated ".pc" file when ld option "--as-needed" is used, or when
ncurses and tinfo are installed without using rpath (prompted by
discussion with Sylvain Bertrand).
+ modify test-package for ncurses6 to omit rpath feature when installed
in /usr.
+ add OSX's "*.dSYM" to clean-rules in makefiles.
+ make extra-suffix work for OSX configuration, e.g., for shared
libraries.
+ modify Ada95/configure script to work with pkg-config
+ move test-package for ncurses6 to /usr, since filename-conflicts have
been eliminated.
+ corrected build rules for Ada95/gen/generate; it does not depend on
the ncurses library aside from headers.
+ reviewed man pages, fixed a few other spelling errors.
+ fix a typo in curs_util.3x (Sven Joachim).
+ use extra-suffix in some overlooked shared library dependencies
found by 20150425 changes for test-packages.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git
2015-05-03 09:06:46 +08:00
|
|
|
LINK_FLAGS = @EXTRA_LDFLAGS@ -L../lib -l$(LIBROOT)@USE_LIB_SUFFIX@
|
ncurses 5.9 - patch 20110730
+ modify configure script and makefiles in c++ and progs to allow the
directory used for rpath option to be overridden, e.g., to work
around updates to the variables used by tic during an install.
+ add -K option to tic/infocmp, to provide stricter BSD-compatibility
for termcap output.
+ add _nc_strict_bsd variable in tic library which controls the
"strict" BSD termcap compatibility from 20110723, plus these
features:
+ allow escapes such as "\8" and "\9" when reading termcap
+ disallow "\a", "\e", "\l", "\s" and "\:" escapes when reading
termcap files, passing through "a", "e", etc.
+ expand "\:" as "\072" on output.
+ modify _nc_get_token() to reset the token's string value in case
there is a string-typed token lacking the "=" marker.
+ fix a few memory leaks in _nc_tgetent.
+ fix a few places where reading from a termcap file could refer to
freed memory.
+ add an overflow check when converting terminfo/termcap numeric
values, since terminfo stores those in a short, and they must be
positive.
+ correct internal variables used for translating to termcap "%>"
feature, and translating from termcap %B to terminfo, needed by
tctest (cf: 19991211).
+ amend a minor fix to acsc when loading a termcap file to separate it
from warnings needed for tic (cf: 20040710)
+ modify logic in _nc_read_entry() and _nc_read_tic_entry() to allow
a termcap file to be handled via TERMINFO_DIRS.
+ modify _nc_infotocap() to include non-mandatory padding when
translating to termcap.
+ modify _nc_read_termcap_entry(), passing a flag in the case where
getcap is used, to reduce interactive warning messages.
2011-07-31 09:15:59 +08:00
|
|
|
RPATH_LIST = @RPATH_LIST@
|
2013-03-10 08:35:23 +08:00
|
|
|
MK_SHARED_LIB = @MK_SHARED_LIB@
|
1998-03-01 12:21:12 +08:00
|
|
|
|
2013-03-10 08:35:23 +08:00
|
|
|
LINK_LIBTOOL = @EXTRA_LDFLAGS@ -L../lib $(LIBRARIES)
|
2000-10-21 12:42:11 +08:00
|
|
|
LINK_NORMAL = $(LINK_FLAGS)
|
|
|
|
LINK_DEBUG = $(LINK_FLAGS)
|
|
|
|
LINK_PROFILE = $(LINK_FLAGS)
|
|
|
|
LINK_SHARED = $(LINK_FLAGS)
|
|
|
|
|
2013-04-07 09:11:39 +08:00
|
|
|
# flags for test-programs
|
2010-02-21 10:19:47 +08:00
|
|
|
TEST_LIBS = @TEST_LIBS@
|
2007-04-29 08:13:28 +08:00
|
|
|
TEST_ARGS = @LDFLAGS_STATIC@ @TEST_ARGS@ @LDFLAGS_SHARED@
|
2013-04-07 09:11:39 +08:00
|
|
|
TEST_LDFLAGS = $(TEST_ARGS) @LDFLAGS@ \
|
2010-02-21 10:19:47 +08:00
|
|
|
@LD_MODEL@ $(TEST_LIBS) @LIBS@ @LOCAL_LDFLAGS@ $(CXXLIBS)
|
1997-05-15 12:00:00 +08:00
|
|
|
|
2013-04-07 09:11:39 +08:00
|
|
|
LDFLAGS_LIBTOOL = $(TEST_LDFLAGS) $(CFLAGS_LIBTOOL)
|
|
|
|
LDFLAGS_NORMAL = $(TEST_LDFLAGS) $(CFLAGS_NORMAL)
|
|
|
|
LDFLAGS_DEBUG = $(TEST_LDFLAGS) $(CFLAGS_DEBUG)
|
|
|
|
LDFLAGS_PROFILE = $(TEST_LDFLAGS) $(CFLAGS_PROFILE)
|
|
|
|
LDFLAGS_SHARED = $(TEST_LDFLAGS) $(CFLAGS_SHARED) @LD_SHARED_OPTS@
|
1998-03-01 12:21:12 +08:00
|
|
|
|
2000-10-21 12:42:11 +08:00
|
|
|
LDFLAGS_DEFAULT = $(LINK_@DFT_UPR_MODEL@) $(LDFLAGS_@DFT_UPR_MODEL@)
|
1998-03-01 12:21:12 +08:00
|
|
|
|
2013-04-07 09:11:39 +08:00
|
|
|
# flags for library built by this makefile
|
|
|
|
LDFLAGS = $(TEST_ARGS) @LDFLAGS@ \
|
|
|
|
@LD_MODEL@ $(TEST_LIBS) @LIBS@ $(CXXLIBS)
|
|
|
|
|
1998-03-01 12:21:12 +08:00
|
|
|
AUTO_SRC = \
|
|
|
|
etip.h
|
1997-05-15 12:00:00 +08:00
|
|
|
|
2000-07-09 10:46:08 +08:00
|
|
|
all \
|
2013-03-10 08:35:23 +08:00
|
|
|
libs :: $(AUTO_SRC) $(LIBRARIES)
|
2000-07-09 10:46:08 +08:00
|
|
|
|
2010-09-05 09:24:19 +08:00
|
|
|
@MAKE_TESTS@all :: demo$x
|
1998-03-01 12:21:12 +08:00
|
|
|
|
|
|
|
sources : $(AUTO_SRC)
|
|
|
|
|
2002-10-13 11:35:53 +08:00
|
|
|
depend :
|
|
|
|
|
2005-10-10 02:41:57 +08:00
|
|
|
tags:
|
2010-04-04 09:26:17 +08:00
|
|
|
$(CTAGS) *.[h] *.cc
|
2005-10-10 02:41:57 +08:00
|
|
|
|
2000-10-21 12:42:11 +08:00
|
|
|
$(DESTDIR)$(libdir) :
|
2010-05-16 08:56:17 +08:00
|
|
|
mkdir -p $@
|
1997-05-15 12:00:00 +08:00
|
|
|
|
1998-03-01 12:21:12 +08:00
|
|
|
mostlyclean ::
|
2002-10-13 11:35:53 +08:00
|
|
|
-rm -f core tags TAGS *~ *.bak *.i *.ii *.ln *.atac trace
|
1998-03-01 12:21:12 +08:00
|
|
|
|
|
|
|
clean :: mostlyclean
|
2015-08-09 08:19:07 +08:00
|
|
|
-$(SHELL) -c "if test -n '$x' ; then $(MAKE) clean x=''; fi"
|
2002-10-13 11:35:53 +08:00
|
|
|
-rm -rf $(MODEL)/SunWS_cache
|
2013-03-17 09:23:04 +08:00
|
|
|
-$(LIBTOOL_CLEAN) rm -f demo$x $(AUTO_SRC) $(LIBRARIES) $(OBJS_DEMO)
|
ncurses 5.9 - patch 20150502
+ modify the configure script to allow different default values
for ABI 5 versus ABI 6.
+ add wgetch-events to test-packages.
+ add a note on how to build ncurses-examples to test/README.
+ fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
Debian #783486) -TD
+ remove unnecessary ';' from E3 capabilities -TD
+ add tmux entry, derived from screen (patch by Nicholas Marriott).
+ split-out recent change to nsterm-bce as nsterm-build326, and add
nsterm-build342 to reflect changes with successive releases of OSX
(discussion with Leonardo B Schenkel)
+ add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
#783806)
+ add sample "magic" file, to document ext-putwin.
+ modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
generated ".pc" file when ld option "--as-needed" is used, or when
ncurses and tinfo are installed without using rpath (prompted by
discussion with Sylvain Bertrand).
+ modify test-package for ncurses6 to omit rpath feature when installed
in /usr.
+ add OSX's "*.dSYM" to clean-rules in makefiles.
+ make extra-suffix work for OSX configuration, e.g., for shared
libraries.
+ modify Ada95/configure script to work with pkg-config
+ move test-package for ncurses6 to /usr, since filename-conflicts have
been eliminated.
+ corrected build rules for Ada95/gen/generate; it does not depend on
the ncurses library aside from headers.
+ reviewed man pages, fixed a few other spelling errors.
+ fix a typo in curs_util.3x (Sven Joachim).
+ use extra-suffix in some overlooked shared library dependencies
found by 20150425 changes for test-packages.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git
2015-05-03 09:06:46 +08:00
|
|
|
-rm -rf .libs *.dSYM
|
1997-05-15 12:00:00 +08:00
|
|
|
|
|
|
|
distclean :: clean
|
|
|
|
-rm -f Makefile
|
|
|
|
|
|
|
|
realclean :: distclean
|
|
|
|
|
1998-03-01 12:21:12 +08:00
|
|
|
###############################################################################
|
|
|
|
|
2013-04-07 09:11:39 +08:00
|
|
|
internal_h = $(srcdir)/internal.h \
|
|
|
|
$(INCDIR)/ncurses_cfg.h \
|
|
|
|
$(INCDIR)/nc_mingw.h \
|
|
|
|
$(INCDIR)/nc_string.h
|
|
|
|
|
|
|
|
etip_h = etip.h \
|
|
|
|
$(INCDIR)/ncurses_dll.h
|
|
|
|
|
1998-03-01 12:21:12 +08:00
|
|
|
cursesw_h = $(srcdir)/cursesw.h \
|
2013-04-07 09:11:39 +08:00
|
|
|
$(etip_h) \
|
1998-03-01 12:21:12 +08:00
|
|
|
$(INCDIR)/curses.h
|
|
|
|
|
|
|
|
cursesp_h = $(srcdir)/cursesp.h \
|
|
|
|
$(cursesw_h) \
|
|
|
|
$(INCDIR)/panel.h
|
|
|
|
|
|
|
|
cursesf_h = $(srcdir)/cursesf.h \
|
|
|
|
$(cursesp_h) \
|
|
|
|
$(INCDIR)/form.h
|
|
|
|
|
|
|
|
cursesm_h = $(srcdir)/cursesm.h \
|
|
|
|
$(cursesp_h) \
|
|
|
|
$(INCDIR)/menu.h
|
|
|
|
|
|
|
|
cursslk_h = $(srcdir)/cursslk.h \
|
|
|
|
$(cursesw_h)
|
|
|
|
|
|
|
|
cursesapp_h = $(srcdir)/cursesapp.h \
|
|
|
|
$(cursslk_h)
|
|
|
|
|
|
|
|
$(INCDIR)/form.h :
|
|
|
|
cd ../form && $(MAKE) $@
|
|
|
|
|
|
|
|
$(INCDIR)/menu.h :
|
|
|
|
cd ../menu && $(MAKE) $@
|
|
|
|
|
|
|
|
$(INCDIR)/panel.h :
|
|
|
|
cd ../panel && $(MAKE) $@
|
|
|
|
|
2013-04-14 08:01:10 +08:00
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
OBJS_DEMO = $(MODEL)/demo$o
|
|
|
|
|
|
|
|
$(MODEL)/demo$o : $(srcdir)/demo.cc \
|
|
|
|
$(internal_h) \
|
|
|
|
$(cursesf_h) \
|
|
|
|
$(cursesm_h) \
|
|
|
|
$(cursesapp_h)
|
|
|
|
@echo 'compiling demo (obj_s)'
|
|
|
|
@$(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_DEFAULT) -c $(srcdir)/demo.cc -o $@
|
|
|
|
|
|
|
|
demo$x: $(OBJS_DEMO) \
|
|
|
|
$(LIBRARIES) \
|
|
|
|
@TEST_DEPS@
|
|
|
|
@ECHO_LD@ $(LINK) -o $@ $(OBJS_DEMO) $(LDFLAGS_DEFAULT)
|
|
|
|
|
|
|
|
etip.h: $(srcdir)/etip.h.in $(srcdir)/edit_cfg.sh
|
|
|
|
cp $(srcdir)/etip.h.in $@
|
2015-08-09 08:19:07 +08:00
|
|
|
$(SHELL) $(srcdir)/edit_cfg.sh ../include/ncurses_cfg.h $@
|
2013-04-14 08:01:10 +08:00
|
|
|
|
1997-05-15 12:00:00 +08:00
|
|
|
###############################################################################
|
|
|
|
# The remainder of this file is automatically generated during configuration
|
|
|
|
###############################################################################
|