ncursesw-morphos/form/Makefile.in

198 lines
5.9 KiB
Makefile
Raw Normal View History

# $Id: Makefile.in,v 1.71 2021/01/23 20:42:08 tom Exp $
1998-03-01 12:21:12 +08:00
##############################################################################
# Copyright 2020,2021 Thomas E. Dickey #
# Copyright 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. #
##############################################################################
#
# Author: Thomas E. Dickey 1996-on
1998-03-01 12:21:12 +08:00
#
1997-05-15 12:00:00 +08:00
# Makefile for form source code.
#
# This makes the following:
# libraries (normal/debug/profile/shared)
#
# The variable 'srcdir' refers to the source-distribution, and can be set with
# the configure script by "--srcdir=DIR".
#
# The rules are organized to produce the libraries for the configured models,
# turn off _all_ suffix rules; we'll generate our own
.SUFFIXES:
SHELL = @SHELL@
VPATH = @srcdir@
1997-05-15 12:00:00 +08:00
THIS = Makefile
2004-02-09 10:15:26 +08:00
x = @EXEEXT@
o = .@OBJEXT@
1997-05-15 12:00:00 +08:00
MODEL = @DFT_LWR_MODEL@
2000-10-21 12:42:11 +08:00
DESTDIR = @DESTDIR@
top_srcdir = @top_srcdir@
1997-05-15 12:00:00 +08:00
srcdir = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
2002-10-13 11:35:53 +08:00
bindir = @bindir@
1997-05-15 12:00:00 +08:00
libdir = @libdir@
includedir = @includedir@
includesubdir = @includesubdir@
INCLUDEDIR = $(DESTDIR)$(includedir)$(includesubdir)
1997-05-15 12:00:00 +08:00
PACKAGE = @PACKAGE@
2000-10-21 12:42:11 +08:00
LIBTOOL = @LIBTOOL@
LIBTOOL_OPTS = @LIBTOOL_OPTS@ @EXPORT_SYMS@
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@
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
1997-05-15 12:00:00 +08:00
INSTALL = @INSTALL@
1998-03-01 12:21:12 +08:00
INSTALL_LIB = @INSTALL@ @INSTALL_LIB@
INSTALL_PROG = @INSTALL_PROGRAM@ @INSTALL_OPT_S@
1997-05-15 12:00:00 +08:00
INSTALL_DATA = @INSTALL_DATA@
AR = @AR@
ARFLAGS = @ARFLAGS@
1997-05-15 12:00:00 +08:00
AWK = @AWK@
LD = @LD@
LN_S = @LN_S@
CTAGS = @CTAGS@
ETAGS = @ETAGS@
1997-05-15 12:00:00 +08:00
CC = @CC@
2000-07-09 10:46:08 +08:00
CPP = @CPP@
CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@
1997-05-15 12:00:00 +08:00
INCDIR = $(top_srcdir)/include
BASE_DIR = $(top_srcdir)/ncurses
CPPFLAGS = -I$(BASE_DIR) -DHAVE_CONFIG_H -DBUILDING_FORM @CPPFLAGS@
1997-05-15 12:00:00 +08:00
CCFLAGS = $(CPPFLAGS) $(CFLAGS)
CFLAGS_LIBTOOL = $(CCFLAGS)
CFLAGS_NORMAL = $(CCFLAGS) -DNCURSES_STATIC
CFLAGS_DEBUG = $(CCFLAGS) -DNCURSES_STATIC @CC_G_OPT@ -DTRACE
CFLAGS_PROFILE = $(CCFLAGS) -DNCURSES_STATIC -pg
1997-05-15 12:00:00 +08:00
CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@
CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
2007-04-22 08:57:08 +08:00
LINK = $(LIBTOOL_LINK)
1997-05-15 12:00:00 +08:00
LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@
2002-10-13 11:35:53 +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) -lncurses@USE_LIB_SUFFIX@ @SHLIB_LIST@
1999-10-24 12:32:42 +08:00
RPATH_LIST = @RPATH_LIST@
RESULTING_SYMS = @RESULTING_SYMS@
VERSIONED_SYMS = @VERSIONED_SYMS@
1997-05-15 12:00:00 +08:00
MK_SHARED_LIB = @MK_SHARED_LIB@
1999-10-24 12:32:42 +08:00
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@
1997-05-15 12:00:00 +08:00
2004-02-09 10:15:26 +08:00
RANLIB = @LIB_PREP@
1997-05-15 12:00:00 +08:00
LIBRARIES = @Libs_To_Make@
1997-05-15 12:00:00 +08:00
LINT = @LINT@
LINT_OPTS = @LINT_OPTS@
LINT_LIBS = -lform -lncurses @LIBS@
1998-03-01 12:21:12 +08:00
AUTO_SRC = \
2005-10-10 02:41:57 +08:00
../include/form.h
1998-03-01 12:21:12 +08:00
1997-05-15 12:00:00 +08:00
################################################################################
all \
2000-07-09 10:46:08 +08:00
libs \
1998-03-01 12:21:12 +08:00
install :: $(AUTO_SRC) $(LIBRARIES)
sources : $(AUTO_SRC)
1997-05-15 12:00:00 +08:00
2002-10-13 11:35:53 +08:00
$(DESTDIR)$(bindir) \
2000-10-21 12:42:11 +08:00
$(DESTDIR)$(libdir) :
mkdir -p $@
1997-05-15 12:00:00 +08:00
# make copies to simplify include-paths while still keeping form's include
# file in this directory.
../include/form.h : $(srcdir)/form.h
-rm -f $@
cp $(srcdir)/form.h $@
HEADER_DEPS = \
1997-05-15 12:00:00 +08:00
../include/curses.h \
../include/eti.h \
../include/mf_common.h \
../include/ncurses_cfg.h \
../include/ncurses_def.h \
../include/ncurses_dll.h \
../include/term.h \
../include/unctrl.h \
$(BASE_DIR)/curses.priv.h \
$(BASE_DIR)/new_pair.h \
$(INCDIR)/nc_alloc.h \
$(INCDIR)/nc_panel.h \
$(INCDIR)/nc_string.h \
$(INCDIR)/nc_termios.h \
$(INCDIR)/nc_tparm.h \
$(INCDIR)/term_entry.h \
$(srcdir)/form.h \
$(srcdir)/form.priv.h
1997-05-15 12:00:00 +08:00
tags:
$(CTAGS) *.[ch]
1997-05-15 12:00:00 +08:00
2000-10-21 12:42:11 +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 ::
2002-10-13 11:35:53 +08:00
-rm -f core tags TAGS *~ *.bak *.i *.ln *.atac trace
1998-03-01 12:21:12 +08:00
clean :: mostlyclean
-rm -f $(AUTO_SRC)
1997-05-15 12:00:00 +08:00
distclean :: clean
-rm -f Makefile
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
realclean :: distclean
../include/mf_common.h \
../include/eti.h :
( cd ../menu && $(MAKE) $@ )
1997-05-15 12:00:00 +08:00
###############################################################################
# The remainder of this file is automatically generated during configuration
###############################################################################