Build tool updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1999-08-24 19:53:40 +00:00
parent 0a98aa1a4d
commit f32bba383f
3 changed files with 20 additions and 24 deletions

View File

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