2014-03-01 00:40:26 +00:00
|
|
|
# $Id: Makefile.in,v 1.38 2014/01/18 20:19:45 tom Exp $
|
1999-08-24 01:06:48 +00:00
|
|
|
##############################################################################
|
2014-03-01 00:40:26 +00:00
|
|
|
# Copyright (c) 1998-2013,2014 Free Software Foundation, Inc. #
|
1999-08-24 01:06:48 +00: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-03-01 00:40:26 +00:00
|
|
|
# Author: Thomas E. Dickey 1996-on
|
1999-08-24 01:06:48 +00:00
|
|
|
#
|
|
|
|
# Master Makefile for ncurses library.
|
|
|
|
|
|
|
|
SHELL = /bin/sh
|
2014-02-28 19:18:07 +00:00
|
|
|
VPATH = @srcdir@
|
1999-08-24 01:06:48 +00:00
|
|
|
|
2000-10-11 07:31:01 +00:00
|
|
|
DESTDIR=@DESTDIR@
|
2014-03-01 00:40:26 +00:00
|
|
|
RPATH_LIST=@RPATH_LIST@
|
|
|
|
TOP_MFLAGS = @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" RPATH_LIST="$(RPATH_LIST)"
|
1999-08-24 01:06:48 +00:00
|
|
|
|
|
|
|
@SET_MAKE@
|
|
|
|
|
|
|
|
NCURSES_MAJOR = @NCURSES_MAJOR@
|
|
|
|
NCURSES_MINOR = @NCURSES_MINOR@
|
|
|
|
NCURSES_PATCH = @NCURSES_PATCH@
|
|
|
|
|
2014-02-28 19:18:07 +00:00
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
|
1999-08-24 01:06:48 +00:00
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
2014-03-01 00:40:26 +00:00
|
|
|
datarootdir = @datarootdir@
|
1999-08-24 01:06:48 +00:00
|
|
|
|
|
|
|
bindir = @bindir@
|
2000-10-11 07:31:01 +00:00
|
|
|
ticdir = @TERMINFO@
|
1999-08-24 01:06:48 +00:00
|
|
|
includedir = @includedir@
|
2014-03-01 00:40:26 +00:00
|
|
|
includesubdir = @includesubdir@
|
1999-08-24 01:06:48 +00:00
|
|
|
libdir = @libdir@
|
|
|
|
mandir = @mandir@
|
|
|
|
|
2014-03-01 00:40:26 +00:00
|
|
|
include_dir = ${includedir}${includesubdir}
|
|
|
|
|
1999-08-24 01:06:48 +00:00
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
|
|
|
|
DIRS_TO_MAKE = @DIRS_TO_MAKE@
|
|
|
|
|
|
|
|
all :: $(DIRS_TO_MAKE)
|
|
|
|
|
|
|
|
$(DIRS_TO_MAKE) :
|
|
|
|
mkdir $@
|
|
|
|
|
|
|
|
preinstall :
|
|
|
|
@ echo ''
|
|
|
|
@ echo '** Configuration summary for NCURSES $(NCURSES_MAJOR).$(NCURSES_MINOR) $(NCURSES_PATCH):'
|
|
|
|
@ echo ''
|
2007-01-20 07:32:02 +00:00
|
|
|
@ echo ' extended funcs: '`test @NCURSES_EXT_FUNCS@ != 0 && echo yes || echo no`
|
|
|
|
@ echo ' xterm terminfo: '@WHICH_XTERM@
|
|
|
|
@ echo ''
|
1999-08-24 01:06:48 +00:00
|
|
|
@ echo ' bin directory: '$(bindir)
|
|
|
|
@ echo ' lib directory: '$(libdir)
|
2014-03-01 00:40:26 +00:00
|
|
|
@ echo ' include directory: '$(include_dir)
|
1999-08-24 01:06:48 +00:00
|
|
|
@ echo ' man directory: '$(mandir)
|
2002-05-21 05:30:25 +00:00
|
|
|
@MAKE_TERMINFO@ @ echo ' terminfo directory: '$(ticdir)
|
1999-08-24 01:06:48 +00:00
|
|
|
@ echo ''
|
2014-03-01 00:40:26 +00:00
|
|
|
@ test "$(include_dir)" = "$(prefix)/include" || \
|
1999-08-24 01:06:48 +00:00
|
|
|
echo '** Include-directory is not in a standard location'
|
2014-03-01 00:40:26 +00:00
|
|
|
@ test ! -f $(include_dir)/termcap.h || \
|
|
|
|
fgrep NCURSES_VERSION $(include_dir)/termcap.h >/dev/null || \
|
1999-08-24 01:06:48 +00:00
|
|
|
echo '** Will overwrite non-ncurses termcap.h'
|
2014-03-01 00:40:26 +00:00
|
|
|
@ test ! -f $(include_dir)/curses.h || \
|
|
|
|
fgrep NCURSES_VERSION $(include_dir)/curses.h >/dev/null || \
|
1999-08-24 01:06:48 +00:00
|
|
|
echo '** Will overwrite non-ncurses curses.h'
|
|
|
|
|
2014-02-28 19:18:07 +00:00
|
|
|
distclean \
|
|
|
|
realclean ::
|
2014-03-01 00:40:26 +00:00
|
|
|
|
2014-02-28 19:18:07 +00:00
|
|
|
|
1999-08-24 01:06:48 +00:00
|
|
|
# Put the common rules here so that we can easily construct the list of
|
|
|
|
# directories to visit.
|
|
|
|
all \
|
|
|
|
clean \
|
|
|
|
distclean \
|
|
|
|
mostlyclean \
|
|
|
|
realclean \
|
2002-05-21 05:30:25 +00:00
|
|
|
depend \
|
1999-08-24 01:06:48 +00:00
|
|
|
sources \
|
2007-01-20 07:32:02 +00:00
|
|
|
tags \
|
1999-08-24 01:06:48 +00:00
|
|
|
uninstall \
|
|
|
|
install ::
|