ncurses 5.7 - patch 20100717
[ncurses.git] / ncurses / modules
index 91fa31350430bf8256bf987cf8c1ea867d6526ac..4466152e893e5712fcdd245ed2928dc1a380070b 100644 (file)
-# $Id: modules,v 1.25 1997/04/26 21:59:59 tom Exp $
-################################################################################
-# Copyright 1996,1997 by Thomas E. Dickey <dickey@clark.net>                   #
-# All Rights Reserved.                                                         #
-#                                                                              #
-# Permission to use, copy, modify, and distribute this software and its        #
-# documentation for any purpose and without fee is hereby granted, provided    #
-# that the above copyright notice appear in all copies and that both that      #
-# copyright notice and this permission notice appear in supporting             #
-# documentation, and that the name of the above listed copyright holder(s) not #
-# be used in advertising or publicity pertaining to distribution of the        #
-# software without specific, written prior permission. THE ABOVE LISTED        #
-# COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,    #
-# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT #
-# SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY SPECIAL,        #
-# INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM   #
-# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE   #
-# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR    #
-# PERFORMANCE OF THIS SOFTWARE.                                                #
-################################################################################
+# $Id: modules,v 1.116 2010/01/23 18:32:44 tom Exp $
+##############################################################################
+# Copyright (c) 1998-2009,2010 Free Software Foundation, Inc.                #
+#                                                                            #
+# 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
+#
+
+@ base
 # Library objects
