]> ncurses.scripts.mit.edu Git - ncurses.git/blob - panel/Makefile.in
ncurses 6.2 - patch 20210508
[ncurses.git] / panel / Makefile.in
1 # $Id: Makefile.in,v 1.75 2020/08/29 14:50:45 tom Exp $
2 ##############################################################################
3 # Copyright 2020 Thomas E. Dickey                                            #
4 # Copyright 1998-2015,2018 Free Software Foundation, Inc.                    #
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 1996-on
32 #
33 # Makefile for panels source code.
34 #
35 # This makes the following:
36 #       libraries (normal/debug/profile/shared)
37 #
38 # The variable 'srcdir' refers to the source-distribution, and can be set with
39 # the configure script by "--srcdir=DIR".
40 #
41 # The rules are organized to produce the libraries for the configured models,
42
43 # turn off _all_ suffix rules; we'll generate our own
44 .SUFFIXES:
45
46 SHELL           = @SHELL@
47 VPATH           = @srcdir@
48 THIS            = Makefile
49
50 x               = @EXEEXT@
51 o               = .@OBJEXT@
52
53 MODEL           = @DFT_LWR_MODEL@
54 DESTDIR         = @DESTDIR@
55 top_srcdir      = @top_srcdir@
56 srcdir          = @srcdir@
57 prefix          = @prefix@
58 exec_prefix     = @exec_prefix@
59 bindir          = @bindir@
60 libdir          = @libdir@
61 includedir      = @includedir@
62 datarootdir     = @datarootdir@
63 datadir         = @datadir@
64 includesubdir   = @includesubdir@
65
66 INCLUDEDIR      = $(DESTDIR)$(includedir)$(includesubdir)
67
68 PACKAGE         = @PACKAGE@
69
70 LIBTOOL         = @LIBTOOL@
71 LIBTOOL_OPTS    = @LIBTOOL_OPTS@ @EXPORT_SYMS@
72 LIBTOOL_CLEAN   = @LIB_CLEAN@
73 LIBTOOL_COMPILE = @LIB_COMPILE@
74 LIBTOOL_LINK    = @LIB_LINK@
75 LIBTOOL_INSTALL = @LIB_INSTALL@
76 LIBTOOL_UNINSTALL = @LIB_UNINSTALL@
77 LT_UNDEF        = @LT_UNDEF@
78
79 INSTALL         = @INSTALL@
80 INSTALL_LIB     = @INSTALL@ @INSTALL_LIB@
81 INSTALL_PROG    = @INSTALL_PROGRAM@ @INSTALL_OPT_S@
82 INSTALL_DATA    = @INSTALL_DATA@
83
84 AR              = @AR@
85 ARFLAGS         = @ARFLAGS@
86 AWK             = @AWK@
87 LD              = @LD@
88 LN_S            = @LN_S@
89
90 CTAGS           = @CTAGS@
91 ETAGS           = @ETAGS@
92
93 CC              = @CC@
94 CPP             = @CPP@
95 CFLAGS          = @CFLAGS@ @EXTRA_CFLAGS@
96
97 INCDIR          = $(top_srcdir)/include
98 BASE_DIR        = $(top_srcdir)/ncurses
99 CPPFLAGS        = -I$(BASE_DIR) -DHAVE_CONFIG_H -DBUILDING_PANEL @CPPFLAGS@
100
101 CCFLAGS         = $(CPPFLAGS) $(CFLAGS)
102
103 CFLAGS_LIBTOOL  = $(CCFLAGS)
104 CFLAGS_NORMAL   = $(CCFLAGS) -DNCURSES_STATIC
105 CFLAGS_DEBUG    = $(CCFLAGS) -DNCURSES_STATIC @CC_G_OPT@ -DTRACE
106 CFLAGS_PROFILE  = $(CCFLAGS) -DNCURSES_STATIC -pg
107 CFLAGS_SHARED   = $(CCFLAGS) @CC_SHARED_OPTS@
108
109 CFLAGS_DEFAULT  = $(CFLAGS_@DFT_UPR_MODEL@)
110
111 LINK            = $(LIBTOOL_LINK)
112 LDFLAGS         = @LDFLAGS@ @LD_MODEL@ @LIBS@
113
114 SHLIB_DIRS      = -L../lib
115 SHLIB_LIST      = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@ @SHLIB_LIST@
116
117 RPATH_LIST      = @RPATH_LIST@
118 RESULTING_SYMS  = @RESULTING_SYMS@
119 VERSIONED_SYMS  = @VERSIONED_SYMS@
120 MK_SHARED_LIB   = @MK_SHARED_LIB@
121
122 NCURSES_MAJOR   = @NCURSES_MAJOR@
123 NCURSES_MINOR   = @NCURSES_MINOR@
124 REL_VERSION     = @cf_cv_rel_version@
125 ABI_VERSION     = @cf_cv_abi_version@
126
127 RANLIB          = @LIB_PREP@
128
129 LIBRARIES       = @Libs_To_Make@
130
131 LINT            = @LINT@
132 LINT_OPTS       = @LINT_OPTS@
133 LINT_LIBS       = -lpanel -lncurses @LIBS@
134
135 AUTO_SRC        = \
136                 ../include/panel.h
137
138 ################################################################################
139 all \
140 libs \
141 install ::      $(AUTO_SRC) $(LIBRARIES)
142
143 sources:        $(AUTO_SRC)
144
145 $(DESTDIR)$(bindir) \
146 $(DESTDIR)$(libdir) :
147         mkdir -p $@
148
149 # make a copy to simplify include-paths while still keeping panel's include
150 # file in this directory.
151 ../include/panel.h : $(srcdir)/panel.h
152         -rm -f $@
153         cp $(srcdir)/panel.h $@
154
155 HEADER_DEPS = \
156         ../include/curses.h \
157         ../include/ncurses_cfg.h \
158         ../include/ncurses_def.h \
159         ../include/ncurses_dll.h \
160         ../include/term.h \
161         ../include/unctrl.h \
162         $(BASE_DIR)/curses.priv.h \
163         $(BASE_DIR)/new_pair.h \
164         $(INCDIR)/nc_alloc.h \
165         $(INCDIR)/nc_panel.h \
166         $(INCDIR)/nc_string.h \
167         $(INCDIR)/nc_termios.h \
168         $(INCDIR)/nc_tparm.h \
169         $(INCDIR)/term_entry.h \
170         $(srcdir)/panel.priv.h \
171         $(srcdir)/panel.h
172
173 tags:
174         $(CTAGS) *.[ch]
175
176 @MAKE_UPPER_TAGS@TAGS:
177 @MAKE_UPPER_TAGS@       $(ETAGS) *.[ch]
178
179 mostlyclean ::
180         -rm -f core tags TAGS *~ *.bak *.i *.ln *.atac trace
181
182 clean :: mostlyclean
183         -rm -f $(AUTO_SRC)
184         -rm -rf .libs *.dSYM
185
186 distclean :: clean
187         -rm -f Makefile
188
189 realclean :: distclean
190
191 ###############################################################################
192 # The remainder of this file is automatically generated during configuration
193 ###############################################################################