missing ncurses sources
[tomato.git] / release / src / router / libncurses / test / Makefile.in
blob9fde0adbe8b1ccd2991570c60e9866f2860c8c99
1 # $Id: Makefile.in,v 1.108 2010/11/28 16:39:40 tom Exp $
2 ##############################################################################
3 # Copyright (c) 1998-2008,2010 Free Software Foundation, Inc. #
4 # #
5 # Permission is hereby granted, free of charge, to any person obtaining a #
6 # copy of this software and associated documentation files (the "Software"), #
7 # to deal in the Software without restriction, including without limitation #
8 # the rights to use, copy, modify, merge, publish, distribute, distribute #
9 # with modifications, sublicense, and/or sell copies of the Software, and to #
10 # permit persons to whom the Software is furnished to do so, subject to the #
11 # following conditions: #
12 # #
13 # The above copyright notice and this permission notice shall be included in #
14 # all copies or substantial portions of the Software. #
15 # #
16 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
17 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, #
18 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL #
19 # THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER #
20 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING #
21 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER #
22 # DEALINGS IN THE SOFTWARE. #
23 # #
24 # Except as contained in this notice, the name(s) of the above copyright #
25 # holders shall not be used in advertising or otherwise to promote the sale, #
26 # use or other dealings in this Software without prior written #
27 # authorization. #
28 ##############################################################################
30 # Author: Thomas E. Dickey 1996-on
32 # Makefile for ncurses tests.
34 # turn off _all_ suffix rules; we'll generate our own
35 .SUFFIXES:
37 SHELL = /bin/sh
38 VPATH = @srcdir@
40 @SET_MAKE@
42 destdir =
43 x = @EXEEXT@
44 o = .@OBJEXT@
46 MODEL = ../@DFT_OBJ_SUBDIR@
47 srcdir = @srcdir@
48 prefix = @prefix@
49 exec_prefix = @exec_prefix@
50 bindir = @bindir@
51 libdir = @libdir@
52 includedir = @includedir@
54 BINDIR = $(DESTDIR)$(bindir)
55 LIBDIR = $(DESTDIR)$(libdir)
56 INCLUDEDIR = $(DESTDIR)$(includedir)
58 LIBTOOL = @LIBTOOL@
59 LIBTOOL_CLEAN = @LIB_CLEAN@
60 LIBTOOL_COMPILE = @LIB_COMPILE@
61 LIBTOOL_LINK = @LIB_LINK@
63 INSTALL = @INSTALL@
64 INSTALL_PROG = @INSTALL_PROGRAM@
65 transform = @program_transform_name@
66 TRANSFORM = sed 's/$x$$//'|sed '$(transform)'|sed 's/$$/$x/'
68 CTAGS = @CTAGS@
69 ETAGS = @ETAGS@
71 CC = @CC@
72 CPP = @CPP@
74 CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@
75 CPPFLAGS = -I. -I$(srcdir) -I../test -DHAVE_CONFIG_H @CPPFLAGS@
77 CCFLAGS = $(CPPFLAGS) $(CFLAGS)
79 CFLAGS_LIBTOOL = $(CCFLAGS)
80 CFLAGS_NORMAL = $(CCFLAGS)
81 CFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE
82 CFLAGS_PROFILE = $(CCFLAGS) -pg
83 CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@
85 CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
87 REL_VERSION = @cf_cv_rel_version@
88 ABI_VERSION = @cf_cv_abi_version@
89 LOCAL_LIBDIR = @top_builddir@/lib
90 LOCAL_LIBS = @TEST_DEPS@
91 MATH_LIB = @MATH_LIB@
92 TEST_LIBS = @TEST_LIBS@
94 LD = @LD@
95 LINK = @LINK_TESTS@ $(LIBTOOL_LINK) $(CFLAGS)
97 LDFLAGS = @LD_MODEL@ @LOCAL_LDFLAGS@ @LDFLAGS@
99 LDFLAGS_LIBTOOL = $(LDFLAGS) $(CFLAGS_LIBTOOL)
100 LDFLAGS_NORMAL = $(LDFLAGS) $(CFLAGS_NORMAL)
101 LDFLAGS_DEBUG = $(LDFLAGS) $(CFLAGS_DEBUG)
102 LDFLAGS_PROFILE = $(LDFLAGS) $(CFLAGS_PROFILE)
103 LDFLAGS_SHARED = $(LDFLAGS) $(CFLAGS_SHARED) @LD_SHARED_OPTS@
105 TEST_ARGS = @LDFLAGS_STATIC@ @TEST_ARGS@ @LDFLAGS_SHARED@
107 # use these for linking with all of the libraries
108 LIBS_DEFAULT = $(TEST_ARGS) @LIBS@ $(TEST_LIBS) $(MATH_LIB)
109 LDFLAGS_DEFAULT = $(LDFLAGS_@DFT_UPR_MODEL@) $(LIBS_DEFAULT)
111 # use these for linking with the (n)curses library and possibly pthreads
112 LIBS_THREADS = `echo "$(TEST_ARGS) @LIBS@" | sed -e 's/-lform.*-lpanel[^ ]*//'` $(TEST_LIBS) $(MATH_LIB) @PTHREAD@
113 LDFLAGS_THREADS = $(LDFLAGS_@DFT_UPR_MODEL@) $(LIBS_THREADS)
115 # use these for linking with the (n)curses library
116 LIBS_CURSES = `echo "$(TEST_ARGS) @LIBS@" | sed -e 's/-lform.*-lpanel[^ ]*//'` $(TEST_LIBS) $(MATH_LIB)
117 LDFLAGS_CURSES = $(LDFLAGS_@DFT_UPR_MODEL@) $(LIBS_CURSES)
119 # use these for linking with the tinfo library if we have it, or curses library if not
120 LIBS_TINFO = @LDFLAGS_STATIC@ @TINFO_ARGS@ @LDFLAGS_SHARED@ @LIBS@ $(TEST_LIBS) $(MATH_LIB)
121 LDFLAGS_TINFO = $(LDFLAGS_@DFT_UPR_MODEL@) $(LIBS_TINFO)
123 LINT = @LINT@
124 LINT_OPTS = @LINT_OPTS@
125 LINT_LIBS = -lform -lmenu -lpanel -lncurses @LIBS@
127 HEADER_DEPS = \
128 ../include/curses.h \
129 ../include/term.h
131 # The rest is generated from the "programs" and "modules" files...