2019-01-06 10:32:59 +08:00
|
|
|
# $Id: Makefile.in,v 1.42 2019/01/06 00:35:11 tom Exp $
|
1998-03-01 12:21:12 +08:00
|
|
|
##############################################################################
|
2019-01-06 10:32:59 +08:00
|
|
|
# Copyright (c) 1998-2018,2019 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. #
|
|
|
|
##############################################################################
|
|
|
|
#
|
2014-01-19 08:49:51 +08:00
|
|
|
# Author: Thomas E. Dickey 1996-on
|
1998-03-01 12:21:12 +08:00
|
|
|
#
|
1997-05-15 12:00:00 +08:00
|
|
|
# Master Makefile for ncurses library.
|
|
|
|
|
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
|
|
|
|
2000-10-21 12:42:11 +08:00
|
|
|
DESTDIR=@DESTDIR@
|
2011-08-08 06:43:00 +08:00
|
|
|
RPATH_LIST=@RPATH_LIST@
|
2012-10-07 09:23:59 +08:00
|
|
|
TOP_MFLAGS = @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" RPATH_LIST="$(RPATH_LIST)"
|
1997-05-15 12:00:00 +08:00
|
|
|
|
|
|
|
@SET_MAKE@
|
|
|
|
|
|
|
|
NCURSES_MAJOR = @NCURSES_MAJOR@
|
|
|
|
NCURSES_MINOR = @NCURSES_MINOR@
|
|
|
|
NCURSES_PATCH = @NCURSES_PATCH@
|
|
|
|
|
2010-09-26 09:21:45 +08:00
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
|
1997-05-15 12:00:00 +08:00
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
2012-08-12 09:10:31 +08:00
|
|
|
datarootdir = @datarootdir@
|
1997-05-15 12:00:00 +08:00
|
|
|
|
|
|
|
bindir = @bindir@
|
2000-10-21 12:42:11 +08:00
|
|
|
ticdir = @TERMINFO@
|
1997-05-15 12:00:00 +08:00
|
|
|
includedir = @includedir@
|
2013-08-05 17:18:54 +08:00
|
|
|
includesubdir = @includesubdir@
|
1997-05-15 12:00:00 +08:00
|
|
|
libdir = @libdir@
|
|
|
|
mandir = @mandir@
|
2014-12-14 10:33:09 +08:00
|
|
|
pkgdir = @PKG_CONFIG_LIBDIR@
|
1997-05-15 12:00:00 +08:00
|
|
|
|
2014-01-19 08:49:51 +08:00
|
|
|
include_dir = ${includedir}${includesubdir}
|
2013-08-05 17:18:54 +08:00
|
|
|
|
1999-10-24 12:32:42 +08:00
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
|
|
|
|
DIRS_TO_MAKE = @DIRS_TO_MAKE@
|
1997-05-15 12:00:00 +08:00
|
|
|
|
|
|
|
all :: $(DIRS_TO_MAKE)
|
|
|
|
|
|
|
|
$(DIRS_TO_MAKE) :
|
|
|
|
mkdir $@
|
|
|
|
|
|
|
|
preinstall :
|
|
|
|
@ echo ''
|
|
|
|
@ echo '** Configuration summary for NCURSES $(NCURSES_MAJOR).$(NCURSES_MINOR) $(NCURSES_PATCH):'
|
|
|
|
@ echo ''
|
2014-12-14 10:33:09 +08:00
|
|
|
@ echo ' extended funcs: '`test @NCURSES_EXT_FUNCS@ != 0 && echo yes || echo no`
|
|
|
|
@ echo ' xterm terminfo: '@WHICH_XTERM@
|
2005-10-10 02:41:57 +08:00
|
|
|
@ echo ''
|
2014-12-14 10:33:09 +08:00
|
|
|
@ echo ' bin directory: '$(bindir)
|
|
|
|
@ echo ' lib directory: '$(libdir)
|
|
|
|
@ echo ' include directory: '$(include_dir)
|
|
|
|
@ echo ' man directory: '$(mandir)
|
|
|
|
@MAKE_TERMINFO@ @ echo ' terminfo directory: '$(ticdir)
|
2018-11-25 09:20:22 +08:00
|
|
|
@USE_FALLBACKS@ @ echo ' using fallback-list: '@FALLBACK_LIST@
|
2014-12-14 10:33:09 +08:00
|
|
|
@MAKE_PC_FILES@ @ echo ' pkg-config directory: '$(pkgdir)
|
1997-05-15 12:00:00 +08:00
|
|
|
@ echo ''
|
2014-01-19 08:49:51 +08:00
|
|
|
@ test "$(include_dir)" = "$(prefix)/include" || \
|
1999-10-24 12:32:42 +08:00
|
|
|
echo '** Include-directory is not in a standard location'
|
2014-01-19 08:49:51 +08:00
|
|
|
@ test ! -f $(include_dir)/termcap.h || \
|
|
|
|
fgrep NCURSES_VERSION $(include_dir)/termcap.h >/dev/null || \
|
1999-10-24 12:32:42 +08:00
|
|
|
echo '** Will overwrite non-ncurses termcap.h'
|
2014-01-19 08:49:51 +08:00
|
|
|
@ test ! -f $(include_dir)/curses.h || \
|
|
|
|
fgrep NCURSES_VERSION $(include_dir)/curses.h >/dev/null || \
|
1999-10-24 12:32:42 +08:00
|
|
|
echo '** Will overwrite non-ncurses curses.h'
|
1997-05-15 12:00:00 +08:00
|
|
|
|
2010-09-26 09:21:45 +08:00
|
|
|
distclean \
|
|
|
|
realclean ::
|
2012-01-08 10:27:57 +08:00
|
|
|
|
2019-01-06 10:32:59 +08:00
|
|
|
check:
|
|
|
|
@ echo The test-programs are interactive
|
|
|
|
|
2009-06-28 09:00:34 +08:00
|
|
|
|
1997-05-15 12:00:00 +08:00
|
|
|
# Put the common rules here so that we can easily construct the list of
|
|
|
|
# directories to visit.
|
|
|
|
all \
|
|
|
|
clean \
|
|
|
|
distclean \
|
|
|
|
mostlyclean \
|
|
|
|
realclean \
|
2002-10-13 11:35:53 +08:00
|
|
|
depend \
|
1998-03-01 12:21:12 +08:00
|
|
|
sources \
|
2005-10-10 02:41:57 +08:00
|
|
|
tags \
|
1998-03-01 12:21:12 +08:00
|
|
|
uninstall \
|
1997-05-15 12:00:00 +08:00
|
|
|
install ::
|