3 .include "${.CURDIR:H}/config.mk"
5 SRCDIR= ${NCURSES_DIR}/menu
40 CLEANFILES= ncurses_def.h
48 .PATH: ${NCURSES_DIR}/man
74 CLEANFILES+= ${MAN:M*.3}
76 MLINKS= menu_attributes.3 menu_back.3 \
77 menu_attributes.3 menu_fore.3 \
78 menu_attributes.3 menu_grey.3 \
79 menu_attributes.3 menu_pad.3 \
80 menu_attributes.3 set_menu_back.3 \
81 menu_attributes.3 set_menu_fore.3 \
82 menu_attributes.3 set_menu_grey.3 \
83 menu_attributes.3 set_menu_pad.3 \
84 menu_cursor.3 pos_menu_cursor.3 \
85 menu_format.3 set_menu_format.3 \
86 menu_hook.3 item_init.3 \
87 menu_hook.3 item_term.3 \
88 menu_hook.3 menu_init.3 \
89 menu_hook.3 menu_term.3 \
90 menu_hook.3 set_item_init.3 \
91 menu_hook.3 set_item_term.3 \
92 menu_hook.3 set_menu_init.3 \
93 menu_hook.3 set_menu_term.3 \
94 menu_items.3 item_count.3 \
95 menu_items.3 set_menu_items.3 \
96 menu_mark.3 set_menu_mark.3 \
97 menu_new.3 free_menu.3 \
98 menu_new.3 new_menu.3 \
99 menu_opts.3 menu_opts_off.3 \
100 menu_opts.3 menu_opts_on.3 \
101 menu_opts.3 set_menu_opts.3 \
102 menu_pattern.3 set_menu_pattern.3 \
103 menu_post.3 post_menu.3 \
104 menu_post.3 unpost_menu.3 \
105 menu_requestname.3 menu_request_by_name.3 \
106 menu_requestname.3 menu_request_name.3 \
107 menu_spacing.3 set_menu_spacing.3 \
108 menu_userptr.3 set_menu_userptr.3 \
109 menu_win.3 menu_sub.3 \
110 menu_win.3 scale_menu.3 \
111 menu_win.3 set_menu_sub.3 \
112 menu_win.3 set_menu_win.3 \
113 mitem_current.3 current_item.3 \
114 mitem_current.3 item_index.3 \
115 mitem_current.3 set_current_item.3 \
116 mitem_current.3 set_top_row.3 \
117 mitem_current.3 top_row.3 \
118 mitem_name.3 item_description.3 \
119 mitem_name.3 item_name.3 \
120 mitem_new.3 free_item.3 \
121 mitem_new.3 new_item.3 \
122 mitem_opts.3 item_opts.3 \
123 mitem_opts.3 item_opts_off.3 \
124 mitem_opts.3 item_opts_on.3 \
125 mitem_opts.3 set_item_opts.3 \
126 mitem_userptr.3 item_userptr.3 \
127 mitem_userptr.3 set_item_userptr.3 \
128 mitem_value.3 item_value.3 \
129 mitem_value.3 set_item_value.3 \
130 mitem_visible.3 item_visible.3
133 .if ${MK_INSTALLLIB} != "no"
134 SYMLINKS+= libmenuw.a ${LIBDIR}/libmenu.a
137 SYMLINKS+= libmenuw.so ${LIBDIR}/libmenu.so
139 .if ${MK_PROFILE} != "no"
140 SYMLINKS+= libmenuw_p.a ${LIBDIR}/libmenu_p.a
143 .include <bsd.lib.mk>
145 # Keep the .SUFFIXES line after the include of bsd.lib.mk
148 cat ${.IMPSRC} > ${.TARGET}