1# $Id: Makefile.in,v 1.5 2018/01/15 22:12:59 tom Exp $ 2############################################################################## 3# Copyright (c) 2010-2015,2018 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 31# 32# Makefile for ncurses source code. 33# 34# This makes header files used when building Ada95 as a separate tree. 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 = @SHELL@ 43VPATH = @srcdir@ 44THIS = Makefile 45 46DESTDIR = @DESTDIR@ 47srcdir = @srcdir@ 48prefix = @prefix@ 49exec_prefix = @exec_prefix@ 50includedir = @includedir@ 51 52INSTALL = @INSTALL@ @INSTALL_OPT_O@ 53INSTALL_DATA = @INSTALL_DATA@ 54 55AWK = @AWK@ 56 57# These files are generated by this makefile 58AUTO_SRC = \ 59 ncurses_def.h 60 61################################################################################ 62all \ 63libs \ 64depend \ 65sources \ 66install :: $(AUTO_SRC) 67 68uninstall :: 69 70ncurses_def.h: $(srcdir)/ncurses_defs $(srcdir)/MKncurses_def.sh 71 AWK=$(AWK) $(SHELL) $(srcdir)/MKncurses_def.sh $(srcdir)/ncurses_defs >$@ 72 73tags: 74 ctags *.[ch] 75 76@MAKE_UPPER_TAGS@TAGS: 77@MAKE_UPPER_TAGS@ etags *.[ch] 78 79mostlyclean :: 80 -rm -f core tags TAGS *~ *.bak *.i *.ln *.atac trace 81 82clean :: mostlyclean 83 -rm -f $(AUTO_SRC) 84 85distclean :: clean 86 -rm -f Makefile 87 88realclean :: distclean 89 90############################################################################### 91# The remainder of this file is automatically generated during configuration 92############################################################################### 93