Explicitly specify `all' as the default target(as it used to be), so as
[dragonfly.git] / lib / libncurses / libpanel / Makefile
1 # $DragonFly: src/lib/libncurses/libpanel/Makefile,v 1.3 2005/03/14 15:15:14 joerg 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         ${NCURSESDIR}/include/MKncurses_def.sh ${NCURSESDIR}/include/ncurses_defs > ${.TARGET}
17 curses.h:
18         cat ${.CURDIR}/../include/curses.head >$@
19         ${NCURSESDIR}/include/MKkey_defs.sh $(TERMINFO_CAPS) >>$@
20         cat ${NCURSESDIR}/include/curses.tail >>$@
21
22 CLEANFILES=     curses.h ncurses_def.h
23 SRCS=   \
24         ncurses_def.h \
25         curses.h
26
27 SRCS+=  \
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
44 INCS=   panel.h
45
46 .include <bsd.lib.mk>
47