]> ncurses.scripts.mit.edu Git - ncurses.git/blob - misc/Makefile.in
147e8537525edcf8f22547fe81d408c1feee65e9
[ncurses.git] / misc / Makefile.in
1 # $Id: Makefile.in,v 1.13 1996/06/23 00:54:27 tom Exp $
2 ################################################################################
3 # Copyright 1996 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 miscellany directory
22 #
23 # This makes/installs the terminfo database
24 #
25 # The variable 'srcdir' refers to the source-distribution, and can be set with
26 # the configure script by "--srcdir=DIR".
27 #
28 # The rules are organized to produce the libraries for the configured models,
29 # and the programs with the configured default model.
30
31 # turn off _all_ suffix rules; we'll generate our own
32 .SUFFIXES:
33
34 SHELL           = /bin/sh
35 THIS            = Makefile
36
37 NC_MFLAGS       = @nc_cv_makeflags@
38 @SET_MAKE@
39
40 INSTALL_PREFIX  = @INSTALL_PREFIX@
41 srcdir          = @srcdir@
42 prefix          = @prefix@
43 exec_prefix     = @exec_prefix@
44 bindir          = @bindir@
45 libdir          = @libdir@
46 datadir         = @datadir@
47
48 tabsetdir       = $(datadir)/tabset
49 ticdir          = $(datadir)/terminfo
50
51 INSTALL         = @INSTALL@
52 INSTALL_DATA    = @INSTALL_DATA@
53
54 ################################################################################
55 all:
56
57 install: install.data
58
59 install.data:   $(INSTALL_PREFIX)$(libdir) \
60                 $(INSTALL_PREFIX)$(ticdir) \
61                 $(INSTALL_PREFIX)$(tabsetdir)
62         sh $(srcdir)/run_tic.sh $(bindir) $(srcdir) $(ticdir) $(INSTALL_PREFIX)
63         @cd $(srcdir)/tabset && \
64                 sh -c 'for i in *; do \
65                 echo installing $$i; \
66                 $(INSTALL_DATA) $$i $(INSTALL_PREFIX)$(tabsetdir); done'
67
68 $(INSTALL_PREFIX)$(libdir) \
69 $(INSTALL_PREFIX)$(tabsetdir) \
70 $(INSTALL_PREFIX)$(ticdir) :
71         $(srcdir)/../mkinstalldirs $@
72
73 tags:
74
75 TAGS:
76
77 clean ::
78         -rm -f tags TAGS *~
79
80 distclean: clean
81         -rm -f Makefile 
82
83 mostlyclean: clean
84
85 realclean: distclean
86
87 ###############################################################################
88 # The remainder of this file is automatically generated during configuration
89 ###############################################################################