1 # $Id: Makefile.in,v 1.34 2002/01/12 23:54:39 Robert.Joop Exp $
2 ##############################################################################
3 # Copyright (c) 1998,2000,2001,2002 Free Software Foundation, Inc. #
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: #
13 # The above copyright notice and this permission notice shall be included in #
14 # all copies or substantial portions of the Software. #
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. #
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 #
28 ##############################################################################
30 # Author: Thomas E. Dickey <dickey@clark.net> 1996,1997
32 # Makefile for ncurses miscellany directory
34 # This makes/installs the terminfo database
36 # The variable 'srcdir' refers to the source-distribution, and can be set with
37 # the configure script by "--srcdir=DIR".
39 # The rules are organized to produce the libraries for the configured models,
40 # and the programs with the configured default model.
42 # turn off _all_ suffix rules; we'll generate our own
48 CF_MFLAGS = @cf_cv_makeflags@
52 top_srcdir = @top_srcdir@
55 exec_prefix = @exec_prefix@
63 tabsetdir = $(datadir)/tabset
65 source = @TERMINFO_SRC@
68 INSTALL_DATA = @INSTALL_DATA@
70 ################################################################################
77 install : install.data
79 install.data : $(DESTDIR)$(libdir) \
81 $(DESTDIR)$(tabsetdir)
84 exec_prefix=${exec_prefix} \
86 top_srcdir=${top_srcdir} \
94 @cd $(srcdir)/tabset && \
95 sh -c 'for i in * ; do \
96 if test -f $$i ; then \
97 echo installing $$i; \
98 $(INSTALL_DATA) $$i $(DESTDIR)$(tabsetdir)/$$i; \
101 $(DESTDIR)$(libdir) \
102 $(DESTDIR)$(tabsetdir) \
103 $(DESTDIR)$(ticdir) :
104 sh $(srcdir)/../mkinstalldirs $@
106 uninstall : uninstall.data
109 -cd $(DESTDIR)$(ticdir) && rm -rf *
110 -cd $(DESTDIR)$(tabsetdir) && rm -rf *
114 @MAKE_UPPER_TAGS@TAGS :
117 -rm -f core tags TAGS *~ *.bak *.ln *.atac trace
122 -rm -f Makefile run_tic.sh
124 realclean : distclean
126 ###############################################################################
127 # The remainder of this file is automatically generated during configuration
128 ###############################################################################