]> ncurses.scripts.mit.edu Git - ncurses.git/blob - misc/Makefile.in
ncurses 5.0
[ncurses.git] / misc / Makefile.in
1 # $Id: Makefile.in,v 1.20 1998/02/11 12:13: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 miscellany directory
33 #
34 # This makes/installs the terminfo database
35 #
36 # The variable 'srcdir' refers to the source-distribution, and can be set with
37 # the configure script by "--srcdir=DIR".
38 #
39 # The rules are organized to produce the libraries for the configured models,
40 # and the programs with the configured default model.
41
42 # turn off _all_ suffix rules; we'll generate our own
43 .SUFFIXES:
44
45 SHELL           = /bin/sh
46 THIS            = Makefile
47
48 CF_MFLAGS       = @cf_cv_makeflags@
49 @SET_MAKE@
50
51 INSTALL_PREFIX  = @INSTALL_PREFIX@
52 srcdir          = @srcdir@
53 prefix          = @prefix@
54 exec_prefix     = @exec_prefix@
55 bindir          = @bindir@
56 libdir          = @libdir@
57 datadir         = @datadir@
58
59 tabsetdir       = $(datadir)/tabset
60 ticdir          = $(datadir)/terminfo
61
62 INSTALL         = @INSTALL@
63 INSTALL_DATA    = @INSTALL_DATA@
64
65 ################################################################################
66 all:
67
68 sources:
69
70 install: install.data
71
72 install.data:   $(INSTALL_PREFIX)$(libdir) \
73                 $(INSTALL_PREFIX)$(ticdir) \
74                 $(INSTALL_PREFIX)$(tabsetdir)
75         sh $(srcdir)/run_tic.sh $(bindir) $(srcdir) $(ticdir) $(INSTALL_PREFIX)
76         @cd $(srcdir)/tabset && \
77                 sh -c 'for i in `echo * | fgrep -v CVS | fgrep -v RCS`; do \
78                 echo installing $$i; \
79                 $(INSTALL_DATA) $$i $(INSTALL_PREFIX)$(tabsetdir); done'
80
81 $(INSTALL_PREFIX)$(libdir) \
82 $(INSTALL_PREFIX)$(tabsetdir) \
83 $(INSTALL_PREFIX)$(ticdir) :
84         $(srcdir)/../mkinstalldirs $@
85
86 uninstall: uninstall.data
87
88 uninstall.data:
89         -cd $(INSTALL_PREFIX)$(ticdir) && rm -rf *
90         -cd $(INSTALL_PREFIX)$(tabsetdir) && rm -rf *
91
92 tags:
93
94 TAGS:
95
96 mostlyclean:
97         -rm -f core tags TAGS *~ *.ln *.atac trace
98
99 clean :: mostlyclean
100
101 distclean: clean
102         -rm -f Makefile 
103
104 realclean: distclean
105
106 ###############################################################################
107 # The remainder of this file is automatically generated during configuration
108 ###############################################################################