# $OpenBSD: Makefile,v 1.11 2016/03/30 06:38:42 jmc Exp $ LIB= panel SRCS= 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 HDRS= panel.h MAN= panel.3 CFLAGS+= -I${.CURDIR}/../libcurses includes: @cd ${.CURDIR}; for i in ${HDRS}; do \ cmp -s $$i ${DESTDIR}/usr/include/$$i || \ ${INSTALL} ${INSTALL_COPY} -m 444 -o $(BINOWN) -g $(BINGRP) $$i \ ${DESTDIR}/usr/include; done .include afterinstall: -cd ${DESTDIR}${LIBDIR}; \ for i in ${_LIBS}; do \ ln -f $$i `echo $$i | sed 's/panel/panelw/'`; \ done .if (${DEBUGLIBS:L} == "yes") -cd ${DESTDIR}${LIBDIR}/debug; \ ln -f lib${LIB}.a lib`echo ${LIB} | sed 's/panel/panelw/'`.a .endif .include