]> ncurses.scripts.mit.edu Git - ncurses.git/blob - Makefile.in
ncurses 6.2 - patch 20210807
[ncurses.git] / Makefile.in
1 # $Id: Makefile.in,v 1.45 2021/08/07 22:06:59 tom Exp $
2 ##############################################################################
3 # Copyright 2018-2020,2021 Thomas E. Dickey                                  #
4 # Copyright 1998-2014,2015 Free Software Foundation, Inc.                    #
5 #                                                                            #
6 # Permission is hereby granted, free of charge, to any person obtaining a    #
7 # copy of this software and associated documentation files (the "Software"), #
8 # to deal in the Software without restriction, including without limitation  #
9 # the rights to use, copy, modify, merge, publish, distribute, distribute    #
10 # with modifications, sublicense, and/or sell copies of the Software, and to #
11 # permit persons to whom the Software is furnished to do so, subject to the  #
12 # following conditions:                                                      #
13 #                                                                            #
14 # The above copyright notice and this permission notice shall be included in #
15 # all copies or substantial portions of the Software.                        #
16 #                                                                            #
17 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
18 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,   #
19 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL    #
20 # THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER      #
21 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING    #
22 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER        #
23 # DEALINGS IN THE SOFTWARE.                                                  #
24 #                                                                            #
25 # Except as contained in this notice, the name(s) of the above copyright     #
26 # holders shall not be used in advertising or otherwise to promote the sale, #
27 # use or other dealings in this Software without prior written               #
28 # authorization.                                                             #
29 ##############################################################################
30 #
31 # Author: Thomas E. Dickey              1996-on
32 #
33 # Master Makefile for ncurses library.
34
35 SHELL           = @SHELL@
36 VPATH           = @srcdir@
37
38 DESTDIR=@DESTDIR@
39 RPATH_LIST=@RPATH_LIST@
40 TOP_MFLAGS = @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" RPATH_LIST="$(RPATH_LIST)"
41
42 @SET_MAKE@
43
44 NCURSES_MAJOR   = @NCURSES_MAJOR@
45 NCURSES_MINOR   = @NCURSES_MINOR@
46 NCURSES_PATCH   = @NCURSES_PATCH@
47
48 top_srcdir      = @top_srcdir@
49 srcdir          = @srcdir@
50
51 prefix          = @prefix@
52 exec_prefix     = @exec_prefix@
53 datarootdir     = @datarootdir@
54
55 bindir          = @bindir@
56 ticdir          = @TERMINFO@
57 includedir      = @includedir@
58 includesubdir   = @includesubdir@
59 libdir          = @libdir@
60 mandir          = @mandir@
61 pkgdir          = @PKG_CONFIG_LIBDIR@
62
63 include_dir     = ${includedir}${includesubdir}
64
65 INSTALL         = @INSTALL@
66 INSTALL_DATA    = @INSTALL_DATA@
67
68 DIRS_TO_MAKE    = @DIRS_TO_MAKE@
69
70 @MAKE_PHONY@.PHONY :    all
71 @MAKE_PHONY@.PHONY :    check
72 @MAKE_PHONY@.PHONY :    clean
73 @MAKE_PHONY@.PHONY :    depend
74 @MAKE_PHONY@.PHONY :    distclean
75 @MAKE_PHONY@.PHONY :    install
76 @MAKE_PHONY@.PHONY :    mostlyclean
77 @MAKE_PHONY@.PHONY :    preinstall
78 @MAKE_PHONY@.PHONY :    realclean
79 @MAKE_PHONY@.PHONY :    sources
80 @MAKE_PHONY@.PHONY :    tags
81 @MAKE_PHONY@.PHONY :    uninstall
82
83 all ::  $(DIRS_TO_MAKE)
84
85 $(DIRS_TO_MAKE) :
86         mkdir $@
87
88 preinstall :
89         @ echo ''
90         @ echo '** Configuration summary for NCURSES $(NCURSES_MAJOR).$(NCURSES_MINOR) $(NCURSES_PATCH):'
91         @ echo ''
92         @ echo '       extended funcs: '`test @NCURSES_EXT_FUNCS@ != 0 && echo yes || echo no`
93         @ echo '       xterm terminfo: '@WHICH_XTERM@
94         @ echo ''
95         @ echo '        bin directory: '$(bindir)
96         @ echo '        lib directory: '$(libdir)
97         @ echo '    include directory: '$(include_dir)
98         @ echo '        man directory: '$(mandir)
99 @MAKE_TERMINFO@ @ echo '   terminfo directory: '$(ticdir)
100 @USE_FALLBACKS@ @ echo '  using fallback-list: '@FALLBACK_LIST@
101 @MAKE_PC_FILES@ @ echo ' pkg-config directory: '$(pkgdir)
102         @ echo ''
103         @ test "$(include_dir)" = "$(prefix)/include" || \
104                 echo '** Include-directory is not in a standard location'
105         @ test ! -f $(include_dir)/termcap.h || \
106                 fgrep NCURSES_VERSION $(include_dir)/termcap.h >/dev/null || \
107                 echo '** Will overwrite non-ncurses termcap.h'
108         @ test ! -f $(include_dir)/curses.h || \
109                 fgrep NCURSES_VERSION $(include_dir)/curses.h >/dev/null || \
110                 echo '** Will overwrite non-ncurses curses.h'
111
112 distclean \
113 realclean ::
114
115 check :
116         @ echo The test-programs are interactive
117
118
119 # Put the common rules here so that we can easily construct the list of
120 # directories to visit.
121 all \
122 clean \
123 distclean \
124 mostlyclean \
125 realclean \
126 depend \
127 sources \
128 tags \
129 uninstall \
130 install ::