2007-04-27 22:01:38 +04:00
|
|
|
# $OpenBSD$
|
|
|
|
|
2008-03-26 02:41:50 +03:00
|
|
|
.include <bsd.xconf.mk>
|
2007-04-27 22:01:38 +04:00
|
|
|
|
|
|
|
PROG= cwm
|
|
|
|
|
2009-01-11 21:34:46 +03:00
|
|
|
SRCS= calmwm.c screen.c xmalloc.c client.c menu.c \
|
2008-05-20 18:50:51 +04:00
|
|
|
search.c util.c xutil.c conf.c input.c xevents.c group.c \
|
2008-06-15 01:48:54 +04:00
|
|
|
kbfunc.c mousefunc.c font.c parse.y
|
2007-04-27 22:01:38 +04:00
|
|
|
|
2008-03-23 18:09:21 +03:00
|
|
|
CPPFLAGS+= -I${X11BASE}/include -I${X11BASE}/include/freetype2 -I${.CURDIR}
|
2007-04-27 22:01:38 +04:00
|
|
|
|
2009-01-12 00:48:27 +03:00
|
|
|
CFLAGS+= -Wall
|
2010-11-27 17:25:47 +03:00
|
|
|
.if ${XENOCARA_BUILD_XCB:L} != "no"
|
|
|
|
LIBXCB= -lxcb
|
|
|
|
.endif
|
2009-01-12 00:48:27 +03:00
|
|
|
|
2010-11-27 17:25:47 +03:00
|
|
|
LDADD+= -L${X11BASE}/lib -lXft -lXrender -lX11 ${LIBXCB} -lXau -lXdmcp \
|
2009-01-19 23:23:19 +03:00
|
|
|
-lfontconfig -lexpat -lfreetype -lz -lXinerama -lXrandr -lXext
|
2007-04-27 22:01:38 +04:00
|
|
|
|
|
|
|
MANDIR= ${X11BASE}/man/cat
|
2008-03-23 18:09:21 +03:00
|
|
|
MAN= cwm.1 cwmrc.5
|
2007-04-27 22:01:38 +04:00
|
|
|
|
2008-03-23 18:09:21 +03:00
|
|
|
CLEANFILES= cwm.cat1 cwmrc.cat5
|
2007-04-27 22:01:38 +04:00
|
|
|
|
|
|
|
obj: _xenocara_obj
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.include <bsd.xorg.mk>
|