]> ncurses.scripts.mit.edu Git - ncurses.git/blob - Makefile.in
ncurses 4.1
[ncurses.git] / Makefile.in
1 # $Id: Makefile.in,v 1.10 1997/03/22 00:57:42 tom Exp $
2 ################################################################################
3 # Copyright 1996,1997 by Thomas E. Dickey <dickey@clark.net>                   #
4 # All Rights Reserved.                                                         #
5 #                                                                              #
6 # Permission to use, copy, modify, and distribute this software and its        #
7 # documentation for any purpose and without fee is hereby granted, provided    #
8 # that the above copyright notice appear in all copies and that both that      #
9 # copyright notice and this permission notice appear in supporting             #
10 # documentation, and that the name of the above listed copyright holder(s) not #
11 # be used in advertising or publicity pertaining to distribution of the        #
12 # software without specific, written prior permission. THE ABOVE LISTED        #
13 # COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,    #
14 # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT #
15 # SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY SPECIAL,        #
16 # INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM   #
17 # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE   #
18 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR    #
19 # PERFORMANCE OF THIS SOFTWARE.                                                #
20 ################################################################################
21 # Master Makefile for ncurses library.
22
23 SHELL = /bin/sh
24
25 INSTALL_PREFIX=@INSTALL_PREFIX@
26 NC_MFLAGS = @nc_cv_makeflags@ INSTALL_PREFIX="$(INSTALL_PREFIX)"
27
28 @SET_MAKE@
29
30 NCURSES_MAJOR   = @NCURSES_MAJOR@
31 NCURSES_MINOR   = @NCURSES_MINOR@
32 NCURSES_PATCH   = @NCURSES_PATCH@
33
34 prefix          = @prefix@
35 exec_prefix     = @exec_prefix@
36
37 bindir          = @bindir@
38 datadir         = @datadir@
39 includedir      = @includedir@
40 libdir          = @libdir@
41 mandir          = @mandir@
42
43 DIRS_TO_MAKE = @DIRS_TO_MAKE@
44
45 all ::  $(DIRS_TO_MAKE)
46
47 $(DIRS_TO_MAKE) :
48         mkdir $@
49
50 preinstall :
51         @ echo ''
52         @ echo '** Configuration summary for NCURSES $(NCURSES_MAJOR).$(NCURSES_MINOR) $(NCURSES_PATCH):'
53         @ echo ''
54         @ echo '      bin directory: '$(bindir)
55         @ echo '      lib directory: '$(libdir)
56         @ echo '  include directory: '$(includedir)
57         @ echo '      man directory: '$(mandir)
58         @ echo ' terminfo directory: '$(datadir)/terminfo
59         @ echo ''
60         @ if test "$(includedir)" != "$(prefix)/include" ; then \
61                 echo '** Include-directory is not in a standard location'; fi
62
63 # Put the common rules here so that we can easily construct the list of
64 # directories to visit.
65 all \
66 clean \
67 distclean \
68 mostlyclean \
69 realclean \
70 install ::