1166124Srafan# $Id: Makefile.in,v 1.24 2005/01/29 19:30:06 tom Exp $ 250276Speter############################################################################## 3166124Srafan# Copyright (c) 1998-2004,2005 Free Software Foundation, Inc. # 450276Speter# # 550276Speter# Permission is hereby granted, free of charge, to any person obtaining a # 650276Speter# copy of this software and associated documentation files (the "Software"), # 750276Speter# to deal in the Software without restriction, including without limitation # 850276Speter# the rights to use, copy, modify, merge, publish, distribute, distribute # 950276Speter# with modifications, sublicense, and/or sell copies of the Software, and to # 1050276Speter# permit persons to whom the Software is furnished to do so, subject to the # 1150276Speter# following conditions: # 1250276Speter# # 1350276Speter# The above copyright notice and this permission notice shall be included in # 1450276Speter# all copies or substantial portions of the Software. # 1550276Speter# # 1650276Speter# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # 1750276Speter# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # 1850276Speter# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # 1950276Speter# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # 2050276Speter# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # 2150276Speter# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # 2250276Speter# DEALINGS IN THE SOFTWARE. # 2350276Speter# # 2450276Speter# Except as contained in this notice, the name(s) of the above copyright # 2550276Speter# holders shall not be used in advertising or otherwise to promote the sale, # 2650276Speter# use or other dealings in this Software without prior written # 2750276Speter# authorization. # 2850276Speter############################################################################## 2950276Speter# 3050276Speter# Author: Thomas E. Dickey <dickey@clark.net> 1996,1997 3150276Speter# 3250276Speter# Master Makefile for ncurses library. 3350276Speter 3450276SpeterSHELL = /bin/sh 3550276Speter 3666963SpeterDESTDIR=@DESTDIR@ 3766963SpeterCF_MFLAGS = @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" 3850276Speter 3950276Speter@SET_MAKE@ 4050276Speter 4150276SpeterNCURSES_MAJOR = @NCURSES_MAJOR@ 4250276SpeterNCURSES_MINOR = @NCURSES_MINOR@ 4350276SpeterNCURSES_PATCH = @NCURSES_PATCH@ 4450276Speter 4550276Speterprefix = @prefix@ 4650276Speterexec_prefix = @exec_prefix@ 4750276Speter 4850276Speterbindir = @bindir@ 4966963Speterticdir = @TERMINFO@ 5050276Speterincludedir = @includedir@ 5150276Speterlibdir = @libdir@ 5250276Spetermandir = @mandir@ 5350276Speter 5450276SpeterINSTALL = @INSTALL@ 5550276SpeterINSTALL_DATA = @INSTALL_DATA@ 5650276Speter 5750276SpeterDIRS_TO_MAKE = @DIRS_TO_MAKE@ 5850276Speter 5950276Speterall :: $(DIRS_TO_MAKE) 6050276Speter 6150276Speter$(DIRS_TO_MAKE) : 6250276Speter mkdir $@ 6350276Speter 6450276Speterpreinstall : 6550276Speter @ echo '' 6650276Speter @ echo '** Configuration summary for NCURSES $(NCURSES_MAJOR).$(NCURSES_MINOR) $(NCURSES_PATCH):' 6750276Speter @ echo '' 68166124Srafan @ echo ' extended funcs: '`test @NCURSES_EXT_FUNCS@ != 0 && echo yes || echo no` 69166124Srafan @ echo ' xterm terminfo: '@WHICH_XTERM@ 70166124Srafan @ echo '' 7150276Speter @ echo ' bin directory: '$(bindir) 7250276Speter @ echo ' lib directory: '$(libdir) 7350276Speter @ echo ' include directory: '$(includedir) 7450276Speter @ echo ' man directory: '$(mandir) 7597049Speter@MAKE_TERMINFO@ @ echo ' terminfo directory: '$(ticdir) 7650276Speter @ echo '' 7750276Speter @ test "$(includedir)" = "$(prefix)/include" || \ 7850276Speter echo '** Include-directory is not in a standard location' 7950276Speter @ test ! -f $(includedir)/termcap.h || \ 8050276Speter fgrep NCURSES_VERSION $(includedir)/termcap.h >/dev/null || \ 8150276Speter echo '** Will overwrite non-ncurses termcap.h' 8250276Speter @ test ! -f $(includedir)/curses.h || \ 8350276Speter fgrep NCURSES_VERSION $(includedir)/curses.h >/dev/null || \ 8450276Speter echo '** Will overwrite non-ncurses curses.h' 8550276Speter 8650276Speter# Put the common rules here so that we can easily construct the list of 8750276Speter# directories to visit. 8850276Speterall \ 8950276Speterclean \ 9050276Speterdistclean \ 9150276Spetermostlyclean \ 9250276Speterrealclean \ 9397049Speterdepend \ 9450276Spetersources \ 95166124Srafantags \ 9650276Speteruninstall \ 9750276Speterinstall :: 98