-# $scrotwm$
.include <bsd.xconf.mk>
PREFIX?=/usr/local
#CFLAGS+=-DSWM_DENY_CLOCK_FORMAT
CPPFLAGS+= -I${X11BASE}/include
LDADD+=-lutil -L${X11BASE}/lib -lX11 -lXrandr -lXtst
+BUILDVERSION != sh "${.CURDIR}/buildver.sh"
+.if !${BUILDVERSION} == ""
+CPPFLAGS+= -DSCROTWM_BUILDSTR=\"$(BUILDVERSION)\"
+.endif
MANDIR= ${PREFIX}/man/man