1218912Slstewart# $Id: Makefile.in,v 1.38 2014/01/18 20:19:45 tom Exp $ 2218912Slstewart############################################################################## 3218912Slstewart# Copyright (c) 1998-2013,2014 Free Software Foundation, Inc. # 4218912Slstewart# # 5218912Slstewart# Permission is hereby granted, free of charge, to any person obtaining a # 6218912Slstewart# copy of this software and associated documentation files (the "Software"), # 7220560Slstewart# to deal in the Software without restriction, including without limitation # 8220560Slstewart# the rights to use, copy, modify, merge, publish, distribute, distribute # 9218912Slstewart# with modifications, sublicense, and/or sell copies of the Software, and to # 10218912Slstewart# permit persons to whom the Software is furnished to do so, subject to the # 11218912Slstewart# following conditions: # 12218912Slstewart# # 13218912Slstewart# The above copyright notice and this permission notice shall be included in # 14218912Slstewart# all copies or substantial portions of the Software. # 15218912Slstewart# # 16218912Slstewart# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # 17218912Slstewart# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # 18218912Slstewart# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # 19218912Slstewart# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # 20218912Slstewart# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # 21218912Slstewart# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # 22218912Slstewart# DEALINGS IN THE SOFTWARE. # 23218912Slstewart# # 24218912Slstewart# Except as contained in this notice, the name(s) of the above copyright # 25218912Slstewart# holders shall not be used in advertising or otherwise to promote the sale, # 26218912Slstewart# use or other dealings in this Software without prior written # 27218912Slstewart# authorization. # 28218912Slstewart############################################################################## 29218912Slstewart# 30218912Slstewart# Author: Thomas E. Dickey 1996-on 31218912Slstewart# 32218912Slstewart# Master Makefile for ncurses library. 33225583Slstewart 34218912SlstewartSHELL = /bin/sh 35218912SlstewartVPATH = @srcdir@ 36218912Slstewart 37218912SlstewartDESTDIR=@DESTDIR@ 38218912SlstewartRPATH_LIST=@RPATH_LIST@ 39218912SlstewartTOP_MFLAGS = @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" RPATH_LIST="$(RPATH_LIST)" 40218912Slstewart 41218912Slstewart@SET_MAKE@ 42218912Slstewart 43218912SlstewartNCURSES_MAJOR = @NCURSES_MAJOR@ 44218912SlstewartNCURSES_MINOR = @NCURSES_MINOR@ 45218912SlstewartNCURSES_PATCH = @NCURSES_PATCH@ 46218912Slstewart 47218912Slstewarttop_srcdir = @top_srcdir@ 48218912Slstewartsrcdir = @srcdir@ 49218912Slstewart 50225583Slstewartprefix = @prefix@ 51218912Slstewartexec_prefix = @exec_prefix@ 52225583Slstewartdatarootdir = @datarootdir@ 53218912Slstewart 54218912Slstewartbindir = @bindir@ 55218912Slstewartticdir = @TERMINFO@ 56218912Slstewartincludedir = @includedir@ 57218912Slstewartincludesubdir = @includesubdir@ 58218912Slstewartlibdir = @libdir@ 59218912Slstewartmandir = @mandir@ 60218912Slstewart 61218912Slstewartinclude_dir = ${includedir}${includesubdir} 62218912Slstewart 63218912SlstewartINSTALL = @INSTALL@ 64220560SlstewartINSTALL_DATA = @INSTALL_DATA@ 65220560Slstewart 66220560SlstewartDIRS_TO_MAKE = @DIRS_TO_MAKE@ 67220560Slstewart 68218912Slstewartall :: $(DIRS_TO_MAKE) 69218912Slstewart 70218912Slstewart$(DIRS_TO_MAKE) : 71218912Slstewart mkdir $@ 72218912Slstewart 73218912Slstewartpreinstall : 74218912Slstewart @ echo '' 75218912Slstewart @ echo '** Configuration summary for NCURSES $(NCURSES_MAJOR).$(NCURSES_MINOR) $(NCURSES_PATCH):' 76218912Slstewart @ echo '' 77218912Slstewart @ echo ' extended funcs: '`test @NCURSES_EXT_FUNCS@ != 0 && echo yes || echo no` 78218912Slstewart @ echo ' xterm terminfo: '@WHICH_XTERM@ 79218912Slstewart @ echo '' 80218912Slstewart @ echo ' bin directory: '$(bindir) 81218912Slstewart @ echo ' lib directory: '$(libdir) 82218912Slstewart @ echo ' include directory: '$(include_dir) 83 @ echo ' man directory: '$(mandir) 84@MAKE_TERMINFO@ @ echo ' terminfo directory: '$(ticdir) 85 @ echo '' 86 @ test "$(include_dir)" = "$(prefix)/include" || \ 87 echo '** Include-directory is not in a standard location' 88 @ test ! -f $(include_dir)/termcap.h || \ 89 fgrep NCURSES_VERSION $(include_dir)/termcap.h >/dev/null || \ 90 echo '** Will overwrite non-ncurses termcap.h' 91 @ test ! -f $(include_dir)/curses.h || \ 92 fgrep NCURSES_VERSION $(include_dir)/curses.h >/dev/null || \ 93 echo '** Will overwrite non-ncurses curses.h' 94 95distclean \ 96realclean :: 97 98 99# Put the common rules here so that we can easily construct the list of 100# directories to visit. 101all \ 102clean \ 103distclean \ 104mostlyclean \ 105realclean \ 106depend \ 107sources \ 108tags \ 109uninstall \ 110install :: 111