diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-10-06 14:35:44 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-10-06 14:35:44 +0100 |
commit | 3ca88fb987fe95e0174e3586ea9f33021ebdde06 (patch) | |
tree | 8e0aeb20f20273221e994f7088e9b8e3be1fdcf9 /Makefile | |
parent | 13fe2afbddd19feef1516121a8279fe3ddf359bd (diff) |
Integrate with cairo-cogl
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -30,6 +30,15 @@ else DEFINES+=-DHAVE_GLX=0 endif +COGL:=$(shell pkg-config --exists cairo-gl && echo 1 || echo 0) +ifneq ($(COGL),0) +DEFINES+=-DHAVE_COGL=1 +SOURCES+=cogl.c +REQUIRES+=cairo-cogl +else +DEFINES+=-DHAVE_COGL=0 +endif + all: spinner-demo spiral-demo slideshow-demo tiger-demo fish-demo flowers-demo gears-demo chart-demo ifeq ($(shell pkg-config --exists poppler-glib && echo 1), 1) |