1# $Id: modules,v 1.112 2007/09/08 22:03:34 tom Exp $
2##############################################################################
3# Copyright (c) 1998-2006,2007 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##############################################################################
29#
30# Author: Thomas E. Dickey	1996-on
31#
32
33@ base
34# Library objects
35hardscroll	lib		$(serial)
36hashmap		lib		$(serial)	../include/term.h
37lib_addch	lib		$(base)
38lib_addstr	lib		$(base)
39lib_beep	lib		$(base)		../include/term.h
40lib_bkgd	lib		$(base)
41lib_box 	lib		$(base)
42lib_chgat	lib		$(base)
43lib_clear	lib		$(base)
44lib_clearok	lib		$(base)
45lib_clrbot	lib		$(base)
46lib_clreol	lib		$(base)
47lib_color	lib		$(base)		../include/term.h
48lib_colorset	lib		$(base)
49lib_delch	lib		$(base)
50lib_delwin	lib		$(base)
51lib_echo	lib		$(base)
52lib_endwin	lib		$(base)		../include/term.h
53lib_erase	lib		$(base)
54lib_flash	lib		$(base)		../include/term.h
55lib_gen 	lib		.		../include/curses.h
56lib_getch	lib		$(base)
57lib_getstr	lib		$(base)		../include/term.h
58lib_hline	lib		$(base)
59lib_immedok	lib		$(base)
60lib_inchstr	lib		$(base)
61lib_initscr	lib		$(base)		$(INCDIR)/tic.h
62lib_insch	lib		$(base)
63lib_insdel	lib		$(base)
64lib_insnstr	lib		$(base)
65lib_instr	lib		$(base)
66lib_isendwin	lib		$(base)
67lib_leaveok	lib		$(base)
68lib_mouse	lib		$(base)		../include/term.h
69lib_move	lib		$(base)
70lib_mvcur	lib		$(serial)	../include/term.h $(INCDIR)/tic.h
71lib_mvwin	lib		$(base)
72lib_newterm	lib		$(base)		../include/term.h
73lib_newwin	lib		$(base)
74lib_nl		lib		$(base)
75lib_overlay	lib		$(base)
76lib_pad 	lib		$(base)
77lib_printw	lib		$(base)
78lib_redrawln	lib		$(base)
79lib_refresh	lib		$(base)
80lib_restart	lib		$(base)		../include/term.h
81lib_scanw	lib		$(base)
82lib_screen	lib		$(base)		../include/term.h
83lib_scroll	lib		$(base)
84lib_scrollok	lib		$(base)
85lib_scrreg	lib		$(base)
86lib_set_term	lib		$(base)		../include/term.h
87lib_slk 	lib		$(base)		../include/term.h
88lib_slkatr_set	lib		$(base)
89lib_slkatrof 	lib		$(base)
90lib_slkatron 	lib		$(base)
91lib_slkatrset 	lib		$(base)
92lib_slkattr 	lib		$(base)
93lib_slkclear 	lib		$(base)
94lib_slkcolor 	lib		$(base)
95lib_slkinit 	lib		$(base)
96lib_slklab	lib		$(base)
97lib_slkrefr	lib		$(base)		../include/term.h
98lib_slkset	lib		$(base)
99lib_slktouch	lib		$(base)
100lib_touch	lib		$(base)
101lib_tracedmp	lib		$(trace)
102lib_tracemse	lib		$(trace)
103lib_tstp	lib		$(serial)	$(srcdir)/SigAction.h
104lib_ungetch	lib		$(base)
105lib_vidattr	lib		$(serial)	../include/term.h
106lib_vline	lib		$(base)
107lib_wattroff	lib		$(base)
108lib_wattron	lib		$(base)
109lib_winch	lib		$(base)
110lib_window	lib		$(base)
111link_test 	lib		.		../include/curses.h
112nc_panel	lib		$(base)
113safe_sprintf	lib		$(base)
114tty_update	lib		$(serial)	../include/term.h
115varargs		lib		$(trace)
116
117# Modules for porting
118memmove		lib		$(base)
119vsscanf 	lib		$(base)
120
121# actually an extension, but with its own configure option (--disable-leaks)
122lib_freeall	lib		$(base)
123
124# XSI extensions to the base library (wide-character)
125@ widechar
126charable	lib		$(wide)
127lib_add_wch	lib		$(wide)
128lib_box_set	lib		$(wide)
129lib_cchar	lib		$(wide)
130lib_erasewchar	lib		$(wide)
131lib_get_wch	lib		$(wide)
132lib_get_wstr	lib		$(wide)
133lib_hline_set	lib		$(wide)
134lib_in_wch	lib		$(wide)
135lib_in_wchnstr	lib		$(wide)
136lib_ins_wch	lib		$(wide)
137lib_inwstr	lib		$(wide)
138lib_key_name	lib		$(wide)
139lib_pecho_wchar	lib		$(wide)
140lib_slk_wset	lib		$(wide)
141lib_unget_wch	lib		$(wide)
142lib_vid_attr	lib		$(wide)		../include/term.h
143lib_vline_set	lib		$(wide)
144lib_wacs	lib		$(wide)
145lib_wunctrl	lib		$(wide)
146
147# Extensions to the base library
148@ ext_funcs
149expanded	lib		.
150legacy_coding	lib		$(base)		../include/term.h
151lib_dft_fgbg	lib		$(base)		../include/term.h
152lib_print	lib		$(tinfo)	../include/term.h
153resizeterm	lib		$(base)		../include/term.h
154trace_xnames	lib		$(trace)	../include/term.h $(INCDIR)/term_entry.h
155use_screen	lib		$(tinfo)
156use_window	lib		$(base)
157wresize		lib		$(base)		../include/term.h
158
159# Support for termcap (and tic, etc.), which can be a separate library
160@ termlib
161access		lib		$(tinfo)
162add_tries	lib		$(tinfo)
163alloc_ttype	lib		$(tinfo)	../include/term.h $(INCDIR)/term_entry.h $(INCDIR)/tic.h
164codes		lib		.
165comp_error	lib		$(tinfo)	$(INCDIR)/tic.h
166db_iterator	lib		$(tinfo)	$(INCDIR)/tic.h
167doalloc		lib		$(tinfo)
168entries		lib		$(tinfo)	../include/term.h $(INCDIR)/tic.h
169fallback	lib		.		../include/term.h $(INCDIR)/tic.h
170free_ttype	lib		$(tinfo)	../include/term.h $(INCDIR)/term_entry.h $(INCDIR)/tic.h
171getenv_num	lib		$(tinfo)
172home_terminfo	lib		$(tinfo)
173init_keytry	lib		$(tinfo)	../include/term.h $(INCDIR)/tic.h init_keytry.h
174lib_acs 	lib		$(tinfo)	../include/term.h
175lib_baudrate	lib		$(tinfo)	../include/term.h
176lib_cur_term	lib		$(tinfo)	../include/term.h $(INCDIR)/term_entry.h
177lib_data	lib		$(tinfo)
178lib_has_cap	lib		$(tinfo)	../include/term.h
179lib_kernel	lib		$(tinfo)	../include/term.h
180lib_keyname	lib		.		../include/term.h
181lib_longname	lib		$(tinfo)
182lib_napms	lib		$(tinfo)
183lib_options	lib		$(tinfo)	../include/term.h
184lib_raw 	lib		$(tinfo)	../include/term.h
185lib_setup	lib		$(tinfo)	../include/term.h $(INCDIR)/term_entry.h
186lib_termcap	lib		$(tinfo)	../include/term.h $(INCDIR)/term_entry.h $(INCDIR)/tic.h $(INCDIR)/capdefaults.c
187lib_termname	lib		$(tinfo)	$(INCDIR)/tic.h
188lib_tgoto	lib		$(tinfo)	../include/term.h $(INCDIR)/tic.h
189lib_ti		lib		$(tinfo)	../include/term.h $(INCDIR)/term_entry.h $(INCDIR)/tic.h
190lib_tparm	lib		$(tinfo)	../include/term.h $(INCDIR)/tic.h
191lib_tputs	lib		$(tinfo)	../include/term.h $(INCDIR)/tic.h
192lib_trace	lib		$(trace)	$(INCDIR)/tic.h
193lib_traceatr	lib		$(trace)	../include/term.h
194lib_tracebits	lib		$(trace)	../include/term.h
195lib_tracechr	lib		$(trace)
196lib_ttyflags	lib		$(tinfo)	../include/term.h
197lib_twait	lib		$(serial)
198name_match	lib		$(tinfo)	../include/term.h $(INCDIR)/tic.h
199names		lib		.
200read_entry	lib		$(tinfo)	../include/term.h $(INCDIR)/term_entry.h $(INCDIR)/tic.h
201read_termcap	lib		$(tinfo)	../include/term.h $(INCDIR)/term_entry.h $(INCDIR)/tic.h
202setbuf		lib		$(tinfo)
203strings		lib		$(tinfo)
204trace_buf	lib		$(trace)
205trace_tries	lib		$(trace)
206tries		lib		$(base)
207trim_sgr0	lib		$(tinfo)	../include/term.h $(INCDIR)/term_entry.h $(INCDIR)/tic.h
208unctrl		lib		.
209visbuf		lib		$(trace)	$(INCDIR)/tic.h
210
211# Modules used only for tic, other programs using internal interfaces
212@ ticlib
213alloc_entry	lib		$(tinfo)	../include/term.h $(INCDIR)/term_entry.h $(INCDIR)/tic.h
214captoinfo	lib		$(tinfo)	$(INCDIR)/tic.h
215comp_captab	lib		.		$(INCDIR)/tic.h ../include/term.h ../include/hashsize.h
216comp_expand	lib		$(tinfo)	$(INCDIR)/tic.h
217comp_hash	lib		$(tinfo)	../include/term.h $(INCDIR)/tic.h ../include/hashsize.h
218comp_parse	lib		$(tinfo)	../include/term.h $(INCDIR)/term_entry.h $(INCDIR)/tic.h
219comp_scan	lib		$(tinfo)	$(INCDIR)/tic.h
220parse_entry	lib		$(tinfo)	../include/term.h $(INCDIR)/term_entry.h $(INCDIR)/tic.h ../include/parametrized.h $(INCDIR)/capdefaults.c
221write_entry	lib		$(tinfo)	../include/term.h $(INCDIR)/term_entry.h $(INCDIR)/tic.h
222
223# Extensions to the termlib library
224@ ext_tinfo
225define_key	lib		$(base)
226hashed_db	lib		$(tinfo)
227key_defined	lib		$(base)
228keybound	lib		$(base)
229keyok		lib		$(base)
230version		lib		$(base)
231
232# vile:makemode
233