1# $Id: Makefile.in,v 1.66 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 menu 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@ 62includesubdir = @includesubdir@ 63 64INCLUDEDIR = $(DESTDIR)$(includedir)$(includesubdir) 65 66PACKAGE = @PACKAGE@ 67 68LIBTOOL = @LIBTOOL@ 69LIBTOOL_OPTS = @LIBTOOL_OPTS@ @EXPORT_SYMS@ 70LIBTOOL_CLEAN = @LIB_CLEAN@ 71LIBTOOL_COMPILE = @LIB_COMPILE@ 72LIBTOOL_LINK = @LIB_LINK@ 73LIBTOOL_INSTALL = @LIB_INSTALL@ 74LIBTOOL_UNINSTALL = @LIB_UNINSTALL@ 75LT_UNDEF = @LT_UNDEF@ 76 77INSTALL = @INSTALL@ 78INSTALL_LIB = @INSTALL@ @INSTALL_LIB@ 79INSTALL_PROG = @INSTALL_PROGRAM@ @INSTALL_OPT_S@ 80INSTALL_DATA = @INSTALL_DATA@ 81 82AR = @AR@ 83ARFLAGS = @ARFLAGS@ 84AWK = @AWK@ 85LD = @LD@ 86LN_S = @LN_S@ 87 88CTAGS = @CTAGS@ 89ETAGS = @ETAGS@ 90 91CC = @CC@ 92CPP = @CPP@ 93CFLAGS = @CFLAGS@ 94 95CPPFLAGS = -I${top_srcdir}/ncurses -DHAVE_CONFIG_H @CPPFLAGS@ 96 97CCFLAGS = $(CPPFLAGS) $(CFLAGS) 98 99CFLAGS_LIBTOOL = $(CCFLAGS) 100CFLAGS_NORMAL = $(CCFLAGS) 101CFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE 102CFLAGS_PROFILE = $(CCFLAGS) -pg 103CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@ 104 105CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@) 106 107LINK = $(LIBTOOL_LINK) 108LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@ 109 110SHLIB_DIRS = -L../lib 111SHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@ @SHLIB_LIST@ 112 113RPATH_LIST = @RPATH_LIST@ 114RESULTING_SYMS = @RESULTING_SYMS@ 115VERSIONED_SYMS = @VERSIONED_SYMS@ 116MK_SHARED_LIB = @MK_SHARED_LIB@ 117 118NCURSES_MAJOR = @NCURSES_MAJOR@ 119NCURSES_MINOR = @NCURSES_MINOR@ 120REL_VERSION = @cf_cv_rel_version@ 121ABI_VERSION = @cf_cv_abi_version@ 122 123RANLIB = @LIB_PREP@ 124 125LIBRARIES = @Libs_To_Make@ 126 127LINT = @LINT@ 128LINT_OPTS = @LINT_OPTS@ 129LINT_LIBS = -lmenu -lncurses @LIBS@ 130 131AUTO_SRC = \ 132 ../include/menu.h \ 133 ../include/eti.h \ 134 ../include/mf_common.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 copies to simplify include-paths while still keeping menu's include 148# file in this directory. 149../include/menu.h : $(srcdir)/menu.h 150 -rm -f $@ 151 cp $(srcdir)/menu.h $@ 152../include/eti.h : $(srcdir)/eti.h 153 -rm -f $@ 154 cp $(srcdir)/eti.h $@ 155../include/mf_common.h : $(srcdir)/mf_common.h 156 -rm -f $@ 157 cp $(srcdir)/mf_common.h $@ 158 159HEADER_DEPS = \ 160 $(srcdir)/menu.priv.h \ 161 $(AUTO_SRC) \ 162 ../include/curses.h 163 164tags: 165 $(CTAGS) *.[ch] 166 167@MAKE_UPPER_TAGS@TAGS: 168@MAKE_UPPER_TAGS@ $(ETAGS) *.[ch] 169 170mostlyclean :: 171 -rm -f core tags TAGS *~ *.bak *.i *.ln *.atac trace 172 173clean :: mostlyclean 174 -rm -f $(AUTO_SRC) 175 -rm -rf .libs *.dSYM 176 177distclean :: clean 178 -rm -f Makefile 179 180realclean :: distclean 181 182############################################################################### 183# The remainder of this file is automatically generated during configuration 184############################################################################### 185