]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - lib/ncurses/panel/Makefile
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / lib / ncurses / panel / Makefile
1 # $FreeBSD$
2
3 .include "${.CURDIR}/../config.mk"
4
5 SRCDIR= ${NCURSES_DIR}/panel
6
7 LIB=    panel${LIB_SUFFIX}
8
9 .PATH: ${SRCDIR}
10 SRCS=   \
11         ncurses_def.h \
12         p_above.c \
13         p_below.c \
14         p_bottom.c \
15         p_delete.c \
16         p_hidden.c \
17         p_hide.c \
18         p_move.c \
19         p_new.c \
20         p_replace.c \
21         p_show.c \
22         p_top.c \
23         p_update.c \
24         p_user.c \
25         p_win.c \
26         panel.c
27
28 CLEANFILES=     ncurses_def.h
29
30 CFLAGS+=        -I${SRCDIR}
31
32 DPADD=  ${LIBNCURSES${LIB_SUFFIX:U}}
33 LDADD=  -lncurses${LIB_SUFFIX}
34
35 .if defined(ENABLE_WIDEC)
36 INCS=   panel.h
37 .endif
38
39 # generate MAN
40 .PATH: ${NCURSES_DIR}/man
41 MAN=    \
42         panel.3
43
44 CLEANFILES+=    ${MAN:M*.3}
45
46 MLINKS= panel.3 bottom_panel.3 \
47         panel.3 del_panel.3 \
48         panel.3 hide_panel.3 \
49         panel.3 move_panel.3 \
50         panel.3 new_panel.3 \
51         panel.3 panel_above.3 \
52         panel.3 panel_below.3 \
53         panel.3 panel_hidden.3 \
54         panel.3 panel_userptr.3 \
55         panel.3 panel_window.3 \
56         panel.3 replace_panel.3 \
57         panel.3 set_panel_userptr.3 \
58         panel.3 show_panel.3 \
59         panel.3 top_panel.3 \
60         panel.3 update_panels.3
61         
62 .include <bsd.lib.mk>
63
64 # Keep the .SUFFIXES line after the include of bsd.lib.mk
65 .SUFFIXES: .3 .3x
66 .3x.3:
67         cat ${.IMPSRC} > ${.TARGET}