glmark2 uses the WAF build system.

To configure glmark2 use:

$ ./waf configure --with-flavors=<drm-gl,drm-glesv2,mir-gl,mir-glesv2,wayland-gl,wayland-glesv2,x11-gl,x11-glesv2> [--data-path=DATA_PATH --prefix=PREFIX]

To build use:

$ ./waf

To install use:

$ ./waf install --destdir=DESTDIR