-fallback       lib             .               ../include/term.h $(INCDIR)/tic.h
-hashmap                lib             $(srcdir)
-hardscroll     lib             $(srcdir)
-lib_acs        lib             $(srcdir)       ../include/term.h
-lib_addch      lib             $(srcdir)
-lib_addstr     lib             $(srcdir)
-lib_beep       lib             $(srcdir)       ../include/term.h
-lib_bkgd       lib             $(srcdir)
-lib_baudrate   lib             $(srcdir)       ../include/term.h
-lib_box        lib             $(srcdir)
-lib_clear      lib             $(srcdir)
-lib_clrbot     lib             $(srcdir)
-lib_clreol     lib             $(srcdir)
-lib_color      lib             $(srcdir)       ../include/term.h
-lib_data       lib             $(srcdir)
-lib_delch      lib             $(srcdir)
-lib_delwin     lib             $(srcdir)
-lib_doupdate   lib             $(srcdir)       ../include/term.h
-lib_endwin     lib             $(srcdir)
-lib_erase      lib             $(srcdir)
-lib_gen        lib             .               ../include/curses.h
-lib_getch      lib             $(srcdir)
-lib_getstr     lib             $(srcdir)       ../include/term.h
-lib_inchstr    lib             $(srcdir)
-lib_initscr    lib             $(srcdir)
-lib_insch      lib             $(srcdir)
-lib_insdel     lib             $(srcdir)
-lib_insstr     lib             $(srcdir)
-lib_instr      lib             $(srcdir)
-lib_isendwin   lib             $(srcdir)
-lib_kernel     lib             $(srcdir)       ../include/term.h
-lib_keyname    lib             .               ../include/term.h
-lib_longname   lib             $(srcdir)
-lib_mouse      lib             $(srcdir)       ../include/term.h
-lib_move       lib             $(srcdir)
-lib_mvcur      lib             $(srcdir)       ../include/term.h
-lib_mvwin      lib             $(srcdir)
-lib_newterm    lib             $(srcdir)       ../include/term.h
-lib_newwin     lib             $(srcdir)
-lib_options    lib             $(srcdir)       ../include/term.h keys.tries
-lib_overlay    lib             $(srcdir)
-lib_pad        lib             $(srcdir)
-lib_print      lib             $(srcdir)       ../include/term.h
-lib_printw     lib             $(srcdir)
-lib_raw        lib             $(srcdir)       ../include/term.h
-lib_refresh    lib             $(srcdir)
-lib_restart    lib             $(srcdir)
-lib_scanw      lib             $(srcdir)
-lib_screen     lib             $(srcdir)       ../include/term.h
-lib_scroll     lib             $(srcdir)
-lib_scrreg     lib             $(srcdir)
-lib_set_term   lib             $(srcdir)       ../include/term.h
-lib_setup      lib             $(srcdir)       ../include/term.h
-lib_slk        lib             $(srcdir)       ../include/term.h
-lib_termcap    lib             $(srcdir)       ../include/term.h
-lib_ti         lib             $(srcdir)       ../include/term.h
-lib_touch      lib             $(srcdir)
-lib_tparm      lib             $(srcdir)       ../include/term.h
-lib_tputs      lib             $(srcdir)       ../include/term.h
-lib_trace      lib             $(srcdir)
-lib_traceatr   lib             $(srcdir)
-lib_tracechr   lib             $(srcdir)
-lib_tracedmp   lib             $(srcdir)
-lib_tracemse   lib             $(srcdir)
-lib_tstp       lib             $(srcdir)
-lib_twait      lib             $(srcdir)
-lib_vidattr    lib             $(srcdir)       ../include/term.h
-lib_window     lib             $(srcdir)
-names          lib             .
-codes          lib             .
-unctrl         lib             .
-read_entry     lib             $(srcdir)       ../include/term.h $(INCDIR)/tic.h
-read_termcap   lib             $(srcdir)       ../include/term.h
-write_entry    lib             $(srcdir)       ../include/term.h $(INCDIR)/tic.h
+hardscroll     lib             $(serial)       $(HEADER_DEPS)
+hashmap                lib             $(serial)       $(HEADER_DEPS)
+lib_addch      lib             $(base)         $(HEADER_DEPS)
+lib_addstr     lib             $(base)         $(HEADER_DEPS)
+lib_beep       lib             $(base)         $(HEADER_DEPS)
+lib_bkgd       lib             $(base)         $(HEADER_DEPS)
+lib_box        lib             $(base)         $(HEADER_DEPS)
+lib_chgat      lib             $(base)         $(HEADER_DEPS)
+lib_clear      lib             $(base)         $(HEADER_DEPS)
+lib_clearok    lib             $(base)         $(HEADER_DEPS)
+lib_clrbot     lib             $(base)         $(HEADER_DEPS)
+lib_clreol     lib             $(base)         $(HEADER_DEPS)
+lib_color      lib             $(base)         $(HEADER_DEPS)  $(INCDIR)/tic.h
+lib_colorset   lib             $(base)         $(HEADER_DEPS)
+lib_delch      lib             $(base)         $(HEADER_DEPS)
+lib_delwin     lib             $(base)         $(HEADER_DEPS)
+lib_echo       lib             $(base)         $(HEADER_DEPS)
+lib_endwin     lib             $(base)         $(HEADER_DEPS)
+lib_erase      lib             $(base)         $(HEADER_DEPS)
+lib_flash      lib             $(base)         $(HEADER_DEPS)
+lib_gen        lib             .               $(HEADER_DEPS)
+lib_getch      lib             $(base)         $(HEADER_DEPS)  $(srcdir)/fifo_defs.h
+lib_getstr     lib             $(base)         $(HEADER_DEPS)
+lib_hline      lib             $(base)         $(HEADER_DEPS)
+lib_immedok    lib             $(base)         $(HEADER_DEPS)
+lib_inchstr    lib             $(base)         $(HEADER_DEPS)
+lib_initscr    lib             $(base)         $(HEADER_DEPS)
+lib_insch      lib             $(base)         $(HEADER_DEPS)
+lib_insdel     lib             $(base)         $(HEADER_DEPS)
+lib_insnstr    lib             $(base)         $(HEADER_DEPS)
+lib_instr      lib             $(base)         $(HEADER_DEPS)
+lib_isendwin   lib             $(base)         $(HEADER_DEPS)
+lib_leaveok    lib             $(base)         $(HEADER_DEPS)
+lib_mouse      lib             $(base)         $(HEADER_DEPS)  $(INCDIR)/tic.h
+lib_move       lib             $(base)         $(HEADER_DEPS)
+lib_mvcur      lib             $(serial)       $(HEADER_DEPS)  $(INCDIR)/tic.h $(srcdir)/../progs/dump_entry.h
+lib_mvwin      lib             $(base)         $(HEADER_DEPS)
+lib_newterm    lib             $(base)         $(HEADER_DEPS)  $(INCDIR)/tic.h
+lib_newwin     lib             $(base)         $(HEADER_DEPS)
+lib_nl         lib             $(base)         $(HEADER_DEPS)
+lib_overlay    lib             $(base)         $(HEADER_DEPS)
+lib_pad        lib             $(base)         $(HEADER_DEPS)
+lib_printw     lib             $(base)         $(HEADER_DEPS)
+lib_redrawln   lib             $(base)         $(HEADER_DEPS)
+lib_refresh    lib             $(base)         $(HEADER_DEPS)
+lib_restart    lib             $(base)         $(HEADER_DEPS)
+lib_scanw      lib             $(base)         $(HEADER_DEPS)
+lib_screen     lib             $(base)         $(HEADER_DEPS)
+lib_scroll     lib             $(base)         $(HEADER_DEPS)
+lib_scrollok   lib             $(base)         $(HEADER_DEPS)
+lib_scrreg     lib             $(base)         $(HEADER_DEPS)
+lib_set_term   lib             $(base)         $(HEADER_DEPS)  $(INCDIR)/tic.h
+lib_slk        lib             $(base)         $(HEADER_DEPS)
+lib_slkatr_set lib             $(base)         $(HEADER_DEPS)
+lib_slkatrof   lib             $(base)         $(HEADER_DEPS)
+lib_slkatron   lib             $(base)         $(HEADER_DEPS)
+lib_slkatrset  lib             $(base)         $(HEADER_DEPS)
+lib_slkattr    lib             $(base)         $(HEADER_DEPS)
+lib_slkclear   lib             $(base)         $(HEADER_DEPS)
+lib_slkcolor   lib             $(base)         $(HEADER_DEPS)
+lib_slkinit    lib             $(base)         $(HEADER_DEPS)
+lib_slklab     lib             $(base)         $(HEADER_DEPS)
+lib_slkrefr    lib             $(base)         $(HEADER_DEPS)
+lib_slkset     lib             $(base)         $(HEADER_DEPS)
+lib_slktouch   lib             $(base)         $(HEADER_DEPS)
+lib_touch      lib             $(base)         $(HEADER_DEPS)
+lib_tracedmp   lib             $(trace)        $(HEADER_DEPS)
+lib_tracemse   lib             $(trace)        $(HEADER_DEPS)
+lib_tstp       lib             $(serial)       $(HEADER_DEPS)  $(srcdir)/SigAction.h
+lib_ungetch    lib             $(base)         $(HEADER_DEPS)  $(srcdir)/fifo_defs.h
+lib_vidattr    lib             $(serial)       $(HEADER_DEPS)
+lib_vline      lib             $(base)         $(HEADER_DEPS)
+lib_wattroff   lib             $(base)         $(HEADER_DEPS)
+lib_wattron    lib             $(base)         $(HEADER_DEPS)
+lib_winch      lib             $(base)         $(HEADER_DEPS)
+lib_window     lib             $(base)         $(HEADER_DEPS)
+link_test      lib             .               $(HEADER_DEPS)
+nc_panel       lib             $(base)         $(HEADER_DEPS)
+safe_sprintf   lib             $(base)         $(HEADER_DEPS)
+tty_update     lib             $(serial)       $(HEADER_DEPS)
+varargs                lib             $(trace)        $(HEADER_DEPS)
 
 # Modules for porting
