Home | History | Annotate | Line # | Download | only in resize
Makefile revision 1.2
      1  1.2  christos #	$NetBSD: Makefile,v 1.2 2021/02/27 15:36:39 christos Exp $
      2  1.2  christos 
      3  1.2  christos .include <bsd.own.mk>
      4  1.1   reinoud 
      5  1.1   reinoud WARNS=	3
      6  1.1   reinoud PROG=	resize
      7  1.2  christos SRCS=	resize.c
      8  1.2  christos 
      9  1.2  christos CPPFLAGS+=-DRESIZE_ONLY
     10  1.2  christos DPADD+=	${LIBUTIL}
     11  1.2  christos LDADD+= -lutil
     12  1.1   reinoud 
     13  1.1   reinoud .include <bsd.prog.mk>
     14  1.2  christos 
     15  1.2  christos XTERM=${X11SRCDIR}/external/mit/xterm/dist
     16  1.2  christos 
     17  1.2  christos .for i in resize.c resize.man
     18  1.2  christos copy:: ${.CURDIR}/${i}
     19  1.2  christos ${.CURDIR}/${i}: ${XTERM}/${i}
     20  1.2  christos 	cp -p ${.ALLSRC} ${.TARGET}
     21  1.2  christos .endfor
     22  1.2  christos 
     23  1.2  christos CLEANFILES+=resize.1
     24  1.2  christos 
     25  1.2  christos resize.1: resize.man
     26  1.2  christos 	@rm -f ${.TARGET}
     27  1.2  christos 	${TOOL_SED} \
     28  1.2  christos 	    -e "s@__app_date__@1970-01-01@" \
     29  1.2  christos 	    -e "s@__app_version__@NetBSD@" \
     30  1.2  christos 	    -e "s@__default_termname__@vt100@" \
     31  1.2  christos 	    -e "s@__mansuffix__@1@" \
     32  1.2  christos 	    -e "s@__miscmansuffix__@7@" \
     33  1.2  christos 	    < ${.ALLSRC} > ${.TARGET}
     34