1# $Id: Makefile.in,v 1.22 1998/02/11 12:13:46 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 45INSTALL_PREFIX = @INSTALL_PREFIX@ 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 parametrized.h \ 70 term.h 71 72################################################################################ 73all \ 74sources \ 75install :: $(AUTO_SRC) 76 77term.h: $(srcdir)/Caps MKterm.h.awk 78 $(AWK) -f MKterm.h.awk $(srcdir)/Caps > $@ 79 sh $(srcdir)/edit_cfg.sh ../include/ncurses_cfg.h $@ 80 81hashsize.h: $(srcdir)/Caps $(srcdir)/MKhashsize.sh 82 sh $(srcdir)/MKhashsize.sh $(srcdir)/Caps >$@ 83 84parametrized.h: $(srcdir)/Caps $(srcdir)/MKparametrized.sh 85 AWK=$(AWK) sh $(srcdir)/MKparametrized.sh $(srcdir)/Caps >$@ 86 87tags: 88 ctags *.[ch] 89 90TAGS: 91 etags *.[ch] 92 93mostlyclean :: 94 -rm -f core tags TAGS *~ *.ln *.atac trace 95 96clean :: mostlyclean 97 -rm -f $(AUTO_SRC) 98 99distclean :: clean 100 -rm -f Makefile $(CONFIG_SRC) 101 102realclean :: distclean 103 104############################################################################### 105# The remainder of this file is automatically generated during configuration 106############################################################################### 107