1821aa63aSBaptiste Daroussin.include <src.opts.mk> 25bde33dbSEnji Cooper.include "${.CURDIR:H}/config.mk" 356072d6bSPeter Wemm 4f737c0d5SRong-En FanSRCDIR= ${NCURSES_DIR}/menu 556072d6bSPeter Wemm 6821aa63aSBaptiste DaroussinLIB= menuw 7*0b7f1af8SJohn BaldwinSHLIB_MAJOR= 6 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 43821aa63aSBaptiste DaroussinLIBADD+= ncursesw 4456072d6bSPeter Wemm 45557158deSRong-En FanINCS= menu.h eti.h 4656072d6bSPeter Wemm 47f737c0d5SRong-En Fan.PATH: ${NCURSES_DIR}/man 48557158deSRong-En FanMAN= \ 49557158deSRong-En Fan menu.3 \ 50557158deSRong-En Fan menu_attributes.3 \ 51557158deSRong-En Fan menu_cursor.3 \ 52557158deSRong-En Fan menu_driver.3 \ 53557158deSRong-En Fan menu_format.3 \ 54557158deSRong-En Fan menu_hook.3 \ 55557158deSRong-En Fan menu_items.3 \ 56557158deSRong-En Fan menu_mark.3 \ 57557158deSRong-En Fan menu_new.3 \ 58557158deSRong-En Fan menu_opts.3 \ 59557158deSRong-En Fan menu_pattern.3 \ 60557158deSRong-En Fan menu_post.3 \ 61557158deSRong-En Fan menu_requestname.3 \ 62557158deSRong-En Fan menu_spacing.3 \ 63557158deSRong-En Fan menu_userptr.3 \ 64557158deSRong-En Fan menu_win.3 \ 65557158deSRong-En Fan mitem_current.3 \ 66557158deSRong-En Fan mitem_name.3 \ 67557158deSRong-En Fan mitem_new.3 \ 68557158deSRong-En Fan mitem_opts.3 \ 69557158deSRong-En Fan mitem_userptr.3 \ 70557158deSRong-En Fan mitem_value.3 \ 71557158deSRong-En Fan mitem_visible.3 7214eadf47SThomas Gellekum 73557158deSRong-En FanCLEANFILES+= ${MAN:M*.3} 7414eadf47SThomas Gellekum 75f737c0d5SRong-En FanMLINKS= menu_attributes.3 menu_back.3 \ 76f737c0d5SRong-En Fan menu_attributes.3 menu_fore.3 \ 77f737c0d5SRong-En Fan menu_attributes.3 menu_grey.3 \ 78f737c0d5SRong-En Fan menu_attributes.3 menu_pad.3 \ 79f737c0d5SRong-En Fan menu_attributes.3 set_menu_back.3 \ 80f737c0d5SRong-En Fan menu_attributes.3 set_menu_fore.3 \ 81f737c0d5SRong-En Fan menu_attributes.3 set_menu_grey.3 \ 82f737c0d5SRong-En Fan menu_attributes.3 set_menu_pad.3 \ 83f737c0d5SRong-En Fan menu_cursor.3 pos_menu_cursor.3 \ 84f737c0d5SRong-En Fan menu_format.3 set_menu_format.3 \ 85f737c0d5SRong-En Fan menu_hook.3 item_init.3 \ 86f737c0d5SRong-En Fan menu_hook.3 item_term.3 \ 87f737c0d5SRong-En Fan menu_hook.3 menu_init.3 \ 88f737c0d5SRong-En Fan menu_hook.3 menu_term.3 \ 89f737c0d5SRong-En Fan menu_hook.3 set_item_init.3 \ 90f737c0d5SRong-En Fan menu_hook.3 set_item_term.3 \ 91f737c0d5SRong-En Fan menu_hook.3 set_menu_init.3 \ 92f737c0d5SRong-En Fan menu_hook.3 set_menu_term.3 \ 93f737c0d5SRong-En Fan menu_items.3 item_count.3 \ 94f737c0d5SRong-En Fan menu_items.3 set_menu_items.3 \ 95f737c0d5SRong-En Fan menu_mark.3 set_menu_mark.3 \ 96f737c0d5SRong-En Fan menu_new.3 free_menu.3 \ 97f737c0d5SRong-En Fan menu_new.3 new_menu.3 \ 98f737c0d5SRong-En Fan menu_opts.3 menu_opts_off.3 \ 99f737c0d5SRong-En Fan menu_opts.3 menu_opts_on.3 \ 100f737c0d5SRong-En Fan menu_opts.3 set_menu_opts.3 \ 101f737c0d5SRong-En Fan menu_pattern.3 set_menu_pattern.3 \ 102f737c0d5SRong-En Fan menu_post.3 post_menu.3 \ 103f737c0d5SRong-En Fan menu_post.3 unpost_menu.3 \ 104f737c0d5SRong-En Fan menu_requestname.3 menu_request_by_name.3 \ 105f737c0d5SRong-En Fan menu_requestname.3 menu_request_name.3 \ 106f737c0d5SRong-En Fan menu_spacing.3 set_menu_spacing.3 \ 107f737c0d5SRong-En Fan menu_userptr.3 set_menu_userptr.3 \ 108f737c0d5SRong-En Fan menu_win.3 menu_sub.3 \ 109f737c0d5SRong-En Fan menu_win.3 scale_menu.3 \ 110f737c0d5SRong-En Fan menu_win.3 set_menu_sub.3 \ 111f737c0d5SRong-En Fan menu_win.3 set_menu_win.3 \ 112f737c0d5SRong-En Fan mitem_current.3 current_item.3 \ 113f737c0d5SRong-En Fan mitem_current.3 item_index.3 \ 114f737c0d5SRong-En Fan mitem_current.3 set_current_item.3 \ 115f737c0d5SRong-En Fan mitem_current.3 set_top_row.3 \ 116f737c0d5SRong-En Fan mitem_current.3 top_row.3 \ 117f737c0d5SRong-En Fan mitem_name.3 item_description.3 \ 118f737c0d5SRong-En Fan mitem_name.3 item_name.3 \ 119f737c0d5SRong-En Fan mitem_new.3 free_item.3 \ 120f737c0d5SRong-En Fan mitem_new.3 new_item.3 \ 121f737c0d5SRong-En Fan mitem_opts.3 item_opts.3 \ 122f737c0d5SRong-En Fan mitem_opts.3 item_opts_off.3 \ 123f737c0d5SRong-En Fan mitem_opts.3 item_opts_on.3 \ 124f737c0d5SRong-En Fan mitem_opts.3 set_item_opts.3 \ 125f737c0d5SRong-En Fan mitem_userptr.3 item_userptr.3 \ 126f737c0d5SRong-En Fan mitem_userptr.3 set_item_userptr.3 \ 127f737c0d5SRong-En Fan mitem_value.3 item_value.3 \ 128f737c0d5SRong-En Fan mitem_value.3 set_item_value.3 \ 129f737c0d5SRong-En Fan mitem_visible.3 item_visible.3 130821aa63aSBaptiste Daroussin 131821aa63aSBaptiste Daroussin# backward compat 132821aa63aSBaptiste Daroussin.if ${MK_INSTALLLIB} != "no" 133821aa63aSBaptiste DaroussinSYMLINKS+= libmenuw.a ${LIBDIR}/libmenu.a 134821aa63aSBaptiste Daroussin.endif 135821aa63aSBaptiste Daroussin.if !defined(NO_PIC) 136821aa63aSBaptiste DaroussinSYMLINKS+= libmenuw.so ${LIBDIR}/libmenu.so 137821aa63aSBaptiste Daroussin.endif 13814eadf47SThomas Gellekum 13956072d6bSPeter Wemm.include <bsd.lib.mk> 140557158deSRong-En Fan 141557158deSRong-En Fan# Keep the .SUFFIXES line after the include of bsd.lib.mk 142557158deSRong-En Fan.SUFFIXES: .3 .3x 143557158deSRong-En Fan.3x.3: 144557158deSRong-En Fan cat ${.IMPSRC} > ${.TARGET} 145