5 SWIGFILES = ['glcanvas.i', ]
6 OTHERCFLAGS = '-DWITH_GLCANVAS -I$(WXDIR)\utils\glcanvas\%s' % (GENCODEDIR,)
8 # Special action; for win32 we require you make the glcanvas lib. The
9 # makefile will copy it to WXWIN\lib
10 # Unix make system isn't so advanced, so we'll go looking for the source
12 if sys.platform == 'win32':
13 OTHERLIBS = '$(WXDIR)\lib\glcanvas.lib glu32.lib opengl32.lib'
15 SOURCES = [GENCODEDIR+'/_glcanvas.cpp']
16 print "Warning: assuming MesaGL libraries. Override OTHERLIBS in build.local if you have native GL!"
17 OTHERLIBS = "-lMesaGL -lMesaGLU"
19 $(GENCODEDIR)/_glcanvas.cpp :
20 cp $(WXDIR)/utils/glcanvas/$(GENCODEDIR)/glcanvas.cpp $@