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