ncursesw-morphos/form/Makefile.in

170 lines
5.1 KiB
Makefile
Raw Normal View History

# $Id: Makefile.in,v 1.52 2010/05/15 20:04:40 tom Exp $
1998-03-01 12:21:12 +08:00
##############################################################################
# Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. #
1998-03-01 12:21:12 +08:00
# #
# Permission is hereby granted, free of charge, to any person obtaining a #
# copy of this software and associated documentation files (the "Software"), #
# to deal in the Software without restriction, including without limitation #
# the rights to use, copy, modify, merge, publish, distribute, distribute #
# with modifications, sublicense, and/or sell copies of the Software, and to #
# permit persons to whom the Software is furnished to do so, subject to the #
# following conditions: #
# #
# The above copyright notice and this permission notice shall be included in #
# all copies or substantial portions of the Software. #
# #
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, #
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL #
# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER #
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING #
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER #
# DEALINGS IN THE SOFTWARE. #
# #
# Except as contained in this notice, the name(s) of the above copyright #
# holders shall not be used in advertising or otherwise to promote the sale, #
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
#
# Author: Thomas E. Dickey 1996-on
1998-03-01 12:21:12 +08:00
#
1997-05-15 12:00:00 +08:00
# Makefile for form source code.
#
# This makes the following:
# libraries (normal/debug/profile/shared)
#
# The variable 'srcdir' refers to the source-distribution, and can be set with
# the configure script by "--srcdir=DIR".
#
# The rules are organized to produce the libraries for the configured models,
# turn off _all_ suffix rules; we'll generate our own
.SUFFIXES:
SHELL = /bin/sh
THIS = Makefile
2004-02-09 10:15:26 +08:00
x = @EXEEXT@
o = .@OBJEXT@
1997-05-15 12:00:00 +08:00
MODEL = @DFT_LWR_MODEL@
2000-10-21 12:42:11 +08:00
DESTDIR = @DESTDIR@
1997-05-15 12:00:00 +08:00
srcdir = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
2002-10-13 11:35:53 +08:00
bindir = @bindir@
1997-05-15 12:00:00 +08:00
libdir = @libdir@
includedir = @includedir@
2000-10-21 12:42:11 +08:00
LIBTOOL = @LIBTOOL@
2004-02-09 10:15:26 +08:00
LIBTOOL_CLEAN = @LIB_CLEAN@
LIBTOOL_COMPILE = @LIB_COMPILE@
LIBTOOL_LINK = @LIB_LINK@
LIBTOOL_INSTALL = @LIB_INSTALL@
LIBTOOL_UNINSTALL = @LIB_UNINSTALL@
ncurses 5.7 - patch 20090328 + extend ansi.sys pfkey capability from kf1-kf10 to kf1-kf48, moving function key definitions from emx-base for consistency -TD + correct missing final 'p' in pfkey capability of ansi.sys-old (report by Kalle Olavi Niemitalo). + improve test/ncurses.c 'F' test, show combining characters in color. + quiet a false report by cppcheck in c++/cursesw.cc by eliminating a temporary variable. + use _nc_doalloc() rather than realloc() in a few places in ncurses library to avoid leak in out-of-memory condition (reports by William Egert and Martin Ettl based on cppcheck tool). + add --with-ncurses-wrap-prefix option to test/configure (discussion with Charles Wilson). + use ncurses*-config scripts if available for test/configure. + update test/aclocal.m4 and test/configure > patches by Charles Wilson: + modify CF_WITH_LIBTOOL configure check to allow unreleased libtool version numbers (e.g. which include alphabetic chars, as well as digits, after the final '.'). + improve use of -no-undefined option for libtool by setting an intermediate variable LT_UNDEF in the configure script, and then using that in the libtool link-commands. + fix an missing use of NCURSES_PUBLIC_VAR() in tinfo/MKcodes.awk from 2009031 changes. + improve mk-1st.awk script by writing separate cases for the LIBTOOL_LINK command, depending on which library (ncurses, ticlib, termlib) is to be linked. + modify configure.in to allow broken-linker configurations, not just enable-reentrant, to set public wrap prefix.
2009-03-29 08:06:57 +08:00
LT_UNDEF = @LT_UNDEF@
2000-10-21 12:42:11 +08:00
1997-05-15 12:00:00 +08:00
INSTALL = @INSTALL@
1998-03-01 12:21:12 +08:00
INSTALL_LIB = @INSTALL@ @INSTALL_LIB@
2006-12-18 12:32:42 +08:00
INSTALL_PROG = @INSTALL_PROGRAM@
1997-05-15 12:00:00 +08:00
INSTALL_DATA = @INSTALL_DATA@
AR = @AR@
ARFLAGS = @ARFLAGS@
1997-05-15 12:00:00 +08:00
AWK = @AWK@
LD = @LD@
LN_S = @LN_S@
CTAGS = @CTAGS@
ETAGS = @ETAGS@
1997-05-15 12:00:00 +08:00
CC = @CC@
2000-07-09 10:46:08 +08:00
CPP = @CPP@
1997-05-15 12:00:00 +08:00
CFLAGS = @CFLAGS@
2005-10-10 02:41:57 +08:00
CPPFLAGS = -I@top_srcdir@/ncurses -DHAVE_CONFIG_H @CPPFLAGS@
1997-05-15 12:00:00 +08:00
CCFLAGS = $(CPPFLAGS) $(CFLAGS)
2000-10-21 12:42:11 +08:00
CFLAGS_LIBTOOL = $(CCFLAGS)
1997-05-15 12:00:00 +08:00
CFLAGS_NORMAL = $(CCFLAGS)
CFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE
CFLAGS_PROFILE = $(CCFLAGS) -pg
CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@
CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
2007-04-22 08:57:08 +08:00
LINK = $(LIBTOOL_LINK)
1997-05-15 12:00:00 +08:00
LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@
2002-10-13 11:35:53 +08:00
SHLIB_DIRS = -L../lib
SHLIB_LIST = $(SHLIB_DIRS) -lncurses@LIB_SUFFIX@ @SHLIB_LIST@
1999-10-24 12:32:42 +08:00
1997-05-15 12:00:00 +08:00
MK_SHARED_LIB = @MK_SHARED_LIB@
1999-10-24 12:32:42 +08:00
2000-10-21 12:42:11 +08:00
NCURSES_MAJOR = @NCURSES_MAJOR@
NCURSES_MINOR = @NCURSES_MINOR@
1998-03-01 12:21:12 +08:00
REL_VERSION = @cf_cv_rel_version@
ABI_VERSION = @cf_cv_abi_version@
1997-05-15 12:00:00 +08:00
2004-02-09 10:15:26 +08:00
RANLIB = @LIB_PREP@
1997-05-15 12:00:00 +08:00
LIBRARIES = @LIBS_TO_MAKE@
LINT = @LINT@
LINT_OPTS = @LINT_OPTS@
LINT_LIBS = -lform -lncurses @LIBS@
1998-03-01 12:21:12 +08:00
AUTO_SRC = \
2005-10-10 02:41:57 +08:00
../include/form.h
1998-03-01 12:21:12 +08:00
1997-05-15 12:00:00 +08:00
################################################################################
all \
2000-07-09 10:46:08 +08:00
libs \
1998-03-01 12:21:12 +08:00
install :: $(AUTO_SRC) $(LIBRARIES)
sources : $(AUTO_SRC)
1997-05-15 12:00:00 +08:00
2002-10-13 11:35:53 +08:00
$(DESTDIR)$(bindir) \
2000-10-21 12:42:11 +08:00
$(DESTDIR)$(libdir) :
mkdir -p $@
1997-05-15 12:00:00 +08:00
# make copies to simplify include-paths while still keeping form's include
# file in this directory.
../include/form.h : $(srcdir)/form.h
-rm -f $@
cp $(srcdir)/form.h $@
HEADER_DEPS = \
1997-05-15 12:00:00 +08:00
$(srcdir)/form.priv.h \
$(srcdir)/form.h \
../include/mf_common.h \
../include/curses.h \
../include/eti.h
tags:
$(CTAGS) *.[ch]
1997-05-15 12:00:00 +08:00
2000-10-21 12:42:11 +08:00
@MAKE_UPPER_TAGS@TAGS:
@MAKE_UPPER_TAGS@ $(ETAGS) *.[ch]
1997-05-15 12:00:00 +08:00
1998-03-01 12:21:12 +08:00
mostlyclean ::
2002-10-13 11:35:53 +08:00
-rm -f core tags TAGS *~ *.bak *.i *.ln *.atac trace
1998-03-01 12:21:12 +08:00
clean :: mostlyclean
-rm -f $(AUTO_SRC)
1997-05-15 12:00:00 +08:00
distclean :: clean
-rm -f Makefile
realclean :: distclean
../include/mf_common.h \
../include/eti.h :
cd ../menu && $(MAKE) $@
###############################################################################
# The remainder of this file is automatically generated during configuration
###############################################################################