2011-06-23 16:48:59 -06:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2011/06/23 22:48:59 naddy Exp $
|
2007-04-09 13:11:43 -06:00
|
|
|
|
|
|
|
PROG= resize
|
|
|
|
MAN= resize.1
|
|
|
|
|
|
|
|
VPATH= ${.CURDIR}/..
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${.CURDIR}/.. -I${X11BASE}/include \
|
|
|
|
-I${X11BASE}/include/freetype2 \
|
|
|
|
-DHAVE_CONFIG_H -DCSRG_BASED \
|
|
|
|
-DFUNCPROTO=15 -DNARROWPROTO -DXFREE86_FT2 -DUTMP
|
|
|
|
|
|
|
|
X11BASE?= /usr/X11R6
|
2011-06-23 16:48:59 -06:00
|
|
|
MANDIR= ${X11BASE}/man/man
|
2007-04-09 13:11:43 -06:00
|
|
|
|
|
|
|
SRCS= resize.c xstrings.c
|
|
|
|
|
|
|
|
resize.1: resize.man
|
|
|
|
sed -e 's#__vendorversion__#"X Window System"#g' \
|
2008-01-13 10:22:58 -07:00
|
|
|
-e 's#__mansuffix__#1#g' \
|
2008-03-22 06:40:02 -06:00
|
|
|
-e 's#__miscmansuffix__#7#g' \
|
2008-01-13 10:22:58 -07:00
|
|
|
-e 's#__apploaddir__#${X11ETC}/app-defaults#g' \
|
|
|
|
< ${.CURDIR}/../resize.man > $@
|
2007-04-09 13:11:43 -06:00
|
|
|
|
|
|
|
CLEANFILES+= resize.1
|
|
|
|
|
|
|
|
obj: _xenocara_obj
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.include <bsd.xorg.mk>
|