JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
When responding to a ConfigureRequest event without reconfiguring the window,
[spectrwm.git] / Makefile
1 .include <bsd.xconf.mk>
2
3 PREFIX?=/usr/local
4
5 BINDIR=${PREFIX}/bin
6 SUBDIR= lib
7
8 PROG=scrotwm
9 #MAN=scrotwm_pt.1 scrotwm_ru.1
10 MAN=scrotwm.1 scrotwm_es.1 scrotwm_it.1
11
12 CFLAGS+=-std=c89 -Wall -Wno-uninitialized -ggdb3
13 # Uncomment define below to disallow user settable clock format string
14 #CFLAGS+=-DSWM_DENY_CLOCK_FORMAT
15 CPPFLAGS+= -I${X11BASE}/include
16 LDADD+=-lutil -L${X11BASE}/lib -lX11 -lXrandr -lXtst
17 BUILDVERSION != sh "${.CURDIR}/buildver.sh"
18 .if !${BUILDVERSION} == ""
19 CPPFLAGS+= -DSCROTWM_BUILDSTR=\"$(BUILDVERSION)\"
20 .endif
21
22 MANDIR= ${PREFIX}/man/man
23
24 #scrotwm_ru.cat1: scrotwm_ru.1
25 #        nroff -mandoc ${.CURDIR}/scrotwm_ru.1 > ${.TARGET}
26
27 obj: _xenocara_obj
28
29 # clang targets
30 .if ${.TARGETS:M*analyze*}
31 CC=clang
32 CXX=clang++
33 CPP=clang -E
34 CFLAGS+=--analyze
35 .elif ${.TARGETS:M*clang*}
36 CC=clang
37 CXX=clang++
38 CPP=clang -E
39 .endif
40
41 analyze: all
42 clang: all
43 .include <bsd.prog.mk>
44 .include <bsd.xorg.mk>