1# $Id: Makefile.in,v 1.71 2020/02/02 23:34:34 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 46SHELL = @SHELL@ 47VPATH = @srcdir@ 48THIS = Makefile 49 50x = @EXEEXT@ 51o = .@OBJEXT@ 52 53MODEL = @DFT_LWR_MODEL@ 54DESTDIR = @DESTDIR@ 55top_srcdir = @top_srcdir@ 56srcdir = @srcdir@ 57prefix = @prefix@ 58exec_prefix = @exec_prefix@ 59bindir = @bindir@ 60libdir = @libdir@ 61includedir = @includedir@ 62datarootdir = @datarootdir@ 63datadir = @datadir@ 64includesubdir = @includesubdir@ 65 66INCLUDEDIR = $(DESTDIR)$(includedir)$(includesubdir) 67 68PACKAGE = @PACKAGE@ 69 70LIBTOOL = @LIBTOOL@ 71LIBTOOL_OPTS = @LIBTOOL_OPTS@ @EXPORT_SYMS@ 72LIBTOOL_CLEAN = @LIB_CLEAN@ 73LIBTOOL_COMPILE = @LIB_COMPILE@ 74LIBTOOL_LINK = @LIB_LINK@ 75LIBTOOL_INSTALL = @LIB_INSTALL@ 76LIBTOOL_UNINSTALL = @LIB_UNINSTALL@ 77LT_UNDEF = @LT_UNDEF@ 78 79INSTALL = @INSTALL@ 80INSTALL_LIB = @INSTALL@ @INSTALL_LIB@ 81INSTALL_PROG = @INSTALL_PROGRAM@ @INSTALL_OPT_S@ 82INSTALL_DATA = @INSTALL_DATA@ 83 84AR = @AR@ 85ARFLAGS = @ARFLAGS@ 86AWK = @AWK@ 87LD = @LD@ 88LN_S = @LN_S@ 89 90CTAGS = @CTAGS@ 91ETAGS = @ETAGS@ 92 93CC = @CC@ 94CPP = @CPP@ 95CFLAGS = @CFLAGS@ 96 97CPPFLAGS = -I${top_srcdir}/ncurses -DHAVE_CONFIG_H @CPPFLAGS@ 98 99CCFLAGS = $(CPPFLAGS) $(CFLAGS) 100 101CFLAGS_LIBTOOL = $(CCFLAGS) 102CFLAGS_NORMAL = $(CCFLAGS) 103CFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE 104CFLAGS_PROFILE = $(CCFLAGS) -pg 105CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@ 106 107CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@) 108 109LINK = $(LIBTOOL_LINK) 110LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@ 111 112SHLIB_DIRS = -L../lib 113SHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@ @SHLIB_LIST@ 114 115RPATH_LIST = @RPATH_LIST@ 116RESULTING_SYMS = @RESULTING_SYMS@ 117VERSIONED_SYMS = @VERSIONED_SYMS@ 118MK_SHARED_LIB = @MK_SHARED_LIB@ 119 120NCURSES_MAJOR = @NCURSES_MAJOR@ 121NCURSES_MINOR = @NCURSES_MINOR@ 122REL_VERSION = @cf_cv_rel_version@ 123ABI_VERSION = @cf_cv_abi_version@ 124 125RANLIB = @LIB_PREP@ 126 127LIBRARIES = @Libs_To_Make@ 128 129LINT = @LINT@ 130LINT_OPTS = @LINT_OPTS@ 131LINT_LIBS = -lpanel -lncurses @LIBS@ 132 133AUTO_SRC = \ 134 ../include/panel.h 135 136################################################################################ 137all \ 138libs \ 139install :: $(AUTO_SRC) $(LIBRARIES) 140 141sources: $(AUTO_SRC) 142 143$(DESTDIR)$(bindir) \ 144$(DESTDIR)$(libdir) : 145 mkdir -p $@ 146 147# make a copy to simplify include-paths while still keeping panel's include 148# file in this directory. 149../include/panel.h : $(srcdir)/panel.h 150 -rm -f $@ 151 cp $(srcdir)/panel.h $@ 152 153HEADER_DEPS = \ 154 $(srcdir)/panel.priv.h \ 155 $(srcdir)/panel.h 156 157tags: 158 $(CTAGS) *.[ch] 159 160@MAKE_UPPER_TAGS@TAGS: 161@MAKE_UPPER_TAGS@ $(ETAGS) *.[ch] 162 163mostlyclean :: 164 -rm -f core tags TAGS *~ *.bak *.i *.ln *.atac trace 165 166clean :: mostlyclean 167 -rm -f $(AUTO_SRC) 168 -rm -rf .libs *.dSYM 169 170distclean :: clean 171 -rm -f Makefile 172 173realclean :: distclean 174 175############################################################################### 176# The remainder of this file is automatically generated during configuration 177############################################################################### 178