1262685Sdelphij# $Id: Makefile.in,v 1.38 2014/01/18 20:19:45 tom Exp $
250276Speter##############################################################################
3262685Sdelphij# Copyright (c) 1998-2013,2014 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#
30262685Sdelphij# Author: Thomas E. Dickey		1996-on
3150276Speter#
3250276Speter# Master Makefile for ncurses library.
3350276Speter
3450276SpeterSHELL = /bin/sh
35262629SdelphijVPATH		= @srcdir@
3650276Speter
3766963SpeterDESTDIR=@DESTDIR@
38262685SdelphijRPATH_LIST=@RPATH_LIST@
39262685SdelphijTOP_MFLAGS = @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" RPATH_LIST="$(RPATH_LIST)"
4050276Speter
4150276Speter@SET_MAKE@
4250276Speter
4350276SpeterNCURSES_MAJOR	= @NCURSES_MAJOR@
4450276SpeterNCURSES_MINOR	= @NCURSES_MINOR@
4550276SpeterNCURSES_PATCH	= @NCURSES_PATCH@
4650276Speter
47262629Sdelphijtop_srcdir	= @top_srcdir@
48262629Sdelphijsrcdir		= @srcdir@
49262629Sdelphij
5050276Speterprefix		= @prefix@
5150276Speterexec_prefix	= @exec_prefix@
52262685Sdelphijdatarootdir	= @datarootdir@
5350276Speter
5450276Speterbindir		= @bindir@
5566963Speterticdir		= @TERMINFO@
5650276Speterincludedir	= @includedir@
57262685Sdelphijincludesubdir	= @includesubdir@
5850276Speterlibdir		= @libdir@
5950276Spetermandir		= @mandir@
6050276Speter
61262685Sdelphijinclude_dir	= ${includedir}${includesubdir}
62262685Sdelphij
6350276SpeterINSTALL		= @INSTALL@
6450276SpeterINSTALL_DATA	= @INSTALL_DATA@
6550276Speter
6650276SpeterDIRS_TO_MAKE	= @DIRS_TO_MAKE@
6750276Speter
6850276Speterall ::	$(DIRS_TO_MAKE)
6950276Speter
7050276Speter$(DIRS_TO_MAKE) :
7150276Speter	mkdir $@
7250276Speter
7350276Speterpreinstall :
7450276Speter	@ echo ''
7550276Speter	@ echo '** Configuration summary for NCURSES $(NCURSES_MAJOR).$(NCURSES_MINOR) $(NCURSES_PATCH):'
7650276Speter	@ echo ''
77166124Srafan	@ echo '     extended funcs: '`test @NCURSES_EXT_FUNCS@ != 0 && echo yes || echo no`
78166124Srafan	@ echo '     xterm terminfo: '@WHICH_XTERM@
79166124Srafan	@ echo ''
8050276Speter	@ echo '      bin directory: '$(bindir)
8150276Speter	@ echo '      lib directory: '$(libdir)
82262685Sdelphij	@ echo '  include directory: '$(include_dir)
8350276Speter	@ echo '      man directory: '$(mandir)
8497049Speter@MAKE_TERMINFO@	@ echo ' terminfo directory: '$(ticdir)
8550276Speter	@ echo ''
86262685Sdelphij	@ test "$(include_dir)" = "$(prefix)/include" || \
8750276Speter		echo '** Include-directory is not in a standard location'
88262685Sdelphij	@ test ! -f $(include_dir)/termcap.h || \
89262685Sdelphij		fgrep NCURSES_VERSION $(include_dir)/termcap.h >/dev/null || \
9050276Speter		echo '** Will overwrite non-ncurses termcap.h'
91262685Sdelphij	@ test ! -f $(include_dir)/curses.h || \
92262685Sdelphij		fgrep NCURSES_VERSION $(include_dir)/curses.h >/dev/null || \
9350276Speter		echo '** Will overwrite non-ncurses curses.h'
9450276Speter
95262629Sdelphijdistclean \
96262629Sdelphijrealclean ::
97262629Sdelphij
98262685Sdelphij
9950276Speter# Put the common rules here so that we can easily construct the list of
10050276Speter# directories to visit.
10150276Speterall \
10250276Speterclean \
10350276Speterdistclean \
10450276Spetermostlyclean \
10550276Speterrealclean \
10697049Speterdepend \
10750276Spetersources \
108166124Srafantags \
10950276Speteruninstall \
11050276Speterinstall ::
111