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
|
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
|
|
|
|
CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/panel -I${NCURSES}/include \
|
1999-09-05 05:36:12 +00:00
|
|
|
-Wall -DNDEBUG -DHAVE_CONFIG_H
|
|
|
|
|
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
|
|
|
|
|
1999-09-05 05:36:12 +00:00
|
|
|
.include <bsd.lib.mk>
|