1## 2## 3## Copyright (C) 2008 Advanced Micro Devices, Inc. 4## 5## Redistribution and use in source and binary forms, with or without 6## modification, are permitted provided that the following conditions 7## are met: 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. 15## 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 26## SUCH DAMAGE. 27## 28 29ifeq ($(CONFIG_LP_TINYCURSES),y) 30INCLUDES += -Icurses 31endif 32 33libcurses-$(CONFIG_LP_TINYCURSES) += keyboard.c 34libcurses-$(CONFIG_LP_TINYCURSES) += tinycurses.c 35libcurses-$(CONFIG_LP_TINYCURSES) += colors.c 36 37includes-$(CONFIG_LP_TINYCURSES) += curses.h 38 39ifeq ($(CONFIG_LP_PDCURSES),y) 40PDCURSES := PDCurses 41INCLUDES += -D_LP64=0 -Icurses/$(PDCURSES) -Icurses/pdcurses-backend -Icurses/menu -Icurses/form 42endif 43 44libcurses-$(CONFIG_LP_PDCURSES) += pdcurses-backend/pdcdisp.c 45libcurses-$(CONFIG_LP_PDCURSES) += pdcurses-backend/pdcgetsc.c 46libcurses-$(CONFIG_LP_PDCURSES) += pdcurses-backend/pdckbd.c 47libcurses-$(CONFIG_LP_PDCURSES) += pdcurses-backend/pdcscrn.c 48libcurses-$(CONFIG_LP_PDCURSES) += pdcurses-backend/pdcsetsc.c 49libcurses-$(CONFIG_LP_PDCURSES) += pdcurses-backend/pdcutil.c 50libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/addch.c 51libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/move.c 52libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/overlay.c 53libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/refresh.c 54libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/terminfo.c 55libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/window.c 56libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/util.c 57libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/inopts.c 58libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/addstr.c 59libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/keyname.c 60libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/instr.c 61libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/clear.c 62libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/addchstr.c 63libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/kernel.c 64libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/pad.c 65libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/insstr.c 66libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/border.c 67libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/getyx.c 68libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/getstr.c 69libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/getch.c 70libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/termattr.c 71libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/outopts.c 72libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/color.c 73libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/deleteln.c 74libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/initscr.c 75libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/slk.c 76libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/delch.c 77libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/touch.c 78libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/mouse.c 79libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/scanw.c 80libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/scroll.c 81libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/printw.c 82libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/bkgd.c 83libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/inch.c 84libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/attr.c 85libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/insch.c 86libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/inchstr.c 87libcurses-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/beep.c 88 89includes-$(CONFIG_LP_PDCURSES) += pdcurses-backend/nc_alloc.h 90includes-$(CONFIG_LP_PDCURSES) += pdcurses-backend/ncurses_cfg.h 91includes-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/curses.h 92includes-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/term.h 93includes-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/panel.h 94includes-$(CONFIG_LP_PDCURSES) += menu/eti.h 95includes-$(CONFIG_LP_PDCURSES) += menu/menu.h 96includes-$(CONFIG_LP_PDCURSES) += menu/mf_common.h 97includes-$(CONFIG_LP_PDCURSES) += form/form.h 98 99libpanel-$(CONFIG_LP_PDCURSES) += $(PDCURSES)/pdcurses/panel.c 100 101libmenu-$(CONFIG_LP_PDCURSES) += menu/m_req_name.c 102libmenu-$(CONFIG_LP_PDCURSES) += menu/m_item_nam.c 103libmenu-$(CONFIG_LP_PDCURSES) += menu/m_pad.c 104libmenu-$(CONFIG_LP_PDCURSES) += menu/m_cursor.c 105libmenu-$(CONFIG_LP_PDCURSES) += menu/m_item_new.c 106libmenu-$(CONFIG_LP_PDCURSES) += menu/m_attribs.c 107libmenu-$(CONFIG_LP_PDCURSES) += menu/m_item_opt.c 108libmenu-$(CONFIG_LP_PDCURSES) += menu/m_format.c 109libmenu-$(CONFIG_LP_PDCURSES) += menu/m_post.c 110libmenu-$(CONFIG_LP_PDCURSES) += menu/m_userptr.c 111libmenu-$(CONFIG_LP_PDCURSES) += menu/m_item_cur.c 112libmenu-$(CONFIG_LP_PDCURSES) += menu/m_driver.c 113libmenu-$(CONFIG_LP_PDCURSES) += menu/m_sub.c 114libmenu-$(CONFIG_LP_PDCURSES) += menu/m_win.c 115libmenu-$(CONFIG_LP_PDCURSES) += menu/m_global.c 116libmenu-$(CONFIG_LP_PDCURSES) += menu/m_item_vis.c 117libmenu-$(CONFIG_LP_PDCURSES) += menu/m_new.c 118libmenu-$(CONFIG_LP_PDCURSES) += menu/m_scale.c 119libmenu-$(CONFIG_LP_PDCURSES) += menu/m_spacing.c 120libmenu-$(CONFIG_LP_PDCURSES) += menu/m_opts.c 121libmenu-$(CONFIG_LP_PDCURSES) += menu/m_pattern.c 122libmenu-$(CONFIG_LP_PDCURSES) += menu/m_item_val.c 123libmenu-$(CONFIG_LP_PDCURSES) += menu/m_hook.c 124libmenu-$(CONFIG_LP_PDCURSES) += menu/m_item_use.c 125libmenu-$(CONFIG_LP_PDCURSES) += menu/m_items.c 126libmenu-$(CONFIG_LP_PDCURSES) += menu/m_item_top.c 127libform-$(CONFIG_LP_PDCURSES) += form/frm_page.c 128libform-$(CONFIG_LP_PDCURSES) += form/frm_opts.c 129libform-$(CONFIG_LP_PDCURSES) += form/frm_def.c 130libform-$(CONFIG_LP_PDCURSES) += form/frm_req_name.c 131libform-$(CONFIG_LP_PDCURSES) += form/fty_alpha.c 132libform-$(CONFIG_LP_PDCURSES) += form/frm_driver.c 133libform-$(CONFIG_LP_PDCURSES) += form/fld_user.c 134libform-$(CONFIG_LP_PDCURSES) += form/frm_win.c 135libform-$(CONFIG_LP_PDCURSES) += form/fld_newftyp.c 136#libform-$(CONFIG_LP_PDCURSES) += form/fty_regex.c 137libform-$(CONFIG_LP_PDCURSES) += form/fld_stat.c 138libform-$(CONFIG_LP_PDCURSES) += form/fld_pad.c 139libform-$(CONFIG_LP_PDCURSES) += form/fld_current.c 140libform-$(CONFIG_LP_PDCURSES) += form/frm_post.c 141#libform-$(CONFIG_LP_PDCURSES) += form/f_trace.c 142libform-$(CONFIG_LP_PDCURSES) += form/fty_generic.c 143libform-$(CONFIG_LP_PDCURSES) += form/fld_page.c 144libform-$(CONFIG_LP_PDCURSES) += form/frm_hook.c 145libform-$(CONFIG_LP_PDCURSES) += form/frm_scale.c 146libform-$(CONFIG_LP_PDCURSES) += form/fty_int.c 147libform-$(CONFIG_LP_PDCURSES) += form/fty_alnum.c 148libform-$(CONFIG_LP_PDCURSES) += form/frm_cursor.c 149#libform-$(CONFIG_LP_PDCURSES) += form/fty_ipv4.c 150libform-$(CONFIG_LP_PDCURSES) += form/fld_link.c 151libform-$(CONFIG_LP_PDCURSES) += form/fld_arg.c 152libform-$(CONFIG_LP_PDCURSES) += form/fld_move.c 153libform-$(CONFIG_LP_PDCURSES) += form/fld_def.c 154libform-$(CONFIG_LP_PDCURSES) += form/fld_type.c 155libform-$(CONFIG_LP_PDCURSES) += form/fld_max.c 156libform-$(CONFIG_LP_PDCURSES) += form/fld_ftlink.c 157libform-$(CONFIG_LP_PDCURSES) += form/fld_ftchoice.c 158libform-$(CONFIG_LP_PDCURSES) += form/fld_info.c 159libform-$(CONFIG_LP_PDCURSES) += form/frm_user.c 160#libform-$(CONFIG_LP_PDCURSES) += form/fty_num.c 161libform-$(CONFIG_LP_PDCURSES) += form/frm_sub.c 162libform-$(CONFIG_LP_PDCURSES) += form/fty_enum.c 163libform-$(CONFIG_LP_PDCURSES) += form/frm_data.c 164libform-$(CONFIG_LP_PDCURSES) += form/fld_opts.c 165libform-$(CONFIG_LP_PDCURSES) += form/fld_attr.c 166libform-$(CONFIG_LP_PDCURSES) += form/fld_dup.c 167libform-$(CONFIG_LP_PDCURSES) += form/fld_just.c 168