]> ncurses.scripts.mit.edu Git - ncurses.git/blob - include/Makefile.in
ncurses 4.1
[ncurses.git] / include / Makefile.in
1 # $Id: Makefile.in,v 1.17 1997/04/05 23:38:51 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 # Makefile for ncurses source code.
22 #
23 # This makes/installs ncurses include-files
24 #
25 # The variable 'srcdir' refers to the source-distribution, and can be set with
26 # the configure script by "--srcdir=DIR".
27
28 # turn off _all_ suffix rules; we'll generate our own
29 .SUFFIXES:
30
31 SHELL           = /bin/sh
32 THIS            = Makefile
33
34 INSTALL_PREFIX  = @INSTALL_PREFIX@
35 srcdir          = @srcdir@
36 prefix          = @prefix@
37 exec_prefix     = @exec_prefix@
38 includedir      = @includedir@
39
40 INSTALL         = @INSTALL@
41 INSTALL_DATA    = @INSTALL_DATA@
42
43 AWK             = @AWK@
44
45 VERSION         = @nc_cv_rel_version@
46
47 # These files are generated by the configure script
48 CONFIG_SRC = \
49         MKterm.h.awk \
50         curses.h \
51         termcap.h \
52         unctrl.h
53
54 # These files are generated by this makefile
55 AUTO_SRC = \
56         hashsize.h \
57         parametrized.h \
58         term.h
59
60 ################################################################################
61 all \
62 install ::      $(AUTO_SRC)
63
64 term.h: $(srcdir)/Caps MKterm.h.awk
65         $(AWK) -f MKterm.h.awk $(srcdir)/Caps > $@
66         sh $(srcdir)/edit_cfg.sh ../include/ncurses_cfg.h $@
67
68 hashsize.h: $(srcdir)/Caps $(srcdir)/MKhashsize.sh
69         sh $(srcdir)/MKhashsize.sh $(srcdir)/Caps >$@
70
71 parametrized.h: $(srcdir)/Caps $(srcdir)/MKparametrized.sh
72         sh $(srcdir)/MKparametrized.sh $(srcdir)/Caps >$@
73
74 tags:
75         ctags *.[ch]
76
77 TAGS:
78         etags *.[ch]
79
80 mostlyclean ::
81         -rm -f tags TAGS *~
82
83 clean :: mostlyclean
84         -rm -f $(AUTO_SRC)
85
86 distclean :: clean
87         -rm -f Makefile $(CONFIG_SRC)
88
89 realclean :: distclean
90
91 ###############################################################################
92 # The remainder of this file is automatically generated during configuration
93 ###############################################################################