1228753Smm# $Id: Makefile.in,v 1.24 2005/01/29 19:30:06 tom Exp $ 2228753Smm############################################################################## 3228753Smm# Copyright (c) 1998-2004,2005 Free Software Foundation, Inc. # 4228753Smm# # 5228753Smm# Permission is hereby granted, free of charge, to any person obtaining a # 6228753Smm# copy of this software and associated documentation files (the "Software"), # 7228753Smm# to deal in the Software without restriction, including without limitation # 8228753Smm# the rights to use, copy, modify, merge, publish, distribute, distribute # 9228753Smm# with modifications, sublicense, and/or sell copies of the Software, and to # 10228753Smm# permit persons to whom the Software is furnished to do so, subject to the # 11228753Smm# following conditions: # 12228753Smm# # 13228753Smm# The above copyright notice and this permission notice shall be included in # 14228753Smm# all copies or substantial portions of the Software. # 15228753Smm# # 16228753Smm# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # 17228753Smm# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # 18228753Smm# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # 19228753Smm# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # 20228753Smm# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # 21228753Smm# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # 22228753Smm# DEALINGS IN THE SOFTWARE. # 23228753Smm# # 24228753Smm# Except as contained in this notice, the name(s) of the above copyright # 25228763Smm# holders shall not be used in advertising or otherwise to promote the sale, # 26228753Smm# use or other dealings in this Software without prior written # 27228753Smm# authorization. # 28358090Smm############################################################################## 29358090Smm# 30358090Smm# Author: Thomas E. Dickey <dickey@clark.net> 1996,1997 31228753Smm# 32228753Smm# Master Makefile for ncurses library. 33228753Smm 34228753SmmSHELL = /bin/sh 35228753Smm 36228753SmmDESTDIR=@DESTDIR@ 37228753SmmCF_MFLAGS = @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" 38228753Smm 39228753Smm@SET_MAKE@ 40228753Smm 41228753SmmNCURSES_MAJOR = @NCURSES_MAJOR@ 42228753SmmNCURSES_MINOR = @NCURSES_MINOR@ 43228753SmmNCURSES_PATCH = @NCURSES_PATCH@ 44228753Smm 45228753Smmprefix = @prefix@ 46228753Smmexec_prefix = @exec_prefix@ 47228753Smm 48228753Smmbindir = @bindir@ 49228753Smmticdir = @TERMINFO@ 50228753Smmincludedir = @includedir@ 51228753Smmlibdir = @libdir@ 52228753Smmmandir = @mandir@ 53228753Smm 54228753SmmINSTALL = @INSTALL@ 55228753SmmINSTALL_DATA = @INSTALL_DATA@ 56228753Smm 57228753SmmDIRS_TO_MAKE = @DIRS_TO_MAKE@ 58228753Smm 59228753Smmall :: $(DIRS_TO_MAKE) 60228753Smm 61228753Smm$(DIRS_TO_MAKE) : 62228753Smm mkdir $@ 63228753Smm 64228753Smmpreinstall : 65228753Smm @ echo '' 66232153Smm @ echo '** Configuration summary for NCURSES $(NCURSES_MAJOR).$(NCURSES_MINOR) $(NCURSES_PATCH):' 67232153Smm @ echo '' 68232153Smm @ echo ' extended funcs: '`test @NCURSES_EXT_FUNCS@ != 0 && echo yes || echo no` 69232153Smm @ echo ' xterm terminfo: '@WHICH_XTERM@ 70232153Smm @ echo '' 71232153Smm @ echo ' bin directory: '$(bindir) 72232153Smm @ echo ' lib directory: '$(libdir) 73232153Smm @ echo ' include directory: '$(includedir) 74232153Smm @ echo ' man directory: '$(mandir) 75232153Smm@MAKE_TERMINFO@ @ echo ' terminfo directory: '$(ticdir) 76232153Smm @ echo '' 77232153Smm @ test "$(includedir)" = "$(prefix)/include" || \ 78228753Smm echo '** Include-directory is not in a standard location' 79228753Smm @ test ! -f $(includedir)/termcap.h || \ 80228753Smm fgrep NCURSES_VERSION $(includedir)/termcap.h >/dev/null || \ 81228753Smm echo '** Will overwrite non-ncurses termcap.h' 82358090Smm @ test ! -f $(includedir)/curses.h || \ 83358090Smm fgrep NCURSES_VERSION $(includedir)/curses.h >/dev/null || \ 84 echo '** Will overwrite non-ncurses curses.h' 85 86# Put the common rules here so that we can easily construct the list of 87# directories to visit. 88all \ 89clean \ 90distclean \ 91mostlyclean \ 92realclean \ 93depend \ 94sources \ 95tags \ 96uninstall \ 97install :: 98