1*aae38d10SBaptiste Daroussin# $Id: Makefile.in,v 1.70 2018/01/15 19:28:45 tom Exp $ 20e3d5408SPeter Wemm############################################################################## 3*aae38d10SBaptiste Daroussin# Copyright (c) 1998-2015,2018 Free Software Foundation, Inc. # 40e3d5408SPeter Wemm# # 50e3d5408SPeter Wemm# Permission is hereby granted, free of charge, to any person obtaining a # 60e3d5408SPeter Wemm# copy of this software and associated documentation files (the "Software"), # 70e3d5408SPeter Wemm# to deal in the Software without restriction, including without limitation # 80e3d5408SPeter Wemm# the rights to use, copy, modify, merge, publish, distribute, distribute # 90e3d5408SPeter Wemm# with modifications, sublicense, and/or sell copies of the Software, and to # 100e3d5408SPeter Wemm# permit persons to whom the Software is furnished to do so, subject to the # 110e3d5408SPeter Wemm# following conditions: # 120e3d5408SPeter Wemm# # 130e3d5408SPeter Wemm# The above copyright notice and this permission notice shall be included in # 140e3d5408SPeter Wemm# all copies or substantial portions of the Software. # 150e3d5408SPeter Wemm# # 160e3d5408SPeter Wemm# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # 170e3d5408SPeter Wemm# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # 180e3d5408SPeter Wemm# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # 190e3d5408SPeter Wemm# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # 200e3d5408SPeter Wemm# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # 210e3d5408SPeter Wemm# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # 220e3d5408SPeter Wemm# DEALINGS IN THE SOFTWARE. # 230e3d5408SPeter Wemm# # 240e3d5408SPeter Wemm# Except as contained in this notice, the name(s) of the above copyright # 250e3d5408SPeter Wemm# holders shall not be used in advertising or otherwise to promote the sale, # 260e3d5408SPeter Wemm# use or other dealings in this Software without prior written # 270e3d5408SPeter Wemm# authorization. # 280e3d5408SPeter Wemm############################################################################## 290e3d5408SPeter Wemm# 305ca44d1cSRong-En Fan# Author: Thomas E. Dickey 1996-on 310e3d5408SPeter Wemm# 320e3d5408SPeter Wemm# Makefile for panels source code. 330e3d5408SPeter Wemm# 340e3d5408SPeter Wemm# This makes the following: 350e3d5408SPeter Wemm# libraries (normal/debug/profile/shared) 360e3d5408SPeter Wemm# 370e3d5408SPeter Wemm# The variable 'srcdir' refers to the source-distribution, and can be set with 380e3d5408SPeter Wemm# the configure script by "--srcdir=DIR". 390e3d5408SPeter Wemm# 400e3d5408SPeter Wemm# The rules are organized to produce the libraries for the configured models, 410e3d5408SPeter Wemm 420e3d5408SPeter Wemm# turn off _all_ suffix rules; we'll generate our own 430e3d5408SPeter Wemm.SUFFIXES: 440e3d5408SPeter Wemm 45*aae38d10SBaptiste DaroussinSHELL = @SHELL@ 4606bfebdeSXin LIVPATH = @srcdir@ 470e3d5408SPeter WemmTHIS = Makefile 480e3d5408SPeter Wemm 494a1a9510SRong-En Fanx = @EXEEXT@ 504a1a9510SRong-En Fano = .@OBJEXT@ 514a1a9510SRong-En Fan 520e3d5408SPeter WemmMODEL = @DFT_LWR_MODEL@ 5318259542SPeter WemmDESTDIR = @DESTDIR@ 54*aae38d10SBaptiste Daroussintop_srcdir = @top_srcdir@ 550e3d5408SPeter Wemmsrcdir = @srcdir@ 560e3d5408SPeter Wemmprefix = @prefix@ 570e3d5408SPeter Wemmexec_prefix = @exec_prefix@ 5839f2269fSPeter Wemmbindir = @bindir@ 590e3d5408SPeter Wemmlibdir = @libdir@ 600e3d5408SPeter Wemmincludedir = @includedir@ 6173f0a83dSXin LIdatarootdir = @datarootdir@ 620e3d5408SPeter Wemmdatadir = @datadir@ 6373f0a83dSXin LIincludesubdir = @includesubdir@ 6473f0a83dSXin LI 6573f0a83dSXin LIINCLUDEDIR = $(DESTDIR)$(includedir)$(includesubdir) 660e3d5408SPeter Wemm 67*aae38d10SBaptiste DaroussinPACKAGE = @PACKAGE@ 68*aae38d10SBaptiste Daroussin 697a69bbfbSPeter WemmLIBTOOL = @LIBTOOL@ 70*aae38d10SBaptiste DaroussinLIBTOOL_OPTS = @LIBTOOL_OPTS@ @EXPORT_SYMS@ 714a1a9510SRong-En FanLIBTOOL_CLEAN = @LIB_CLEAN@ 724a1a9510SRong-En FanLIBTOOL_COMPILE = @LIB_COMPILE@ 734a1a9510SRong-En FanLIBTOOL_LINK = @LIB_LINK@ 744a1a9510SRong-En FanLIBTOOL_INSTALL = @LIB_INSTALL@ 754a1a9510SRong-En FanLIBTOOL_UNINSTALL = @LIB_UNINSTALL@ 7606bfebdeSXin LILT_UNDEF = @LT_UNDEF@ 777a69bbfbSPeter Wemm 780e3d5408SPeter WemmINSTALL = @INSTALL@ 790e3d5408SPeter WemmINSTALL_LIB = @INSTALL@ @INSTALL_LIB@ 80*aae38d10SBaptiste DaroussinINSTALL_PROG = @INSTALL_PROGRAM@ @INSTALL_OPT_S@ 810e3d5408SPeter WemmINSTALL_DATA = @INSTALL_DATA@ 820e3d5408SPeter Wemm 830e3d5408SPeter WemmAR = @AR@ 8406bfebdeSXin LIARFLAGS = @ARFLAGS@ 850e3d5408SPeter WemmAWK = @AWK@ 860e3d5408SPeter WemmLD = @LD@ 870e3d5408SPeter WemmLN_S = @LN_S@ 880e3d5408SPeter Wemm 8906bfebdeSXin LICTAGS = @CTAGS@ 9006bfebdeSXin LIETAGS = @ETAGS@ 9106bfebdeSXin LI 920e3d5408SPeter WemmCC = @CC@ 9315589c42SPeter WemmCPP = @CPP@ 940e3d5408SPeter WemmCFLAGS = @CFLAGS@ 950e3d5408SPeter Wemm 96*aae38d10SBaptiste DaroussinCPPFLAGS = -I${top_srcdir}/ncurses -DHAVE_CONFIG_H @CPPFLAGS@ 970e3d5408SPeter Wemm 980e3d5408SPeter WemmCCFLAGS = $(CPPFLAGS) $(CFLAGS) 990e3d5408SPeter Wemm 1007a69bbfbSPeter WemmCFLAGS_LIBTOOL = $(CCFLAGS) 1010e3d5408SPeter WemmCFLAGS_NORMAL = $(CCFLAGS) 1020e3d5408SPeter WemmCFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE 1030e3d5408SPeter WemmCFLAGS_PROFILE = $(CCFLAGS) -pg 1040e3d5408SPeter WemmCFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@ 1050e3d5408SPeter Wemm 1060e3d5408SPeter WemmCFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@) 1070e3d5408SPeter Wemm 1085ca44d1cSRong-En FanLINK = $(LIBTOOL_LINK) 1090e3d5408SPeter WemmLDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@ 1100e3d5408SPeter Wemm 11139f2269fSPeter WemmSHLIB_DIRS = -L../lib 112*aae38d10SBaptiste DaroussinSHLIB_LIST = $(SHLIB_DIRS) -lncurses@USE_LIB_SUFFIX@ @SHLIB_LIST@ 1130e3d5408SPeter Wemm 11473f0a83dSXin LIRPATH_LIST = @RPATH_LIST@ 115*aae38d10SBaptiste DaroussinRESULTING_SYMS = @RESULTING_SYMS@ 116*aae38d10SBaptiste DaroussinVERSIONED_SYMS = @VERSIONED_SYMS@ 1170e3d5408SPeter WemmMK_SHARED_LIB = @MK_SHARED_LIB@ 1180e3d5408SPeter Wemm 1197a69bbfbSPeter WemmNCURSES_MAJOR = @NCURSES_MAJOR@ 1207a69bbfbSPeter WemmNCURSES_MINOR = @NCURSES_MINOR@ 1210e3d5408SPeter WemmREL_VERSION = @cf_cv_rel_version@ 1220e3d5408SPeter WemmABI_VERSION = @cf_cv_abi_version@ 1230e3d5408SPeter Wemm 1244a1a9510SRong-En FanRANLIB = @LIB_PREP@ 1250e3d5408SPeter Wemm 12673f0a83dSXin LILIBRARIES = @Libs_To_Make@ 1270e3d5408SPeter Wemm 1280e3d5408SPeter WemmLINT = @LINT@ 1290e3d5408SPeter WemmLINT_OPTS = @LINT_OPTS@ 1300e3d5408SPeter WemmLINT_LIBS = -lpanel -lncurses @LIBS@ 1310e3d5408SPeter Wemm 1320e3d5408SPeter WemmAUTO_SRC = \ 1330e3d5408SPeter Wemm ../include/panel.h 1340e3d5408SPeter Wemm 1350e3d5408SPeter Wemm################################################################################ 13615589c42SPeter Wemmall \ 13715589c42SPeter Wemmlibs \ 13815589c42SPeter Wemminstall :: $(AUTO_SRC) $(LIBRARIES) 1390e3d5408SPeter Wemm 1400e3d5408SPeter Wemmsources: $(AUTO_SRC) 1410e3d5408SPeter Wemm 14239f2269fSPeter Wemm$(DESTDIR)$(bindir) \ 14318259542SPeter Wemm$(DESTDIR)$(libdir) : 14406bfebdeSXin LI mkdir -p $@ 1450e3d5408SPeter Wemm 1460e3d5408SPeter Wemm# make a copy to simplify include-paths while still keeping panel's include 1470e3d5408SPeter Wemm# file in this directory. 1480e3d5408SPeter Wemm../include/panel.h : $(srcdir)/panel.h 1490e3d5408SPeter Wemm -rm -f $@ 1500e3d5408SPeter Wemm cp $(srcdir)/panel.h $@ 1510e3d5408SPeter Wemm 15206bfebdeSXin LIHEADER_DEPS = \ 1530e3d5408SPeter Wemm $(srcdir)/panel.priv.h \ 1540e3d5408SPeter Wemm $(srcdir)/panel.h 1550e3d5408SPeter Wemm 1560e3d5408SPeter Wemmtags: 15706bfebdeSXin LI $(CTAGS) *.[ch] 1580e3d5408SPeter Wemm 15918259542SPeter Wemm@MAKE_UPPER_TAGS@TAGS: 16006bfebdeSXin LI@MAKE_UPPER_TAGS@ $(ETAGS) *.[ch] 1610e3d5408SPeter Wemm 1620e3d5408SPeter Wemmmostlyclean :: 16339f2269fSPeter Wemm -rm -f core tags TAGS *~ *.bak *.i *.ln *.atac trace 1640e3d5408SPeter Wemm 1650e3d5408SPeter Wemmclean :: mostlyclean 1660e3d5408SPeter Wemm -rm -f $(AUTO_SRC) 167*aae38d10SBaptiste Daroussin -rm -rf .libs *.dSYM 1680e3d5408SPeter Wemm 1690e3d5408SPeter Wemmdistclean :: clean 1700e3d5408SPeter Wemm -rm -f Makefile 1710e3d5408SPeter Wemm 1720e3d5408SPeter Wemmrealclean :: distclean 1730e3d5408SPeter Wemm 1740e3d5408SPeter Wemm############################################################################### 1750e3d5408SPeter Wemm# The remainder of this file is automatically generated during configuration 1760e3d5408SPeter Wemm############################################################################### 177