]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/modules/glcanvas/build.cfg
New wxHtml stuff, including a TagHandler for placing wxPython widgets
[wxWidgets.git] / utils / wxPython / modules / glcanvas / build.cfg
CommitLineData
5148fc8e 1# -*- python -*-
f786a3b2 2import sys
5148fc8e
RD
3
4MODULE = 'glcanvasc'
5SWIGFILES = ['glcanvas.i', ]
efc5f224 6
f32bba38 7
f786a3b2
HH
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
11# file ourselves...
12if sys.platform == 'win32':
13 OTHERLIBS = '$(WXDIR)\lib\glcanvas.lib glu32.lib opengl32.lib'
efc5f224 14 OTHERCFLAGS = '-DWITH_GLCANVAS -I$(WXDIR)\utils\glcanvas\win'
f786a3b2
HH
15else:
16 SOURCES = [GENCODEDIR+'/_glcanvas.cpp']
b164fb38
RD
17 print "Warning: Assuming MesaGL libraries. Override OTHERLIBS in build.local\n"\
18 " if you have native GL!"
efc5f224 19 OTHERCFLAGS = '-DWITH_GLCANVAS -I$(WXDIR)\utils\glcanvas\gtk'
d1bc9efe 20 OTHERLIBS = "-lMesaGL -lMesaGLU"
f786a3b2 21 OTHERRULES = """
f32bba38 22$(GENCODEDIR)/_glcanvas.cpp :
f786a3b2
HH
23 cp $(WXDIR)/utils/glcanvas/$(GENCODEDIR)/glcanvas.cpp $@
24"""