1# Makefile for libpanel 2# $FreeBSD$ 3 4NCURSES=${.CURDIR}/../../contrib/ncurses 5 6.PATH: ${NCURSES}/panel ${NCURSES}/include 7 8LIB= panel 9AWK?= awk 10 11SRCS= ncurses_def.h \ 12 p_above.c p_below.c p_bottom.c p_delete.c p_hidden.c \ 13 p_hide.c p_move.c p_new.c p_replace.c p_show.c p_top.c \ 14 p_update.c p_user.c p_win.c panel.c 15INCS= ${NCURSES}/panel/panel.h 16 17CLEANFILES+= ncurses_def.h 18CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/panel -I${NCURSES}/include \ 19 -Wall -DNDEBUG -DHAVE_CONFIG_H 20 21ncurses_def.h: MKncurses_def.sh ncurses_defs 22 AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \ 23 ${NCURSES}/include/ncurses_defs > ncurses_def.h 24 25.include <bsd.lib.mk> 26