156072d6bSPeter Wemm# $FreeBSD$ 256072d6bSPeter Wemm 3*5bde33dbSEnji Cooper.include "${.CURDIR:H}/config.mk" 456072d6bSPeter Wemm 5f737c0d5SRong-En FanSRCDIR= ${NCURSES_DIR}/menu 656072d6bSPeter Wemm 731b4134fSRong-En FanLIB= menu${LIB_SUFFIX} 856072d6bSPeter Wemm 9f737c0d5SRong-En Fan.PATH: ${SRCDIR} 10f737c0d5SRong-En FanSRCS= \ 11f737c0d5SRong-En Fan ncurses_def.h \ 12f737c0d5SRong-En Fan m_attribs.c \ 13f737c0d5SRong-En Fan m_cursor.c \ 14f737c0d5SRong-En Fan m_driver.c \ 15f737c0d5SRong-En Fan m_format.c \ 16f737c0d5SRong-En Fan m_global.c \ 17f737c0d5SRong-En Fan m_hook.c \ 18f737c0d5SRong-En Fan m_item_cur.c \ 19f737c0d5SRong-En Fan m_item_nam.c \ 20f737c0d5SRong-En Fan m_item_new.c \ 21f737c0d5SRong-En Fan m_item_opt.c \ 22f737c0d5SRong-En Fan m_item_top.c \ 23f737c0d5SRong-En Fan m_item_use.c \ 24f737c0d5SRong-En Fan m_item_val.c \ 25f737c0d5SRong-En Fan m_item_vis.c \ 26f737c0d5SRong-En Fan m_items.c \ 27f737c0d5SRong-En Fan m_new.c \ 28f737c0d5SRong-En Fan m_opts.c \ 29f737c0d5SRong-En Fan m_pad.c \ 30f737c0d5SRong-En Fan m_pattern.c \ 31f737c0d5SRong-En Fan m_post.c \ 32f737c0d5SRong-En Fan m_req_name.c \ 33f737c0d5SRong-En Fan m_scale.c \ 34f737c0d5SRong-En Fan m_spacing.c \ 35f737c0d5SRong-En Fan m_sub.c \ 36f737c0d5SRong-En Fan m_userptr.c \ 37f737c0d5SRong-En Fan m_win.c 38f737c0d5SRong-En Fan 39557158deSRong-En FanCLEANFILES= ncurses_def.h 40557158deSRong-En Fan 41f737c0d5SRong-En FanCFLAGS+= -I${SRCDIR} 42f737c0d5SRong-En Fan 436b129086SBaptiste DaroussinLIBADD+= ncurses${LIB_SUFFIX} 4456072d6bSPeter Wemm 454409495bSRong-En Fan.if defined(ENABLE_WIDEC) 46557158deSRong-En FanINCS= menu.h eti.h 4756072d6bSPeter Wemm 48f737c0d5SRong-En Fan.PATH: ${NCURSES_DIR}/man 49557158deSRong-En FanMAN= \ 50557158deSRong-En Fan menu.3 \ 51557158deSRong-En Fan menu_attributes.3 \ 52557158deSRong-En Fan menu_cursor.3 \ 53557158deSRong-En Fan menu_driver.3 \ 54557158deSRong-En Fan menu_format.3 \ 55557158deSRong-En Fan menu_hook.3 \ 56557158deSRong-En Fan menu_items.3 \ 57557158deSRong-En Fan menu_mark.3 \ 58557158deSRong-En Fan menu_new.3 \ 59557158deSRong-En Fan menu_opts.3 \ 60557158deSRong-En Fan menu_pattern.3 \ 61557158deSRong-En Fan menu_post.3 \ 62557158deSRong-En Fan menu_requestname.3 \ 63557158deSRong-En Fan menu_spacing.3 \ 64557158deSRong-En Fan menu_userptr.3 \ 65557158deSRong-En Fan menu_win.3 \ 66557158deSRong-En Fan mitem_current.3 \ 67557158deSRong-En Fan mitem_name.3 \ 68557158deSRong-En Fan mitem_new.3 \ 69557158deSRong-En Fan mitem_opts.3 \ 70557158deSRong-En Fan mitem_userptr.3 \ 71557158deSRong-En Fan mitem_value.3 \ 72557158deSRong-En Fan mitem_visible.3 7314eadf47SThomas Gellekum 74557158deSRong-En FanCLEANFILES+= ${MAN:M*.3} 7514eadf47SThomas Gellekum 76f737c0d5SRong-En FanMLINKS= menu_attributes.3 menu_back.3 \ 77f737c0d5SRong-En Fan menu_attributes.3 menu_fore.3 \ 78f737c0d5SRong-En Fan menu_attributes.3 menu_grey.3 \ 79f737c0d5SRong-En Fan menu_attributes.3 menu_pad.3 \ 80f737c0d5SRong-En Fan menu_attributes.3 set_menu_back.3 \ 81f737c0d5SRong-En Fan menu_attributes.3 set_menu_fore.3 \ 82f737c0d5SRong-En Fan menu_attributes.3 set_menu_grey.3 \ 83f737c0d5SRong-En Fan menu_attributes.3 set_menu_pad.3 \ 84f737c0d5SRong-En Fan menu_cursor.3 pos_menu_cursor.3 \ 85f737c0d5SRong-En Fan menu_format.3 set_menu_format.3 \ 86f737c0d5SRong-En Fan menu_hook.3 item_init.3 \ 87f737c0d5SRong-En Fan menu_hook.3 item_term.3 \ 88f737c0d5SRong-En Fan menu_hook.3 menu_init.3 \ 89f737c0d5SRong-En Fan menu_hook.3 menu_term.3 \ 90f737c0d5SRong-En Fan menu_hook.3 set_item_init.3 \ 91f737c0d5SRong-En Fan menu_hook.3 set_item_term.3 \ 92f737c0d5SRong-En Fan menu_hook.3 set_menu_init.3 \ 93f737c0d5SRong-En Fan menu_hook.3 set_menu_term.3 \ 94f737c0d5SRong-En Fan menu_items.3 item_count.3 \ 95f737c0d5SRong-En Fan menu_items.3 set_menu_items.3 \ 96f737c0d5SRong-En Fan menu_mark.3 set_menu_mark.3 \ 97f737c0d5SRong-En Fan menu_new.3 free_menu.3 \ 98f737c0d5SRong-En Fan menu_new.3 new_menu.3 \ 99f737c0d5SRong-En Fan menu_opts.3 menu_opts_off.3 \ 100f737c0d5SRong-En Fan menu_opts.3 menu_opts_on.3 \ 101f737c0d5SRong-En Fan menu_opts.3 set_menu_opts.3 \ 102f737c0d5SRong-En Fan menu_pattern.3 set_menu_pattern.3 \ 103f737c0d5SRong-En Fan menu_post.3 post_menu.3 \ 104f737c0d5SRong-En Fan menu_post.3 unpost_menu.3 \ 105f737c0d5SRong-En Fan menu_requestname.3 menu_request_by_name.3 \ 106f737c0d5SRong-En Fan menu_requestname.3 menu_request_name.3 \ 107f737c0d5SRong-En Fan menu_spacing.3 set_menu_spacing.3 \ 108f737c0d5SRong-En Fan menu_userptr.3 set_menu_userptr.3 \ 109f737c0d5SRong-En Fan menu_win.3 menu_sub.3 \ 110f737c0d5SRong-En Fan menu_win.3 scale_menu.3 \ 111f737c0d5SRong-En Fan menu_win.3 set_menu_sub.3 \ 112f737c0d5SRong-En Fan menu_win.3 set_menu_win.3 \ 113f737c0d5SRong-En Fan mitem_current.3 current_item.3 \ 114f737c0d5SRong-En Fan mitem_current.3 item_index.3 \ 115f737c0d5SRong-En Fan mitem_current.3 set_current_item.3 \ 116f737c0d5SRong-En Fan mitem_current.3 set_top_row.3 \ 117f737c0d5SRong-En Fan mitem_current.3 top_row.3 \ 118f737c0d5SRong-En Fan mitem_name.3 item_description.3 \ 119f737c0d5SRong-En Fan mitem_name.3 item_name.3 \ 120f737c0d5SRong-En Fan mitem_new.3 free_item.3 \ 121f737c0d5SRong-En Fan mitem_new.3 new_item.3 \ 122f737c0d5SRong-En Fan mitem_opts.3 item_opts.3 \ 123f737c0d5SRong-En Fan mitem_opts.3 item_opts_off.3 \ 124f737c0d5SRong-En Fan mitem_opts.3 item_opts_on.3 \ 125f737c0d5SRong-En Fan mitem_opts.3 set_item_opts.3 \ 126f737c0d5SRong-En Fan mitem_userptr.3 item_userptr.3 \ 127f737c0d5SRong-En Fan mitem_userptr.3 set_item_userptr.3 \ 128f737c0d5SRong-En Fan mitem_value.3 item_value.3 \ 129f737c0d5SRong-En Fan mitem_value.3 set_item_value.3 \ 130f737c0d5SRong-En Fan mitem_visible.3 item_visible.3 131935f512cSBrooks Davis.else 1323bdf7758SWarner LoshMAN= 133935f512cSBrooks Davis.endif 13414eadf47SThomas Gellekum 13556072d6bSPeter Wemm.include <bsd.lib.mk> 136557158deSRong-En Fan 137557158deSRong-En Fan# Keep the .SUFFIXES line after the include of bsd.lib.mk 138557158deSRong-En Fan.SUFFIXES: .3 .3x 139557158deSRong-En Fan.3x.3: 140557158deSRong-En Fan cat ${.IMPSRC} > ${.TARGET} 141