1999-09-05 05:36:12 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2007-03-09 09:54:07 +00:00
|
|
|
.include "${.CURDIR}/../config.mk"
|
1999-09-05 05:36:12 +00:00
|
|
|
|
2007-03-09 09:54:07 +00:00
|
|
|
SRCDIR= ${NCURSES_DIR}/panel
|
1999-09-05 05:36:12 +00:00
|
|
|
|
2007-03-09 12:11:58 +00:00
|
|
|
LIB= panel${LIB_SUFFIX}
|
1999-09-05 05:36:12 +00:00
|
|
|
|
2007-03-09 09:54:07 +00:00
|
|
|
.PATH: ${SRCDIR}
|
|
|
|
SRCS= \
|
|
|
|
ncurses_def.h \
|
|
|
|
p_above.c \
|
|
|
|
p_below.c \
|
|
|
|
p_bottom.c \
|
|
|
|
p_delete.c \
|
|
|
|
p_hidden.c \
|
|
|
|
p_hide.c \
|
|
|
|
p_move.c \
|
|
|
|
p_new.c \
|
|
|
|
p_replace.c \
|
|
|
|
p_show.c \
|
|
|
|
p_top.c \
|
|
|
|
p_update.c \
|
|
|
|
p_user.c \
|
|
|
|
p_win.c \
|
|
|
|
panel.c
|
|
|
|
|
|
|
|
CLEANFILES= ncurses_def.h
|
2007-01-20 07:46:45 +00:00
|
|
|
|
|
|
|
CFLAGS+= -I${SRCDIR}
|
|
|
|
|
2007-03-09 12:11:58 +00:00
|
|
|
DPADD= ${LIBNCURSES${LIB_SUFFIX:U}}
|
|
|
|
LDADD= -lncurses${LIB_SUFFIX}
|
1999-09-05 05:36:12 +00:00
|
|
|
|
2007-05-25 02:27:46 +00:00
|
|
|
.if defined(ENABLE_WIDEC)
|
2007-03-09 09:54:07 +00:00
|
|
|
INCS= panel.h
|
2007-05-25 02:27:46 +00:00
|
|
|
.endif
|
2000-10-11 08:17:19 +00:00
|
|
|
|
2001-03-27 17:27:19 +00:00
|
|
|
# generate MAN
|
2007-03-09 09:54:07 +00:00
|
|
|
.PATH: ${NCURSES_DIR}/man
|
|
|
|
MAN= \
|
|
|
|
panel.3
|
2000-12-05 12:38:23 +00:00
|
|
|
|
2007-03-09 09:54:07 +00:00
|
|
|
CLEANFILES+= ${MAN:M*.3}
|
2000-12-05 12:38:23 +00:00
|
|
|
|
2007-03-09 09:54:07 +00:00
|
|
|
MLINKS= panel.3 bottom_panel.3 \
|
|
|
|
panel.3 del_panel.3 \
|
|
|
|
panel.3 hide_panel.3 \
|
|
|
|
panel.3 move_panel.3 \
|
|
|
|
panel.3 new_panel.3 \
|
|
|
|
panel.3 panel_above.3 \
|
|
|
|
panel.3 panel_below.3 \
|
|
|
|
panel.3 panel_hidden.3 \
|
|
|
|
panel.3 panel_userptr.3 \
|
|
|
|
panel.3 panel_window.3 \
|
|
|
|
panel.3 replace_panel.3 \
|
|
|
|
panel.3 set_panel_userptr.3 \
|
|
|
|
panel.3 show_panel.3 \
|
|
|
|
panel.3 top_panel.3 \
|
|
|
|
panel.3 update_panels.3
|
2007-01-20 07:46:45 +00:00
|
|
|
|
1999-09-05 05:36:12 +00:00
|
|
|
.include <bsd.lib.mk>
|
2007-03-09 09:54:07 +00:00
|
|
|
|
|
|
|
# Keep the .SUFFIXES line after the include of bsd.lib.mk
|
|
|
|
.SUFFIXES: .3 .3x
|
|
|
|
.3x.3:
|
|
|
|
cat ${.IMPSRC} > ${.TARGET}
|