14a1a9510SRong-En Fan# $Id: Makefile.in,v 1.47 2006/10/14 20:40:36 tom Exp $ 20e3d5408SPeter Wemm############################################################################## 34a1a9510SRong-En Fan# Copyright (c) 1998-2003,2006 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# 304a1a9510SRong-En Fan# Author: Thomas E. Dickey 1996-2002 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 450e3d5408SPeter WemmSHELL = /bin/sh 460e3d5408SPeter WemmTHIS = Makefile 470e3d5408SPeter Wemm 484a1a9510SRong-En Fanx = @EXEEXT@ 494a1a9510SRong-En Fano = .@OBJEXT@ 504a1a9510SRong-En Fan 510e3d5408SPeter WemmMODEL = @DFT_LWR_MODEL@ 5218259542SPeter WemmDESTDIR = @DESTDIR@ 530e3d5408SPeter Wemmsrcdir = @srcdir@ 540e3d5408SPeter Wemmprefix = @prefix@ 550e3d5408SPeter Wemmexec_prefix = @exec_prefix@ 5639f2269fSPeter Wemmbindir = @bindir@ 570e3d5408SPeter Wemmlibdir = @libdir@ 580e3d5408SPeter Wemmincludedir = @includedir@ 590e3d5408SPeter Wemmdatadir = @datadir@ 600e3d5408SPeter Wemm 617a69bbfbSPeter WemmLIBTOOL = @LIBTOOL@ 624a1a9510SRong-En FanLIBTOOL_CLEAN = @LIB_CLEAN@ 634a1a9510SRong-En FanLIBTOOL_COMPILE = @LIB_COMPILE@ 644a1a9510SRong-En FanLIBTOOL_LINK = @LIB_LINK@ 654a1a9510SRong-En FanLIBTOOL_INSTALL = @LIB_INSTALL@ 664a1a9510SRong-En FanLIBTOOL_UNINSTALL = @LIB_UNINSTALL@ 677a69bbfbSPeter Wemm 680e3d5408SPeter WemmINSTALL = @INSTALL@ 690e3d5408SPeter WemmINSTALL_LIB = @INSTALL@ @INSTALL_LIB@ 704a1a9510SRong-En FanINSTALL_PROG = @INSTALL_PROGRAM@ 710e3d5408SPeter WemmINSTALL_DATA = @INSTALL_DATA@ 720e3d5408SPeter Wemm 730e3d5408SPeter WemmAR = @AR@ 740e3d5408SPeter WemmAR_OPTS = @AR_OPTS@ 750e3d5408SPeter WemmAWK = @AWK@ 760e3d5408SPeter WemmLD = @LD@ 770e3d5408SPeter WemmLN_S = @LN_S@ 780e3d5408SPeter Wemm 790e3d5408SPeter WemmCC = @CC@ 8015589c42SPeter WemmCPP = @CPP@ 810e3d5408SPeter WemmCFLAGS = @CFLAGS@ 820e3d5408SPeter Wemm 834a1a9510SRong-En FanCPPFLAGS = -I@top_srcdir@/ncurses -DHAVE_CONFIG_H @CPPFLAGS@ 840e3d5408SPeter Wemm 850e3d5408SPeter WemmCCFLAGS = $(CPPFLAGS) $(CFLAGS) 860e3d5408SPeter Wemm 877a69bbfbSPeter WemmCFLAGS_LIBTOOL = $(CCFLAGS) 880e3d5408SPeter WemmCFLAGS_NORMAL = $(CCFLAGS) 890e3d5408SPeter WemmCFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE 900e3d5408SPeter WemmCFLAGS_PROFILE = $(CCFLAGS) -pg 910e3d5408SPeter WemmCFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@ 920e3d5408SPeter Wemm 930e3d5408SPeter WemmCFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@) 940e3d5408SPeter Wemm 954a1a9510SRong-En FanLINK = $(LIBTOOL_LINK) $(CC) 960e3d5408SPeter WemmLDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@ 970e3d5408SPeter Wemm 9839f2269fSPeter WemmSHLIB_DIRS = -L../lib 9915589c42SPeter WemmSHLIB_LIST = $(SHLIB_DIRS) -lncurses@LIB_SUFFIX@ @SHLIB_LIST@ 1000e3d5408SPeter Wemm 1010e3d5408SPeter WemmMK_SHARED_LIB = @MK_SHARED_LIB@ 1020e3d5408SPeter Wemm 1037a69bbfbSPeter WemmNCURSES_MAJOR = @NCURSES_MAJOR@ 1047a69bbfbSPeter WemmNCURSES_MINOR = @NCURSES_MINOR@ 1050e3d5408SPeter WemmREL_VERSION = @cf_cv_rel_version@ 1060e3d5408SPeter WemmABI_VERSION = @cf_cv_abi_version@ 1070e3d5408SPeter Wemm 1084a1a9510SRong-En FanRANLIB = @LIB_PREP@ 1090e3d5408SPeter Wemm 11039f2269fSPeter WemmIMPORT_LIB = @IMPORT_LIB@ 11139f2269fSPeter WemmSHARED_LIB = @SHARED_LIB@ 1120e3d5408SPeter WemmLIBRARIES = @LIBS_TO_MAKE@ 1130e3d5408SPeter Wemm 1140e3d5408SPeter WemmLINT = @LINT@ 1150e3d5408SPeter WemmLINT_OPTS = @LINT_OPTS@ 1160e3d5408SPeter WemmLINT_LIBS = -lpanel -lncurses @LIBS@ 1170e3d5408SPeter Wemm 1180e3d5408SPeter WemmAUTO_SRC = \ 1190e3d5408SPeter Wemm ../include/panel.h 1200e3d5408SPeter Wemm 1210e3d5408SPeter Wemm################################################################################ 12215589c42SPeter Wemmall \ 12315589c42SPeter Wemmlibs \ 12415589c42SPeter Wemminstall :: $(AUTO_SRC) $(LIBRARIES) 1250e3d5408SPeter Wemm 1260e3d5408SPeter Wemmsources: $(AUTO_SRC) 1270e3d5408SPeter Wemm 12839f2269fSPeter Wemm$(DESTDIR)$(bindir) \ 12918259542SPeter Wemm$(DESTDIR)$(libdir) : 13039f2269fSPeter Wemm sh $(srcdir)/../mkinstalldirs $@ 1310e3d5408SPeter Wemm 1320e3d5408SPeter Wemm# make a copy to simplify include-paths while still keeping panel's include 1330e3d5408SPeter Wemm# file in this directory. 1340e3d5408SPeter Wemm../include/panel.h : $(srcdir)/panel.h 1350e3d5408SPeter Wemm -rm -f $@ 1360e3d5408SPeter Wemm cp $(srcdir)/panel.h $@ 1370e3d5408SPeter Wemm 1380e3d5408SPeter WemmPANEL_PRIV_H = \ 1390e3d5408SPeter Wemm $(srcdir)/panel.priv.h \ 1400e3d5408SPeter Wemm $(srcdir)/panel.h 1410e3d5408SPeter Wemm 1420e3d5408SPeter Wemmtags: 1430e3d5408SPeter Wemm ctags *.[ch] 1440e3d5408SPeter Wemm 14518259542SPeter Wemm@MAKE_UPPER_TAGS@TAGS: 14618259542SPeter Wemm@MAKE_UPPER_TAGS@ etags *.[ch] 1470e3d5408SPeter Wemm 1480e3d5408SPeter Wemmmostlyclean :: 14939f2269fSPeter Wemm -rm -f core tags TAGS *~ *.bak *.i *.ln *.atac trace 1500e3d5408SPeter Wemm 1510e3d5408SPeter Wemmclean :: mostlyclean 1520e3d5408SPeter Wemm -rm -f $(AUTO_SRC) 1530e3d5408SPeter Wemm 1540e3d5408SPeter Wemmdistclean :: clean 1550e3d5408SPeter Wemm -rm -f Makefile 1560e3d5408SPeter Wemm 1570e3d5408SPeter Wemmrealclean :: distclean 1580e3d5408SPeter Wemm 1590e3d5408SPeter Wemm############################################################################### 1600e3d5408SPeter Wemm# The remainder of this file is automatically generated during configuration 1610e3d5408SPeter Wemm############################################################################### 162