mirror of
https://github.com/golang/go
synced 2024-11-20 08:44:39 -07:00
598f3e284e
The python script needs a checkout of xcb/proto to generate an xproto.go file, which together with xgb.go provide functions to access all of the core X11 protocol requests. I have included the generated file. Extensions and authentication methods are not implemented. R=r, rsc, nigeltao_golang https://golang.org/cl/162053
21 lines
432 B
Makefile
21 lines
432 B
Makefile
# Copyright 2009 The Go Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style
|
|
# license that can be found in the LICENSE file.
|
|
|
|
include ../../Make.$(GOARCH)
|
|
|
|
TARG=xgb
|
|
GOFILES=\
|
|
xgb.go\
|
|
xproto.go\
|
|
|
|
include ../../Make.pkg
|
|
|
|
xproto: proto/src/xproto.xml
|
|
python go_client.py -p proto/ proto/src/xproto.xml
|
|
gofmt -w xproto.go
|
|
|
|
proto/src/xproto.xml:
|
|
git clone git://anongit.freedesktop.org/git/xcb/proto
|
|
|