1998-03-01 12:21:12 +08:00
|
|
|
##############################################################################
|
2018-01-21 08:35:48 +08:00
|
|
|
# Copyright (c) 1998-2015,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. #
|
|
|
|
##############################################################################
|
|
|
|
#
|
2002-10-13 11:35:53 +08:00
|
|
|
# Author: Juergen Pfeifer, 1996
|
1998-03-01 12:21:12 +08:00
|
|
|
#
|
2018-01-21 08:35:48 +08:00
|
|
|
# $Id: Makefile.in,v 1.87 2018/01/16 00:12:53 tom Exp $
|
1997-05-15 12:00:00 +08:00
|
|
|
#
|
|
|
|
.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
|
|
|
THIS = Makefile
|
|
|
|
|
2012-10-07 09:23:59 +08:00
|
|
|
x = @EXEEXT@
|
2000-10-21 12:42:11 +08:00
|
|
|
|
1998-03-01 12:21:12 +08:00
|
|
|
top_srcdir = @top_srcdir@
|
2000-10-21 12:42:11 +08:00
|
|
|
DESTDIR = @DESTDIR@
|
1997-05-15 12:00:00 +08:00
|
|
|
srcdir = @srcdir@
|
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
2007-04-08 09:10:28 +08:00
|
|
|
bindir = @bindir@
|
2010-02-21 10:19:47 +08:00
|
|
|
includedir = @includedir@
|
2007-04-08 09:10:28 +08:00
|
|
|
|
2018-01-21 08:35:48 +08:00
|
|
|
INSTALL = @INSTALL@ @INSTALL_OPT_O@
|
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
1997-05-15 12:00:00 +08:00
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
|
|
|
|
AWK = @AWK@
|
|
|
|
LN_S = @LN_S@
|
|
|
|
|
2004-02-09 10:15:26 +08:00
|
|
|
CC = @CC@
|
2000-10-21 12:42:11 +08:00
|
|
|
HOST_CC = @BUILD_CC@
|
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
|
|
|
|
1997-05-15 12:00:00 +08:00
|
|
|
CFLAGS = @CFLAGS@
|
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
|
|
|
HOST_CFLAGS = @BUILD_CFLAGS@
|
1997-05-15 12:00:00 +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
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
HOST_CPPFLAGS = @ACPPFLAGS@ @BUILD_CPPFLAGS@ \
|
1997-05-15 12:00:00 +08:00
|
|
|
-DHAVE_CONFIG_H -I$(srcdir)
|
|
|
|
|
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
|
|
|
CCFLAGS = $(HOST_CPPFLAGS) $(HOST_CFLAGS)
|
1997-05-15 12:00:00 +08:00
|
|
|
CFLAGS_NORMAL = $(CCFLAGS)
|
|
|
|
CFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE
|
|
|
|
CFLAGS_PROFILE = $(CCFLAGS) -pg
|
|
|
|
CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@
|
|
|
|
|
|
|
|
CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
|
|
|
|
|
2006-12-18 12:32:42 +08:00
|
|
|
REL_VERSION = @cf_cv_rel_version@
|
|
|
|
ABI_VERSION = @cf_cv_abi_version@
|
|
|
|
LOCAL_LIBDIR = @top_builddir@/lib
|
|
|
|
|
2000-10-21 12:42:11 +08:00
|
|
|
LINK = $(HOST_CC)
|
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
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBS = @LIBS@
|
2015-06-07 09:16:17 +08:00
|
|
|
|
|
|
|
# For the wide-character configuration combined with broken_linker, we need
|
|
|
|
# addresses of ACS_xxx constants, which requires linking with the newly built
|
|
|
|
# ncurses library. If cross-compiling, the developer has to fill in a workable
|
|
|
|
# native library for this purpose.
|
|
|
|
NATIVE_LDFLAGS = @LD_MODEL@ $(LOCAL_LIBS) @TINFO_LDFLAGS2@ $(LDFLAGS) @LIBS@ @LOCAL_LDFLAGS2@ $(LDFLAGS) @TINFO_LIBS@
|
|
|
|
CROSS_LDFLAGS = @BUILD_LDFLAGS@ @BUILD_LIBS@
|
|
|
|
|
|
|
|
ACTUAL_LDFLAGS = @ADAGEN_LDFLAGS@
|
1997-05-15 12:00:00 +08:00
|
|
|
|
|
|
|
RANLIB = @RANLIB@
|
|
|
|
|
|
|
|
M4 = m4
|
2008-10-05 08:17:19 +08:00
|
|
|
M4FLAGS = -DNCURSES_EXT_FUNCS=@NCURSES_EXT_FUNCS@
|
1997-05-15 12:00:00 +08:00
|
|
|
|
2015-04-19 08:05:38 +08:00
|
|
|
ADACURSES_CONFIG = adacurses@USE_CFG_SUFFIX@-config
|
2007-04-08 09:10:28 +08:00
|
|
|
|
2010-02-28 09:35:06 +08:00
|
|
|
WRAPPER = @NCURSES_SHLIB2@
|
2010-06-13 05:29:38 +08:00
|
|
|
|
|
|
|
PROG_GENERATE = ./generate$x
|
|
|
|
GENERATE = $(PROG_GENERATE) '@DFT_ARG_SUFFIX@'
|
1997-05-15 12:00:00 +08:00
|
|
|
DEL_ADAMODE = sed -e '/^\-\-\ \ \-\*\-\ ada\ \-\*\-.*/d'
|
|
|
|
|
2011-03-20 08:59:06 +08:00
|
|
|
GNATHTML = `type -p gnathtml || type -p gnathtml.pl 2>/dev/null`
|
2000-07-09 10:46:08 +08:00
|
|
|
GNATHP = www.gnat.com
|
|
|
|
|
1997-05-15 12:00:00 +08:00
|
|
|
################################################################################
|
1998-03-01 12:21:12 +08:00
|
|
|
ALIB = @cf_ada_package@
|
1997-05-15 12:00:00 +08:00
|
|
|
ABASE = $(ALIB)-curses
|
|
|
|
|
1999-10-24 12:32:42 +08:00
|
|
|
ADA_SRCDIR = ../src
|
1997-05-15 12:00:00 +08:00
|
|
|
|
|
|
|
GEN_TARGETS = $(ADA_SRCDIR)/$(ABASE).ads \
|
2007-04-01 08:48:02 +08:00
|
|
|
$(ADA_SRCDIR)/$(ABASE).adb \
|
1999-10-24 12:32:42 +08:00
|
|
|
$(ADA_SRCDIR)/$(ABASE)-aux.ads \
|
2002-10-13 11:35:53 +08:00
|
|
|
$(ADA_SRCDIR)/$(ABASE)-trace.ads \
|
1997-05-15 12:00:00 +08:00
|
|
|
$(ADA_SRCDIR)/$(ABASE)-menus.ads \
|
|
|
|
$(ADA_SRCDIR)/$(ABASE)-forms.ads \
|
|
|
|
$(ADA_SRCDIR)/$(ABASE)-mouse.ads \
|
|
|
|
$(ADA_SRCDIR)/$(ABASE)-panels.ads \
|
|
|
|
$(ADA_SRCDIR)/$(ABASE)-menus-menu_user_data.ads \
|
|
|
|
$(ADA_SRCDIR)/$(ABASE)-menus-item_user_data.ads \
|
|
|
|
$(ADA_SRCDIR)/$(ABASE)-forms-form_user_data.ads \
|
1998-03-01 12:21:12 +08:00
|
|
|
$(ADA_SRCDIR)/$(ABASE)-forms-field_types.ads \
|
1997-05-15 12:00:00 +08:00
|
|
|
$(ADA_SRCDIR)/$(ABASE)-forms-field_user_data.ads \
|
ncurses 5.9 - patch 20140524
+ fix typo in ncurses manpage for the NCURSES_NO_MAGIC_COOKIE
environment variable.
+ improve discussion of input-echoing in curs_getch.3x
+ clarify discussion in curs_addch.3x of wrapping.
+ modify parametrized.h to make fln non-padded.
+ correct several entries which had termcap-style padding used in
terminfo: adm21, aj510, alto-h19, att605-pc, x820 -TD
+ correct syntax for padding in some entries: dg211, h19 -TD
+ correct ti924-8 which had confused padding versus octal escapes -TD
+ correct padding in sbi entry -TD
+ fix an old bug in the termcap emulation; "%i" was ignored in tparm()
because the parameters to be incremented were already on the internal
stack (report by Corinna Vinschen).
+ modify tic's "-c" option to take into account the "-C" option to
activate additional checks which compare the results from running
tparm() on the terminfo expressions versus the translated termcap
expressions.
+ modify tic to allow it to read from FIFOs (report by Matthieu Fronton,
cf: 20120324).
> patches by Nicolas Boulenguez:
+ explicit dereferences to suppress some style warnings.
+ when c_varargs_to_ada.c includes its header, use double quotes
instead of <>.
+ samples/ncurses2-util.adb: removed unused with clause. The warning
was removed by an obsolete pragma.
+ replaced Unreferenced pragmas with Warnings (Off). The latter,
available with older GNATs, needs no configure test. This also
replaces 3 untested Unreferenced pragmas.
+ simplified To_C usage in trace handling. Using two parameters allows
some basic formatting, and avoids a warning about security with some
compiler flags.
+ for generated Ada sources, replace many snippets with one pure
package.
+ removed C_Chtype and its conversions.
+ removed C_AttrType and its conversions.
+ removed conversions between int, Item_Option_Set, Menu_Option_Set.
+ removed int, Field_Option_Set, Item_Option_Set conversions.
+ removed C_TraceType, Attribute_Option_Set conversions.
+ replaced C.int with direct use of Eti_Error, now enumerated. As it
was used in a case statement, values were tested by the Ada compiler
to be consecutive anyway.
+ src/Makefile.in: remove duplicate stanza
+ only consider using a project for shared libraries.
+ style. Silent gnat-4.9 warning about misplaced "then".
+ generate shared library project to honor ADAFLAGS, LDFLAGS.
2014-05-25 09:22:18 +08:00
|
|
|
$(ADA_SRCDIR)/$(ABASE)-panels-user_data.ads \
|
|
|
|
$(ADA_SRCDIR)/$(ABASE)_constants.ads
|
1997-05-15 12:00:00 +08:00
|
|
|
|
|
|
|
GEN_SRC = $(srcdir)/$(ABASE).ads.m4 \
|
2007-04-01 08:48:02 +08:00
|
|
|
$(srcdir)/$(ABASE).adb.m4 \
|
1999-10-24 12:32:42 +08:00
|
|
|
$(srcdir)/$(ABASE)-aux.ads.m4 \
|
2002-10-13 11:35:53 +08:00
|
|
|
$(srcdir)/$(ABASE)-trace.ads.m4 \
|
1997-05-15 12:00:00 +08:00
|
|
|
$(srcdir)/$(ABASE)-menus.ads.m4 \
|
|
|
|
$(srcdir)/$(ABASE)-forms.ads.m4 \
|
|
|
|
$(srcdir)/$(ABASE)-mouse.ads.m4 \
|
|
|
|
$(srcdir)/$(ABASE)-panels.ads.m4 \
|
|
|
|
$(srcdir)/$(ABASE)-menus-menu_user_data.ads.m4 \
|
|
|
|
$(srcdir)/$(ABASE)-menus-item_user_data.ads.m4 \
|
|
|
|
$(srcdir)/$(ABASE)-forms-form_user_data.ads.m4 \
|
1998-03-01 12:21:12 +08:00
|
|
|
$(srcdir)/$(ABASE)-forms-field_types.ads.m4 \
|
1997-05-15 12:00:00 +08:00
|
|
|
$(srcdir)/$(ABASE)-forms-field_user_data.ads.m4 \
|
|
|
|
$(srcdir)/$(ABASE)-panels-user_data.ads.m4
|
|
|
|
|
|
|
|
|
2000-07-09 10:46:08 +08:00
|
|
|
all \
|
|
|
|
libs : $(GEN_TARGETS)
|
2005-10-10 02:41:57 +08:00
|
|
|
@echo made $@
|
1997-05-15 12:00:00 +08:00
|
|
|
|
1998-03-01 12:21:12 +08:00
|
|
|
sources:
|
|
|
|
|
2010-07-18 08:59:25 +08:00
|
|
|
$(DESTDIR)$(bindir) :
|
2010-02-28 09:35:06 +08:00
|
|
|
mkdir -p $@
|
1998-03-01 12:21:12 +08:00
|
|
|
|
2007-04-08 09:10:28 +08:00
|
|
|
install \
|
2009-01-11 10:29:48 +08:00
|
|
|
install.libs :: $(DESTDIR)$(bindir) $(ADACURSES_CONFIG)
|
2018-01-21 08:35:48 +08:00
|
|
|
$(INSTALL_SCRIPT) $(ADACURSES_CONFIG) $(DESTDIR)$(bindir)/$(ADACURSES_CONFIG)
|
2007-04-08 09:10:28 +08:00
|
|
|
|
|
|
|
uninstall \
|
|
|
|
uninstall.libs ::
|
|
|
|
-rm -f $(DESTDIR)$(bindir)/$(ADACURSES_CONFIG)
|
|
|
|
|
2010-06-13 05:29:38 +08:00
|
|
|
$(PROG_GENERATE): gen.o
|
2015-06-07 09:16:17 +08:00
|
|
|
@ECHO_LD@ $(LINK) $(CFLAGS_NORMAL) gen.o $(ACTUAL_LDFLAGS) -o $@
|
1997-05-15 12:00:00 +08:00
|
|
|
|
|
|
|
gen.o: $(srcdir)/gen.c
|
2000-10-21 12:42:11 +08:00
|
|
|
$(HOST_CC) $(CFLAGS_NORMAL) -c -o $@ $(srcdir)/gen.c
|
1999-10-24 12:32:42 +08:00
|
|
|
|
ncurses 5.9 - patch 20140524
+ fix typo in ncurses manpage for the NCURSES_NO_MAGIC_COOKIE
environment variable.
+ improve discussion of input-echoing in curs_getch.3x
+ clarify discussion in curs_addch.3x of wrapping.
+ modify parametrized.h to make fln non-padded.
+ correct several entries which had termcap-style padding used in
terminfo: adm21, aj510, alto-h19, att605-pc, x820 -TD
+ correct syntax for padding in some entries: dg211, h19 -TD
+ correct ti924-8 which had confused padding versus octal escapes -TD
+ correct padding in sbi entry -TD
+ fix an old bug in the termcap emulation; "%i" was ignored in tparm()
because the parameters to be incremented were already on the internal
stack (report by Corinna Vinschen).
+ modify tic's "-c" option to take into account the "-C" option to
activate additional checks which compare the results from running
tparm() on the terminfo expressions versus the translated termcap
expressions.
+ modify tic to allow it to read from FIFOs (report by Matthieu Fronton,
cf: 20120324).
> patches by Nicolas Boulenguez:
+ explicit dereferences to suppress some style warnings.
+ when c_varargs_to_ada.c includes its header, use double quotes
instead of <>.
+ samples/ncurses2-util.adb: removed unused with clause. The warning
was removed by an obsolete pragma.
+ replaced Unreferenced pragmas with Warnings (Off). The latter,
available with older GNATs, needs no configure test. This also
replaces 3 untested Unreferenced pragmas.
+ simplified To_C usage in trace handling. Using two parameters allows
some basic formatting, and avoids a warning about security with some
compiler flags.
+ for generated Ada sources, replace many snippets with one pure
package.
+ removed C_Chtype and its conversions.
+ removed C_AttrType and its conversions.
+ removed conversions between int, Item_Option_Set, Menu_Option_Set.
+ removed int, Field_Option_Set, Item_Option_Set conversions.
+ removed C_TraceType, Attribute_Option_Set conversions.
+ replaced C.int with direct use of Eti_Error, now enumerated. As it
was used in a case statement, values were tested by the Ada compiler
to be consecutive anyway.
+ src/Makefile.in: remove duplicate stanza
+ only consider using a project for shared libraries.
+ style. Silent gnat-4.9 warning about misplaced "then".
+ generate shared library project to honor ADAFLAGS, LDFLAGS.
2014-05-25 09:22:18 +08:00
|
|
|
$(ADA_SRCDIR)/$(ABASE)_constants.ads: $(PROG_GENERATE)
|
|
|
|
$(WRAPPER) "$(GENERATE)" >$@
|
2007-04-01 08:48:02 +08:00
|
|
|
################################################################################
|
1997-05-15 12:00:00 +08:00
|
|
|
$(ADA_SRCDIR)/$(ABASE).ads: $(srcdir)/$(ABASE).ads.m4 \
|
ncurses 5.9 - patch 20140524
+ fix typo in ncurses manpage for the NCURSES_NO_MAGIC_COOKIE
environment variable.
+ improve discussion of input-echoing in curs_getch.3x
+ clarify discussion in curs_addch.3x of wrapping.
+ modify parametrized.h to make fln non-padded.
+ correct several entries which had termcap-style padding used in
terminfo: adm21, aj510, alto-h19, att605-pc, x820 -TD
+ correct syntax for padding in some entries: dg211, h19 -TD
+ correct ti924-8 which had confused padding versus octal escapes -TD
+ correct padding in sbi entry -TD
+ fix an old bug in the termcap emulation; "%i" was ignored in tparm()
because the parameters to be incremented were already on the internal
stack (report by Corinna Vinschen).
+ modify tic's "-c" option to take into account the "-C" option to
activate additional checks which compare the results from running
tparm() on the terminfo expressions versus the translated termcap
expressions.
+ modify tic to allow it to read from FIFOs (report by Matthieu Fronton,
cf: 20120324).
> patches by Nicolas Boulenguez:
+ explicit dereferences to suppress some style warnings.
+ when c_varargs_to_ada.c includes its header, use double quotes
instead of <>.
+ samples/ncurses2-util.adb: removed unused with clause. The warning
was removed by an obsolete pragma.
+ replaced Unreferenced pragmas with Warnings (Off). The latter,
available with older GNATs, needs no configure test. This also
replaces 3 untested Unreferenced pragmas.
+ simplified To_C usage in trace handling. Using two parameters allows
some basic formatting, and avoids a warning about security with some
compiler flags.
+ for generated Ada sources, replace many snippets with one pure
package.
+ removed C_Chtype and its conversions.
+ removed C_AttrType and its conversions.
+ removed conversions between int, Item_Option_Set, Menu_Option_Set.
+ removed int, Field_Option_Set, Item_Option_Set conversions.
+ removed C_TraceType, Attribute_Option_Set conversions.
+ replaced C.int with direct use of Eti_Error, now enumerated. As it
was used in a case statement, values were tested by the Ada compiler
to be consecutive anyway.
+ src/Makefile.in: remove duplicate stanza
+ only consider using a project for shared libraries.
+ style. Silent gnat-4.9 warning about misplaced "then".
+ generate shared library project to honor ADAFLAGS, LDFLAGS.
2014-05-25 09:22:18 +08:00
|
|
|
$(srcdir)/normal.m4
|
1997-05-15 12:00:00 +08:00
|
|
|
$(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
|
|
|
|
$(srcdir)/$(ABASE).ads.m4 |\
|
|
|
|
$(DEL_ADAMODE) >$@
|
|
|
|
|
2007-04-01 08:48:02 +08:00
|
|
|
$(ADA_SRCDIR)/$(ABASE).adb: $(srcdir)/$(ABASE).adb.m4 \
|
ncurses 5.9 - patch 20140524
+ fix typo in ncurses manpage for the NCURSES_NO_MAGIC_COOKIE
environment variable.
+ improve discussion of input-echoing in curs_getch.3x
+ clarify discussion in curs_addch.3x of wrapping.
+ modify parametrized.h to make fln non-padded.
+ correct several entries which had termcap-style padding used in
terminfo: adm21, aj510, alto-h19, att605-pc, x820 -TD
+ correct syntax for padding in some entries: dg211, h19 -TD
+ correct ti924-8 which had confused padding versus octal escapes -TD
+ correct padding in sbi entry -TD
+ fix an old bug in the termcap emulation; "%i" was ignored in tparm()
because the parameters to be incremented were already on the internal
stack (report by Corinna Vinschen).
+ modify tic's "-c" option to take into account the "-C" option to
activate additional checks which compare the results from running
tparm() on the terminfo expressions versus the translated termcap
expressions.
+ modify tic to allow it to read from FIFOs (report by Matthieu Fronton,
cf: 20120324).
> patches by Nicolas Boulenguez:
+ explicit dereferences to suppress some style warnings.
+ when c_varargs_to_ada.c includes its header, use double quotes
instead of <>.
+ samples/ncurses2-util.adb: removed unused with clause. The warning
was removed by an obsolete pragma.
+ replaced Unreferenced pragmas with Warnings (Off). The latter,
available with older GNATs, needs no configure test. This also
replaces 3 untested Unreferenced pragmas.
+ simplified To_C usage in trace handling. Using two parameters allows
some basic formatting, and avoids a warning about security with some
compiler flags.
+ for generated Ada sources, replace many snippets with one pure
package.
+ removed C_Chtype and its conversions.
+ removed C_AttrType and its conversions.
+ removed conversions between int, Item_Option_Set, Menu_Option_Set.
+ removed int, Field_Option_Set, Item_Option_Set conversions.
+ removed C_TraceType, Attribute_Option_Set conversions.
+ replaced C.int with direct use of Eti_Error, now enumerated. As it
was used in a case statement, values were tested by the Ada compiler
to be consecutive anyway.
+ src/Makefile.in: remove duplicate stanza
+ only consider using a project for shared libraries.
+ style. Silent gnat-4.9 warning about misplaced "then".
+ generate shared library project to honor ADAFLAGS, LDFLAGS.
2014-05-25 09:22:18 +08:00
|
|
|
$(srcdir)/normal.m4
|
2007-04-01 08:48:02 +08:00
|
|
|
$(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
|
|
|
|
$(srcdir)/$(ABASE).adb.m4 |\
|
|
|
|
$(DEL_ADAMODE) >$@
|
|
|
|
|
1999-10-24 12:32:42 +08:00
|
|
|
$(ADA_SRCDIR)/$(ABASE)-aux.ads: $(srcdir)/$(ABASE)-aux.ads.m4 \
|
ncurses 5.9 - patch 20140524
+ fix typo in ncurses manpage for the NCURSES_NO_MAGIC_COOKIE
environment variable.
+ improve discussion of input-echoing in curs_getch.3x
+ clarify discussion in curs_addch.3x of wrapping.
+ modify parametrized.h to make fln non-padded.
+ correct several entries which had termcap-style padding used in
terminfo: adm21, aj510, alto-h19, att605-pc, x820 -TD
+ correct syntax for padding in some entries: dg211, h19 -TD
+ correct ti924-8 which had confused padding versus octal escapes -TD
+ correct padding in sbi entry -TD
+ fix an old bug in the termcap emulation; "%i" was ignored in tparm()
because the parameters to be incremented were already on the internal
stack (report by Corinna Vinschen).
+ modify tic's "-c" option to take into account the "-C" option to
activate additional checks which compare the results from running
tparm() on the terminfo expressions versus the translated termcap
expressions.
+ modify tic to allow it to read from FIFOs (report by Matthieu Fronton,
cf: 20120324).
> patches by Nicolas Boulenguez:
+ explicit dereferences to suppress some style warnings.
+ when c_varargs_to_ada.c includes its header, use double quotes
instead of <>.
+ samples/ncurses2-util.adb: removed unused with clause. The warning
was removed by an obsolete pragma.
+ replaced Unreferenced pragmas with Warnings (Off). The latter,
available with older GNATs, needs no configure test. This also
replaces 3 untested Unreferenced pragmas.
+ simplified To_C usage in trace handling. Using two parameters allows
some basic formatting, and avoids a warning about security with some
compiler flags.
+ for generated Ada sources, replace many snippets with one pure
package.
+ removed C_Chtype and its conversions.
+ removed C_AttrType and its conversions.
+ removed conversions between int, Item_Option_Set, Menu_Option_Set.
+ removed int, Field_Option_Set, Item_Option_Set conversions.
+ removed C_TraceType, Attribute_Option_Set conversions.
+ replaced C.int with direct use of Eti_Error, now enumerated. As it
was used in a case statement, values were tested by the Ada compiler
to be consecutive anyway.
+ src/Makefile.in: remove duplicate stanza
+ only consider using a project for shared libraries.
+ style. Silent gnat-4.9 warning about misplaced "then".
+ generate shared library project to honor ADAFLAGS, LDFLAGS.
2014-05-25 09:22:18 +08:00
|
|
|
$(srcdir)/normal.m4
|
1999-10-24 12:32:42 +08:00
|
|
|
$(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
|
|
|
|
$(srcdir)/$(ABASE)-aux.ads.m4 |\
|
|
|
|
$(DEL_ADAMODE) >$@
|
|
|
|
|
2002-10-13 11:35:53 +08:00
|
|
|
$(ADA_SRCDIR)/$(ABASE)-trace.ads: $(srcdir)/$(ABASE)-trace.ads.m4 \
|
ncurses 5.9 - patch 20140524
+ fix typo in ncurses manpage for the NCURSES_NO_MAGIC_COOKIE
environment variable.
+ improve discussion of input-echoing in curs_getch.3x
+ clarify discussion in curs_addch.3x of wrapping.
+ modify parametrized.h to make fln non-padded.
+ correct several entries which had termcap-style padding used in
terminfo: adm21, aj510, alto-h19, att605-pc, x820 -TD
+ correct syntax for padding in some entries: dg211, h19 -TD
+ correct ti924-8 which had confused padding versus octal escapes -TD
+ correct padding in sbi entry -TD
+ fix an old bug in the termcap emulation; "%i" was ignored in tparm()
because the parameters to be incremented were already on the internal
stack (report by Corinna Vinschen).
+ modify tic's "-c" option to take into account the "-C" option to
activate additional checks which compare the results from running
tparm() on the terminfo expressions versus the translated termcap
expressions.
+ modify tic to allow it to read from FIFOs (report by Matthieu Fronton,
cf: 20120324).
> patches by Nicolas Boulenguez:
+ explicit dereferences to suppress some style warnings.
+ when c_varargs_to_ada.c includes its header, use double quotes
instead of <>.
+ samples/ncurses2-util.adb: removed unused with clause. The warning
was removed by an obsolete pragma.
+ replaced Unreferenced pragmas with Warnings (Off). The latter,
available with older GNATs, needs no configure test. This also
replaces 3 untested Unreferenced pragmas.
+ simplified To_C usage in trace handling. Using two parameters allows
some basic formatting, and avoids a warning about security with some
compiler flags.
+ for generated Ada sources, replace many snippets with one pure
package.
+ removed C_Chtype and its conversions.
+ removed C_AttrType and its conversions.
+ removed conversions between int, Item_Option_Set, Menu_Option_Set.
+ removed int, Field_Option_Set, Item_Option_Set conversions.
+ removed C_TraceType, Attribute_Option_Set conversions.
+ replaced C.int with direct use of Eti_Error, now enumerated. As it
was used in a case statement, values were tested by the Ada compiler
to be consecutive anyway.
+ src/Makefile.in: remove duplicate stanza
+ only consider using a project for shared libraries.
+ style. Silent gnat-4.9 warning about misplaced "then".
+ generate shared library project to honor ADAFLAGS, LDFLAGS.
2014-05-25 09:22:18 +08:00
|
|
|
$(srcdir)/normal.m4
|
2002-10-13 11:35:53 +08:00
|
|
|
$(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
|
|
|
|
$(srcdir)/$(ABASE)-trace.ads.m4 |\
|
|
|
|
$(DEL_ADAMODE) >$@
|
|
|
|
|
1997-05-15 12:00:00 +08:00
|
|
|
$(ADA_SRCDIR)/$(ABASE)-menus.ads: $(srcdir)/$(ABASE)-menus.ads.m4 \
|
ncurses 5.9 - patch 20140524
+ fix typo in ncurses manpage for the NCURSES_NO_MAGIC_COOKIE
environment variable.
+ improve discussion of input-echoing in curs_getch.3x
+ clarify discussion in curs_addch.3x of wrapping.
+ modify parametrized.h to make fln non-padded.
+ correct several entries which had termcap-style padding used in
terminfo: adm21, aj510, alto-h19, att605-pc, x820 -TD
+ correct syntax for padding in some entries: dg211, h19 -TD
+ correct ti924-8 which had confused padding versus octal escapes -TD
+ correct padding in sbi entry -TD
+ fix an old bug in the termcap emulation; "%i" was ignored in tparm()
because the parameters to be incremented were already on the internal
stack (report by Corinna Vinschen).
+ modify tic's "-c" option to take into account the "-C" option to
activate additional checks which compare the results from running
tparm() on the terminfo expressions versus the translated termcap
expressions.
+ modify tic to allow it to read from FIFOs (report by Matthieu Fronton,
cf: 20120324).
> patches by Nicolas Boulenguez:
+ explicit dereferences to suppress some style warnings.
+ when c_varargs_to_ada.c includes its header, use double quotes
instead of <>.
+ samples/ncurses2-util.adb: removed unused with clause. The warning
was removed by an obsolete pragma.
+ replaced Unreferenced pragmas with Warnings (Off). The latter,
available with older GNATs, needs no configure test. This also
replaces 3 untested Unreferenced pragmas.
+ simplified To_C usage in trace handling. Using two parameters allows
some basic formatting, and avoids a warning about security with some
compiler flags.
+ for generated Ada sources, replace many snippets with one pure
package.
+ removed C_Chtype and its conversions.
+ removed C_AttrType and its conversions.
+ removed conversions between int, Item_Option_Set, Menu_Option_Set.
+ removed int, Field_Option_Set, Item_Option_Set conversions.
+ removed C_TraceType, Attribute_Option_Set conversions.
+ replaced C.int with direct use of Eti_Error, now enumerated. As it
was used in a case statement, values were tested by the Ada compiler
to be consecutive anyway.
+ src/Makefile.in: remove duplicate stanza
+ only consider using a project for shared libraries.
+ style. Silent gnat-4.9 warning about misplaced "then".
+ generate shared library project to honor ADAFLAGS, LDFLAGS.
2014-05-25 09:22:18 +08:00
|
|
|
$(srcdir)/normal.m4
|
1997-05-15 12:00:00 +08:00
|
|
|
$(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
|
|
|
|
$(srcdir)/$(ABASE)-menus.ads.m4 |\
|
|
|
|
$(DEL_ADAMODE) >$@
|
|
|
|
|
|
|
|
$(ADA_SRCDIR)/$(ABASE)-forms.ads: $(srcdir)/$(ABASE)-forms.ads.m4 \
|
ncurses 5.9 - patch 20140524
+ fix typo in ncurses manpage for the NCURSES_NO_MAGIC_COOKIE
environment variable.
+ improve discussion of input-echoing in curs_getch.3x
+ clarify discussion in curs_addch.3x of wrapping.
+ modify parametrized.h to make fln non-padded.
+ correct several entries which had termcap-style padding used in
terminfo: adm21, aj510, alto-h19, att605-pc, x820 -TD
+ correct syntax for padding in some entries: dg211, h19 -TD
+ correct ti924-8 which had confused padding versus octal escapes -TD
+ correct padding in sbi entry -TD
+ fix an old bug in the termcap emulation; "%i" was ignored in tparm()
because the parameters to be incremented were already on the internal
stack (report by Corinna Vinschen).
+ modify tic's "-c" option to take into account the "-C" option to
activate additional checks which compare the results from running
tparm() on the terminfo expressions versus the translated termcap
expressions.
+ modify tic to allow it to read from FIFOs (report by Matthieu Fronton,
cf: 20120324).
> patches by Nicolas Boulenguez:
+ explicit dereferences to suppress some style warnings.
+ when c_varargs_to_ada.c includes its header, use double quotes
instead of <>.
+ samples/ncurses2-util.adb: removed unused with clause. The warning
was removed by an obsolete pragma.
+ replaced Unreferenced pragmas with Warnings (Off). The latter,
available with older GNATs, needs no configure test. This also
replaces 3 untested Unreferenced pragmas.
+ simplified To_C usage in trace handling. Using two parameters allows
some basic formatting, and avoids a warning about security with some
compiler flags.
+ for generated Ada sources, replace many snippets with one pure
package.
+ removed C_Chtype and its conversions.
+ removed C_AttrType and its conversions.
+ removed conversions between int, Item_Option_Set, Menu_Option_Set.
+ removed int, Field_Option_Set, Item_Option_Set conversions.
+ removed C_TraceType, Attribute_Option_Set conversions.
+ replaced C.int with direct use of Eti_Error, now enumerated. As it
was used in a case statement, values were tested by the Ada compiler
to be consecutive anyway.
+ src/Makefile.in: remove duplicate stanza
+ only consider using a project for shared libraries.
+ style. Silent gnat-4.9 warning about misplaced "then".
+ generate shared library project to honor ADAFLAGS, LDFLAGS.
2014-05-25 09:22:18 +08:00
|
|
|
$(srcdir)/normal.m4
|
1997-05-15 12:00:00 +08:00
|
|
|
$(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
|
|
|
|
$(srcdir)/$(ABASE)-forms.ads.m4 |\
|
|
|
|
$(DEL_ADAMODE) >$@
|
|
|
|
|
|
|
|
$(ADA_SRCDIR)/$(ABASE)-mouse.ads: $(srcdir)/$(ABASE)-mouse.ads.m4 \
|
ncurses 5.9 - patch 20140524
+ fix typo in ncurses manpage for the NCURSES_NO_MAGIC_COOKIE
environment variable.
+ improve discussion of input-echoing in curs_getch.3x
+ clarify discussion in curs_addch.3x of wrapping.
+ modify parametrized.h to make fln non-padded.
+ correct several entries which had termcap-style padding used in
terminfo: adm21, aj510, alto-h19, att605-pc, x820 -TD
+ correct syntax for padding in some entries: dg211, h19 -TD
+ correct ti924-8 which had confused padding versus octal escapes -TD
+ correct padding in sbi entry -TD
+ fix an old bug in the termcap emulation; "%i" was ignored in tparm()
because the parameters to be incremented were already on the internal
stack (report by Corinna Vinschen).
+ modify tic's "-c" option to take into account the "-C" option to
activate additional checks which compare the results from running
tparm() on the terminfo expressions versus the translated termcap
expressions.
+ modify tic to allow it to read from FIFOs (report by Matthieu Fronton,
cf: 20120324).
> patches by Nicolas Boulenguez:
+ explicit dereferences to suppress some style warnings.
+ when c_varargs_to_ada.c includes its header, use double quotes
instead of <>.
+ samples/ncurses2-util.adb: removed unused with clause. The warning
was removed by an obsolete pragma.
+ replaced Unreferenced pragmas with Warnings (Off). The latter,
available with older GNATs, needs no configure test. This also
replaces 3 untested Unreferenced pragmas.
+ simplified To_C usage in trace handling. Using two parameters allows
some basic formatting, and avoids a warning about security with some
compiler flags.
+ for generated Ada sources, replace many snippets with one pure
package.
+ removed C_Chtype and its conversions.
+ removed C_AttrType and its conversions.
+ removed conversions between int, Item_Option_Set, Menu_Option_Set.
+ removed int, Field_Option_Set, Item_Option_Set conversions.
+ removed C_TraceType, Attribute_Option_Set conversions.
+ replaced C.int with direct use of Eti_Error, now enumerated. As it
was used in a case statement, values were tested by the Ada compiler
to be consecutive anyway.
+ src/Makefile.in: remove duplicate stanza
+ only consider using a project for shared libraries.
+ style. Silent gnat-4.9 warning about misplaced "then".
+ generate shared library project to honor ADAFLAGS, LDFLAGS.
2014-05-25 09:22:18 +08:00
|
|
|
$(srcdir)/normal.m4
|
1997-05-15 12:00:00 +08:00
|
|
|
$(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
|
|
|
|
$(srcdir)/$(ABASE)-mouse.ads.m4 |\
|
|
|
|
$(DEL_ADAMODE) >$@
|
|
|
|
|
|
|
|
$(ADA_SRCDIR)/$(ABASE)-panels.ads: $(srcdir)/$(ABASE)-panels.ads.m4 \
|
|
|
|
$(srcdir)/normal.m4
|
|
|
|
$(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
|
|
|
|
$(srcdir)/$(ABASE)-panels.ads.m4 |\
|
|
|
|
$(DEL_ADAMODE) >$@
|
|
|
|
|
|
|
|
$(ADA_SRCDIR)/$(ABASE)-menus-menu_user_data.ads: \
|
|
|
|
$(srcdir)/$(ABASE)-menus-menu_user_data.ads.m4 \
|
|
|
|
$(srcdir)/normal.m4
|
|
|
|
$(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
|
|
|
|
$(srcdir)/$(ABASE)-menus-menu_user_data.ads.m4 |\
|
|
|
|
$(DEL_ADAMODE) >$@
|
|
|
|
|
|
|
|
$(ADA_SRCDIR)/$(ABASE)-menus-item_user_data.ads: \
|
|
|
|
$(srcdir)/$(ABASE)-menus-item_user_data.ads.m4 \
|
|
|
|
$(srcdir)/normal.m4
|
|
|
|
$(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
|
|
|
|
$(srcdir)/$(ABASE)-menus-item_user_data.ads.m4 |\
|
|
|
|
$(DEL_ADAMODE) >$@
|
|
|
|
|
|
|
|
$(ADA_SRCDIR)/$(ABASE)-forms-form_user_data.ads: \
|
|
|
|
$(srcdir)/$(ABASE)-forms-form_user_data.ads.m4 \
|
|
|
|
$(srcdir)/normal.m4
|
|
|
|
$(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
|
|
|
|
$(srcdir)/$(ABASE)-forms-form_user_data.ads.m4 |\
|
|
|
|
$(DEL_ADAMODE) >$@
|
|
|
|
|
1998-03-01 12:21:12 +08:00
|
|
|
$(ADA_SRCDIR)/$(ABASE)-forms-field_types.ads: \
|
|
|
|
$(srcdir)/$(ABASE)-forms-field_types.ads.m4 \
|
|
|
|
$(srcdir)/normal.m4
|
|
|
|
$(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
|
|
|
|
$(srcdir)/$(ABASE)-forms-field_types.ads.m4 |\
|
|
|
|
$(DEL_ADAMODE) >$@
|
|
|
|
|
1997-05-15 12:00:00 +08:00
|
|
|
$(ADA_SRCDIR)/$(ABASE)-forms-field_user_data.ads: \
|
|
|
|
$(srcdir)/$(ABASE)-forms-field_user_data.ads.m4 \
|
|
|
|
$(srcdir)/normal.m4
|
|
|
|
$(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
|
|
|
|
$(srcdir)/$(ABASE)-forms-field_user_data.ads.m4 |\
|
|
|
|
$(DEL_ADAMODE) >$@
|
|
|
|
|
|
|
|
$(ADA_SRCDIR)/$(ABASE)-panels-user_data.ads: \
|
|
|
|
$(srcdir)/$(ABASE)-panels-user_data.ads.m4 \
|
|
|
|
$(srcdir)/normal.m4
|
|
|
|
$(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
|
|
|
|
$(srcdir)/$(ABASE)-panels-user_data.ads.m4 |\
|
|
|
|
$(DEL_ADAMODE) >$@
|
|
|
|
|
|
|
|
install.progs ::
|
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags *.[ch]
|
|
|
|
|
2007-04-08 09:10:28 +08:00
|
|
|
@MAKE_UPPER_TAGS@TAGS:
|
|
|
|
@MAKE_UPPER_TAGS@ etags *.[ch]
|
1997-05-15 12:00:00 +08:00
|
|
|
|
1998-03-01 12:21:12 +08:00
|
|
|
mostlyclean ::
|
2010-06-13 05:29:38 +08:00
|
|
|
-rm -f a.out core $(PROG_GENERATE) *.o
|
1997-05-15 12:00:00 +08:00
|
|
|
|
1998-03-01 12:21:12 +08:00
|
|
|
clean :: mostlyclean
|
2000-07-09 10:46:08 +08:00
|
|
|
-rm -f $(GEN_TARGETS) instab.tmp *.ad[bs] *.html *.ali *.tmp
|
1997-05-15 12:00:00 +08:00
|
|
|
|
1998-03-01 12:21:12 +08:00
|
|
|
distclean :: clean
|
2009-01-11 10:29:48 +08:00
|
|
|
-rm -f $(ADACURSES_CONFIG)
|
2007-04-08 09:10:28 +08:00
|
|
|
-rm -f Makefile
|
1997-05-15 12:00:00 +08:00
|
|
|
|
|
|
|
realclean :: distclean
|
|
|
|
|
2011-03-20 08:59:06 +08:00
|
|
|
HTML_DIR = @ADAHTML_DIR@
|
2000-07-09 10:46:08 +08:00
|
|
|
|
|
|
|
instab.tmp : table.m4 $(GEN_SRC)
|
|
|
|
@rm -f $@
|
|
|
|
@for f in $(GEN_SRC) ; do \
|
|
|
|
$(M4) $(M4FLAGS) -DM4MACRO=table.m4 $$f | $(DEL_ADAMODE) >> $@ ;\
|
|
|
|
done;
|
|
|
|
|
|
|
|
$(HTML_DIR)/table.html : instab.tmp
|
|
|
|
@-touch $@
|
|
|
|
@-chmod +w $@
|
|
|
|
@echo '<!DOCTYPE HTML' > $@
|
|
|
|
@echo 'PUBLIC "-//IETF//DTD HTML 3.0//EN">' >> $@
|
|
|
|
@echo '<HTML>' >> $@
|
|
|
|
@echo '<HEAD>' >> $@
|
|
|
|
@echo '<TITLE>Correspondence between ncurses C and Ada functions</TITLE>' >>$@
|
|
|
|
@echo '</HEAD>' >> $@
|
|
|
|
@echo '<BODY>' >> $@
|
|
|
|
@echo '<H1>Correspondence between ncurses C and Ada functions</H1>' >>$@
|
|
|
|
@echo '<H2>Sorted by C function name</H2>' >>$@
|
|
|
|
@echo '<TABLE ALIGN=CENTER BORDER>' >>$@
|
|
|
|
@echo '<TR ALIGN=LEFT>' >>$@
|
|
|
|
@echo '<TH>C name</TH><TH>Ada name</TH><TH>man page</TH></TR>' >>$@
|
|
|
|
@sort < instab.tmp >> $@
|
|
|
|
@echo '</TABLE></BODY></HTML>' >>$@
|
|
|
|
@rm -f instab.tmp
|
|
|
|
|
|
|
|
adahtml:
|
2011-03-20 08:59:06 +08:00
|
|
|
test -n "$(GNATHTML)" || exit 1
|
2005-10-10 02:41:57 +08:00
|
|
|
@find $(HTML_DIR) -type f -exec rm -f {} \;
|
2000-07-09 10:46:08 +08:00
|
|
|
@mkdir -p $(HTML_DIR)
|
|
|
|
cp -p ../src/*.ad[sb] . && chmod +w *.ad[sb]
|
2014-06-08 07:21:57 +08:00
|
|
|
@USE_OLD_MAKERULES@ ln -sf ../src/*.ali .
|
|
|
|
@USE_GNAT_PROJECTS@ ln -sf ../static-ali/*.ali .
|
2007-05-06 08:26:41 +08:00
|
|
|
@echo "Filtering generated files"
|
|
|
|
@for f in $(GEN_SRC); do \
|
|
|
|
h=`basename $$f` ;\
|
2000-07-09 10:46:08 +08:00
|
|
|
g=`basename $$f .ads.m4` ;\
|
2007-05-06 08:26:41 +08:00
|
|
|
if test "$$g" != "$$h" ; then \
|
|
|
|
$(M4) $(M4FLAGS) -DM4MACRO=html.m4 $$f | $(DEL_ADAMODE) > $$g.ads ;\
|
|
|
|
echo "... $$g.ads" ;\
|
|
|
|
fi \
|
2000-07-09 10:46:08 +08:00
|
|
|
done
|
|
|
|
@-rm -f $(HTML_DIR)/$(ALIB)*.htm*
|
|
|
|
$(GNATHTML) -d -f $(ALIB)*.ads
|
|
|
|
for f in html/$(ALIB)*.htm*; do \
|
|
|
|
a=`basename $$f` ; \
|
|
|
|
sed -e 's/You may also.*body.*//' <$$f |\
|
|
|
|
sed -e 's%GNAT%<A HREF="http://$(GNATHP)">GNAT</A>%g' |\
|
|
|
|
sed -e 's%<A HREF%<A HREF%g' |\
|
|
|
|
sed -e 's%">%">%g' |\
|
|
|
|
sed -e 's/3X/3x/g' |\
|
2002-10-13 11:35:53 +08:00
|
|
|
sed -e 's/$$\([ABCDEFGHIJKLMNOPQRSTUVWXZabcdefghijklmnopqrstuvwxz0123456789_]*:.*\)\$$/@\1@/' |\
|
2000-07-09 10:46:08 +08:00
|
|
|
sed -e 's%</A>%</A>%g' > $$a.tmp ;\
|
2007-05-06 08:26:41 +08:00
|
|
|
mv $$a.tmp $$f ;\
|
2004-02-09 10:15:26 +08:00
|
|
|
done
|
2000-07-09 10:46:08 +08:00
|
|
|
@rm -f *.ad[sb] *.ali *.tmp
|
|
|
|
@for f in funcs.htm main.htm ; do \
|
|
|
|
sed -e "\%<A HREF=funcs/ .htm>\[ \]</A>%d" < html/$$f > $$f ;\
|
|
|
|
mv $$f html/$$f ;\
|
|
|
|
done
|
|
|
|
@rm -f "html/funcs/ .htm"
|
|
|
|
@cp -pdrf html/* $(HTML_DIR)/
|
|
|
|
@rm -rf html
|
|
|
|
|
|
|
|
html : adahtml $(HTML_DIR)/table.html
|
2005-10-10 02:41:57 +08:00
|
|
|
@echo made $@
|
2000-07-09 10:46:08 +08:00
|
|
|
|
1997-05-15 12:00:00 +08:00
|
|
|
###############################################################################
|
|
|
|
# The remainder of this file is automatically generated during configuration
|
|
|
|
###############################################################################
|