]> ncurses.scripts.mit.edu Git - ncurses.git/blob - include/Makefile.in
29c0d7cc452114d4f7283c57b87ca311842050e5
[ncurses.git] / include / Makefile.in
1 # $Id: Makefile.in,v 1.23 2000/05/28 01:33:52 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 libs \
75 sources \
76 install ::      $(AUTO_SRC)
77
78 term.h: $(srcdir)/Caps MKterm.h.awk
79         $(AWK) -f MKterm.h.awk $(srcdir)/Caps > $@
80         sh $(srcdir)/edit_cfg.sh ../include/ncurses_cfg.h $@
81
82 hashsize.h: $(srcdir)/Caps $(srcdir)/MKhashsize.sh
83         sh $(srcdir)/MKhashsize.sh $(srcdir)/Caps >$@
84
85 parametrized.h: $(srcdir)/Caps $(srcdir)/MKparametrized.sh
86         AWK=$(AWK) sh $(srcdir)/MKparametrized.sh $(srcdir)/Caps >$@
87
88 tags:
89         ctags *.[ch]
90
91 TAGS:
92         etags *.[ch]
93
94 mostlyclean ::
95         -rm -f core tags TAGS *~ *.ln *.atac trace
96
97 clean :: mostlyclean
98         -rm -f $(AUTO_SRC)
99
100 distclean :: clean
101         -rm -f Makefile $(CONFIG_SRC)
102
103 realclean :: distclean
104
105 ###############################################################################
106 # The remainder of this file is automatically generated during configuration
107 ###############################################################################