3 ## Copyright (C) 2008 Advanced Micro Devices, Inc.
5 ## Redistribution and use in source and binary forms, with or without
6 ## modification, are permitted provided that the following conditions
8 ## 1. Redistributions of source code must retain the above copyright
9 ## notice, this list of conditions and the following disclaimer.
10 ## 2. Redistributions in binary form must reproduce the above copyright
11 ## notice, this list of conditions and the following disclaimer in the
12 ## documentation and/or other materials provided with the distribution.
13 ## 3. The name of the author may not be used to endorse or promote products
14 ## derived from this software without specific prior written permission.
16 ## THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17 ## ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 ## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 ## ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20 ## FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 ## DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 ## OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 ## HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 ## LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 ## OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 ifeq ($(CONFIG_LP_TINYCURSES
),y
)
33 libcurses-
$(CONFIG_LP_TINYCURSES
) += keyboard.c
34 libcurses-
$(CONFIG_LP_TINYCURSES
) += tinycurses.c
35 libcurses-
$(CONFIG_LP_TINYCURSES
) += colors.c
37 includes-
$(CONFIG_LP_TINYCURSES
) += curses.h
39 ifeq ($(CONFIG_LP_PDCURSES
),y
)
41 INCLUDES
+= -D_LP64
=0 -Icurses
/$(PDCURSES
) -Icurses
/pdcurses-backend
-Icurses
/menu
-Icurses
/form
44 libcurses-
$(CONFIG_LP_PDCURSES
) += pdcurses-backend
/pdcdisp.c
45 libcurses-
$(CONFIG_LP_PDCURSES
) += pdcurses-backend
/pdcgetsc.c
46 libcurses-
$(CONFIG_LP_PDCURSES
) += pdcurses-backend
/pdckbd.c
47 libcurses-
$(CONFIG_LP_PDCURSES
) += pdcurses-backend
/pdcscrn.c
48 libcurses-
$(CONFIG_LP_PDCURSES
) += pdcurses-backend
/pdcsetsc.c
49 libcurses-
$(CONFIG_LP_PDCURSES
) += pdcurses-backend
/pdcutil.c
50 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/addch.c
51 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/move.c
52 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/overlay.c
53 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/refresh.c
54 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/terminfo.c
55 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/window.c
56 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/util.c
57 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/inopts.c
58 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/addstr.c
59 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/keyname.c
60 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/instr.c
61 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/clear.c
62 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/addchstr.c
63 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/kernel.c
64 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/pad.c
65 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/insstr.c
66 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/border.c
67 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/getyx.c
68 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/getstr.c
69 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/getch.c
70 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/termattr.c
71 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/outopts.c
72 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/color.c
73 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/deleteln.c
74 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/initscr.c
75 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/slk.c
76 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/delch.c
77 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/touch.c
78 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/mouse.c
79 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/scanw.c
80 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/scroll.c
81 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/printw.c
82 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/bkgd.c
83 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/inch.c
84 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/attr.c
85 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/insch.c
86 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/inchstr.c
87 libcurses-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/beep.c
89 includes-
$(CONFIG_LP_PDCURSES
) += pdcurses-backend
/nc_alloc.h
90 includes-
$(CONFIG_LP_PDCURSES
) += pdcurses-backend
/ncurses_cfg.h
91 includes-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/curses.h
92 includes-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/term.h
93 includes-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/panel.h
94 includes-
$(CONFIG_LP_PDCURSES
) += menu
/eti.h
95 includes-
$(CONFIG_LP_PDCURSES
) += menu
/menu.h
96 includes-
$(CONFIG_LP_PDCURSES
) += menu
/mf_common.h
97 includes-
$(CONFIG_LP_PDCURSES
) += form
/form.h
99 libpanel-
$(CONFIG_LP_PDCURSES
) += $(PDCURSES
)/pdcurses
/panel.c
101 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_req_name.c
102 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_item_nam.c
103 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_pad.c
104 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_cursor.c
105 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_item_new.c
106 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_attribs.c
107 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_item_opt.c
108 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_format.c
109 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_post.c
110 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_userptr.c
111 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_item_cur.c
112 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_driver.c
113 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_sub.c
114 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_win.c
115 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_global.c
116 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_item_vis.c
117 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_new.c
118 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_scale.c
119 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_spacing.c
120 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_opts.c
121 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_pattern.c
122 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_item_val.c
123 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_hook.c
124 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_item_use.c
125 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_items.c
126 libmenu-
$(CONFIG_LP_PDCURSES
) += menu
/m_item_top.c
127 libform-
$(CONFIG_LP_PDCURSES
) += form
/frm_page.c
128 libform-
$(CONFIG_LP_PDCURSES
) += form
/frm_opts.c
129 libform-
$(CONFIG_LP_PDCURSES
) += form
/frm_def.c
130 libform-
$(CONFIG_LP_PDCURSES
) += form
/frm_req_name.c
131 libform-
$(CONFIG_LP_PDCURSES
) += form
/fty_alpha.c
132 libform-
$(CONFIG_LP_PDCURSES
) += form
/frm_driver.c
133 libform-
$(CONFIG_LP_PDCURSES
) += form
/fld_user.c
134 libform-
$(CONFIG_LP_PDCURSES
) += form
/frm_win.c
135 libform-
$(CONFIG_LP_PDCURSES
) += form
/fld_newftyp.c
136 #libform-$(CONFIG_LP_PDCURSES) += form/fty_regex.c
137 libform-
$(CONFIG_LP_PDCURSES
) += form
/fld_stat.c
138 libform-
$(CONFIG_LP_PDCURSES
) += form
/fld_pad.c
139 libform-
$(CONFIG_LP_PDCURSES
) += form
/fld_current.c
140 libform-
$(CONFIG_LP_PDCURSES
) += form
/frm_post.c
141 #libform-$(CONFIG_LP_PDCURSES) += form/f_trace.c
142 libform-
$(CONFIG_LP_PDCURSES
) += form
/fty_generic.c
143 libform-
$(CONFIG_LP_PDCURSES
) += form
/fld_page.c
144 libform-
$(CONFIG_LP_PDCURSES
) += form
/frm_hook.c
145 libform-
$(CONFIG_LP_PDCURSES
) += form
/frm_scale.c
146 libform-
$(CONFIG_LP_PDCURSES
) += form
/fty_int.c
147 libform-
$(CONFIG_LP_PDCURSES
) += form
/fty_alnum.c
148 libform-
$(CONFIG_LP_PDCURSES
) += form
/frm_cursor.c
149 #libform-$(CONFIG_LP_PDCURSES) += form/fty_ipv4.c
150 libform-
$(CONFIG_LP_PDCURSES
) += form
/fld_link.c
151 libform-
$(CONFIG_LP_PDCURSES
) += form
/fld_arg.c
152 libform-
$(CONFIG_LP_PDCURSES
) += form
/fld_move.c
153 libform-
$(CONFIG_LP_PDCURSES
) += form
/fld_def.c
154 libform-
$(CONFIG_LP_PDCURSES
) += form
/fld_type.c
155 libform-
$(CONFIG_LP_PDCURSES
) += form
/fld_max.c
156 libform-
$(CONFIG_LP_PDCURSES
) += form
/fld_ftlink.c
157 libform-
$(CONFIG_LP_PDCURSES
) += form
/fld_ftchoice.c
158 libform-
$(CONFIG_LP_PDCURSES
) += form
/fld_info.c
159 libform-
$(CONFIG_LP_PDCURSES
) += form
/frm_user.c
160 #libform-$(CONFIG_LP_PDCURSES) += form/fty_num.c
161 libform-
$(CONFIG_LP_PDCURSES
) += form
/frm_sub.c
162 libform-
$(CONFIG_LP_PDCURSES
) += form
/fty_enum.c
163 libform-
$(CONFIG_LP_PDCURSES
) += form
/frm_data.c
164 libform-
$(CONFIG_LP_PDCURSES
) += form
/fld_opts.c
165 libform-
$(CONFIG_LP_PDCURSES
) += form
/fld_attr.c
166 libform-
$(CONFIG_LP_PDCURSES
) += form
/fld_dup.c
167 libform-
$(CONFIG_LP_PDCURSES
) += form
/fld_just.c