aboutsummaryrefslogtreecommitdiff
path: root/nexgb/Makefile
diff options
context:
space:
mode:
authorAndrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu>2012-05-07 21:58:33 -0400
committerAndrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu>2012-05-07 21:58:33 -0400
commit13d598e5e7f26bc6177ae3f7d52f4f19729ab2f3 (patch)
tree216dde82bd19b1beb01d9fd0654daa3538e73f92 /nexgb/Makefile
parentdaad54a5e114dcff9ef62abbbd18ea52929d01e5 (diff)
downloadhaven-13d598e5e7f26bc6177ae3f7d52f4f19729ab2f3.tar.gz
haven-13d598e5e7f26bc6177ae3f7d52f4f19729ab2f3.tar.xz
haven-13d598e5e7f26bc6177ae3f7d52f4f19729ab2f3.zip
more clean up. use log instead of fmt.Print to stderr. bug fix for event blocking (a hack fix for now).
Diffstat (limited to 'nexgb/Makefile')
-rw-r--r--nexgb/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/nexgb/Makefile b/nexgb/Makefile
index 7ba1cb4..56738f4 100644
--- a/nexgb/Makefile
+++ b/nexgb/Makefile
@@ -5,13 +5,17 @@
XPROTO=/usr/share/xcb
# All of the XML files in my /usr/share/xcb directory EXCEPT XKB. -_-
-all: bigreq.xml composite.xml damage.xml dpms.xml dri2.xml \
+all: build-xgbgen \
+ bigreq.xml composite.xml damage.xml dpms.xml dri2.xml \
ge.xml glx.xml randr.xml record.xml render.xml res.xml \
screensaver.xml shape.xml shm.xml sync.xml xc_misc.xml \
xevie.xml xf86dri.xml xf86vidmode.xml xfixes.xml xinerama.xml \
xinput.xml xprint.xml xproto.xml xselinux.xml xtest.xml \
xvmc.xml xv.xml
+build-xgbgen:
+ (cd xgbgen && go build)
+
%.xml:
xgbgen/xgbgen --proto-path $(XPROTO) $(XPROTO)/$*.xml > auto_$*.go