]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/modules/glcanvas/build.cfg
updates to correct build errors (new locations, etc.)
[wxWidgets.git] / utils / wxPython / modules / glcanvas / build.cfg
1 # -*- python -*-
2 import sys
3
4 MODULE = 'glcanvasc'
5 SWIGFILES = ['glcanvas.i', ]
6
7
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...
12 if sys.platform == 'win32':
13 # OTHERLIBS = '$(WXDIR)\lib\glcanvas$(LIBEXT).lib glu32.lib opengl32.lib'
14 # OTHERCFLAGS = '-DWITH_GLCANVAS -I$(WXDIR)/utils/glcanvas/win'
15 pass
16
17 else:
18
19 # SOURCES = [GENCODEDIR+'/_glcanvas.cpp']
20 print "Warning: Assuming MesaGL libraries. Override OTHERLIBS in build.local\n"\
21 " if you have native GL!"
22 OTHERCFLAGS = '-DWITH_GLCANVAS -I$(WXDIR)/utils/glcanvas/gtk'
23 OTHERLIBS = "-lwxglcanvas -lMesaGL -lMesaGLU"
24 # OTHERRULES = """
25 #$(GENCODEDIR)/_glcanvas.cpp : $(WXDIR)/utils/glcanvas/$(GENCODEDIR)/glcanvas.cpp
26 # cp $< $@
27 #glcanvas.h : $(WXDIR)/utils/glcanvas/$(GENCODEDIR)/glcanvas.h
28 # cp $< $@
29 #_glcanvas.o : glcanvas.h
30 #"""
31
32
33