micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 1 | # $Id: Makefile.in,v 1.7 2021/07/03 15:45:33 tom Exp $ |
Steve Kondik | ae271bc | 2015-11-15 02:50:53 +0100 | [diff] [blame] | 2 | ############################################################################## |
micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 3 | # Copyright 2020,2021 Thomas E. Dickey # |
| 4 | # Copyright 2010-2015,2018 Free Software Foundation, Inc. # |
Steve Kondik | ae271bc | 2015-11-15 02:50:53 +0100 | [diff] [blame] | 5 | # # |
| 6 | # Permission is hereby granted, free of charge, to any person obtaining a # |
| 7 | # copy of this software and associated documentation files (the "Software"), # |
| 8 | # to deal in the Software without restriction, including without limitation # |
| 9 | # the rights to use, copy, modify, merge, publish, distribute, distribute # |
| 10 | # with modifications, sublicense, and/or sell copies of the Software, and to # |
| 11 | # permit persons to whom the Software is furnished to do so, subject to the # |
| 12 | # following conditions: # |
| 13 | # # |
| 14 | # The above copyright notice and this permission notice shall be included in # |
| 15 | # all copies or substantial portions of the Software. # |
| 16 | # # |
| 17 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # |
| 18 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # |
| 19 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # |
| 20 | # THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # |
| 21 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # |
| 22 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # |
| 23 | # DEALINGS IN THE SOFTWARE. # |
| 24 | # # |
| 25 | # Except as contained in this notice, the name(s) of the above copyright # |
| 26 | # holders shall not be used in advertising or otherwise to promote the sale, # |
| 27 | # use or other dealings in this Software without prior written # |
| 28 | # authorization. # |
| 29 | ############################################################################## |
| 30 | # |
| 31 | # Author: Thomas E. Dickey |
| 32 | # |
| 33 | # Makefile for ncurses source code. |
| 34 | # |
| 35 | # This makes header files used when building Ada95 as a separate tree. |
| 36 | # |
| 37 | # The variable 'srcdir' refers to the source-distribution, and can be set with |
| 38 | # the configure script by "--srcdir=DIR". |
| 39 | |
| 40 | # turn off _all_ suffix rules; we'll generate our own |
| 41 | .SUFFIXES: |
| 42 | |
| 43 | SHELL = @SHELL@ |
| 44 | VPATH = @srcdir@ |
| 45 | THIS = Makefile |
| 46 | |
| 47 | DESTDIR = @DESTDIR@ |
| 48 | srcdir = @srcdir@ |
| 49 | prefix = @prefix@ |
| 50 | exec_prefix = @exec_prefix@ |
| 51 | includedir = @includedir@ |
| 52 | |
micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 53 | INSTALL = @INSTALL@ @INSTALL_OPT_O@ |
Steve Kondik | ae271bc | 2015-11-15 02:50:53 +0100 | [diff] [blame] | 54 | INSTALL_DATA = @INSTALL_DATA@ |
| 55 | |
| 56 | AWK = @AWK@ |
| 57 | |
| 58 | # These files are generated by this makefile |
| 59 | AUTO_SRC = \ |
| 60 | ncurses_def.h |
| 61 | |
| 62 | ################################################################################ |
micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 63 | |
| 64 | @MAKE_PHONY@.PHONY : all |
| 65 | @MAKE_PHONY@.PHONY : clean |
| 66 | @MAKE_PHONY@.PHONY : distclean |
| 67 | @MAKE_PHONY@.PHONY : install |
| 68 | @MAKE_PHONY@.PHONY : install.libs |
| 69 | @MAKE_PHONY@.PHONY : libs |
| 70 | @MAKE_PHONY@.PHONY : mostlyclean |
| 71 | @MAKE_PHONY@.PHONY : realclean |
| 72 | @MAKE_PHONY@.PHONY : sources |
| 73 | @MAKE_PHONY@.PHONY : uninstall |
| 74 | @MAKE_PHONY@.PHONY : uninstall.libs |
| 75 | |
Steve Kondik | ae271bc | 2015-11-15 02:50:53 +0100 | [diff] [blame] | 76 | all \ |
| 77 | libs \ |
Steve Kondik | ae271bc | 2015-11-15 02:50:53 +0100 | [diff] [blame] | 78 | sources \ |
| 79 | install :: $(AUTO_SRC) |
| 80 | |
| 81 | uninstall :: |
| 82 | |
| 83 | ncurses_def.h: $(srcdir)/ncurses_defs $(srcdir)/MKncurses_def.sh |
| 84 | AWK=$(AWK) $(SHELL) $(srcdir)/MKncurses_def.sh $(srcdir)/ncurses_defs >$@ |
| 85 | |
| 86 | tags: |
| 87 | ctags *.[ch] |
| 88 | |
| 89 | @MAKE_UPPER_TAGS@TAGS: |
| 90 | @MAKE_UPPER_TAGS@ etags *.[ch] |
| 91 | |
| 92 | mostlyclean :: |
| 93 | -rm -f core tags TAGS *~ *.bak *.i *.ln *.atac trace |
| 94 | |
| 95 | clean :: mostlyclean |
| 96 | -rm -f $(AUTO_SRC) |
| 97 | |
| 98 | distclean :: clean |
| 99 | -rm -f Makefile |
| 100 | |
| 101 | realclean :: distclean |
| 102 | |
| 103 | ############################################################################### |
| 104 | # The remainder of this file is automatically generated during configuration |
| 105 | ############################################################################### |