Makefile.in revision 66963
1# $Id: Makefile.in,v 1.26 2000/09/02 17:53:40 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
42SHELL		= /bin/sh
43THIS		= Makefile
44
45DESTDIR		= @DESTDIR@
46srcdir		= @srcdir@
47prefix		= @prefix@
48exec_prefix	= @exec_prefix@
49includedir	= @includedir@
50
51INSTALL		= @INSTALL@
52INSTALL_DATA	= @INSTALL_DATA@
53
54AWK		= @AWK@
55LN_S		= @LN_S@
56
57VERSION		= @cf_cv_rel_version@
58
59# These files are generated by the configure script
60CONFIG_SRC = \
61	MKterm.h.awk \
62	curses.h \
63	termcap.h \
64	unctrl.h
65
66# These files are generated by this makefile
67AUTO_SRC = \
68	hashsize.h \
69	ncurses_def.h \
70	parametrized.h \
71	term.h
72
73################################################################################
74all \
75libs \
76sources \
77install ::	$(AUTO_SRC)
78
79term.h: $(srcdir)/Caps MKterm.h.awk
80	$(AWK) -f MKterm.h.awk $(srcdir)/Caps > $@
81	sh $(srcdir)/edit_cfg.sh ../include/ncurses_cfg.h $@
82
83hashsize.h: $(srcdir)/Caps $(srcdir)/MKhashsize.sh
84	sh $(srcdir)/MKhashsize.sh $(srcdir)/Caps >$@
85
86ncurses_def.h: $(srcdir)/ncurses_defs $(srcdir)/MKncurses_def.sh
87	AWK=$(AWK) sh $(srcdir)/MKncurses_def.sh $(srcdir)/ncurses_defs >$@
88
89parametrized.h: $(srcdir)/Caps $(srcdir)/MKparametrized.sh
90	AWK=$(AWK) sh $(srcdir)/MKparametrized.sh $(srcdir)/Caps >$@
91
92tags:
93	ctags *.[ch]
94
95@MAKE_UPPER_TAGS@TAGS:
96@MAKE_UPPER_TAGS@	etags *.[ch]
97
98mostlyclean ::
99	-rm -f core tags TAGS *~ *.ln *.atac trace
100
101clean :: mostlyclean
102	-rm -f $(AUTO_SRC)
103
104distclean :: clean
105	-rm -f Makefile $(CONFIG_SRC)
106
107realclean :: distclean
108
109###############################################################################
110# The remainder of this file is automatically generated during configuration
111###############################################################################
112