xref: /freebsd/contrib/ncurses/panel/Makefile.in (revision 73f0a83d68863a383fd8953972cd36eb6420ec7d)
1*73f0a83dSXin LI# $Id: Makefile.in,v 1.62 2013/08/04 20:23:32 tom Exp $
20e3d5408SPeter Wemm##############################################################################
3*73f0a83dSXin LI# Copyright (c) 1998-2012,2013 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
450e3d5408SPeter WemmSHELL		= /bin/sh
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@
540e3d5408SPeter Wemmsrcdir		= @srcdir@
550e3d5408SPeter Wemmprefix		= @prefix@
560e3d5408SPeter Wemmexec_prefix	= @exec_prefix@
5739f2269fSPeter Wemmbindir		= @bindir@
580e3d5408SPeter Wemmlibdir		= @libdir@
590e3d5408SPeter Wemmincludedir	= @includedir@
60*73f0a83dSXin LIdatarootdir	= @datarootdir@
610e3d5408SPeter Wemmdatadir		= @datadir@
62*73f0a83dSXin LIincludesubdir	= @includesubdir@
63*73f0a83dSXin LI
64*73f0a83dSXin LIINCLUDEDIR	= $(DESTDIR)$(includedir)$(includesubdir)
650e3d5408SPeter Wemm
667a69bbfbSPeter WemmLIBTOOL		= @LIBTOOL@
674a1a9510SRong-En FanLIBTOOL_CLEAN	= @LIB_CLEAN@
684a1a9510SRong-En FanLIBTOOL_COMPILE	= @LIB_COMPILE@
694a1a9510SRong-En FanLIBTOOL_LINK	= @LIB_LINK@
704a1a9510SRong-En FanLIBTOOL_INSTALL	= @LIB_INSTALL@
714a1a9510SRong-En FanLIBTOOL_UNINSTALL = @LIB_UNINSTALL@
7206bfebdeSXin LILT_UNDEF	= @LT_UNDEF@
737a69bbfbSPeter Wemm
740e3d5408SPeter WemmINSTALL		= @INSTALL@
750e3d5408SPeter WemmINSTALL_LIB	= @INSTALL@ @INSTALL_LIB@
764a1a9510SRong-En FanINSTALL_PROG	= @INSTALL_PROGRAM@
770e3d5408SPeter WemmINSTALL_DATA	= @INSTALL_DATA@
780e3d5408SPeter Wemm
790e3d5408SPeter WemmAR		= @AR@
8006bfebdeSXin LIARFLAGS		= @ARFLAGS@
810e3d5408SPeter WemmAWK		= @AWK@
820e3d5408SPeter WemmLD		= @LD@
830e3d5408SPeter WemmLN_S		= @LN_S@
840e3d5408SPeter Wemm
8506bfebdeSXin LICTAGS		= @CTAGS@
8606bfebdeSXin LIETAGS		= @ETAGS@
8706bfebdeSXin LI
880e3d5408SPeter WemmCC		= @CC@
8915589c42SPeter WemmCPP		= @CPP@
900e3d5408SPeter WemmCFLAGS		= @CFLAGS@
910e3d5408SPeter Wemm
924a1a9510SRong-En FanCPPFLAGS	= -I@top_srcdir@/ncurses -DHAVE_CONFIG_H @CPPFLAGS@
930e3d5408SPeter Wemm
940e3d5408SPeter WemmCCFLAGS		= $(CPPFLAGS) $(CFLAGS)
950e3d5408SPeter Wemm
967a69bbfbSPeter WemmCFLAGS_LIBTOOL	= $(CCFLAGS)
970e3d5408SPeter WemmCFLAGS_NORMAL	= $(CCFLAGS)
980e3d5408SPeter WemmCFLAGS_DEBUG	= $(CCFLAGS) @CC_G_OPT@ -DTRACE
990e3d5408SPeter WemmCFLAGS_PROFILE	= $(CCFLAGS) -pg
1000e3d5408SPeter WemmCFLAGS_SHARED	= $(CCFLAGS) @CC_SHARED_OPTS@
1010e3d5408SPeter Wemm
1020e3d5408SPeter WemmCFLAGS_DEFAULT	= $(CFLAGS_@DFT_UPR_MODEL@)
1030e3d5408SPeter Wemm
1045ca44d1cSRong-En FanLINK		= $(LIBTOOL_LINK)
1050e3d5408SPeter WemmLDFLAGS		= @LDFLAGS@ @LD_MODEL@ @LIBS@
1060e3d5408SPeter Wemm
10739f2269fSPeter WemmSHLIB_DIRS	= -L../lib
10815589c42SPeter WemmSHLIB_LIST	= $(SHLIB_DIRS) -lncurses@LIB_SUFFIX@ @SHLIB_LIST@
1090e3d5408SPeter Wemm
110*73f0a83dSXin LIRPATH_LIST	= @RPATH_LIST@
1110e3d5408SPeter WemmMK_SHARED_LIB	= @MK_SHARED_LIB@
1120e3d5408SPeter Wemm
1137a69bbfbSPeter WemmNCURSES_MAJOR	= @NCURSES_MAJOR@
1147a69bbfbSPeter WemmNCURSES_MINOR	= @NCURSES_MINOR@
1150e3d5408SPeter WemmREL_VERSION	= @cf_cv_rel_version@
1160e3d5408SPeter WemmABI_VERSION	= @cf_cv_abi_version@
1170e3d5408SPeter Wemm
1184a1a9510SRong-En FanRANLIB		= @LIB_PREP@
1190e3d5408SPeter Wemm
120*73f0a83dSXin LILIBRARIES	= @Libs_To_Make@
1210e3d5408SPeter Wemm
1220e3d5408SPeter WemmLINT		= @LINT@
1230e3d5408SPeter WemmLINT_OPTS	= @LINT_OPTS@
1240e3d5408SPeter WemmLINT_LIBS	= -lpanel -lncurses @LIBS@
1250e3d5408SPeter Wemm
1260e3d5408SPeter WemmAUTO_SRC	= \
1270e3d5408SPeter Wemm		../include/panel.h
1280e3d5408SPeter Wemm
1290e3d5408SPeter Wemm################################################################################
13015589c42SPeter Wemmall \
13115589c42SPeter Wemmlibs \
13215589c42SPeter Wemminstall ::	$(AUTO_SRC) $(LIBRARIES)
1330e3d5408SPeter Wemm
1340e3d5408SPeter Wemmsources:	$(AUTO_SRC)
1350e3d5408SPeter Wemm
13639f2269fSPeter Wemm$(DESTDIR)$(bindir) \
13718259542SPeter Wemm$(DESTDIR)$(libdir) :
13806bfebdeSXin LI	mkdir -p $@
1390e3d5408SPeter Wemm
1400e3d5408SPeter Wemm# make a copy to simplify include-paths while still keeping panel's include
1410e3d5408SPeter Wemm# file in this directory.
1420e3d5408SPeter Wemm../include/panel.h : $(srcdir)/panel.h
1430e3d5408SPeter Wemm	-rm -f $@
1440e3d5408SPeter Wemm	cp $(srcdir)/panel.h $@
1450e3d5408SPeter Wemm
14606bfebdeSXin LIHEADER_DEPS = \
1470e3d5408SPeter Wemm	$(srcdir)/panel.priv.h \
1480e3d5408SPeter Wemm	$(srcdir)/panel.h
1490e3d5408SPeter Wemm
1500e3d5408SPeter Wemmtags:
15106bfebdeSXin LI	$(CTAGS) *.[ch]
1520e3d5408SPeter Wemm
15318259542SPeter Wemm@MAKE_UPPER_TAGS@TAGS:
15406bfebdeSXin LI@MAKE_UPPER_TAGS@	$(ETAGS) *.[ch]
1550e3d5408SPeter Wemm
1560e3d5408SPeter Wemmmostlyclean ::
15739f2269fSPeter Wemm	-rm -f core tags TAGS *~ *.bak *.i *.ln *.atac trace
1580e3d5408SPeter Wemm
1590e3d5408SPeter Wemmclean :: mostlyclean
1600e3d5408SPeter Wemm	-rm -f $(AUTO_SRC)
1610e3d5408SPeter Wemm
1620e3d5408SPeter Wemmdistclean :: clean
1630e3d5408SPeter Wemm	-rm -f Makefile
1640e3d5408SPeter Wemm
1650e3d5408SPeter Wemmrealclean :: distclean
1660e3d5408SPeter Wemm
1670e3d5408SPeter Wemm###############################################################################
1680e3d5408SPeter Wemm# The remainder of this file is automatically generated during configuration
1690e3d5408SPeter Wemm###############################################################################
170