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