1999-09-05 05:36:12 +00:00
|
|
|
# Makefile for libpanel
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
NCURSES=${.CURDIR}/../../contrib/ncurses
|
|
|
|
|
2000-10-11 08:17:19 +00:00
|
|
|
.PATH: ${NCURSES}/panel ${NCURSES}/include
|
2000-12-05 12:38:23 +00:00
|
|
|
.PATH: ${NCURSES}/man
|
1999-09-05 05:36:12 +00:00
|
|
|
|
|
|
|
LIB= panel
|
2000-10-11 08:17:19 +00:00
|
|
|
AWK?= awk
|
1999-09-05 05:36:12 +00:00
|
|
|
|
2000-10-11 08:17:19 +00:00
|
|
|
SRCS= ncurses_def.h \
|
|
|
|
p_above.c p_below.c p_bottom.c p_delete.c p_hidden.c \
|
2000-05-24 09:01:23 +00:00
|
|
|
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
|
2000-01-14 07:57:47 +00:00
|
|
|
INCS= ${NCURSES}/panel/panel.h
|
1999-09-05 05:36:12 +00:00
|
|
|
|
2000-10-11 08:17:19 +00:00
|
|
|
CLEANFILES+= ncurses_def.h
|
2002-05-21 05:41:07 +00:00
|
|
|
CFLAGS+= -I.
|
|
|
|
.if exists(${.OBJDIR}/../libncurses)
|
|
|
|
CFLAGS+= -I${.OBJDIR}/../libncurses
|
|
|
|
.endif
|
|
|
|
CFLAGS+= -I${.CURDIR}/../libncurses
|
|
|
|
CFLAGS+= -I${NCURSES}/panel -I${NCURSES}/include -I${NCURSES}/ncurses \
|
|
|
|
-Wall -DNDEBUG -DHAVE_CONFIG_H
|
1999-09-05 05:36:12 +00:00
|
|
|
|
2000-10-11 08:17:19 +00:00
|
|
|
ncurses_def.h: MKncurses_def.sh ncurses_defs
|
|
|
|
AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
|
|
|
|
${NCURSES}/include/ncurses_defs > ncurses_def.h
|
|
|
|
|
2001-03-27 17:27:19 +00:00
|
|
|
# generate MAN
|
2000-12-05 12:38:23 +00:00
|
|
|
CLEANFILES+= panel.3
|
2001-03-27 17:27:19 +00:00
|
|
|
MAN= panel.3
|
2000-12-05 12:38:23 +00:00
|
|
|
panel.3: panel.3x
|
2003-06-06 13:46:55 +00:00
|
|
|
cat ${.ALLSRC} > ${.TARGET}
|
2000-12-05 12:38:23 +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
|
|
|
|
|
1999-09-05 05:36:12 +00:00
|
|
|
.include <bsd.lib.mk>
|
2000-12-05 12:38:23 +00:00
|
|
|
|
|
|
|
.SUFFIXES: .3x .3
|