1 # Makefile for libpanel
2 # $FreeBSD: src/lib/libpanel/Makefile,v 1.2.2.5 2002/07/24 12:38:44 ru Exp $
3 # $DragonFly: src/lib/libpanel/Attic/Makefile,v 1.2 2003/06/17 04:26:51 dillon Exp $
5 NCURSES=${.CURDIR}/../../contrib/ncurses
7 .PATH: ${NCURSES}/panel ${NCURSES}/include
14 p_above.c p_below.c p_bottom.c p_delete.c p_hidden.c \
15 p_hide.c p_move.c p_new.c p_replace.c p_show.c p_top.c \
16 p_update.c p_user.c p_win.c panel.c
17 INCS= ${NCURSES}/panel/panel.h
19 CLEANFILES+= ncurses_def.h
20 CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/panel -I${NCURSES}/include \
21 -Wall -DNDEBUG -DHAVE_CONFIG_H
23 ncurses_def.h: MKncurses_def.sh ncurses_defs
24 AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
25 ${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