1 .include <bsd.xconf.mk>
9 #MAN=spectrwm_pt.1 spectrwm_ru.1 spectrwm_es.1 spectrwm_it.1
12 CFLAGS+=-std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g
13 # Uncomment define below to disallow user settable clock format string
14 #CFLAGS+=-DSWM_DENY_CLOCK_FORMAT
15 CPPFLAGS+= -I${X11BASE}/include -I${X11BASE}/include/freetype2
16 LDADD+=-lutil -L${X11BASE}/lib -lX11 -lX11-xcb -lxcb-aux -lxcb-icccm -lxcb-keysyms -lxcb-randr -lxcb-xtest -lXft -lXcursor
17 BUILDVERSION != sh "${.CURDIR}/buildver.sh"
18 .if !${BUILDVERSION} == ""
19 CPPFLAGS+= -DSPECTRWM_BUILDSTR=\"$(BUILDVERSION)\"
22 MANDIR= ${PREFIX}/man/man
24 #spectrwm_ru.cat1: spectrwm_ru.1
25 # nroff -mandoc ${.CURDIR}/spectrwm_ru.1 > ${.TARGET}
30 ln -sf ${PROG} ${BINDIR}/scrotwm
33 .if ${.TARGETS:M*analyze*}
42 .include <bsd.prog.mk>
43 .include <bsd.xorg.mk>