1# $DragonFly: src/lib/libncurses/libpanel/Makefile,v 1.3 2005/03/14 15:15:14 joerg Exp $ 2 3LIB= panel 4 5.include "../Makefile.inc" 6 7NCURSESPANELDIR=${NCURSESDIR}/panel ${.OBJDIR} 8 9.PATH: ${NCURSESPANELDIR} 10 11CFLAGS+= -I${NCURSESDIR}/menu -I${NCURSESDIR}/ncurses 12 13TERMINFO_CAPS= ${NCURSESDIR}/include/Caps 14 15ncurses_def.h: 16 ${NCURSESDIR}/include/MKncurses_def.sh ${NCURSESDIR}/include/ncurses_defs > ${.TARGET} 17curses.h: 18 cat ${.CURDIR}/../include/curses.head >$@ 19 ${NCURSESDIR}/include/MKkey_defs.sh $(TERMINFO_CAPS) >>$@ 20 cat ${NCURSESDIR}/include/curses.tail >>$@ 21 22CLEANFILES= curses.h ncurses_def.h 23SRCS= \ 24 ncurses_def.h \ 25 curses.h 26 27SRCS+= \ 28 panel.c \ 29 p_above.c \ 30 p_below.c \ 31 p_bottom.c \ 32 p_delete.c \ 33 p_hide.c \ 34 p_hidden.c \ 35 p_move.c \ 36 p_new.c \ 37 p_replace.c \ 38 p_show.c \ 39 p_top.c \ 40 p_update.c \ 41 p_user.c \ 42 p_win.c 43 44INCS= panel.h 45 46.include <bsd.lib.mk> 47 48