spectrwm/lib/Makefile
Ryan McBride 6d08df4744 Add support for passing variables up to X11 via window properties; done by
hooking XCreateWindow and friends via LD_PRELOAD. Used now to make sure that
windows come up in the workspace they were spawn()'d from, but more soon.

Code to do the nasty borrowed with thanks from Enlightenment.
2009-01-24 17:57:26 +00:00

22 lines
407 B
Makefile

# $scrotwm$
.include <bsd.xconf.mk>
LIB= swmhack
NOMAN= yes
SRCS= swm_hack.c
LIBDIR= ${X11BASE}/lib
DEBUGLIBS= no
NOPROFILE= yes
CFLAGS+=-Wall -Wno-uninitialized -ggdb3
CFLAGS+= -I${X11BASE}/include
install:
${INSTALL} ${INSTALL_COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
${X11BASE}/lib/swmhack.so
.include <bsd.lib.mk>
.include <bsd.xorg.mk>