-sigaction      lib             $(srcdir)
-vsscanf        lib             $(srcdir)
+memmove                lib             $(base)         $(HEADER_DEPS)
+vsscanf        lib             $(base)         $(HEADER_DEPS)
+
+# actually an extension, but with its own configure option (--disable-leaks)
+lib_freeall    lib             $(base)         $(HEADER_DEPS)  $(INCDIR)/tic.h
+
+# XSI extensions to the base library (wide-character)
+@ widechar
+charable       lib             $(wide)         $(HEADER_DEPS)
+lib_add_wch    lib             $(wide)         $(HEADER_DEPS)
+lib_box_set    lib             $(wide)         $(HEADER_DEPS)
+lib_cchar      lib             $(wide)         $(HEADER_DEPS)
+lib_erasewchar lib             $(wide)         $(HEADER_DEPS)
+lib_get_wch    lib             $(wide)         $(HEADER_DEPS)
+lib_get_wstr   lib             $(wide)         $(HEADER_DEPS)
+lib_hline_set  lib             $(wide)         $(HEADER_DEPS)
+lib_in_wch     lib             $(wide)         $(HEADER_DEPS)
+lib_in_wchnstr lib             $(wide)         $(HEADER_DEPS)
+lib_ins_wch    lib             $(wide)         $(HEADER_DEPS)
+lib_inwstr     lib             $(wide)         $(HEADER_DEPS)
+lib_key_name   lib             $(wide)         $(HEADER_DEPS)
+lib_pecho_wchar        lib             $(wide)         $(HEADER_DEPS)
+lib_slk_wset   lib             $(wide)         $(HEADER_DEPS)
+lib_unget_wch  lib             $(wide)         $(HEADER_DEPS)
+lib_vid_attr   lib             $(wide)         $(HEADER_DEPS)
+lib_vline_set  lib             $(wide)         $(HEADER_DEPS)
+lib_wacs       lib             $(wide)         $(HEADER_DEPS)
+lib_wunctrl    lib             $(wide)         $(HEADER_DEPS)
+
+# Extensions to the base library
+@ ext_funcs
+expanded       lib             .               $(HEADER_DEPS)
+legacy_coding  lib             $(base)         $(HEADER_DEPS)
+lib_dft_fgbg   lib             $(base)         $(HEADER_DEPS)
+lib_print      lib             $(tinfo)        $(HEADER_DEPS)
+resizeterm     lib             $(base)         $(HEADER_DEPS)
+trace_xnames   lib             $(trace)        $(HEADER_DEPS)
+use_screen     lib             $(tinfo)        $(HEADER_DEPS)
+use_window     lib             $(base)         $(HEADER_DEPS)
+wresize                lib             $(base)         $(HEADER_DEPS)
+
+# Support for termcap (and tic, etc.), which can be a separate library
+@ termlib
+access         lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h
+add_tries      lib             $(tinfo)        $(HEADER_DEPS)
+alloc_ttype    lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h
+codes          lib             .               $(HEADER_DEPS)
+comp_captab    lib             .               $(HEADER_DEPS)  $(INCDIR)/tic.h ../include/hashsize.h
+comp_error     lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h
+comp_hash      lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h ../include/hashsize.h
+db_iterator    lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h
+doalloc                lib             $(tinfo)        $(HEADER_DEPS)
+entries                lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h
+fallback       lib             .               $(HEADER_DEPS)
+free_ttype     lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h
+getenv_num     lib             $(tinfo)        $(HEADER_DEPS)
+home_terminfo  lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h
+init_keytry    lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h init_keytry.h
+lib_acs        lib             $(tinfo)        $(HEADER_DEPS)
+lib_baudrate   lib             $(tinfo)        $(HEADER_DEPS)  ../include/termcap.h
+lib_cur_term   lib             $(tinfo)        $(HEADER_DEPS)  ../include/termcap.h
+lib_data       lib             $(tinfo)        $(HEADER_DEPS)
+lib_has_cap    lib             $(tinfo)        $(HEADER_DEPS)
+lib_kernel     lib             $(tinfo)        $(HEADER_DEPS)
+lib_keyname    lib             .               $(HEADER_DEPS)  $(INCDIR)/tic.h
+lib_longname   lib             $(tinfo)        $(HEADER_DEPS)
+lib_napms      lib             $(tinfo)        $(HEADER_DEPS)
+lib_options    lib             $(tinfo)        $(HEADER_DEPS)
+lib_raw        lib             $(tinfo)        $(HEADER_DEPS)
+lib_setup      lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h
+lib_termcap    lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h ../include/termcap.h $(INCDIR)/capdefaults.c
+lib_termname   lib             $(tinfo)        $(HEADER_DEPS)
+lib_tgoto      lib             $(tinfo)        $(HEADER_DEPS)  ../include/termcap.h
+lib_ti         lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h
+lib_tparm      lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h
+lib_tputs      lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h ../include/termcap.h
+lib_trace      lib             $(trace)        $(HEADER_DEPS)  $(INCDIR)/tic.h
+lib_traceatr   lib             $(trace)        $(HEADER_DEPS)
+lib_tracebits  lib             $(trace)        $(HEADER_DEPS)
+lib_tracechr   lib             $(trace)        $(HEADER_DEPS)
+lib_ttyflags   lib             $(tinfo)        $(HEADER_DEPS)
+lib_twait      lib             $(serial)       $(HEADER_DEPS)
+name_match     lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h
+names          lib             .               $(HEADER_DEPS)
+read_entry     lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h $(INCDIR)/hashed_db.h
+read_termcap   lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h
+setbuf         lib             $(tinfo)        $(HEADER_DEPS)
+strings                lib             $(tinfo)        $(HEADER_DEPS)
+trace_buf      lib             $(trace)        $(HEADER_DEPS)
+trace_tries    lib             $(trace)        $(HEADER_DEPS)
+tries          lib             $(base)         $(HEADER_DEPS)
+trim_sgr0      lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h
+unctrl         lib             .               $(HEADER_DEPS)
+visbuf         lib             $(trace)        $(HEADER_DEPS)  $(INCDIR)/tic.h
+
+# Modules used only for tic, other programs using internal interfaces
+@ ticlib
+alloc_entry    lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h
+captoinfo      lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h
+comp_expand    lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h
+comp_parse     lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h
+comp_scan      lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h
+parse_entry    lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h ../include/parametrized.h
+write_entry    lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h $(INCDIR)/hashed_db.h
+
+# Extensions to the termlib library
+@ ext_tinfo
+define_key     lib             $(base)         $(HEADER_DEPS)
+hashed_db      lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h $(INCDIR)/hashed_db.h
+key_defined    lib             $(base)         $(HEADER_DEPS)
+keybound       lib             $(base)         $(HEADER_DEPS)
+keyok          lib             $(base)         $(HEADER_DEPS)
+version                lib             $(base)         $(HEADER_DEPS)
+
+# Porting
+@ port_drivers
+lib_driver      lib             $(base)                $(HEADER_DEPS)
+
+@ port_win32con
+gettimeofday   lib             $(win32con)     $(HEADER_DEPS)
+win_driver     lib             $(win32con)     $(HEADER_DEPS)
 
-# Support for termcap (and tic, etc.)
-alloc_entry    lib             $(srcdir)       ../include/term.h
-captoinfo      lib             $(srcdir)
-comp_captab    lib             .               ../include/term.h ../include/hashsize.h
-comp_error     lib             $(srcdir)
-comp_hash      lib             $(srcdir)       ../include/term.h ../include/hashsize.h
-comp_parse     lib             $(srcdir)       ../include/term.h $(INCDIR)/tic.h
-comp_scan      lib             $(srcdir)
-parse_entry    lib             $(srcdir)       ../include/term.h ../include/parametrized.h
+@ port_tinfo
+tinfo_driver   lib             $(tinfo)        $(HEADER_DEPS)  $(INCDIR)/tic.h
 
-# Extensions
-lib_dft_fgbg   lib             $(srcdir)
-lib_freeall    lib             $(srcdir)
-resizeterm     lib             $(srcdir)       ../include/term.h
-wresize                lib             $(srcdir)       ../include/term.h
-lib_adabind    lib             $(srcdir)
-expanded       lib             .
+# vile:makemode