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