xref: /freebsd/contrib/ncurses/panel/Makefile.in (revision 0e3d540892016a47f6a68ec9ba2879d35ce5f7c2)
10e3d5408SPeter Wemm# $Id: Makefile.in,v 1.28 1998/11/29 01:03:31 Rick.Ohnemus Exp $
20e3d5408SPeter Wemm##############################################################################
30e3d5408SPeter Wemm# Copyright (c) 1998 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#
300e3d5408SPeter Wemm# Author: Thomas E. Dickey <dickey@clark.net> 1996,1997
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
480e3d5408SPeter WemmMODEL		= @DFT_LWR_MODEL@
490e3d5408SPeter WemmINSTALL_PREFIX	= @INSTALL_PREFIX@
500e3d5408SPeter Wemmsrcdir		= @srcdir@
510e3d5408SPeter Wemmprefix		= @prefix@
520e3d5408SPeter Wemmexec_prefix	= @exec_prefix@
530e3d5408SPeter Wemmlibdir		= @libdir@
540e3d5408SPeter Wemmincludedir	= @includedir@
550e3d5408SPeter Wemmdatadir		= @datadir@
560e3d5408SPeter Wemm
570e3d5408SPeter Wemmticdir		= $(datadir)/terminfo
580e3d5408SPeter Wemm
590e3d5408SPeter WemmINSTALL		= @INSTALL@
600e3d5408SPeter WemmINSTALL_LIB	= @INSTALL@ @INSTALL_LIB@
610e3d5408SPeter WemmINSTALL_DATA	= @INSTALL_DATA@
620e3d5408SPeter Wemm
630e3d5408SPeter WemmAR		= @AR@
640e3d5408SPeter WemmAR_OPTS		= @AR_OPTS@
650e3d5408SPeter WemmAWK		= @AWK@
660e3d5408SPeter WemmLD		= @LD@
670e3d5408SPeter WemmLN_S		= @LN_S@
680e3d5408SPeter Wemm
690e3d5408SPeter WemmCC		= @CC@
700e3d5408SPeter WemmCFLAGS		= @CFLAGS@
710e3d5408SPeter Wemm
720e3d5408SPeter WemmCPPFLAGS	= @CPPFLAGS@ \
730e3d5408SPeter Wemm		  -DHAVE_CONFIG_H -DTERMINFO=\"$(ticdir)\"
740e3d5408SPeter Wemm
750e3d5408SPeter WemmCCFLAGS		= $(CPPFLAGS) $(CFLAGS)
760e3d5408SPeter Wemm
770e3d5408SPeter WemmCFLAGS_NORMAL	= $(CCFLAGS)
780e3d5408SPeter WemmCFLAGS_DEBUG	= $(CCFLAGS) @CC_G_OPT@ -DTRACE
790e3d5408SPeter WemmCFLAGS_PROFILE	= $(CCFLAGS) -pg
800e3d5408SPeter WemmCFLAGS_SHARED	= $(CCFLAGS) @CC_SHARED_OPTS@
810e3d5408SPeter Wemm
820e3d5408SPeter WemmCFLAGS_DEFAULT	= $(CFLAGS_@DFT_UPR_MODEL@)
830e3d5408SPeter Wemm
840e3d5408SPeter WemmLINK		= $(CC)
850e3d5408SPeter WemmLDFLAGS		= @LDFLAGS@ @LD_MODEL@ @LIBS@
860e3d5408SPeter Wemm
870e3d5408SPeter WemmSHLIB_DIRS	= -L../lib -L$(libdir)
880e3d5408SPeter WemmSHLIB_LIST	= $(SHLIB_DIRS) -lncurses @SHLIB_LIST@
890e3d5408SPeter Wemm
900e3d5408SPeter WemmMK_SHARED_LIB	= @MK_SHARED_LIB@
910e3d5408SPeter Wemm
920e3d5408SPeter WemmREL_VERSION	= @cf_cv_rel_version@
930e3d5408SPeter WemmABI_VERSION	= @cf_cv_abi_version@
940e3d5408SPeter Wemm
950e3d5408SPeter WemmRANLIB		= @RANLIB@
960e3d5408SPeter Wemm
970e3d5408SPeter WemmLIBRARIES	= @LIBS_TO_MAKE@
980e3d5408SPeter Wemm
990e3d5408SPeter WemmLINT		= @LINT@
1000e3d5408SPeter WemmLINT_OPTS	= @LINT_OPTS@
1010e3d5408SPeter WemmLINT_LIBS	= -lpanel -lncurses @LIBS@
1020e3d5408SPeter Wemm
1030e3d5408SPeter WemmAUTO_SRC	= \
1040e3d5408SPeter Wemm		../include/panel.h
1050e3d5408SPeter Wemm
1060e3d5408SPeter Wemm################################################################################
1070e3d5408SPeter Wemmall install ::	$(AUTO_SRC) $(LIBRARIES)
1080e3d5408SPeter Wemm
1090e3d5408SPeter Wemmsources:	$(AUTO_SRC)
1100e3d5408SPeter Wemm
1110e3d5408SPeter Wemm$(INSTALL_PREFIX)$(libdir) :
1120e3d5408SPeter Wemm	$(srcdir)/../mkinstalldirs $@
1130e3d5408SPeter Wemm
1140e3d5408SPeter Wemm# make a copy to simplify include-paths while still keeping panel's include
1150e3d5408SPeter Wemm# file in this directory.
1160e3d5408SPeter Wemm../include/panel.h : $(srcdir)/panel.h
1170e3d5408SPeter Wemm	-rm -f $@
1180e3d5408SPeter Wemm	cp $(srcdir)/panel.h $@
1190e3d5408SPeter Wemm
1200e3d5408SPeter WemmPANEL_PRIV_H = \
1210e3d5408SPeter Wemm	$(srcdir)/panel.priv.h \
1220e3d5408SPeter Wemm	$(srcdir)/panel.h
1230e3d5408SPeter Wemm
1240e3d5408SPeter Wemmtags:
1250e3d5408SPeter Wemm	ctags *.[ch]
1260e3d5408SPeter Wemm
1270e3d5408SPeter WemmTAGS:
1280e3d5408SPeter Wemm	etags *.[ch]
1290e3d5408SPeter Wemm
1300e3d5408SPeter Wemmmostlyclean ::
1310e3d5408SPeter Wemm	-rm -f core tags TAGS *~ *.ln *.atac trace
1320e3d5408SPeter Wemm
1330e3d5408SPeter Wemmclean :: mostlyclean
1340e3d5408SPeter Wemm	-rm -f $(AUTO_SRC)
1350e3d5408SPeter Wemm
1360e3d5408SPeter Wemmdistclean :: clean
1370e3d5408SPeter Wemm	-rm -f Makefile
1380e3d5408SPeter Wemm
1390e3d5408SPeter Wemmrealclean :: distclean
1400e3d5408SPeter Wemm
1410e3d5408SPeter Wemm###############################################################################
1420e3d5408SPeter Wemm# The remainder of this file is automatically generated during configuration
1430e3d5408SPeter Wemm###############################################################################
144