]> ncurses.scripts.mit.edu Git - ncurses.git/blob - include/Makefile.in
ncurses 4.2
[ncurses.git] / include / Makefile.in
1 # $Id: Makefile.in,v 1.22 1998/02/11 12:13:46 tom Exp $
2 ##############################################################################
3 # Copyright (c) 1998 Free Software Foundation, Inc.                          #
4 #                                                                            #
5 # Permission is hereby granted, free of charge, to any person obtaining a    #
6 # copy of this software and associated documentation files (the "Software"), #
7 # to deal in the Software without restriction, including without limitation  #
8 # the rights to use, copy, modify, merge, publish, distribute, distribute    #
9 # with modifications, sublicense, and/or sell copies of the Software, and to #
10 # permit persons to whom the Software is furnished to do so, subject to the  #
11 # following conditions:                                                      #
12 #                                                                            #
13 # The above copyright notice and this permission notice shall be included in #
14 # all copies or substantial portions of the Software.                        #
15 #                                                                            #
16 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
17 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,   #
18 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL    #
19 # THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER      #
20 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING    #
21 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER        #
22 # DEALINGS IN THE SOFTWARE.                                                  #
23 #                                                                            #
24 # Except as contained in this notice, the name(s) of the above copyright     #
25 # holders shall not be used in advertising or otherwise to promote the sale, #
26 # use or other dealings in this Software without prior written               #
27 # authorization.                                                             #
28 ##############################################################################
29 #
30 # Author: Thomas E. Dickey <dickey@clark.net> 1996,1997
31 #
32 # Makefile for ncurses source code.
33 #
34 # This makes/installs ncurses include-files
35 #
36 # The variable 'srcdir' refers to the source-distribution, and can be set with
37 # the configure script by "--srcdir=DIR".
38
39 # turn off _all_ suffix rules; we'll generate our own
40 .SUFFIXES:
41
42 SHELL           = /bin/sh
43 THIS            = Makefile
44
45 INSTALL_PREFIX  = @INSTALL_PREFIX@
46 srcdir          = @srcdir@
47 prefix          = @prefix@
48 exec_prefix     = @exec_prefix@
49 includedir      = @includedir@
50
51 INSTALL         = @INSTALL@
52 INSTALL_DATA    = @INSTALL_DATA@
53
54 AWK             = @AWK@
55 LN_S            = @LN_S@
56
57 VERSION         = @cf_cv_rel_version@
58
59 # These files are generated by the configure script
60 CONFIG_SRC = \
61         MKterm.h.awk \
62         curses.h \
63         termcap.h \
64         unctrl.h
65
66 # These files are generated by this makefile
67 AUTO_SRC = \
68         hashsize.h \
69         parametrized.h \
70         term.h
71
72 ################################################################################
73 all \
74 sources \
75 install ::      $(AUTO_SRC)
76
77 term.h: $(srcdir)/Caps MKterm.h.awk
78         $(AWK) -f MKterm.h.awk $(srcdir)/Caps > $@
79         sh $(srcdir)/edit_cfg.sh ../include/ncurses_cfg.h $@
80
81 hashsize.h: $(srcdir)/Caps $(srcdir)/MKhashsize.sh
82         sh $(srcdir)/MKhashsize.sh $(srcdir)/Caps >$@
83
84 parametrized.h: $(srcdir)/Caps $(srcdir)/MKparametrized.sh
85         AWK=$(AWK) sh $(srcdir)/MKparametrized.sh $(srcdir)/Caps >$@
86
87 tags:
88         ctags *.[ch]
89
90 TAGS:
91         etags *.[ch]
92
93 mostlyclean ::
94         -rm -f core tags TAGS *~ *.ln *.atac trace
95
96 clean :: mostlyclean
97         -rm -f $(AUTO_SRC)
98
99 distclean :: clean
100         -rm -f Makefile $(CONFIG_SRC)
101
102 realclean :: distclean
103
104 ###############################################################################
105 # The remainder of this file is automatically generated during configuration
106 ###############################################################################