micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 1 | # $Id: Makefile.in,v 1.30 2022/12/17 23:33:33 tom Exp $ |
Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 2 | ############################################################################## |
micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 3 | # Copyright 2020-2021,2022 Thomas E. Dickey # |
| 4 | # Copyright 1998-2010,2015 Free Software Foundation, Inc. # |
Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [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: Juergen Pfeifer, 1996 |
| 32 | # |
| 33 | # Version Control |
micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 34 | # $Revision: 1.30 $ |
Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 35 | # |
Steve Kondik | ae271bc | 2015-11-15 02:50:53 +0100 | [diff] [blame] | 36 | SHELL = @SHELL@ |
| 37 | VPATH = @srcdir@ |
Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 38 | THIS = Makefile |
| 39 | |
micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 40 | srcdir = @srcdir@ |
| 41 | prefix = @prefix@ |
| 42 | exec_prefix = @exec_prefix@ |
| 43 | bindir = @bindir@ |
| 44 | datarootdir = @datarootdir@ |
| 45 | datadir = @datadir@ |
| 46 | libdir = @libdir@ |
| 47 | libexecdir = @libexecdir@ |
| 48 | includedir = @includedir@ |
| 49 | |
| 50 | BINDIR = $(DESTDIR)$(bindir) |
| 51 | DATADIR = $(DESTDIR)$(datadir) |
| 52 | LIBDIR = $(DESTDIR)$(libdir) |
| 53 | LIBEXECDIR = $(DESTDIR)$(libexecdir) |
| 54 | |
Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 55 | SUBDIRS = @ADA_SUBDIRS@ |
| 56 | |
micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 57 | INSTALL = @INSTALL@ @INSTALL_OPT_O@ |
| 58 | INSTALL_SCRIPT = @INSTALL@ |
| 59 | |
| 60 | TOP_MFLAGS = @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" RPATH_LIST="$(RPATH_LIST)" |
Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 61 | @SET_MAKE@ |
| 62 | |
micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 63 | ################################################################################ |
| 64 | |
| 65 | @MAKE_PHONY@.PHONY : all |
| 66 | @MAKE_PHONY@.PHONY : clean |
| 67 | @MAKE_PHONY@.PHONY : depend |
| 68 | @MAKE_PHONY@.PHONY : distclean |
| 69 | @MAKE_PHONY@.PHONY : install |
| 70 | @MAKE_PHONY@.PHONY : install.libs |
| 71 | @MAKE_PHONY@.PHONY : libs |
| 72 | @MAKE_PHONY@.PHONY : mostlyclean |
| 73 | @MAKE_PHONY@.PHONY : realclean |
| 74 | @MAKE_PHONY@.PHONY : sources |
| 75 | @MAKE_PHONY@.PHONY : uninstall |
| 76 | @MAKE_PHONY@.PHONY : uninstall.libs |
| 77 | |
Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 78 | all \ |
| 79 | libs \ |
| 80 | sources \ |
| 81 | install \ |
| 82 | install.libs \ |
| 83 | uninstall \ |
| 84 | uninstall.libs :: |
| 85 | for d in $(SUBDIRS); do \ |
micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 86 | ( cd $$d && $(MAKE) $(TOP_MFLAGS) $@ ) ;\ |
Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 87 | done |
| 88 | |
| 89 | clean \ |
| 90 | mostlyclean :: |
| 91 | for d in $(SUBDIRS); do \ |
micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 92 | ( cd $$d && $(MAKE) $(TOP_MFLAGS) $@ ) ;\ |
Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 93 | done |
| 94 | |
| 95 | distclean \ |
| 96 | realclean :: |
| 97 | for d in $(SUBDIRS); do \ |
micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 98 | ( cd $$d && $(MAKE) $(TOP_MFLAGS) $@ ) ;\ |
Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 99 | done |
Steve Kondik | ae271bc | 2015-11-15 02:50:53 +0100 | [diff] [blame] | 100 | rm -rf lib |
| 101 | for lib_kind in static dynamic; do \ |
| 102 | rm -rf $${lib_kind}-ali; \ |
| 103 | rm -rf $${lib_kind}-obj; \ |
| 104 | done |
| 105 | -rm -f config.cache config.log config.status include/ncurses_cfg.h |
| 106 | -rm -f Makefile |
| 107 | |
micky387 | 9b9f5e7 | 2025-07-08 18:04:53 -0400 | [diff] [blame] | 108 | depend : |
| 109 | @ |
| 110 | |
| 111 | check : |
| 112 | @echo "The test-programs are interactive" |
| 113 | |
Steve Kondik | ae271bc | 2015-11-15 02:50:53 +0100 | [diff] [blame] | 114 | tags : |
| 115 | @ |
| 116 | |
| 117 | preinstall : |
| 118 | @ |
Amit Daniel Kachhap | e6a01f5 | 2011-07-20 11:45:59 +0530 | [diff] [blame] | 119 | |
| 120 | install.data : |
| 121 | @ |