1 # Makefile for libpanel
4 NCURSES=${.CURDIR}/../../contrib/ncurses
6 .PATH: ${NCURSES}/panel ${NCURSES}/include
13 p_above.c p_below.c p_bottom.c p_delete.c p_hidden.c \
14 p_hide.c p_move.c p_new.c p_replace.c p_show.c p_top.c \
15 p_update.c p_user.c p_win.c panel.c
16 INCS= ${NCURSES}/panel/panel.h
18 CLEANFILES+= ncurses_def.h
19 CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/panel -I${NCURSES}/include \
20 -Wall -DNDEBUG -DHAVE_CONFIG_H
22 ncurses_def.h: MKncurses_def.sh ncurses_defs
23 AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
24 ${NCURSES}/include/ncurses_defs > ncurses_def.h
31 ln -s ${.ALLSRC} ${.TARGET}
33 MLINKS+=panel.3 bottom_panel.3 panel.3 del_panel.3 panel.3 hide_panel.3 \
34 panel.3 move_panel.3 panel.3 new_panel.3 panel.3 panel_above.3 \
35 panel.3 panel_below.3 panel.3 panel_hidden.3 \
36 panel.3 panel_userptr.3 panel.3 panel_window.3 \
37 panel.3 replace_panel.3 panel.3 set_panel_userptr.3 \
38 panel.3 show_panel.3 panel.3 top_panel.3 panel.3 update_panels.3