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